Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5818 closed defect (worksforme)

error on new tab

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

Description

happens every time when i am logged into trac in one tab, open a new firefox tab and go to a quick link for a page that is a custom ticket query. Page fails to load with this error, until I log in to trac twice.

Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/lib64/python2.4/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib64/python2.4/site-packages/trac/versioncontrol/cache.py", line 70, in sync
    cursor.execute("SELECT name, value FROM system WHERE name IN (%s)" %
  File "/usr/lib64/python2.4/site-packages/trac/db/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/usr/lib64/python2.4/site-packages/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/usr/lib64/python2.4/site-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database is locked

Attachments (0)

Change History (3)

comment:1 by Tim Hatch, 17 years ago

From the line numbers you do appear to be running 0.10.4 which should have fixed the issue. I'll echo cboos' last sentiments in http://trac.edgewall.org/ticket/4929#comment:8 — are you sure the "login twice" workaround is necessary, or if you refresh the page a couple of times does it come up right?

comment:2 by sid, 17 years ago

Keywords: needinfo added

comment:3 by Christian Boos, 17 years ago

Resolution: worksforme
Status: newclosed

One of the many "OperationalError: database is locked" errors. No follow-up on this one, assuming an update of SQLite or PySqlite did the trick.

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.