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
http://code.google.com/p/spyderlib/issues/detail?id=772
Cheers,
Carlos
El 28/09/11 11:59, Peter escribió:
> --
> You received this message because you are subscribed to the Google Groups "spyder" group.
> 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.
>
(sorry for my previous very short message sent by error from my phone...)
-Pierre
Should the source code for beta2 be re-released?
--
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/-/8rAxbO4VIlAJ.
2011/9/30 Carlos Córdoba <ccord...@gmail.com>:
-Pierre
"Highlights of this release include the use of the built-in AST instead
of the compiler module, and support for various new syntax constructs
in Python 2.7."
http://twistedmatrix.com/pipermail/twisted-python/2011-September/024469.html
--
anatoly t.
It means that:
1. I'm removing spyderlib.utils.external.pyflakes
2. I'm re-adding the dependency over pyflakes but now v0.5.0 will be
mandatory (this won't affect much Windows platforms as I've always
distributed pyflakes together with Spyder in the Windows installer). I
just saw that -for example- pyflakes Debian package was already moving
to v0.5.0, so that should not be a problem on other platforms I guess.
That's a good thing because I don't like including external libraries
within Spyder's code (package maintainers do not like it either and
that is perfecly understandable...).
-Pierre
2011/9/30 anatoly techtonik <tech...@gmail.com>:
Regarding the bootstrap script, I don't think that's necessary as
pyflakes v0.5.0 availability is handled/checked by Spyder.
And pyflakes 0.5.0 is included at the root of Spyder's source package
(like before it was integrated, and like the 'rope' package). So if
this directory is in PYTHONPATH, pyflakes 0.5.0 will be.
Cheers,
Pierre
2011/10/1 anatoly techtonik <tech...@gmail.com>:
Windows installers:
I'll deal with the Windows installers on Monday. In the meantime, I've
hidden beta2 and made visible beta1 release.
-Pierre
2011/10/1 Pierre Raybaut <pierre....@gmail.com>:
I have just downloaded and installed beta3. I do not see any errors, many thanks. I will let you know if anything pops up.
Peter