Package: python-psycopg2
Version: 2.0.5.1-1
Severity: normal

i was trying to play with checklib, and i get the following error:

$ ./checklib.py
Traceback (most recent call last):
  File "./checklib.py", line 24, in ?
    from checklib import packageinfo, db_backend, do_check, hacks, exceptions, 
flags, micro
  File "/tmp/checklib/src/checklib/db_backend.py", line 19, in ?
    import psycopg2 as dbms
  File "/usr/lib/python2.4/site-packages/psycopg2/__init__.py", line 60, in ?
    from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: can't import mx.DateTime module

i read this in a bug report:

"""
Also, he package depends on python-egenix-mxdatetime, but the
FAQ at http://www.initd.org/tracker/psycopg/wiki/PsycopgTwoFaq
states:

"Q: In python there is a standard datetime module, why does
psycopg need mx.DateTime?

A: psycopg 2 does not need mx.DateTime anymore and builds
perfectly well with the standard datetime module only."
"""

maybe the current package still builds using mx.DateTime ?

cheers, paul

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages python-psycopg2 depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libpq4                       8.1.4-6     PostgreSQL C client library
ii  python                       2.4.3-11    An interactive high-level object-o
ii  python-central               0.5.5       register and build utility for Pyt

python-psycopg2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to