[Python-modules-team] Bug#469848: reported upstream

Ondrej Certik ondrej at certik.cz
Fri Dec 19 17:04:44 UTC 2008


reassign 469848 python2.5

On Thu, Mar 20, 2008 at 9:40 AM, Ondrej Certik <ondrej at certik.cz> wrote:
> Thanks for the bug report. I reported it upstream:
>
> http://code.google.com/p/sympy/issues/detail?id=752
>
> as a workaround, use:
>
> $ pydoc2.4 -k foobarqux
> $

I am now getting:

ondra at pc232:~$ pydoc2.5 -k foobarqux
Traceback (most recent call last):
  File "/usr/bin/pydoc2.5", line 5, in <module>
    pydoc.cli()
  File "/usr/lib/python2.5/pydoc.py", line 2195, in cli
    apropos(val)
  File "/usr/lib/python2.5/pydoc.py", line 1890, in apropos
    ModuleScanner().run(callback, key)
  File "/usr/lib/python2.5/pydoc.py", line 1855, in run
    for importer, modname, ispkg in pkgutil.walk_packages():
  File "/usr/lib/python2.5/pkgutil.py", line 125, in walk_packages
    for item in walk_packages(path, name+'.', onerror):
  File "/usr/lib/python2.5/pkgutil.py", line 110, in walk_packages
    __import__(name)
  File
"/home/ondra/lib/lib/python/debexpo-0.0.0dev-py2.5.egg/debexpo/tests/__init__.py",
line 66, in <module>
    cmd.run([test_file])
  File
"/home/ondra/lib/lib/python/PasteScript-1.3.6-py2.5.egg/paste/script/appinstall.py",
line 68, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File
"/home/ondra/lib/lib/python/PasteScript-1.3.6-py2.5.egg/paste/script/command.py",
line 212, in run
    result = self.command()
  File
"/home/ondra/lib/lib/python/PasteScript-1.3.6-py2.5.egg/paste/script/appinstall.py",
line 447, in command
    conf = appconfig(config_spec, relative_to=os.getcwd())
  File
"/home/ondra/lib/lib/python/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py",
line 204, in appconfig
    global_conf=global_conf)
  File
"/home/ondra/lib/lib/python/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py",
line 237, in loadcontext
    global_conf=global_conf)
  File
"/home/ondra/lib/lib/python/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py",
line 264, in _loadconfig
    loader = ConfigLoader(path)
  File
"/home/ondra/lib/lib/python/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py",
line 328, in __init__
    "File %r not found" % filename)
OSError: File '/home/ondra/lib/lib/python/debexpo-0.0.0dev-py2.5.egg/test.ini'
not found



so I think this is not a bug in sympy, but in pydoc2.5, that should
handle cases when modules cannot be imported more sanely. Reassigning
to python2.5.

Thanks,
Ondrej





More information about the Python-modules-team mailing list