Opened 21 years ago
Closed 21 years ago
#117 closed defect (fixed)
The log-module can't handle a missing ''author''-property.
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.6 |
Component: | version control/log view | Version: | 0.5.2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Whenever I click on _any_ file name in the "Browser" I get the error below. Everything else seems to work fine as far as I can tell. Oups… Trac detected an internal error:
coercing to Unicode: need string or buffer, NoneType found 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 there you create a new ticket where you describe the problem, how to reproduce it and don't forget to include the python traceback found below.
Python traceback Traceback (most recent call last):
File "/usr/local/lib/python2.2/site-packages/trac/trac.py", line 249, in main
real_main()
File "/usr/local/lib/python2.2/site-packages/trac/trac.py", line 204, in real_main
module.run()
File "/usr/local/lib/python2.2/site-packages/trac/Module.py", line 36, in run
self.render()
File "/usr/local/lib/python2.2/site-packages/trac/Log.py", line 72, in render
info = self.get_info (self.path)
File "/usr/local/lib/python2.2/site-packages/trac/Log.py", line 48, in get_info
self.pool)
File "/usr/local/lib/python2.2/site-packages/trac/Log.py", line 34, in log_receiver
item = {
File "/usr/local/lib/python2.2/site-packages/trac/util.py", line 145, in utf8_to_iso
utf = unicode(text, 'utf-8')
TypeError: coercing to Unicode: need string or buffer, NoneType found
Attachments (0)
Change History (4)
comment:1 by , 21 years ago
Component: | general → browser |
---|
comment:2 by , 21 years ago
comment:3 by , 21 years ago
Component: | browser → log view |
---|---|
Milestone: | → 0.6 |
Status: | new → assigned |
Summary: | Trac "Oups" in browser → The log-module can't handle a missing ''author''-property. |
We fixed a similar problem in svn:/trunk/trac/Changeset.py but we forgot to do the same in svn:/trunk/trac/Log.py
This fix should probably be merged into the 0.5-stable branch as well…
Many of my older revisions have no "author" in SVN. If I change Log.py line 36 from:
to
things seem to work. I don't know Python so I don't know if this is a good fix…