[Python-modules-team] Bug#595980: python-pywt: help broken

Jan Medlock medlock-debian at turboshower.net
Tue Sep 7 19:04:06 UTC 2010


Package: python-pywt
Version: 0.2.0-1
Severity: important


Within python, trying to read the documentation for pywt doesn't work.
See below.

$ python
Python 2.6.6 (r266:84292, Aug 29 2010, 12:36:23) 
[GCC 4.4.5 20100824 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywt
>>> help(pywt)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site.py", line 432, in __call__
    return pydoc.help(*args, **kwds)
  File "/usr/lib/python2.6/pydoc.py", line 1730, in __call__
    self.help(request)
  File "/usr/lib/python2.6/pydoc.py", line 1777, in help
    else: doc(request, 'Help on %s:')
  File "/usr/lib/python2.6/pydoc.py", line 1515, in doc
    pager(render_doc(thing, title, forceload))
  File "/usr/lib/python2.6/pydoc.py", line 1510, in render_doc
    return title % desc + '\n\n' + text.document(object, name)
  File "/usr/lib/python2.6/pydoc.py", line 330, in document
    if inspect.ismodule(object): return self.docmodule(*args)
  File "/usr/lib/python2.6/pydoc.py", line 1095, in docmodule
    contents.append(self.document(value, key, name))
  File "/usr/lib/python2.6/pydoc.py", line 331, in document
    if inspect.isclass(object): return self.docclass(*args)
  File "/usr/lib/python2.6/pydoc.py", line 1197, in docclass
    classify_class_attrs(object))
  File "/usr/lib/python2.6/pydoc.py", line 184, in classify_class_attrs
    return map(fixup, inspect.classify_class_attrs(object))
  File "/usr/lib/python2.6/inspect.py", line 311, in classify_class_attrs
    obj_via_getattr = getattr(cls, name)
  File "/usr/lib/pymodules/python2.6/pywt/wavelet_packets.py", line 27, in __get__
    def __get__(self, obj, cls): raise NotImplementedError(self.message % {'cls': cls.__name__})
NotImplementedError: BaseNode.PARTS must be redefined in subclass BaseNode.


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

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 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 python-pywt depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib
ii  python                        2.6.6-1    interactive high-level object-orie
ii  python-numpy                  1:1.4.1-4  Numerical Python adds a fast array
ii  python-support                1.0.9      automated rebuilding support for P

python-pywt recommends no packages.

Versions of packages python-pywt suggests:
ii  libjs-jquery                  1.4.2-2    JavaScript library for dynamic web

-- no debconf information





More information about the Python-modules-team mailing list