Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5734 closed defect (duplicate)

impossible to access Timeline page when direct connection to this page

Reported by: stephane-thiers@… Owned by: Christian Boos
Priority: normal Milestone:
Component: timeline Version: 0.10.3
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

The timeline page adress is saved by my web browser so I directly access to Trac by the timeline page. But after connecting, any pages are accessible unless the timeline page (show a message explaining I must login to access the page). Sometimes, this message disapears after about 10 minutes. Today, the message is different (Oops page) and here is the Python Traceback.

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname) # triggers a sync if applicable
  File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/var/lib/python-support/python2.5/trac/versioncontrol/svn_fs.py", line 260, in get_repository
    crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
  File "/var/lib/python-support/python2.5/trac/versioncontrol/cache.py", line 34, in __init__
    self.sync()
  File "/var/lib/python-support/python2.5/trac/versioncontrol/cache.py", line 90, in sync
    changeset.message))
  File "/var/lib/python-support/python2.5/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/var/lib/python-support/python2.5/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/var/lib/python-support/python2.5/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
IntegrityError: column rev is not unique

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #3831.

You should upgrade to 0.10.4 and fix the repository cache using TracAdmin's resync command.

Modify Ticket

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