Opened 18 years ago
Closed 18 years ago
#5207 closed defect (worksforme)
Trac detected an internal error:
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.10.3.1 |
Severity: | critical | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Trac detected an internal error:
http://textbook.svnrepository.com/liftbridge_svn/trac.cgi/
Python Traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 191, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 263, in _pre_process_request chosen_handler = f.pre_process_request(req, chosen_handler) File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request self.get_repository(req.authname) # triggers a sync if applicable File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py", line 101, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 260, in get_repository crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log) File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 34, in __init__ self.sync() File "/usr/lib/python2.3/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.
Attachments (0)
Change History (11)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|---|
Priority: | highest → normal |
Resolution: | → invalid |
Severity: | critical → normal |
Status: | new → closed |
comment:2 by , 18 years ago
Version: | → 0.10.3.1 |
---|
follow-up: 4 comment:3 by , 18 years ago
Priority: | normal → highest |
---|---|
Resolution: | invalid |
Severity: | normal → critical |
Status: | closed → reopened |
That didn't fix the issue
comment:4 by , 18 years ago
Priority: | highest → normal |
---|
Replying to jamsheer@carmatec.com:
That didn't fix the issue
Could you be a bit more descriptive:
- did you run the
trac-admin resync
command? - did you get any error while running this command?
Please attach the relevant section of the Trac log file
comment:5 by , 18 years ago
Priority: | normal → highest |
---|
- did you run the trac-admin resync command?
yes
- did you get any error while running this command?
* Unknown syntax: trac-admin 'resync'
then tired with resync trac_admin for this I got "Resyncing repository history…"
But the issue remains
follow-up: 8 comment:6 by , 18 years ago
Priority: | highest → normal |
---|
Please stop resetting the priority. It does not help, at all.
You need to run:
trad-admin /path/to/trac/project resync
without any quote. resync trac_admin
means nothing for Trac. What command have you run, including the parameters?
comment:11 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
As stated in the error message:
The 'repository_dir' has changed, a 'trac-admin resync' operation is needed.
This means that the Subversion repository has been changed, and the admin needs to run the specified command so that Trac is updated with this new repository.