uskudnik / amazon-glacier-cmd-interface

Command line interface for Amazon Glacier
MIT License
374 stars 100 forks source link

Seems to insist on having bookkeeping #67

Closed tuctboh closed 11 years ago

tuctboh commented 11 years ago

Hi,

Tried to set a connection up. I was able to create a vault, but when I tried to upload, even though I had bookkeeping set to "False", it tried to execute sdb_connect. When I commented out @sdb_connect in the Wrapper I'm able to upload.

Thanks, Tuc

tuctboh commented 11 years ago

[dbadmin@w-vertica-06 archived_data]$ glacier-cmd upload Vertica-2011-09 export_data.sh "export_data.sh command" Traceback (most recent call last): File "/usr/bin/glacier-cmd", line 8, in load_entry_point('glacier==0.2dev', 'console_scripts', 'glacier-cmd')() File "/opt/python2.7/lib/python2.7/site-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 521, in main args.func(args) File "/opt/python2.7/lib/python2.7/site-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 71, in wrapper return fn(_args, _kwargs) File "/opt/python2.7/lib/python2.7/site-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 201, in upload args.partsize) File "/opt/python2.7/lib/python2.7/site-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 52, in wrapper ret = fn(_args, _kwargs) File "/opt/python2.7/lib/python2.7/site-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 289, in glacier_connect_wrap return func(_args, _kwargs) File "/opt/python2.7/lib/python2.7/site-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 52, in wrapper ret = fn(_args, _kwargs) File "/opt/python2.7/lib/python2.7/site-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 335, in sdb_connect_wrap cause=e.cause, File "/opt/python2.7/lib/python2.7/site-packages/boto-2.6.0-py2.7.egg/boto/exception.py", line 101, in getattr raise AttributeError AttributeError

wvmarle commented 11 years ago

Got a patch out; waiting for it to be pulled into master branch.

Thanks for reporting!

uskudnik commented 11 years ago

Done - merged. Again, thanks for reporting!