Bug when running on Windows and Python 2.7.3

165 views
Skip to first unread message

ici

unread,
May 12, 2012, 4:54:29 PM5/12/12
to spyder
After I instaled Python 2.7.3 spyder stop working:

C:\Python27\Lib\site-packages\spyderlib>spyder.py --debug
Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\spyderlib\spyder.py", line 96,
in <module>

from spyderlib.plugins.editor import Editor
File "C:\Python27\lib\site-packages\spyderlib\plugins\editor.py",
line 35, in
<module>
from spyderlib.widgets.editor import (ReadWriteStatus,
EncodingStatus,
File "C:\Python27\lib\site-packages\spyderlib\widgets\editor.py",
line 32, in
<module>
from spyderlib.utils.module_completion import moduleCompletion
File "C:\Python27\lib\site-packages\spyderlib\utils
\module_completion.py", lin
e 31, in <module>
db = PickleShareDB(MODULES_PATH)
File "C:\Python27\lib\site-packages\spyderlib\utils\external
\pickleshare.py",
line 53, in __init__
if not self.root.isdir():
TypeError: _isdir() takes exactly 1 argument (0 given)

C:\Python27\Lib\site-packages\spyderlib>


So, I changed spyderlib\utils\external\path.py

line 792:
isdir = os.path.isdir

to:
def isdir(self):
return os.path.isdir(self)

https://github.com/ipython/ipython/issues/737/#issuecomment-2113372

Carlos Córdoba

unread,
May 13, 2012, 8:51:27 AM5/13/12
to spyd...@googlegroups.com
Thanks, we already fixed this issue replacing the whole path library
with its latest version. It was released with Spyder 2.1.9.

Cheers,
Carlos

El 12/05/12 15:54, ici escribió:

Mark Mikofski

unread,
May 17, 2012, 12:51:21 AM5/17/12
to spyd...@googlegroups.com
I updated to Spyder 2.1.9 but I am still getting the exact same traceback with Python 2.7.3 as ici above.

Mark Mikofski

unread,
May 17, 2012, 2:38:14 AM5/17/12
to spyd...@googlegroups.com
ici,

Thanks that did the trick for me!

I don't think this has been addressed in 2.1.9. There is an open bug #989 on google code. It looks it would be resolved in 2.1.10 hopefully soon.

Thanks for great software. I get a lot of mileage out of Spyder, and it is one of my favorite ide's. 

--Mark

Carlos Córdoba

unread,
May 17, 2012, 7:58:18 AM5/17/12
to spyd...@googlegroups.com
Hi Mark,

The fix will be released in the next version (to be ready hopefully the next week). Sorry for the inconvenience.

Cheers,
Carlos

El 16/05/12 23:51, Mark Mikofski escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spyderlib/-/Z0cjBQh2QXIJ.
To post to this group, send email to spyd...@googlegroups.com.
To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
Reply all
Reply to author
Forward
0 new messages