Package: trac
Version: 0.10.3

Trac fails miserably when there are too many concurrent resync attempts withe following message:

Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    run_once = environ['wsgi.run_once']
File "/var/lib/python-support/python2.4/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
File "/var/lib/python-support/python2.4/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.4/trac/versioncontrol/ api.py", line 73, in pre_process_request
    self.get_repository(req.authname).sync()
File "/var/lib/python-support/python2.4/trac/versioncontrol/ api.py", line 101, in get_repository
    repos = self._cache[tid]
File "/var/lib/python-support/python2.4/trac/versioncontrol/ svn_fs.py", line 260, in get_repository
    path = path.encode('utf-8')
File "/var/lib/python-support/python2.4/trac/versioncontrol/ cache.py", line 34, in __init__

File "/var/lib/python-support/python2.4/trac/versioncontrol/ cache.py", line 100, in sync

File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
File "/var/lib/python-support/python2.4/trac/db/ sqlite_backend.py", line 56, in execute
    args or [])
File "/var/lib/python-support/python2.4/trac/db/ sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
IntegrityError: columns rev, path, change_type are not unique


This issue has been resolved in trac 0.10.4 and there is a patch for 0.10.3. The bug is described in detail here: http://trac.edgewall.org/ ticket/4586


--------------------------------------------
Robert Cuadra
[EMAIL PROTECTED]
Senior Programmer
Cyber Flow Solutions, Inc.
--------------------------------------------





Reply via email to