Package: python3-sqlalchemy
Version: 0.6.3-1
Severity: normal


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (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/bash

Versions of packages python3-sqlalchemy depends on:
ii  python3                       3.1.2-5    interactive high-level object-orie

python3-sqlalchemy recommends no packages.

Versions of packages python3-sqlalchemy suggests:
ii  python-sqlalchemy-doc         0.6.3-1    documentation for the SQLAlchemy P

-- no debconf information

I noticed the postgresql team provides a py-postgresql-1.0.1, in which the 
python module postgresql.driver exists and contains a dbapi20.py file that 
reports missing with this Debian package when I try to connect to the 
postgresql database :

Traceback (most recent call last):
  File "postgresql.py", line 19, in <module>
    engine=create_engine(url,echo=True)
  File "/usr/lib/python3.1/dist-packages/sqlalchemy/engine/__init__.py", 
line 244, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib/python3.1/dist-packages/sqlalchemy/engine/strategies.py", 
line 60, in create
    dbapi = dialect_cls.dbapi(**dbapi_args)
  File 
"/usr/lib/python3.1/dist-packages/sqlalchemy/dialects/postgresql/pypostgresql.py",
 
line 54, in dbapi
    from postgresql.driver import dbapi20
  File 
"/home/jmt/connection_tests/postgresql.py", 
line 19, in <module>
    engine=create_engine(url,echo=True)
  File "/usr/lib/python3.1/dist-packages/sqlalchemy/engine/__init__.py", 
line 244, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib/python3.1/dist-packages/sqlalchemy/engine/strategies.py", 
line 60, in create
    dbapi = dialect_cls.dbapi(**dbapi_args)
  File 
"/usr/lib/python3.1/dist-packages/sqlalchemy/dialects/postgresql/pypostgresql.py",
 
line 54, in dbapi
    from postgresql.driver import dbapi20
ImportError: No module named driver
 


This package is ok when using the pg8000 driver.



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

Reply via email to