Opened 7 years ago

Closed 7 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 7 years ago by muelli@…

  • Keywords patch added
  • Owner changed from pacopablo to anonymous
  • Status changed from new to assigned

patch in #1073 fixes that issue

comment:2 Changed 7 years ago by pacopablo

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2403])

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

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from anonymous. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.