{"action":"created","issue":{"url":"https://api.github.com/repos/DIYBookScanner/spreads/issues/205","labels_url":"https://api.github.com/repos/DIYBookScanner/spreads/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/DIYBookScanner/spreads/issues/205/comments","events_url":"https://api.github.com/repos/DIYBookScanner/spreads/issues/205/events","html_url":"https://github.com/DIYBookScanner/spreads/issues/205","id":95227711,"number":205,"title":"IndexError: tuple index out of range,","user":{"login":"mcdonaldm","id":13179324,"avatar_url":"https://avatars.githubusercontent.com/u/13179324?v=3","gravatar_id":"","url":"https://api.github.com/users/mcdonaldm","html_url":"https://github.com/mcdonaldm","followers_url":"https://api.github.com/users/mcdonaldm/followers","following_url":"https://api.github.com/users/mcdonaldm/following{/other_user}","gists_url":"https://api.github.com/users/mcdonaldm/gists{/gist_id}","starred_url":"https://api.github.com/users/mcdonaldm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcdonaldm/subscriptions","organizations_url":"https://api.github.com/users/mcdonaldm/orgs","repos_url":"https://api.github.com/users/mcdonaldm/repos","events_url":"https://api.github.com/users/mcdonaldm/events{/privacy}","received_events_url":"https://api.github.com/users/mcdonaldm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-15T15:49:50Z","updated_at":"2015-07-15T17:57:15Z","closed_at":null,"body":"Receiving this error quite frequently. I can capture a set of images, but then I'll receive this error and needs restarted.\r\n\r\nNothing has changed from one capture to another.\r\n\r\nI've built this setup using the image files submitted by Duerig. All SD cards are Class 10 by Kingston.\r\n\r\nUsing a Raspberry Pi 2 with 2 Canon A2500 cameras.\r\n\r\nI've reformatted the spreads SD card multiple times but can't seem to capture more than 2 images at a time.\r\n\r\nEDIT: I shut spreads completely down by using the Shutdown function. Turned off cameras & Pi. Turned cameras back on, booted up the Pi. Started spreads. Both cameras show IP address. But when I hit the capture button it goes straight to this error message again.\r\n\r\nAny ideas?\r\n\r\nThanks\r\nMichael\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spreadsplug/web/endpoints.py\", line 327, in view_func\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spreadsplug/web/endpoints.py\", line 971, in finish_capture\r\n    workflow.finish_capture()\r\n  File \"/usr/local/lib/python2.7/dist-packages/spreads/workflow.py\", line 952, in finish_capture\r\n    with concfut.ThreadPoolExecutor(len(self.devices)) as executor:\r\n  File \"/usr/local/lib/python2.7/dist-packages/spreads/workflow.py\", line 527, in devices\r\n    if any(not dev.connected() for dev in self._devices):\r\n  File \"/usr/local/lib/python2.7/dist-packages/spreads/workflow.py\", line 527, in <genexpr>\r\n    if any(not dev.connected() for dev in self._devices):\r\n  File \"/usr/local/lib/python2.7/dist-packages/spreadsplug/dev/chdkcamera.py\", line 144, in connected\r\n    self._device.reconnect()\r\n  File \"/usr/local/lib/python2.7/dist-packages/chdkptp/device.py\", line 341, in reconnect\r\n    self._lua.call(\"con:reconnect\", wait=wait, strict=True)\r\n  File \"/usr/local/lib/python2.7/dist-packages/chdkptp/lua.py\", line 53, in call\r\n    return self._parse_rval(fn(*args))\r\n  File \"/usr/local/lib/python2.7/dist-packages/chdkptp/lua.py\", line 36, in _parse_rval\r\n    self._raise_exception(rval[2])\r\nIndexError: tuple index out of range\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/DIYBookScanner/spreads/issues/comments/121693436","html_url":"https://github.com/DIYBookScanner/spreads/issues/205#issuecomment-121693436","issue_url":"https://api.github.com/repos/DIYBookScanner/spreads/issues/205","id":121693436,"user":{"login":"adongy","id":95287,"avatar_url":"https://avatars.githubusercontent.com/u/95287?v=3","gravatar_id":"","url":"https://api.github.com/users/adongy","html_url":"https://github.com/adongy","followers_url":"https://api.github.com/users/adongy/followers","following_url":"https://api.github.com/users/adongy/following{/other_user}","gists_url":"https://api.github.com/users/adongy/gists{/gist_id}","starred_url":"https://api.github.com/users/adongy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adongy/subscriptions","organizations_url":"https://api.github.com/users/adongy/orgs","repos_url":"https://api.github.com/users/adongy/repos","events_url":"https://api.github.com/users/adongy/events{/privacy}","received_events_url":"https://api.github.com/users/adongy/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T17:57:15Z","updated_at":"2015-07-15T17:57:15Z","body":"Bug should already be fixed in latest chdkptp.py version.\r\nPlease test with http://jbaiter.de/files/chdkptp.py-0.1.4b7.tar.gz and report with debug logs."}}