Modify

Opened 17 years ago

Closed 12 years ago

#3079 closed defect (duplicate)

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

Reported by: beinstein@… 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)

doxygentrac-typeerror-comparison-datetime-float-fix.patch (1.3 KB) - added by Giel van Schijndel 16 years ago.
fix for this bug
doxygentrac-typeerror-comparison-datetime-float-fix.2.patch (1.4 KB) - added by Giel van Schijndel 16 years ago.
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

Download all attachments as: .zip

Change History (7)

comment:1 Changed 16 years ago 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.

comment:2 Changed 16 years ago by Giel van Schijndel

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

Changed 16 years ago by Giel van Schijndel

fix for this bug

comment:3 Changed 16 years ago by Giel van Schijndel

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

Changed 16 years ago by Giel van Schijndel

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

comment:4 Changed 15 years ago by Ryan J Ollos

Adding myself to receive notifications.

comment:5 Changed 12 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

Duplicate of #3000.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.