Opened 17 years ago
Closed 17 years ago
#6312 closed defect (worksforme)
Browse Source page is experiencing internal server error but SVN is healthy
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control | Version: | 0.10.3 |
Severity: | blocker | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi all,
- We created the project with a defined but empty repository.
- here "Browse Source" was working.
- Committed the the code to the SVN
- here again "Browse Source" was working.
- Remembered that we had forgotten to create "branches", "trunk" and "tags" folders.
- SVN Delete all files and created the folders.
- Committed source code to the trunk.
- now "Browse Source" page is giving an error "Trac detected an internal error." with the following Python Traceback.
Please note that our svn is now healthy and we can browse the code via webdav/apache powered websvn.
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 101, in sync
base_path, base_rev))
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/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 3111, in execute
raise OperationalError, msg
OperationalError: HATA: mükerrer kayıt "node_change_pk" tekil kısıtlamasını ihlal etmektedir
The last line is in systems language (Turkish), its English translation is:
ERROR: dublicate entry "node_change_pk" is violating the singularity (uniqueness) constraint.
Upgrade to 0.10.4.