Re: Post-installation test fails

Gerhard Häring <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Tech wrote:
> Hi.  I'm running the latest version of Slackware with python 2.4.3.  I installed sqlite 3.4.0 and pysqlite 2.3.4 without apparently having any problems.  However, when I ran the test recommended by the pysqlite website, I got this result:
> 
> ERROR: CheckUsefulErrorMessage (pysqlite2.test.regression.RegressionTests)
> ---------------------------------------------------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/usr/lib/python2.4/site-packages/pysqlite2/test/regression.py", line 105, in CheckUsefulErrorMessage
>       if e.message != "cannot start a transaction within a transaction":
> AttributeError:  OperationalError instance has no attribute 'message'

This has been fixed in SVN a few minutes ago. The test case did not work 
with Python 2.3 (and apparently Python 2.4).

-- Gerhard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.