Description of problem: Debugger fails to import a module that is in the same directory Version-Release number of selected component (if applicable): eclipse-pydev-1.3.1-5.fc7 How reproducible: allways Steps to Reproduce: 1. Create the two files below: ---- simplestModule.py --- def f(): pass ---- end --- ---- simplestImporter.py --- import simplestModule as sm sm.f() ---- end --- 2. start debugging and make simplestImporter.py the main module Actual results: The debugger throws an exception: pydev debugger Traceback (most recent call last): File "/usr/share/eclipse/plugins/org.python.pydev.debug_1.3.1/pysrc/pydevd.py", line 697, in <module> debugger.run(setup['file'], None, None) File "/usr/share/eclipse/plugins/org.python.pydev.debug_1.3.1/pysrc/pydevd.py", line 548, in run execfile(file, globals, locals) #execute the script File "/home/leolopes/workspace/poamsrc1/rc1/examples/simplestImporter.py", line 1, in <module> import simplestModule as sm ImportError: No module named simplestModule Exception in thread pydevd.Writer (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap File "/usr/share/eclipse/plugins/org.python.pydev.debug_1.3.1/pysrc/pydevd_comm.py", line 227, in run <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'sleep' Unhandled exception in thread started by Error in sys.excepthook: Original exception was: ---- That is all folks, the output was not truncated at bug report time! --- Expected results: Module should be imported correctly, debugging should procede. Additional info: using the "run configuration" button works just fine.
Please try upgrading to F8. The latest eclipse + eclipse-pydev package for F8 works fine for the above test case. The latest release is: eclipse-pydev-1.3.12-1.fc8 which can be found in the updates-testing repo.
Jeff: should that release perhaps be pushed to updates?
Sure. I'll promote it now.