Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10041 closed defect (fixed)

AttributeError: 'NoneType' object has no attribute 'id'

Reported by: paul_trac@… 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:

Description (last modified by Christian Boos)

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 Christian Boos, 9 years ago

Description: modified (diff)
Keywords: documentation templates added
File "/var/www/polarssl_trac/templates/browser.html", line 119

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.

comment:2 by Christian Boos, 9 years ago

Milestone: 0.12.3

comment:3 by Christian Boos, 9 years ago

Resolution: fixed
Status: newclosed

Documentation added to TracUpgrade@89#CustomizedTemplates.

comment:4 by Christian Boos, 9 years ago

Owner: set to Christian Boos

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.