Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5207 closed defect (worksforme)

Trac detected an internal error:

Reported by: jamsheer@… 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 Emmanuel Blot)

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

Description: modified (diff)
Priority: highestnormal
Resolution: invalid
Severity: criticalnormal
Status: newclosed

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.

comment:2 by Emmanuel Blot, 18 years ago

Version: 0.10.3.1

comment:3 by jamsheer@…, 18 years ago

Priority: normalhighest
Resolution: invalid
Severity: normalcritical
Status: closedreopened

That didn't fix the issue

in reply to:  3 comment:4 by Emmanuel Blot, 18 years ago

Priority: highestnormal

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 anonymous, 18 years ago

Priority: normalhighest
  • 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

comment:6 by Emmanuel Blot, 18 years ago

Priority: highestnormal

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:7 by anonymous, 18 years ago

again getting

* Unknown syntax: trac-admin 'pathresync'

in reply to:  6 comment:8 by Emmanuel Blot, 18 years ago

Replying to eblot:

What command have you run, including the parameters?

comment:9 by anonymous, 18 years ago

trac-admin /home/s_textbook/tracdb/liftbridge_svn resync

comment:10 by anonymous, 18 years ago

its fixed now.. thanks for your help

comment:11 by Emmanuel Blot, 18 years ago

Resolution: worksforme
Status: reopenedclosed

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.