Modify

Opened 7 years ago

Closed 7 years ago

#13194 closed defect (fixed)

16609 generates AttributeError on loading roadmap

Reported by: trac@… Owned by: Ryan J Ollos
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

On loading the roadmap with TracHours r16609 installed, an AttributeError:

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

is thrown. This did not happen with the version I installed in December 2015 (apparently also 0.6.0dev, but unfortunately I don't know more).

File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 512, in _dispatch_request
File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 240, in dispatch
File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 1042, in render_template
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 184, in render
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 58, in encode
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 350, in __call__
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 829, in __call__
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 669, in __call__
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 774, in __call__
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 594, in __call__
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 289, in _ensure
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 289, in _ensure
File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 1182, in _strip_accesskeys
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 289, in _ensure
File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 1171, in _generate
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 289, in _ensure
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 289, in _ensure
File "/usr/lib/python2.7/dist-packages/genshi/filters/transform.py", line 706, in _unmark
File "/usr/lib/python2.7/dist-packages/genshi/filters/transform.py", line 1172, in __call__
File "/usr/lib/python2.7/dist-packages/genshi/filters/transform.py", line 1063, in _inject
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 272, in _ensure
File "build/bdist.linux-x86_64/egg/trachours/web_ui.py", line 143, in __iter__
Trac 1.0.2
Babel 1.3
Docutils 0.12
Genshi 0.7 (with speedups)
GIT 2.1.4
psycopg2 2.5.4
Pygments 2.0.1
Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
pytz 2012c
setuptools 5.5.1
jQuery 1.7.2
jQuery UI 1.10.1
jQuery Timepicker 1.2

Attachments (0)

Change History (3)

comment:2 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 7 years ago by Ryan J Ollos

Owner: changed from EmeCas to Ryan J Ollos
Status: newaccepted

I made an error in r16474, adapting to the new Trac 1.0 API.

comment:4 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16622:

TracHours 0.6.0dev: Fix incorrect key ticket creation time

Fixes #13194.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.