Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1987 closed defect (fixed)

Invalid source file or path generates exception

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone: 0.9
Component: version control/browser Version: devel
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If one uses source Trac link like this: source:util.py, clicking on the resulting link produces an exception. That's because util.py is actually here.

Oops...

Trac detected an internal error:

No node at /util.py in revision 2151
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 205, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 140, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/web_ui/browser.py", line 91, in process_request
    node = repos.get_node(path, rev)
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 85, in get_node
    return self.repos.get_node(path, rev)
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 230, in get_node
    self._pool)
  File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 336, in __init__
    raise TracError, "No node at %s in revision %s" % (path, rev)
TracError: No node at /util.py in revision 2151

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 19 years ago

The reporter gave version 0.8.4, but this happens now also on trunk, after [2149] and [2150]: the send_pretty_error fails because the HDF object was cleared.

comment:2 by anonymous, 19 years ago

It happens on projects.edgewall.com Web site, that's why I stated 0.8.4.

comment:3 by Christian Boos, 19 years ago

Milestone: 0.9
Severity: normalminor
Version: 0.8.4devel

Edgewall is using the trunk version… I don't know the exact changeset, but I suspect it's the very latest.

comment:4 by Jonas Borgström, 19 years ago

Resolution: fixed
Status: newclosed

This change was reverted in [2164]. Clearing req.hdf might still have some effect on the garbage collection, some more investigation is required.

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.