Package: python-anyjson
Version: 0.2.2-2
Severity: important

Hello,

Import anyjson fails on a system with only python-anyjson and python-json installed:

$ python -c 'import anyjson'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.5/anyjson/__init__.py", line 116, in <module>
    implementation = _JsonImplementation(modspec)
  File "/usr/lib/pymodules/python2.5/anyjson/__init__.py", line 58, in __init__
    self._encode = getattr(module, modinfo["encoder"])
AttributeError: 'module' object has no attribute 'dumps'

Cf. bug #570121.

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

Kernel: Linux 2.6.32-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-anyjson depends on:
ii  python-support                1.0.6      automated rebuilding support for P

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to