Modify ↓
#10041 closed defect (fixed)
AttributeError: 'NoneType' object has no attribute 'id'
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12.3 |
Component: | version control/browser | Version: | 0.12.2 |
Severity: | normal | Keywords: | documentation templates |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Hey guys,
I receive an error using the latest stable version (0.12.2) that I did not find back in already existing bug reports. I've put the traceback below.
The triggering link is: http://polarssl.org/trac/browser/branches/polarssl-0.10/visualc/rsa_pub.txt?rev=487
Python Traceback Most recent call last:
File "/var/www/polarssl_trac/templates/browser.html", line 119, in <Expression u"wiki_to_html(context('changeset', file.changeset.rev), file.changeset.message, escape_newlines=True)"> File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter.py", line 1497, in format_to_html File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter.py", line 1452, in generate File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter.py", line 1240, in format File "/usr/lib/python2.6/re.py", line 151, in sub File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter.py", line 1158, in replace File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter.py", line 1151, in handle_match File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/versioncontrol/web_ui/log.py", line 330, in <lambda> File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/versioncontrol/web_ui/log.py", line 366, in _format_link File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/versioncontrol/api.py", line 563, in get_default_repository
System Information:
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b11) Gecko/20100101 Firefox/4.0b11 Trac 0.12.2 Genshi 0.6 mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}) Pygments 1.4 pysqlite 2.4.1 Python 2.6.6 (r266:84292, Dec 26 2010, 22:48:11) [GCC 4.4.5] pytz 2010b setuptools 0.6 SQLite 3.7.4 Subversion 1.6.12 (r955767) jQuery 1.4.2
Attachments (0)
Change History (4)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|---|
Keywords: | documentation templates added |
comment:2 by , 14 years ago
Milestone: | → 0.12.3 |
---|
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Documentation added to TracUpgrade@89#CustomizedTemplates.
comment:4 by , 14 years ago
Owner: | set to |
---|
Note:
See TracTickets
for help on using tickets.
This is a template coming from a previous version of Trac.
I didn't find an obvious and clear warning about the need to manually upgrade "customized" templates in TracUpgrade, only a short caveat in TracIni#GlobalConfiguration.
Keeping the ticket as a reminder to improve the doc.