#8601 NORM Not Tri: ValueError: list.remove(x): x not in list
Zarro Boogs per Child
bugtracker at laptop.org
Mon Sep 22 01:47:43 EDT 2008
#8601: ValueError: list.remove(x): x not in list
------------------------+---------------------------------------------------
Reporter: thomaswamm | Owner: coderanger
Type: defect | Status: new
Priority: normal | Milestone: Not Triaged
Component: trac | Version: not specified
Keywords: | Next_action: never set
Verified: 0 | Blockedby:
Blocking: |
------------------------+---------------------------------------------------
==== How to Reproduce ====
While doing a POST operation on `/ticket/6995`, Trac issued an internal
error.
''I tried to add a comment to 6995.''
Request parameters:
{{{
{'__FORM_TOKEN': u'8e83068a507f1c13c1c8257f',
'action': u'leave',
'cnum': u'35',
'comment': u'I was going to create a ticket about weirdnesses in the
networking user interface seen in beta build 8.2-760, but this existing
ticket hints it is all still a work in progress. So I will go away til
you guys finish changing things.\r\n',
'field_blockedby': u'2866, 3993, 7740',
'field_blocking': u'6135, 6944, 7879',
'field_cc': u'eben, sj, marco, gnu, HoboPrimate',
'field_checkbox_verified': u'1',
'field_component': u'sugar',
'field_keywords': u'polish:8.2.0 blocks-:8.2.0',
'field_milestone': u'8.2.1',
'field_next_action': u'code',
'field_priority': u'high',
'field_summary': u'Add a mesh device to the frame and remove mesh devices
from Neighborhood view',
'field_type': u'enhancement',
'field_version': u'Development build as of this date',
'id': u'6995',
'replyto': u'',
'submit': u'Submit changes',
'ts': u'2008-09-18 23:07:14+00:00'}
}}}
User Agent was: `Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9)
Gecko/2008072400 OLPC/0.4.6-1.olpc3 (XO) Firefox/3.0`
==== System Information ====
|| '''Trac''' || `0.11stable-r7346` ||
|| '''Python''' || `2.5.2a0 (r251:54863, Jan 3 2008, 18:13:03) ` [[br]]
`[GCC 4.2.3 20071223 (prerelease) (Ubuntu 4.2.2-4ubuntu3)]` ||
|| '''setuptools''' || `0.6c7` ||
|| '''psycopg2''' || `2.0.6` ||
|| '''Genshi''' || `0.5.1` ||
|| '''jQuery:''' || `1.2.3` ||
==== Python Traceback ====
{{{
Traceback (most recent call last):
File "/home/coderanger/src/trac/trac/web/main.py", line 423, in
_dispatch_request
dispatcher.dispatch(req)
File "/home/coderanger/src/trac/trac/web/main.py", line 197, in dispatch
resp = chosen_handler.process_request(req)
File "/home/coderanger/src/trac/trac/ticket/web_ui.py", line 155, in
process_request
return self._process_ticket_request(req)
File "/home/coderanger/src/trac/trac/ticket/web_ui.py", line 474, in
_process_ticket_request
self._do_save(req, ticket, action)
File "/home/coderanger/src/trac/trac/ticket/web_ui.py", line 969, in
_do_save
cnum=internal_cnum):
File "/home/coderanger/src/trac/trac/ticket/model.py", line 282, in
save_changes
listener.ticket_changed(self, comment, author, old_values)
File "/home/olpc-
code/trac/plugins/TracMasterTickets-2.1.3-py2.5.egg/mastertickets/api.py",
line 105, in ticket_changed
links.save(author, comment, tkt.time_changed, db)
File "/home/olpc-
code/trac/plugins/TracMasterTickets-2.1.3-py2.5.egg/mastertickets/model.py",
line 65, in save
update_field(new_value)
File "/home/olpc-
code/trac/plugins/TracMasterTickets-2.1.3-py2.5.egg/mastertickets/model.py",
line 58, in <lambda>
update_field = lambda lst: lst.remove(str(self.tkt.id))
ValueError: list.remove(x): x not in list
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/8601>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list