"modules" listing fails in python2.5 command prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib |
New
|
Undecided
|
Unassigned | ||
matplotlib (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When python-matplotlib is installed under Feisty, I find that the interactive python2.5 prompt fails when I try help() -> modules.
See the detailed error message below:
help> modules
Please wait a moment while I gather a list of all available modules...
/usr/lib/
warnings.
Data Dir: /usr/share/
Handlers Dir: ['/home/
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
File "/usr/lib/
self.interact()
File "/usr/lib/
self.
File "/usr/lib/
elif request == 'modules': self.listmodules()
File "/usr/lib/
ModuleScann
File "/usr/lib/
for importer, modname, ispkg in pkgutil.
File "/usr/lib/
for item in walk_packages(path, name+'.', onerror):
File "/usr/lib/
for item in walk_packages(path, name+'.', onerror):
File "/usr/lib/
__import_
File "/usr/lib/
from resource_manager import ResourceManager
File "/usr/lib/
from resource_reference import ImageReference
File "/usr/lib/
class ResourceReferen
File "/usr/lib/
resource_
File "/usr/lib/
module = stack(1)
File "/usr/lib/
return getouterframes(
File "/usr/lib/
framelist.
File "/usr/lib/
raise TypeError('arg is not a frame or traceback object')
TypeError: arg is not a frame or traceback object
I can confirm the bug is also present in gutsy. Running "pydoc modules" from bash gives me the same traceback.