Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5029 closed defect (fixed)

Trac should still be usable even if there's an issue with resync

Reported by: v.savin@… Owned by: Christian Boos
Priority: high Milestone: 0.11
Component: version control Version: 0.10.3
Severity: critical Keywords: resync
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Can't open http://overlays.gentoo.org/proj/x11

Oops… Trac detected an internal error:

If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — The Trac User and Administration Guide Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/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.4/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.4/site-packages/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 259, in get_repository
    repos = SubversionRepository(dir, None, self.log)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 289, in __init__
    raise TracError("%s does not appear to be a Subversion repository." \
TracError: /var/www/overlays.gentoo.org/svn/proj/x11 does not appear to be a Subversion repository.

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Component: generalversion control
Description: modified (diff)
Milestone: 0.10.5
Owner: changed from Jonas Borgström to Christian Boos
Severity: majorcritical
Version: 0.10.3

Sorry, the error message is a bit misleading, you shouldn't have created a ticket here but you should have informed the overlays.gentoo.org/proj/x11 people that there was a problem reaching the svn repository (which was probably moved to another location).

On the other hand, it's a bit sad that the whole Trac site is taken down when there's a problem like that. I think we should be more robust in this case (i.e. the other subsystems, e.g. wiki and ticket should still be usable).

in reply to:  1 comment:2 by Christian Boos, 18 years ago

Description: modified (diff)
Keywords: resync added
Milestone: 0.10.50.11
Resolution: fixed
Status: newclosed
Summary: Can't open http://overlays.gentoo.org/proj/x11Trac should still be usable even if there's an issue with resync

On the other hand, it's a bit sad that the whole Trac site is taken down when there's a problem like that. I think we should be more robust in this case (i.e. the other subsystems, e.g. wiki and ticket should still be usable).

This was implemented in r5230.

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.