Modify ↓
#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 , 20 years ago
comment:2 by , 20 years ago
It happens on projects.edgewall.com Web site, that's why I stated 0.8.4.
comment:3 by , 20 years ago
| Milestone: | → 0.9 |
|---|---|
| Severity: | normal → minor |
| Version: | 0.8.4 → devel |
Edgewall is using the trunk version… I don't know the exact changeset, but I suspect it's the very latest.
comment:4 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
This change was reverted in [2164]. Clearing req.hdf might still have some effect on the garbage collection, some more investigation is required.
Note:
See TracTickets
for help on using tickets.



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