Modify

Opened 15 months ago

#11138 new defect

"invalid literal for int() with base 10" + "ERROR: 'unicode' object has no attribute 'isocalendar'"

Reported by: falkb Owned by: anbo
Priority: normal Component: ProjectPlanPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

The plugin is still not useable.

For example

[[ProjectPlan(combine_filters=AND,filter_milestone=Foo - Test,segments=20/02/2013;21/03/2013;22/04/2013;23/05/2013;03/06/2013,renderer=tableticketperuserday,owners=user1;user2;user3,cssclass=blacktable, useimages=Y, summary=chart,showaggregatedstate=T,statistics=elapsed_time/estimated_time)]]

comes up with an empty table of 3 rows and 6 columns, though the table header and the owner column is filled with proper content.

My logging shows:

...
[2013-06-03 09:21:34,260 p5044:t4260] pprenderimpl.py:126 WARNING: getDateOfSegment: invalid literal for int() with base 10: '20/0'  --> return: 20/02/2013
[2013-06-03 09:21:34,260 p5044:t4260] ppticketsperuserday.py:218 ERROR: 'unicode' object has no attribute 'isocalendar' 20/02/2013
[2013-06-03 09:21:34,260 p5044:t4260] pprenderimpl.py:126 WARNING: getDateOfSegment: invalid literal for int() with base 10: '21/0'  --> return: 21/03/2013
[2013-06-03 09:21:34,260 p5044:t4260] ppticketsperuserday.py:218 ERROR: 'unicode' object has no attribute 'isocalendar' 21/03/2013
[2013-06-03 09:21:34,260 p5044:t4260] pprenderimpl.py:126 WARNING: getDateOfSegment: invalid literal for int() with base 10: '22/0'  --> return: 22/04/2013
[2013-06-03 09:21:34,260 p5044:t4260] ppticketsperuserday.py:218 ERROR: 'unicode' object has no attribute 'isocalendar' 22/04/2013
[2013-06-03 09:21:34,276 p5044:t4260] pprenderimpl.py:126 WARNING: getDateOfSegment: invalid literal for int() with base 10: '23/0'  --> return: 23/05/2013
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:218 ERROR: 'unicode' object has no attribute 'isocalendar' 23/05/2013
[2013-06-03 09:21:34,276 p5044:t4260] pprenderimpl.py:126 WARNING: getDateOfSegment: invalid literal for int() with base 10: '03/0'  --> return: 03/06/2013
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:218 ERROR: 'unicode' object has no attribute 'isocalendar' 03/06/2013
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[20/02/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[21/03/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[22/04/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[23/05/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[03/06/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[20/02/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[21/03/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[22/04/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[23/05/2013][date] is null
[2013-06-03 09:21:34,276 p5044:t4260] ppticketsperuserday.py:261 WARNING: TicketsPerUserDay.render: calendar[03/06/2013][date] is null
...

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.