[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #18872 [- Select a component]: ValueError: invalid literal for int() with base 10: 'weasel'



#18872: ValueError: invalid literal for int() with base 10: 'weasel'
--------------------------------------+-----------------
     Reporter:  High586               |      Owner:
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
--------------------------------------+-----------------
 ==== How to Reproduce ====

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

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {'__FORM_TOKEN': u'1bade5a249f9368eee6f5ced',
  'action': u'leave',
  'comment': u'',
  'field_actualpoints': u'',
  'field_component': u'Mixminion-Client',
  'field_keywords': u'',
  'field_milestone': u'',
  'field_parent': u'weasel',
  'field_points': u'',
  'field_priority': u'Low',
  'field_reviewer': u'',
  'field_severity': u'Normal',
  'field_sponsor': u'',
  'field_summary': u'Incorrect node routing with mbox',
  'field_type': u'defect',
  'field_version': u'0.0.4',
  'id': u'4',
  'preview': u'Preview',
  'replyto': u'',
  'sfp_email': u'',
  'sfph_mail': u'',
  'start_time': u'1100419869000000',
  'view_time': u'1100419869000000'}
 }}}

 User agent: `#USER_AGENT#`

 ==== System Information ====
 ''System information not available''

 ==== Enabled Plugins ====
 ''Plugin information not available''

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 497, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 214, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 179,
 in process_request
     return self._process_ticket_request(req)
   File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 610,
 in _process_ticket_request
     valid = self._validate_ticket(req, ticket, not valid) and valid
   File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line
 1278, in _validate_ticket
     for field, message in manipulator.validate_ticket(req, ticket):
   File "build/bdist.linux-x86_64/egg/childtickets/childtickets.py", line
 68, in validate_ticket
     pid = int(ticket.values.get('parent').lstrip('#'))
 ValueError: invalid literal for int() with base 10: 'weasel'
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18872>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs