Edgewall Software

Opened 17 years ago

Last modified 17 years ago

#5178 closed defect

Trac requires re-sync after editing Wiki main page — at Version 1

Reported by: Brian Heylin Owned by: Christian Boos
Priority: normal Milestone:
Component: wiki system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

Was re-editing main page, was adding to the original default content. last thing i did was put spaces in front of all the '*' chars as i think this is the proper syntax for a list item? So did that and requested a preview

Ok so heres the trace back:

Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "C:\Python24\Lib\site-packages\trac\versioncontrol\api.py", line 73, in pre_process_request
    self.get_repository(req.authname) # triggers a sync if applicable
  File "C:\Python24\Lib\site-packages\trac\versioncontrol\api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "C:\Python24\Lib\site-packages\trac\versioncontrol\svn_fs.py", line 260, in get_repository
    crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
  File "C:\Python24\Lib\site-packages\trac\versioncontrol\cache.py", line 34, in __init__
    self.sync()
  File "C:\Python24\Lib\site-packages\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.

Change History (1)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)
Keywords: needinfo added

Very weird indeed. Editing wiki page and SVN resync are fully unrelated.

Are you sure no one as updated the project config file (trac.ini) at the same time, or performed some maintainance on the subversion repository while you were editing the page?

BTW, please specify which version of Trac you're using. Thanks.

Note: See TracTickets for help on using tickets.