[Python-modules-team] Bug#546338: ipython: breaks "pydoc -k <keyword>"

Frank Lin PIAT fpiat at klabs.be
Sat Sep 12 16:27:11 UTC 2009


Package: ipython
Version: 0.9.1-3
Severity: normal


ipython breaks "pydoc -k <keyword>" if ~/.ipython doesn't exists.


$pydoc -k getrusage

Traceback (most recent call last):
  File "/usr/bin/pydoc", line 5, in <module>
    pydoc.cli()
  File "/usr/lib/python2.5/pydoc.py", line 2196, in cli
    apropos(val)
  File "/usr/lib/python2.5/pydoc.py", line 1891, in apropos
    ModuleScanner().run(callback, key)
  File "/usr/lib/python2.5/pydoc.py", line 1856, 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 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 "/usr/lib/pymodules/python2.5/IPython/kernel/config/__init__.py", line 26, in <module>
    security_dir = get_security_dir()
  File "/usr/lib/pymodules/python2.5/IPython/genutils.py", line 1009, in get_security_dir
    os.mkdir(security_dir, 0700)
OSError: [Errno 2] No such file or directory: '/home/fpiat/.ipython/security'

Thanks you for maintiaing ipython,

Franklin

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ipython depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-pexpect                2.3-1      Python module for automating inter
ii  python-support                1.0.3      automated rebuilding support for P

Versions of packages ipython recommends:
ii  global                      5.7.1-1      Source code search and browse tool
ii  python [python-ctypes]      2.5.4-2      An interactive high-level object-o
ii  python-foolscap             0.4.2+dfsg-1 object-capability-based RPC system
ii  python-openssl              0.9-1        Python wrapper around the OpenSSL 
ii  python-twisted-core         8.2.0-3      Event-based framework for internet
ii  python-wxgtk2.8             2.8.7.1-1.1  wxWidgets Cross-platform C++ GUI t
ii  python-zopeinterface [pytho 3.4.0-1      The implementation of interface de

Versions of packages ipython suggests:
ii  libjs-jquery                  1.3.3-2    JavaScript library for dynamic web
ii  python-gobject                2.18.0-1   Python bindings for the GObject li
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
pn  python-matplotlib             <none>     (no description available)
ii  python-numpy                  1:1.3.0-3  Numerical Python adds a fast array
pn  python-profiler               <none>     (no description available)
pn  python-qt3 | python-qt4       <none>     (no description available)

-- no debconf information





More information about the Python-modules-team mailing list