Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5959 closed defect (duplicate)

Reference to non exists version

Reported by: antonio.beamud@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

All works perfect until now. I'm using Debian etch (trac version 0.10.3) last update and now when try to access my trac, the next message appears:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.4/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.4/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.4/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/var/lib/python-support/python2.4/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.4/trac/versioncontrol/cache.py", line 39, in __init__
    self.sync()
  File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py", line 143, in sync
    cset = self.repos.get_changeset(next_youngest)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 346, in get_changeset
    self.fs_ptr, self.pool)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 638, in __init__
    message = self._get_prop(core.SVN_PROP_REVISION_LOG)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 729, in _get_prop
    return fs.revision_prop(self.fs_ptr, self.rev, name, self.pool())
  File "/var/lib/python-support/python2.4/libsvn/fs.py", line 570, in svn_fs_revision_prop
    return apply(_fs.svn_fs_revision_prop, args)
SubversionException: ("Reference to non-existent revision 1 in filesystem '/var/svn/dummy/db'", 160006)

Trying to resync with trac-admin give me the same result:

trac-admin /home/domains/trac resync
Resyncing repository history... 
(this will take a time proportional to the number of your changesets)
Command failed: ("Reference to non-existent revision 1 in filesystem '/var/svn/dummy/db'", 160006)

Attachments (0)

Change History (3)

comment:1 by Tim Hatch, 17 years ago

Keywords: needinfo added

This feels almost exactly like #4937 which a lot of people have reported after upgrading to etch, but the error message is different (what version of the svn bindings are you running?).

If your repository is empty, it's a dupe of that issue, which is fixed in 0.10.4 (available in testing and unstable). If not, we need more info. Can you run svnadmin verify /var/svn/dummy successfully?

comment:2 by antonio.beamud@…, 17 years ago

Well, mi subversion repository was empty. I fixed this problem creating a file in the repository and automatically trac began to work fine… My subversion version is 1.4.2dfsg1-2 python-subversion is 1.4.2dfsg1-2

Hope this helps.

comment:3 by Tim Hatch, 17 years ago

Resolution: duplicate
Status: newclosed

Yes, glad you were able to work around it until Debian ships the new version.

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.