[Bug 363192] Re: sqlite3 packaged in Jaunty cannot open databases which use "indexed" keyword, and is therefore incompatible with Axiom

Glyph Lefkowitz glyph at divmod.com
Thu Jul 9 09:18:20 UTC 2009


To make searching for this bug's impact on Axiom easier, here's a sample
traceback that occurs when you try to use it:

glyph at jackalopian:~$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from axiom.store import Store
/home/glyph/Projects/Divmod/trunk/Epsilon/epsilon/process.py:3: DeprecationWarning: the sets module is deprecated
  import os, sys, imp, sets
>>> Store()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/glyph/Projects/Divmod/trunk/Axiom/axiom/store.py", line 1113, in __init__
    self._initSchema()
  File "/home/glyph/Projects/Divmod/trunk/Axiom/axiom/store.py", line 1216, in _initSchema
    self.executeSchemaSQL(stmt)
  File "/home/glyph/Projects/Divmod/trunk/Axiom/axiom/store.py", line 2282, in executeSchemaSQL
    return self.executeSQL(sql, args)
  File "/home/glyph/Projects/Divmod/trunk/Axiom/axiom/store.py", line 2289, in executeSQL
    sql = self._execSQL(sql, args)
  File "/home/glyph/Projects/Divmod/trunk/Axiom/axiom/store.py", line 2275, in _execSQL
    rows = self._queryandfetch(sql, args)
  File "/home/glyph/Projects/Divmod/trunk/Axiom/axiom/store.py", line 2242, in _queryandfetch
    self.cursor.execute(sql, args)
  File "/home/glyph/Projects/Divmod/trunk/Axiom/axiom/_pysqlite2.py", line 131, in execute
    raise self._connection.identifySQLError(sql, args, e)
axiom.errors.SQLError: <SQLError: 'CREATE TABLE main.axiom_attributes ( type_id INTEGER, row_offset INTEGER, indexed BOOLEAN, sqltype VARCHAR, allow_none BOOLEAN, pythontype VARCHAR, attribute VARCHAR, docstring TEXT )'(()) caused <class 'pysqlite2.dbapi2.OperationalError'>: near "indexed": syntax error>

-- 
sqlite3 packaged in Jaunty cannot open databases which use "indexed" keyword, and is therefore incompatible with Axiom
https://bugs.launchpad.net/bugs/363192
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list