Edgewall Software

Changes between Version 51 and Version 52 of PySqlite


Ignore:
Timestamp:
Sep 29, 2010, 6:03:32 PM (14 years ago)
Author:
wwlike2005@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • PySqlite

    v51 v52  
    351351
    352352'''P.S. Note that despite of all of the above, for some (most?) users, SQLite/Pysqlite works flawlessly :)'''
     353// I haven't pysqlite installed. Because of Python's version is 2.6. Who can give me a help? by default python2.4 have been installed in the system.
     354Creating and Initializing Project
     355Failed to create environment. global name 'sqlite' is not defined
     356Traceback (most recent call last):                                                             
     357  File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/admin/console.py", line 543, in do_initenv
     358    options=options)   
     359  File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/env.py", line 188, in __init__
     360    self.create(options)                                                                               
     361  File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/env.py", line 311, in create         
     362    DatabaseManager(self).init_db()                                                                     
     363  File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/db/api.py", line 70, in init_db               
     364    connector.init_db(**args)                                                                           
     365  File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/db/sqlite_backend.py", line 136, in init_db   
     366    cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000)))                                               
     367NameError: global name 'sqlite' is not defined