DIYBookScanner / spreads

Modular workflow assistant for book digitization
GNU Affero General Public License v3.0
127 stars 53 forks source link

AttributeError: 'str' object has no attribute 'msg' #210

Open ghost opened 9 years ago

ghost commented 9 years ago

I'm sorry I keep bombing you guys with issues/errors (I seem to stumble upon them like crazy - I've never actually had a successful book scan with Spreads so far). This error came up in the CLI with the latest version of spreads:

==========================
 Starting capturing process
 ==========================
Workflow: Initializing workflow Kongens_fald
bagit: Adding path /home/spreads/Kongens_fald/bag-info.txt to payload
spreadsplug.hidtrigger: Initializing HidTrigger plugin
spreadsplug.hidtrigger: Found HID device: <hidapi.Device object at 0xb4711710>
spreadsplug.hidtrigger: Found HID device: <hidapi.Device object at 0xb47117d0>
bagit: Adding path Kongens_fald/config.yml to payload
spreads.plugin: Finding devices for driver "CHDKCameraDevice"
Found 2 devices!
Setting up devices for capturing.
Workflow: Preparing capture.
Workflow: Preparing capture in devices
CHDKCameraDevice[8D5F]: Setting focus to mode 'autofocus_all'
spreads encountered an error:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/spreads/main.py", line 321, in main
    run()
  File "/usr/local/lib/python2.7/dist-packages/spreads/main.py", line 308, in run
    args.subcommand(config)
  File "/usr/local/lib/python2.7/dist-packages/spreads/cli.py", line 388, in wizard
    capture(config)
  File "/usr/local/lib/python2.7/dist-packages/spreads/cli.py", line 335, in capture
    workflow.prepare_capture()
  File "/usr/local/lib/python2.7/dist-packages/spreads/workflow.py", line 883, in prepare_capture
    util.check_futures_exceptions(futures)
  File "/usr/local/lib/python2.7/dist-packages/spreads/util.py", line 119, in check_futures_exceptions
    raise next(x for x in futures if x.exception()).exception()
AttributeError: 'str' object has no attribute 'msg'