Edgewall Software

Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#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:


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
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
  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-\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-\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)

Change History (1)

comment:1 by Christian Boos, 11 years ago

Resolution: cantfix
Status: newclosed

(Very outdated) AgiloForScrum issue. Please upgrade.

Modify Ticket

Change Properties
Set your email in Preferences
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.