Opened 11 years ago

Closed 11 years ago

#1750 closed defect (fixed)

Internal error when selecting the year link on the calendar panel

Reported by: jfeid@… Owned by: anonymous
Priority: normal Component: TracBlogPlugin
Severity: major Keywords: patch
Cc: Trac Release: 0.10


Selecting the year link on the calendar panel to show all the postings for the year, trac responds with the following error:

Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\trac\web\", line 406, in dispatch_request
  File "C:\Python24\Lib\site-packages\trac\web\", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build\bdist.win32\egg\tBlog\", line 235, in process_request
  File "build\bdist.win32\egg\tBlog\", line 268, in _generate_blog
  File "build\bdist.win32\egg\tBlog\", line 578, in _get_time_range
TypeError: unsupported operand type(s) for +=: 'datetime.datetime' and 'NoneType'


 * Trac 0.10.4
 * tracwebadmin 0.1.2dev-r4429
 * tractags 0.4
 * tBlog 0.2.2dev

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by muelli@…

Keywords: patch added
Owner: changed from John Hampton to anonymous
Status: newassigned

patch in #1073 fixes that issue

comment:2 Changed 11 years ago by John Hampton

Resolution: fixed
Status: assignedclosed

(In [2403])

  • Fixed bug introduced by [2397] where selecting only a year would generate a traceback
  • Fixes #1750

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain anonymous.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.