Modify ↓
Opened 16 years ago
Closed 16 years ago
#9145 closed defect (duplicate)
OperationalError: SQL logic error or missing database
| Reported by: | dongjunjun | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | general | Version: | 0.12dev |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
如何重现
当进行 GET 操作于 /report/7, Trac产生内部错误.
(请在此附加详细情况)
请求参数:
{'id': u'7'}
系统信息
Trac | 0.12dev-r9075
|
Python | 2.5.5 (r255:77872, Feb 2 2010, 00:47:31) [GCC 4.4.3]
|
setuptools | 0.6c11
|
SQLite | 3.6.22
|
pysqlite | 2.3.2
|
Genshi | 0.6dev-r1092
|
Babel | 0.9.4
|
mod_python | 3.3.1
|
Subversion | 1.6.9 (r901367)
|
Enabled Plugins
TracTicketChainedFields | 0.1
|
TracTicketTemplate | 0.7
|
TracTicketValidator | 0.1
|
TracTweakUI | 0.1
|
Python Traceback
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 495, in _dispatch_request
dispatcher.dispatch(req)
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 251, in dispatch
req.session.save()
File "build/bdist.linux-x86_64/egg/trac/web/session.py", line 100, in save
(self.sid,))
File "build/bdist.linux-x86_64/egg/trac/db/util.py", line 64, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "build/bdist.linux-x86_64/egg/trac/db/sqlite_backend.py", line 76, in execute
result = PyFormatCursor.execute(self, *args)
File "build/bdist.linux-x86_64/egg/trac/db/sqlite_backend.py", line 55, in execute
args or [])
File "build/bdist.linux-x86_64/egg/trac/db/sqlite_backend.py", line 49, in _rollback_on_error
self.cnx.rollback()
File "build/bdist.linux-x86_64/egg/trac/db/sqlite_backend.py", line 233, in rollback
self.cnx.rollback()
OperationalError: SQL logic error or missing database
Attachments (0)
Note:
See TracTickets
for help on using tickets.



PySqlite#OperationalError:SQLlogicerrorormissingdatabase