Edgewall Software
Modify

Opened 17 years ago

Closed 17 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 Christian Boos)

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)

comment:1 by Christian Boos, 17 years ago

Description: modified (diff)

Not sure how you got there, but try to do a resync.

in reply to:  1 comment:2 by anonymous, 17 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"?

comment:3 by Emmanuel Blot, 17 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.

in reply to:  3 comment:4 by anonymous, 17 years ago

Resolution: fixed
Status: newclosed

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 Emmanuel Blot, 17 years ago

Resolution: fixed
Status: closedreopened
Version: 0.10.4

(re-opening to fix resolution)

comment:6 by Emmanuel Blot, 17 years ago

Resolution: worksforme
Status: reopenedclosed

('fixed' status only applies after code or doc has been modified)

Modify Ticket

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