Edgewall Software
Modify

Opened 9 years ago

Closed 9 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)

Change History (1)

comment:1 by Ryan J Ollos, 9 years ago

Resolution: cantfix
Status: newclosed

Most likely an InstallationIssue. An incorrect [trac] database string 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.