Home
My Page
Projects
Tree Packager

[#1585] Commands fail wen status files do not contain a date

Date:
2010-09-13 08:18
Priority:
3
State:
Open
Submitted by:
Andre Heinecke (aheinecke)
Assigned to:
Nobody (None)
Hardware:
None
Product:
None
Operating System:
None
Component:
None
Version:
None
Severity:
minor
Resolution:
Fixed
 
URL:
Summary:
Commands fail wen status files do not contain a date

Detailed description
When due to manually interfering or due to a full disk status files fail to get created or do not contain Start and stop information commands like createstaticweb fail with the error:







File "/usr/lib/pymodules/python2.6/genshi/template/directives.py", line 359, in __call__

iterable = _eval_expr(self.expr, ctxt, vars)

File "/usr/lib/pymodules/python2.6/genshi/template/base.py", line 277, in _eval_expr

retval = expr.evaluate(ctxt)

File "/usr/lib/pymodules/python2.6/genshi/template/eval.py", line 178, in evaluate

return eval(self.code, _globals, {'__data__': data})

File "/home/maemo-tags/treepkg/bin/../treepkg/../web/kdepim-mobile-status.html", line 73, in <Expression u'iter(report.revisions.sorted_by_startdate())'>

<py:for each="row in report.revisions.sorted_by_startdate()">

File "/home/maemo-tags/treepkg/bin/../treepkg/report.py", line 118, in sorted_by_startdate

revisions.sort()

TypeError: can't compare datetime.datetime to NoneType

Followup

Message
Date: 2010-10-21 16:02
Sender: Andre Heinecke

Fixed since r451

Attached Files:

Changes:

Field Old Value Date By
ResolutionNone2010-10-21 16:02aheinecke

This site is hosted by Intevation GmbH