Skip to content

Instantly share code, notes, and snippets.

@danlamanna
Created September 1, 2015 18:52
Show Gist options
  • Save danlamanna/f443ebec47138a7f9202 to your computer and use it in GitHub Desktop.
Save danlamanna/f443ebec47138a7f9202 to your computer and use it in GitHub Desktop.
~ girder-cli --host data.kitware.com --username "foo" --password "bar" -c upload 55882fe58d777fa4919ba1d1 playbook.retry
Uploading Item from playbook.retry
Traceback (most recent call last):
File "/usr/local/bin/girder-cli", line 9, in <module>
load_entry_point('girder-client==1.0.2', 'console_scripts', 'girder-cli')()
File "/usr/local/lib/python2.7/dist-packages/girder_client/cli.py", line 96, in main
reuse_existing=args.reuse)
File "/usr/local/lib/python2.7/dist-packages/girder_client/__init__.py", line 897, in upload
current_file, reuse_existing)
File "/usr/local/lib/python2.7/dist-packages/girder_client/__init__.py", line 764, in _upload_as_item
local_file, current_item['_id'], file_path)
TypeError: list indices must be integers, not str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment