Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9337 closed defect (cantfix)

TypeError: a float is required

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

Description

How to Reproduce

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

(please provide additional details here)

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19

System Information

Trac 0.11.2.1
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [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
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\Trac-0.11.2.1-py2.5.egg\trac\web\main.py", line 455, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\python25\lib\site-packages\Trac-0.11.2.1-py2.5.egg\trac\web\main.py", line 227, in dispatch
    resp = chosen_handler.process_request(req)
  File "c:\python25\lib\site-packages\statusreportplugin-1.0-py2.5.egg\statusreportplugin\api.py", line 123, in process_request
    data = self.populate_data(data)
  File "c:\python25\lib\site-packages\statusreportplugin-1.0-py2.5.egg\statusreportplugin\api.py", line 325, in populate_data
    data.update(self.get_all_data_for_milestone(data['default_milestone']))
  File "c:\python25\lib\site-packages\statusreportplugin-1.0-py2.5.egg\statusreportplugin\api.py", line 374, in get_all_data_for_milestone
    tbl_metric_data = self.get_metric_data(0, milestone)
  File "c:\python25\lib\site-packages\statusreportplugin-1.0-py2.5.egg\statusreportplugin\api.py", line 557, in get_metric_data
    sv = sqrt(row[1]) * 100
TypeError: a float is required

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (statusreportplugin).

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.