Modify ↓
Opened 16 years ago
Closed 12 years ago
#3079 closed defect (duplicate)
Search error: "TypeError: can't compare datetime.datetime to int"
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
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 (2)
Change History (7)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
I can confirm Doxygen to be the cause of this and have a patch that fixes this attached.
Changed 16 years ago by
Attachment: | doxygentrac-typeerror-comparison-datetime-float-fix.patch added |
---|
fix for this bug
Changed 16 years ago by
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
Note: See
TracTickets for help on using
tickets.
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.