Edgewall Software

Opened 17 years ago

Last modified 17 years ago

#5967 closed defect

problem after recreating subversion repository — at Initial Version

Reported by: meinholz@… Owned by: Christian Boos
Priority: normal Milestone:
Component: version control Version: 0.10.4
Severity: normal Keywords: svn resync needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I am using trac 0.10.4 and python 2.5.1 on ubuntu. I am using the debian/ubuntu pkgs that have been installed using apt-get.

I had to delete and recreate a subversion repository after associating a trac project with the repository. I have run the command:

trac-admin /path/to/tracproj resync

This partially works. My wiki seems to be recovered and I can edit a page. However, after I have edited a wiki page, submitted the change and then attempt a second edit, I get the following error:

Python Traceback

Traceback (most recent call last):

File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, 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).sync()

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

raise TracError("The 'repository_dir' has changed, "

TracError: The 'repository_dir' has changed, a 'trac-admin resync' operation is needed.

If I re-run the trac-admin resync, I am able to do another edit before the problem recurs.

Change History (0)

Note: See TracTickets for help on using tickets.