Public bug reported:
Autocomplete, which is one of the main features I think for Rope, does
not work in its current version with Python 2.7.
When I try to use the autocomplete with emacs (I have python-ropemacs
0.6c2-4 installed as well), I get the following error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/ropemode/decorators.py", line 53, in
newfunc
func(*args, **kwds)
File "/usr/lib/python2.7/dist-packages/ropemode/interface.py", line 225, in
code_assist
_CodeAssist(self, self.env).code_assist(prefix)
File "/usr/lib/python2.7/dist-packages/ropemode/interface.py", line 502, in
code_assist
names = self._calculate_proposals()
File "/usr/lib/python2.7/dist-packages/ropemode/interface.py", line 554, in
_calculate_proposals
self.interface._check_project()
File "/usr/lib/python2.7/dist-packages/ropemode/interface.py", line 408, in
_check_project
self.project.validate(self.project.root)
File "/usr/lib/python2.7/dist-packages/rope/base/project.py", line 222, in
<lambda>
root = property(lambda self: self.get_resource(''))
File "/usr/lib/python2.7/dist-packages/rope/base/project.py", line 35, in
get_resource
'Resource <%s> does not exist' % resource_name)
ResourceNotFoundError: Resource <> does not exist
I'm sure that this isn't the only thing that's been affected by the
upgrade to 2.7, and it seems upstream is aware of the problems. There's
a thread about the problems here: <http://groups.google.com/group/rope-
dev/browse_thread/thread/bdf845f20507f60a/50b6863efde90795?#50b6863efde90795>.
I included an attachment of the error message above.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-rope 0.9.2-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Tue May 10 09:33:03 2011
EcryptfsInUse: Yes
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: rope
UpgradeStatus: Upgraded to natty on 2011-04-30 (10 days ago)
** Affects: rope (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 natty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/780564
Title:
Autocomplete no longer works with Python 2.7
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs