Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6966 closed defect (invalid)

I dont know why this happened

Reported by: AhmetYildirim Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I see this in every page.

This is phyton 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 59, in sync

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

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

Attachments (0)

Change History (1)

comment:1 by Jonas Borgström, 17 years ago

Resolution: invalid
Status: newclosed

This is expected behavior. Whenevery the repository_dir option in trac.ini is changed you need to run the following command:

trac-admin /path/to/your/tracenv/ resync

Please reopen this issue if this error message persists even after the resync.

Modify Ticket

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