[Python-modules-team] r7926 - in packages/python-axiom/trunk/debian (5 files)

Vincent Bernat bernat at debian.org
Wed Mar 18 21:21:03 UTC 2009


OoO En cette  soirée bien amorcée du mercredi 18  mars 2009, vers 22:11,
bernat at users.alioth.debian.org disait :

>     Date: Wednesday, March 18, 2009 @ 21:11:23
>   Author: bernat
> Revision: 7926

> Add a patch to handle sqlite >= 3.6.4. Closes: #520338. Older
> databases need to be fixed by hand.

> The patch is not complete: upgrading from old databases still fail.

Unittests are  shipped with databases in  old format and  axiom tries to
upgrade  them. There  is no  fix upstream  for this  and the  patch only
covers database creation. Old databases still have a problem.

Here is the error:
[ERROR]: axiom.test.historic.test_textlist.TextlistTransitionTest.test_transition

Traceback (most recent call last):
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/test/historic/stubloader.py", line 67, in setUp
    self.store = self.openLegacyStore()
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/test/historic/stubloader.py", line 59, in openLegacyStore
    return Store(os.path.join(temp, os.path.basename(dfn)))
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/store.py", line 1157, in __init__
    self.transact(self._startup)
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/store.py", line 1741, in transact
    result = f(*a, **k)
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/store.py", line 1225, in _startup
    for oid, module, typename, version in self.querySchemaSQL(_schema.ALL_TYPES):
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/store.py", line 2223, in querySchemaSQL
    return self.querySQL(sql, args)
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/store.py", line 2233, in querySQL
    result = self._queryandfetch(sql, args)
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/store.py", line 2240, in _queryandfetch
    self.cursor.execute(sql, args)
  File "/home/bernat/code/debian/build-area/python-axiom-0.5.31/debian/python-axiom/usr/lib/python2.5/site-packages/axiom/_pysqlite2.py", line 104, in execute
    return self._cursor.execute(sql, args)
pysqlite2.dbapi2.DatabaseError: malformed database schema (axiom_attributes) - near "indexed": syntax error

We could skip those tests. Any thought?
-- 
panic("Detected a card I can't drive - whoops\n");
	2.2.16 /usr/src/linux/drivers/net/daynaport.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20090318/ec5e169c/attachment-0001.pgp 


More information about the Python-modules-team mailing list