Ticket #512 (closed defect: fixed)
Opened 8 years ago
Last modified 6 years ago
In the browse source module you get an error when viewing the revision log
| Reported by: | anonymous | Owned by: | jonas |
|---|---|---|---|
| Priority: | highest | Milestone: | 0.8 |
| Component: | version control/log view | Version: | 0.7.1 |
| Severity: | blocker | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Oops…
Trac detected an internal error:
not a string
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 and 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.2/site-packages/trac/ModPythonHandler.py", line 174, in handler
core.dispatch_request(mpr.path_info, args, mpr, env)
File "/usr/lib/python2.2/site-packages/trac/core.py", line 380, in dispatch_request
module.run()
File "/usr/lib/python2.2/site-packages/trac/Module.py", line 41, in run
self.render()
File "/usr/lib/python2.2/site-packages/trac/Log.py", line 132, in render
info = self.get_info (self.path, rev)
File "/usr/lib/python2.2/site-packages/trac/Log.py", line 64, in get_info
self.pool)
TypeError?: not a string
Attachments
Change History
comment:1 Changed 8 years ago by jonas
comment:2 Changed 8 years ago by jamesm@…
I experience this problem on the Trac project website right now. Current online rev is 0.7.1pre - I was going to wait till you guys went live with 0.7.1 to make sure it was really a problem. If you check the rev history on any file you'll get the above error message.
comment:3 Changed 8 years ago by jamesm@…
I do not experience this problem with the official 0.7.1 release (Windows at least) on my own test setup.
comment:4 Changed 8 years ago by daniel
This seems to only occur when running trac in the mod_python frontend.
I switched the project site back to the cgi, and it works now.
comment:5 Changed 8 years ago by anonymous
- Milestone set to 0.8
- Priority changed from high to highest
- Severity changed from normal to blocker
comment:6 Changed 8 years ago by jonas
- Component changed from browser to log view
- Status changed from new to assigned
The FieldStorage? supplied by mod_python do not return ordinary strings. It returns StringFields that are str subclasses.
comment:7 Changed 8 years ago by jonas
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [800].



So you can't view the revision log for any file or does this just happen for some files?