Modify ↓
Opened 17 years ago
Closed 17 years ago
#7225 closed defect (duplicate)
error in syncing svn <> trac using mysql as backend
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control | Version: | 0.11-stable |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
jan@lab:~/projects/$ sudo trac-admin /data/trac/env/ resync Resyncing repository history... Traceback (most recent call last): File "/usr/bin/trac-admin", line 7, in ? sys.exit( File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/admin/console.py", line 1249, in run return admin.onecmd(command) File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/admin/console.py", line 104, in onecmd rv = cmd.Cmd.onecmd(self, line) or 0 File "/usr/lib/python2.4/cmd.py", line 219, in onecmd return func(arg) File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/admin/console.py", line 632, in do_resync repos = env.get_repository().sync(self._resync_feedback) File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/versioncontrol/cache.py", line 205, in sync (str(next_youngest), File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 163, in execute self.errorhandler(self, exc, value) File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler raise errorclass, errorvalue _mysql_exceptions.IntegrityError: (1062, "Duplicate entry '1-old/img/120-036.jpg-A' for key 1")
- trac version: Trac 0.11rc1
- os: debian
- mysql version: 5.0.32-Debian_7etch5-log
- svn version: svn, version 1.4.2 (r22196)
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|
comment:2 by , 17 years ago
Keywords: | needinfo added |
---|---|
Resolution: | → duplicate |
Severity: | blocker → normal |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
To clarify a bit: