Re: [pysqlite] Possible Regression in pysqlite 2.5.3
"Edzard Pasma" <[email protected]> Tue, 10 Mar 2009 15:10:14 -0700
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
This is something for Gerhard but I could not resists to hand in a patch: http://oss.itsystementwicklung.de/trac/pysqlite/ticket/253 --- [email protected] wrote: From: Markus Gritsch <[email protected]> To: list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org Subject: [pysqlite] Possible Regression in pysqlite 2.5.3 Date: Tue, 10 Mar 2009 15:57:36 +0100 Hi, I am using the latest version of SQLObject (0.10.4) which worked fine with pysqlite 2.5.2. When upgrading to pysqlite 2.5.3 the following minimal example from sqlobject import * sqlhub.processConnection = connectionForURI('sqlite:/:memory:') gives this traceback: Traceback (most recent call last): File "sepp.py", line 2, in <module> sqlhub.processConnection = connectionForURI('sqlite:/:memory:') File "C:\Python25\lib\site-packages\sqlobject-0.10.4-py2.5.egg\sqlobject\dbconnection.py", line 934, in connectionForURI conn = connCls.connectionFromURI(uri) File "C:\Python25\lib\site-packages\sqlobject-0.10.4-py2.5.egg\sqlobject\sqlite\sqliteconnection.py", line 104, in connectionFromURI return cls(filename=path, **args) File "C:\Python25\lib\site-packages\sqlobject-0.10.4-py2.5.egg\sqlobject\sqlite\sqliteconnection.py", line 92, in __init__ self.filename, **self._connOptions) pysqlite2.dbapi2.ProgrammingError: Base Connection.__init__ not called. Kind regards, Markus _______________________________________________ list-pysqlite mailing list list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite