Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7914 closed defect (invalid)

AttributeError: 'NoneType' object has no attribute 'date'

Reported by: phuongvm Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /roadmap, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

System Information

Trac 0.11.1
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c7
SQLite 3.5.2
pysqlite 2.4.0
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.5.4 (r33841)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\PS\Python25\lib\site-packages\trac\web\main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\PS\Python25\lib\site-packages\trac\web\main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\PS\Python25\lib\site-packages\trac\ticket\roadmap.py", line 749, in process_request
    points_per_period = TicketSystem(self.env).get_points_per_period(5)
  File "C:\PS\Python25\lib\site-packages\trac\ticket\api.py", line 650, in get_points_per_period
    ticket_info = self.get_ticket_info( tickets, None, iteration.end_date.date() )
AttributeError: 'NoneType' object has no attribute 'date'

Attachments (0)

Change History (1)

in reply to:  description comment:1 by Emmanuel Blot, 16 years ago

Resolution: invalid
Status: newclosed

Replying to phuongvm:

File "C:\PS\Python25\lib\site-packages\trac\ticket\roadmap.py", line 749, in process_request
   points_per_period = TicketSystem(self.env).get_points_per_period(5)
File "C:\PS\Python25\lib\site-packages\trac\ticket\api.py", line 650, in get_points_per_period
   ticket_info = self.get_ticket_info( tickets, None, iteration.end_date.date() )

This is not a genuine Trac installation: your Trac has been hacked some way:

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.