Ticket #3079 (closed defect: duplicate)

Opened 5 years ago

Last modified 7 months ago

Search error: "TypeError: can't compare datetime.datetime to int"

Reported by: beinstein@comcast.net Assigned to: cboos
Priority: high Component: DoxygenPlugin
Severity: major Keywords: search, genshi
Cc: Trac Release: 0.11

Description

I received this error after upgrading to Genshi 0.5dev-r852 and trying to perform a search. While I'm not positive it's due to the doxygen plugin, logging in as a user that doesn't have permissions to the Doxygen page does not cause the error when searching.

Attachments

doxygentrac-typeerror-comparison-datetime-float-fix.patch (1.3 kB) - added by giel on 12/03/08 00:55:01.
fix for this bug
doxygentrac-typeerror-comparison-datetime-float-fix.2.patch (1.4 kB) - added by giel on 12/03/08 13:31:12.
Use the correct timezone as well (previous patch didn't do that); as a result the patch in #3000 doesn't work either, this one does (tested & confirmed): http://developer.wz2100.net/search?q=language

Change History

11/13/08 03:16:23 changed by anonymous

I'm getting the same error. Toggling Doxygen on/off in the search page makes the difference between error and no error for me, so I believe the poster is correct about it being the doxygen plugin's fault.

12/03/08 00:54:37 changed by giel

I can confirm Doxygen to be the cause of this and have a patch that fixes this attached.

12/03/08 00:55:01 changed by giel

  • attachment doxygentrac-typeerror-comparison-datetime-float-fix.patch added.

fix for this bug

12/03/08 01:08:04 changed by giel

Hmm, I just saw that this bug (and my fix) are similar to #3000.

12/03/08 13:31:12 changed by giel

  • attachment doxygentrac-typeerror-comparison-datetime-float-fix.2.patch added.

Use the correct timezone as well (previous patch didn't do that); as a result the patch in #3000 doesn't work either, this one does (tested & confirmed): http://developer.wz2100.net/search?q=language

08/28/09 21:57:12 changed by rjollos

Adding myself to receive notifications.

10/21/12 23:55:08 changed by rjollos

  • status changed from new to closed.
  • resolution set to duplicate.

Add/Change #3079 (Search error: "TypeError: can't compare datetime.datetime to int")




Change Properties
Action