Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9411 closed defect (invalid)

OperationalError: attempt to write a readonly database

Reported by: jang Owned by:
Priority: high Milestone:
Component: general Version: 0.11.6
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /report/1, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'1'}

System Information

Trac 0#11#6
Python 2#5#2 #r252:60911, Feb 21 2008, 13:11:45# #MSC v#1310 32 bit #Intel##
setuptools 0#6c9
SQLite 3#3#4
pysqlite 2#3#2
Genshi 0#5#1
mod_python 3#3#1
Subversion 1#6#9 #r901367#

Python Traceback

Traceback #most recent call last#:
  File "C:\svn\VisualSVN Server\Trac\python\lib\site-packages\trac-0.11.6-py2.5-win32.egg\trac\web\main.py", line 450, in _dispatch_request
    dispatcher.dispatch#req#
  File "C:\svn\VisualSVN Server\Trac\python\lib\site-packages\trac-0.11.6-py2.5-win32.egg\trac\web\main.py", line 229, in dispatch
    req.session.save##
  File "C:\svn\VisualSVN Server\Trac\python\lib\site-packages\trac-0.11.6-py2.5-win32.egg\trac\web\session.py", line 100, in save
    #self.sid,##
  File "C:\svn\VisualSVN Server\trac\python\lib\site-packages\trac-0.11.6-py2.5-win32.egg\trac\db\util.py", line 64, in execute
    return self.cursor.execute#sql_escape_percent#sql#, args#
  File "C:\svn\VisualSVN Server\trac\python\lib\site-packages\trac-0.11.6-py2.5-win32.egg\trac\db\sqlite_backend.py", line 80, in execute
    PyFormatCursor.execute#self, *args#
  File "C:\svn\VisualSVN Server\trac\python\lib\site-packages\trac-0.11.6-py2.5-win32.egg\trac\db\sqlite_backend.py", line 59, in execute
    args or [])
  File "C:\svn\VisualSVN Server\trac\python\lib\site-packages\trac-0.11.6-py2.5-win32.egg\trac\db\sqlite_backend.py", line 51, in _rollback_on_error
    return function#self, *args, **kwargs#
OperationalError: attempt to write a readonly database

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: invalid
Status: newclosed

(Very strange bug report. It seems that many special characters like ) or . were replaced by #.)

This is most likely an InstallationIssue. Please check that the web server has write access to the database file as well as the whole db directory in the environment.

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.