Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1920 by lonico: TypeError at /r/1524/ -- can't compare datetime.datetime to int

*NOTE: Do not post confidential information in this bug report.*

What version are you running?

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1.Just visit the URL:

What is the expected output? What do you see instead?

TypeError at /r/1524/

can't compare datetime.datetime to int

Request Method:         GET
Request URL:
Django Version:         1.2.3
Exception Type:         TypeError
Exception Value:        

can't compare datetime.datetime to int

Exception Location: /usr/lib/python2.5/site-packages/ReviewBoard-1.6alpha0.dev_20101217-py2.5.egg/reviewboard/reviews/ in review_detail, line 354
Python Executable:      /usr/bin/python
Python Version:         2.5.2

/usr/lib/python2.5/site-packages/ReviewBoard-1.6alpha0.dev_20101217-py2.5.egg/reviewboard/reviews/ in review_detail

 348. try:
349. latest_reply = temp_review.public_replies().latest('timestamp').timestamp
 350. except Review.DoesNotExist:
 351. latest_reply = None
 353. # Mark as expanded if there is a reply newer than last_visited

 354. if latest_reply and last_visited < latest_reply:

last_visited    0
latest_reply    datetime.datetime(2010, 5, 6, 1, 19, 53)

What operating system are you using? What browser?


Please provide any additional information below.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to