Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205811 - media-video/griffith doesn't work with =dev-python/pysqlite-2.4.0
Summary: media-video/griffith doesn't work with =dev-python/pysqlite-2.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-14 16:10 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2008-01-25 07:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-01-14 16:10:19 UTC
After upgrading pysqlite to version 2.4.0, griffith cannot connect to my local sqlite3 database anymore:

gamemaster@breakmygentoo:~> griffith
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1139, in <module>
    griffith = Griffith()
  File "/usr/bin/griffith", line 100, in __init__
    self.db = GriffithSQL(self.config, self.debug, self.locations['home'])
  File "/usr/share/griffith/lib/sql.py", line 360, in __init__
    self.metadata.engine.connect()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/engine/threadlocal.py", line 136, in connect
    return base.Connection(self, self.connection_provider.unique_connection())
  File "/usr/lib/python2.5/site-packages/sqlalchemy/engine/threadlocal.py", line 161, in unique_connection
    return self._pool.unique_connection()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/pool.py", line 142, in unique_connection
    return _ConnectionFairy(self).checkout()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/pool.py", line 248, in __init__
    self._connection_record = pool.get()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/pool.py", line 175, in get
    return self.do_get()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/pool.py", line 430, in do_get
    c = self.create_connection()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/pool.py", line 145, in create_connection
    return _ConnectionRecord(self)
  File "/usr/lib/python2.5/site-packages/sqlalchemy/pool.py", line 192, in __init__
    self.connection = self.__connect()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/pool.py", line 226, in __connect
    connection = self.__pool._creator()
  File "/usr/lib/python2.5/site-packages/sqlalchemy/engine/strategies.py", line 76, in connect
    raise exceptions.DBAPIError("Connection failed", e)
sqlalchemy.exceptions.DBAPIError: (Connection failed) (ValueError) database parameter must be string or APSW Connection object
gamemaster@breakmygentoo:~>

downgrading pysqlite to a version prior to 2.4.0 makes the error go away...

Reproducible: Always

Steps to Reproduce:
1. emerge -1 \>=dev-python/pysqlite-2.4.0
2. run griffith
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-01-25 07:46:55 UTC
Dependency set to:

-       >=dev-python/pysqlite-2.0
+       =dev-python/pysqlite-2.3*