Modify ↓
Opened 10 years ago
Closed 10 years ago
#12163 closed defect (cantfix)
OperationalError: unable to open database file
| Reported by: | jstrauser | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.12.3 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /newticket, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'type': u'Task'}
User agent: #USER_AGENT#
System Information
Trac | 0.12.3
|
Agilo | 1.3.13-pro
|
Genshi | 0.6.1
|
mod_wsgi | 3.5 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
|
pysqlite | 2.6.0
|
Python | 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)]
|
setuptools | 7.0
|
SQLite | 3.6.21
|
Subversion | 1.8.10 (r1615264)
|
jQuery | #JQUERY#
|
Enabled Plugins
binary-agilo | 1.3.13-pro
|
Python Traceback
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\web\main.py", line 522, in _dispatch_request
dispatcher.dispatch(req)
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\web\main.py", line 266, in dispatch
req.session.save()
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\web\session.py", line 105, in save
@self.env.with_transaction()
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\db\api.py", line 77, in transaction_wrapper
fn(ldb)
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\web\session.py", line 140, in save_session
""", (self.sid, authenticated))
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\db\util.py", line 65, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\db\sqlite_backend.py", line 78, in execute
result = PyFormatCursor.execute(self, *args)
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\db\sqlite_backend.py", line 56, in execute
args or [])
File "C:\Python27\lib\site-packages\trac-0.12.3-py2.7.egg\trac\db\sqlite_backend.py", line 48, in _rollback_on_error
return function(self, *args, **kwargs)
OperationalError: unable to open database file
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Most likely an InstallationIssue. An incorrect
[trac] databasestring is the simplest cause of the issue. Another possibility is that you are out of disk space, or that the database file permissions are incorrect. See OperationalError: unable to open database file?noquickjump=1.