Opened 18 years ago
Closed 18 years ago
#5259 closed defect (worksforme)
Problem update from 0.10.2 to 0.10.4 - svn error
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control/changeset view | Version: | 0.10.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Hi,
updating from 0.10.2 to 0.10.4 I got this error:
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 406, 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).sync() File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 102, in sync self.youngest = self.repos.normalize_rev(self.youngest) File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 312, in normalize_rev raise NoSuchChangeset(rev) NoSuchChangeset: No changeset 1702 in the repository
In previous version (0.10.2) however I can't see changeset for my svn-repos (and sources too), and now, after update, I got above error.
Have you any idea?
Thanks, Alex
Attachments (0)
Change History (6)
follow-up: 2 comment:1 by , 18 years ago
Description: | modified (diff) |
---|
comment:2 by , 18 years ago
Replying to cboos:
Not sure how you got there, but try to do a resync.
I have launched:
trac-admin /var/svn-repos/myapp resync
and I got:
Failed to open environment. [Errno 2] No such file or directory: '/var/svn-repos/myapp/VERSION' Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 134, in env_open
self.env = Environment(self.envname)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 147, in init
self.verify()
File "/usr/lib/python2.3/site-packages/trac/env.py", line 195, in verify
fd = open(os.path.join(self.path, 'VERSION'), 'r')
IOError: [Errno 2] No such file or directory: '/var/svn-repos/myapp/VERSION'
is it a problem of svn-repos??? or bad launch of "resync"?
follow-up: 4 comment:3 by , 18 years ago
Use
trac-admin <project> resync
project being your Trac project, not your Subversion repository.
BTW, please use the {{{ }}} verbatim quoting blocks when pasting a traceback in a ticket, to avoid Wiki-fication of your text.
comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to eblot:
Use
trac-admin <project> resync
Yes it works! Thanks!
BTW, please use the {{{ }}} verbatim quoting blocks when pasting a traceback in a ticket, to avoid Wiki-fication of your text.
ops sorry:)
comment:5 by , 18 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Version: | → 0.10.4 |
(re-opening to fix resolution)
comment:6 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
('fixed' status only applies after code or doc has been modified)
Not sure how you got there, but try to do a resync.