Edgewall Software

Ticket #5029 (closed defect: fixed)

Opened 22 months ago

Last modified 21 months ago

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

Reported by: v.savin@… Owned by: cboos
Priority: high Milestone: 0.11
Component: version control Version: 0.10.3
Severity: critical Keywords: resync
Cc:

Description (last modified by cboos) (diff)

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

Change History

follow-up: ↓ 2   Changed 22 months ago by cboos

  • severity changed from major to critical
  • component changed from general to version control
  • version set to 0.10.3
  • milestone set to 0.10.5
  • owner changed from jonas to cboos
  • description modified (diff)

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   Changed 21 months ago by cboos

  • status changed from new to closed
  • description modified (diff)
  • summary changed from Can't open http://overlays.gentoo.org/proj/x11 to Trac should still be usable even if there's an issue with resync
  • milestone changed from 0.10.5 to 0.11
  • keywords resync added
  • resolution set to fixed

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.

Add/Change #5029 (Trac should still be usable even if there's an issue with resync)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.