Ticket #34514

Error on date

Eröffnet am: 2014-10-20 20:30 Letztes Update: 2014-10-20 22:22

Auswertung:
(Anonym)
Verantwortlicher:
(Keine)
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
(Keine)
Priorität:
7
Schweregrad:
6
Lösung:
Gefixt
Datei:
Keine

Details

I've installed versione 0.6.3 oh this plugin on trac 1.0. I'm using sqlite ad DB engine. I'm migrating an existing trac repository on a new server, what I've done is copying the entire trac repos in a new server where I've reinstalled Trac 1.0.

Using a trac repository that is working with version 0.6.2 of TracGanttCalendarPlugin I have this error on ticket's date:

TypeError: can't compare datetime.date to NoneType

The code referred to this error is:

if row['due_assign'] > row['due_close']

Solved reinstalling TracGanttCalendarPlugin 0.6.2

I wolud like to know if thereis a bug in the new version of TracGanttCalendarPlugin or if I've to upgrade the data in some ways

Ticket-Verlauf (3/6 Historien)

2014-10-20 20:30 Aktualisiert von: None
  • New Ticket "Error on date" created
2014-10-20 20:39 Aktualisiert von: jun66j5
Kommentar

I searched if row['due_assign'] > row['due_close'] in latest code. I cannot find it. Please reinstall latest from http://svn.sourceforge.jp/svnroot/shibuya-trac/plugins/ganttcalendarplugin/trunk.

If the issue is not solved, could you please post stacetrace of the error in your trac.log? If logging is not enabled, please enabled TracLogging.

2014-10-20 22:05 Aktualisiert von: jun66j5
  • Komponente Update from (Keine) to GanttCalendarPlugin
  • Lösung Update from Keine to Gefixt
  • Status Update from Offen to Geschlossen
  • Ticket Close date is changed to 2014-10-20 22:05
Kommentar

Ok. That code is introduced in r844 by me. I'm wrong.

I just fixed in r858. Please try latest.

2014-10-20 22:14 Aktualisiert von: carcarlo
Kommentar

Thank you very much.

In any way this was the error that I saw on the UI and into the log file.

Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/site-packages/TracGanttCalendarPlugin-0.6.3_r0-py2.6.egg/ganttcalendar/ticketgantt.py", line 538, in process_request
    if row['due_assign'] > row['due_close']:
TypeError: can't compare datetime.date to NoneType

Now I'm going to try the new release.

2014-10-20 22:20 Aktualisiert von: carcarlo
Kommentar

Now is working fine. Thank you very much.

2014-10-20 22:22 Aktualisiert von: jun66j5
Kommentar

Thanks for the feedback!

Dateianhangliste

Keine Anhänge

Bearbeiten

Please login to add comment to this ticket » Anmelden