Ticket #2416 (closed defect: fixed)
Trac internal error when parsing svn history
| Reported by: | tjb@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | high | Milestone: | 0.9.3 |
| Component: | version control | Version: | 0.10.3.1 |
| Severity: | major | Keywords: | sync needinfo |
| Cc: | tjb@… |
Description
I created a trac environment (our 4th) for a project, using the repository_dir directive in trac.ini to isolate the project to a subtree of our subversion repository.
When initialising the database, an error occurred.
("File not found: revision 2192, path '/modules/StandardDataFormat/libceatypes/Trunk/Implementation/type_handlers/cea_raw_param_type_handler.cpp'", 160013)
and then a message about cannot initialise trac environment.
Again, when accessing the trac environment from the browser, the same error occurred (pasted verbatim here form the browser)
Oops...
Trac detected an internal error:
("File not found: revision 2192, path '/modules/StandardDataFormat/libceatypes/Trunk/Implementation/type_handlers/cea_raw_param_type_handler.cpp'", 160013)
If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.
Go to http://trac.edgewall.com/ 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.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, 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 114, in process_request
self._render_directory(req, repos, node, rev)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/web_ui/browser.py", line 146, in _render_directory
changes = get_changes(self.env, repos, [i['rev'] for i in info])
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/web_ui/util.py", line 31, in get_changes
changeset = repos.get_changeset(rev)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 40, in get_changeset
self.sync()
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 81, in sync
for path,kind,action,base_path,base_rev in changeset.get_changes():
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 487, in get_changes
change.base_path = fs.node_created_path(prev_root, path, pool())
SubversionException: ("File not found: revision 2192, path '/modules/StandardDataFormat/libceatypes/Trunk/Implementation/type_handlers/cea_raw_param_type_handler.cpp'", 160013)
I will obtain the subversion log for the relevant directory and attach it shortly.
Tony Butt CEA Technologies
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


