Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4573 closed defect (wontfix)

Database locked problem

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.8.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Hi there,

I've got a lot of problems accessing the trac forums from sageTV. It always reports "database locked" Hope you can fix this.

detailed response from site:


Navigation
Login Settings Help/Guide 
FAQ 
Accessibility 
About Trac 

Oops...
Trac detected an internal error: 
database is lockedIf you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team. 

Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below. 

TracGuide — The Trac User and Administration Guide 

Python traceback
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 531, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 526, in real_cgi_start
    dispatch_request(path_info, args, req, env)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 433, in dispatch_request
    req.session = Session.Session(env, req, newsession)
  File "/usr/lib/python2.3/site-packages/trac/Session.py", line 51, in __init__
    self.get_session(sid)
  File "/usr/lib/python2.3/site-packages/trac/Session.py", line 114, in get_session
    self.update_sess_time()
  File "/usr/lib/python2.3/site-packages/trac/Session.py", line 99, in update_sess_time
    self['last_visit'] = sess_time
  File "/usr/lib/python2.3/site-packages/trac/Session.py", line 59, in __setitem__
    return self.set_var(key, val)
  File "/usr/lib/python2.3/site-packages/trac/Session.py", line 138, in set_var
    self.purge_expired()
  File "/usr/lib/python2.3/site-packages/trac/Session.py", line 175, in purge_expired
    "  AND var_value  < %i)", mintime)
  File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 237, in execute
    self.con._begin()
  File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 503, in _begin
    self.db.execute("BEGIN")
OperationalError: database is locked

Powered by Trac 0.8.1

By Edgewall Software. Visit the Trac open source project at http://trac.edgewall.com/

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed
Version: 0.10.30.8.1

As they're running Trac 0.8.1, all we can say is that they should try to upgrade, to 0.10.3 at least; the database is locked issue happens much less frequently with that version.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.