Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Running a python 2.7 program to completion ends with an error #59

Closed
DonJayamanne opened this issue Feb 12, 2018 · 2 comments
Closed

Running a python 2.7 program to completion ends with an error #59

DonJayamanne opened this issue Feb 12, 2018 · 2 comments

Comments

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Feb 12, 2018

When running a python program to completion (without any breakpoints), the program ends with an error output.

  • Python program has a simple print statement print("hello world")
  • Debug the above program without any break points
  • It runs to completion with the following printed in the terminal window:
Traceback (most recent call last):
  File "_pydevd_bundle\pydevd_cython.pyx", line 1065, in _pydevd_bundle.pydevd_cython.ThreadTracer.__call__ (_pydevd_bundle/pydevd_cython.c:20641)
  File "/Users/donjayamanne/anaconda3/envs/py27/lib/python2.7/site-packages/pydevd.py", line 270, in not_in_scope
    return pydevd_utils.not_in_project_roots(filename)
AttributeError: 'NoneType' object has no attribute 'not_in_project_roots'
Traceback (most recent call last):
  File "_pydevd_bundle\pydevd_cython.pyx", line 1065, in _pydevd_bundle.pydevd_cython.ThreadTracer.__call__ (_pydevd_bundle/pydevd_cython.c:20641)
  File "/Users/donjayamanne/anaconda3/envs/py27/lib/python2.7/site-packages/pydevd.py", line 270, in not_in_scope
    return pydevd_utils.not_in_project_roots(filename)
AttributeError: 'NoneType' object has no attribute 'not_in_project_roots'

Note: This works perfectly well in Python 3.6

@int19h
Copy link
Contributor

int19h commented Feb 28, 2018

This isn't reproing anymore, because we're bundling pydevd now, and per #112, the Cython bits aren't getting loaded properly.

@int19h int19h removed this from the Preview 1 milestone Feb 28, 2018
@DonJayamanne
Copy link
Contributor Author

No longer reproducible, could have been fixed with #140

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants