Modify ↓
Opened 9 years ago
Closed 7 years ago
#12723 closed defect (worksforme)
ValueError: invalid literal for float(): 16YQ1CR,MMSE
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | ScrumBurndownPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
How to Reproduce
While doing a POST operation on /newticket
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'945678e3dcac81f13496c75c', 'field_cc': u'', 'field_component': u'ADI', 'field_description': u'', 'field_estimatedhours': u'0', 'field_keywords': u'', 'field_milestone': u'Active', 'field_owner': u'eda_admin', 'field_priority': u'Show Stopper', 'field_reporter': u'eda_admin', 'field_summary': u'ticket create for testing', 'field_tc_be_ticket_number': u'', 'field_tc_hardware_version': u'', 'field_tc_release_tag': u'', 'field_tc_software_version': u'', 'field_tc_target_date': u'07-04-2016', 'field_type': u'Error', 'submit': u'Create ticket'}
User agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
System Information
Trac | 1.0
|
Babel | 0.9.4 (translations unavailable)
|
Docutils | 0.6
|
Genshi | 0.6 (without speedups)
|
mod_python | 3.3.2-dev-20080819
|
Pygments | 1.1.1
|
pysqlite | 2.4.1
|
Python | 2.6.6 (r266:84292, Sep 11 2012, 08:28:27) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
|
pytz | 2010h
|
setuptools | 0.6
|
SQLite | 3.6.20
|
Subversion | 1.7.8 (r1419691)
|
jQuery | 1.7.2
|
Enabled Plugins
cc-selector | 0.0.3dev
|
EstimationTools | 0.4.5
|
TracAccountManager | 0.4.2
|
TracBurndown | 2.0.0dev
|
TracDateField | 3.0.0dev
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 214, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/ticket/web_ui.py", line 180, in process_request return self._process_newticket_request(req) File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/ticket/web_ui.py", line 465, in _process_newticket_request self._do_create(req, ticket) # (redirected if successful) File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/ticket/web_ui.py", line 1289, in _do_create ticket.insert() File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/ticket/model.py", line 255, in insert listener.ticket_created(self) File "build/bdist.linux-i686/egg/burndown/burndown.py", line 89, in ticket_created self.update_burndown_data() File "build/bdist.linux-i686/egg/burndown/burndown.py", line 280, in update_burndown_data if (float(estimate) - float(spent)) > 0: ValueError: invalid literal for float(): 16YQ1CR,MMSE
Attachments (0)
Change History (8)
comment:1 Changed 9 years ago by
Component: | SELECT A HACK → BurndownPlugin |
---|
comment:2 Changed 9 years ago by
comment:6 Changed 9 years ago by
Component: | BurndownPlugin → ScrumBurndownPlugin |
---|
I don't know.
That exception is raised from source:scrumburndownplugin/trunk/burndown/burndown.py@13148:280#L247, not BurndownPlugin.
comment:7 Changed 9 years ago by
I consider that is an installation issue. The values for estimatedhours
and/or totalhours
in your ticket_custom have 16YQ1CR,MMSE
. That is not float.
SELECT * FROM ticket_custom WHERE name IN ('estimatedhours', 'totalhours') AND value LIKE '%16YQ1CR,MMSE%';
Try to find such records and remove it.
comment:8 Changed 7 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing since there is presumably a solution and no feedback.
Note: See
TracTickets for help on using
tickets.
please update this error remedy