Edgewall Software
Modify

Opened 16 years ago

Closed 15 years ago

#8200 closed defect (wontfix)

TypeError: int() argument must be a string or a number, not 'list'

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

Description

How to Reproduce

While doing a POST operation on /ticket/6, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'9c8fa033862fab441896c098',
 'action': u'implementation_completed',
 'cnum': u'6',
 'comment': u'',
 'field_cc': u'',
 'field_description': u"At the supply input, overvoltage protection devices shall limit the voltage supplied to the regulator. The maximum input voltage of the regulator is 30V, so at an supply voltage of 30V the protector should already have started to do it's work.\r\n\r\nUnfortunately, the hardware validation results (TC2) show that if the circuit is supplied with 30V that the supply current has not increased yet, this means the protectors (RV1/RV5)have a to high threshold value.",
 'field_expected_end_date': u'N/A',
 'field_keywords': u'',
 'field_milestone': u'',
 'field_original_reporter': u'N/A',
 'field_possible_cause': u'RV1 & RV5 have a to high threshold value',
 'field_possible_sol': u'Select RV1 & RV5 with a lower threshold value',
 'field_priority': u'Low',
 'field_product_serial': u'001',
 'field_reason': u'N/A',
 'field_reporter': u'gertjan',
 'field_risk': u'N/A',
 'field_risk_consequence': u'N/A',
 'field_risk_detectability': u'N/A',
 'field_risk_probability': u'N/A',
 'field_summary': u'Input overvoltage protection not reacting on static overvoltage',
 'field_type': u'ChangeRequest',
 'field_version': u'',
 'field_where_occured': u'Hardware verification testing',
 'id': u'6',
 'replyto': [u'', u'1'],
 'submit': u'Submit changes',
 'ts': u'2009-03-05 15:47:55+00:00'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

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.6c8
MySQL server: "5.0.18-nt", client: "5.0.27", thread-safe: 1
MySQLdb 1.2.2
Genshi 0.5.1
mod_python 3.3.0b
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\Python25\lib\site-packages\trac-0.11.1-py2.5.egg\trac\web\main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python25\lib\site-packages\trac-0.11.1-py2.5.egg\trac\web\main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python25\lib\site-packages\trac-0.11.1-py2.5.egg\trac\ticket\web_ui.py", line 170, in process_request
    return self._process_ticket_request(req)
  File "C:\Python25\lib\site-packages\trac-0.11.1-py2.5.egg\trac\ticket\web_ui.py", line 490, in _process_ticket_request
    valid = self._validate_ticket(req, ticket) and not problems
  File "C:\Python25\lib\site-packages\trac-0.11.1-py2.5.egg\trac\ticket\web_ui.py", line 938, in _validate_ticket
    int(replyto or 0)
TypeError: int() argument must be a string or a number, not 'list'

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 16 years ago

Keywords: needinfo added

The replyto URL parameter somehow got doubled. This looks very much like the recently-fixed issue with Python 2.6, except in this case it's 2.5.

Did this happen only once, or can you reproduce the issue consistently?

Also, you may want to update to 0.11.4, as many bugs have been fixed since 0.11.1.

comment:2 by Christian Boos, 15 years ago

Resolution: wontfix
Status: newclosed

No feedback in more than 3 months, closing.

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.