Modify ↓
#10528 closed defect (cantfix)
TypeError: float() argument must be a string or a number
Reported by: | naru | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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'bb1ba53778fa00ea46443d73', 'field_cc': u'', 'field_description': u'', 'field_expended_effort': u'', 'field_owner': u'naru', 'field_ranking': u'0', 'field_reporter': u'naru', 'field_reporting_team': u'TMSC General', 'field_status': u'new', 'field_status_comment': u'', 'field_summary': u'test', 'field_tags': u'', 'field_team': u'ICF Team', 'field_tmsc_id': u'', 'field_type': u'support_query', 'field_version_found': u'HFW 0.', 'submit': u'Create ticket'}
System Information
Trac | 0.11.4
|
Python | 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
|
setuptools | 0.6c9
|
psycopg2 | 2.0.10
|
Genshi | 0.5.1
|
Agilo | 0.7.3.3-r1417-20090313
|
Subversion | 1.6.1 (r37116)
|
RPC | 1.0.6
|
Python Traceback
Traceback (most recent call last): File "C:\Python26\lib\site-packages\trac\web\main.py", line 435, in _dispatch_request dispatcher.dispatch(req) File "C:\Python26\lib\site-packages\trac\web\main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "C:\Python26\lib\site-packages\trac\ticket\web_ui.py", line 183, in process_request return self._process_newticket_request(req) File "C:\Python26\lib\site-packages\agilo-0.7.3.3_r1417_20090313-py2.6.egg\agilo\ticket\web_ui.py", line 326, in _process_newticket_request template, data, content_type = super(AgiloTicketModule, self)._process_newticket_request(req) File "C:\Python26\lib\site-packages\trac\ticket\web_ui.py", line 389, in _process_newticket_request valid = self._validate_ticket(req, ticket) File "C:\Python26\lib\site-packages\agilo-0.7.3.3_r1417_20090313-py2.6.egg\agilo\ticket\web_ui.py", line 101, in _validate_ticket trac_says_valid = super(AgiloTicketModule, self)._validate_ticket(req, ticket) File "C:\Python26\lib\site-packages\trac\ticket\web_ui.py", line 967, in _validate_ticket for field, message in manipulator.validate_ticket(req, ticket): File "build\bdist.win32\egg\tokaiestimatechecks\tokaiestimatechecks.py", line 55, in validate_ticket if float(expended_effort) > float(current_estimate): TypeError: float() argument must be a string or a number
Attachments (0)
Note:
See TracTickets
for help on using tickets.
(Very outdated) AgiloForScrum issue. Please upgrade.