This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#342 closed defect (fixed)

"Move" dialog - "More than 1 value to unpack"

Reported by: pferreir Owned by: pferreir
Priority: normal Milestone: v0.97.0
Component: Timetable Version: 0.97.0
Keywords: Cc:

Description

We've been receiving a lot of these lately:

Service request failed. Request text:
{"version":"1.1","method":"schedule.moveEntry","params":{"value":false,"OK":"OK","conference":"88575","scheduleEntryId":"12","sessionId":"0","sessionSlotId":"0"}}

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/services/interface/rpc/json.py", line 109, in process
    result = invokeMethod(str(requestBody["method"]), requestBody.get("params", []), req)
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 86, in invokeMethod
    raise ProcessError("ERR-P0", "Error processing method.")
ProcessError: ERR-P0 : Error processing method.

Inner Exception:
Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 67, in invokeMethod
    result = processRequest(method, params, req)

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 45, in processRequest
    result = handler(params, req.get_remote_host(), getSession(req)).process()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/services/implementation/base.py", line 233, in process
    answer = self._getAnswer()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/services/implementation/schedule.py", line 80, in _getAnswer
    return self._performOperation()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/services/implementation/schedule.py", line 975, in _performOperation
    sessionId,sessionSlotId = self._contribPlace.split(":")

ValueError: need more than 1 value to unpack

Change History (3)

comment:1 Changed 6 years ago by pferreir

  • Owner set to pferreir
  • Status changed from new to accepted

comment:2 Changed 6 years ago by jose.pedro.ferreira@…

  • Resolution set to fixed
  • Status changed from accepted to closed

commit a4df71201a4b28031a3c44d0764066d111c2aa1d
Author: Pedro Ferreira <jose.pedro.ferreira@…>
Date: Tue Mar 23 18:05:27 2010 +0100

[FIX] "Move" dialog - sanitize input


  • prevent "submit" from being triggered if there is no radio button selected;
  • made the dialog look a bit nicer as well;
  • fixes #342;

comment:3 Changed 5 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

In [a4df71201a4b28031a3c44d0764066d111c2aa1d]:

[FIX] "Move" dialog - sanitize input

  • prevent "submit" from being triggered if there is no radio button selected;
  • made the dialog look a bit nicer as well;
  • fixes #342;
Note: See TracTickets for help on using tickets.