Thank you Peter. It's really a nasty bug and it seems to happen only on Linux. We are tracking the issue at:

http://code.google.com/p/spyderlib/issues/detail?id=772

Cheers,
Carlos

El 28/09/11 11:59, Peter escribió:
Hi there,

I'm sorry to hit you with this so soon after release of spyder-2.1.0beta2; but 
I am trying to keep abreast of the new releases,
even betas. I have just installed it on my box, and on trying to run it from 
the command line, 'spyder -v' I get the following
error.

/home/peter>  spyder -d
Start of MainWindow constructor
Initializing...
End of MainWindow constructor
*** Start of MainWindow setup ***
Loading object inspector...
Loading outline explorer...
Loading editor...
Traceback (most recent call last):
   File "/usr/local/lib/python2.7/site-packages/spyderlib/spyder.py", line 
1869, in main
     mainwindow = run_spyder(app, options)
   File "/usr/local/lib/python2.7/site-packages/spyderlib/spyder.py", line 
1780, in run_spyder
     main.setup()
   File "/usr/local/lib/python2.7/site-packages/spyderlib/spyder.py", line 633, 
in setup
     self.editor = Editor(self)
   File "/usr/local/lib/python2.7/site-packages/spyderlib/plugins/editor.py", 
line 401, in __init__
     self.load(filenames)
   File "/usr/local/lib/python2.7/site-packages/spyderlib/plugins/editor.py", 
line 1472, in load
     current_editor = current.load(filename, set_current=True)
   File "/usr/local/lib/python2.7/site-packages/spyderlib/widgets/editor.py", 
line 1740, in load
     finfo = self.create_new_editor(filename, enc, text, set_current)
   File "/usr/local/lib/python2.7/site-packages/spyderlib/widgets/editor.py", 
line 1628, in create_new_editor
     finfo = FileInfo(fname, enc, editor, new, self.threadmanager)
   File "/usr/local/lib/python2.7/site-packages/spyderlib/widgets/editor.py", 
line 259, in __init__
     self.rope_project = codeeditor.get_rope_project()
   File 
"/usr/local/lib/python2.7/site-packages/spyderlib/widgets/sourcecode/codeeditor.py",
 line 213, in get_rope_project
     ROPE_PROJECT = RopeProject()
   File 
"/usr/local/lib/python2.7/site-packages/spyderlib/widgets/sourcecode/codeeditor.py",
 line 91, in __init__
     self.create_rope_project(root_path=get_conf_path())
   File 
"/usr/local/lib/python2.7/site-packages/spyderlib/widgets/sourcecode/codeeditor.py",
 line 98, in create_rope_project
     **ROPE_PREFS)
   File "/usr/lib/python2.7/site-packages/rope/base/project.py", line 140, in 
__init__
     super(Project, self).__init__(fscommands)
   File "/usr/lib/python2.7/site-packages/rope/base/project.py", line 130, in 
__init__
     projectroot = _realpath(projectroot).rstrip('/\\')
   File "/usr/lib/python2.7/site-packages/rope/base/project.py", line 428, in 
_realpath
     return os.path.realpath(os.path.abspath(os.path.expanduser(path)))
   File "/usr/lib64/python2.7/posixpath.py", line 248, in expanduser
     if not path.startswith('~'):
AttributeError: 'FileSystemCommands' object has no attribute 'startswith'


Is there anything I can do to try to resolve this, upgrade sw ?

My system is a 64-bit openSuSE 11.4, with python V2.7

Cheers

Peter


--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to