uskudnik / amazon-glacier-cmd-interface

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

Download from storage #116

Open messah opened 11 years ago

messah commented 11 years ago

Hi;

I downloaded something using glacier-cmd download archieve_id --outfile ok

The file appears on my Desktop but I dont open. İts name ok. But I dont enter my file. İt is compressed file. İts size about 100 MB.

and if I dont use --outfile parameter interesting character appear and computer is slowing down This time file is no place. I dont find it.

I am getting that:

Traceback (most recent call last):te 1.01 MB/s, average 723.78 KB/s, eta 14:06:12.

File "/usr/local/bin/glacier-cmd", line 9, in load_entry_point('glacier==0.2dev', 'console_scripts', 'glacier-cmd')()

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 894, in main args.func(args)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 152, in wrapper return fn(_args, *_kwargs)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 263, in download out_file_name=args.outfile, overwrite=args.overwrite)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 64, in wrapper ret = fn(_args, *_kwargs)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 230, in glacier_connect_wrap return func(_args, *_kwargs)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 64, in wrapper ret = fn(_args, *_kwargs)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 285, in sdb_connect_wrap return func(_args, *_kwargs)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 64, in wrapper ret = fn(_args, *_kwargs)

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/GlacierWrapper.py", line 1406, in download if glaciercorecalls.tree_hash(hash_list) != download_job['SHA256TreeHash']:

File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glaciercorecalls.py", line 58, in tree_hash new_hashes.append(hashlib.sha256(first + second).digest())

TypeError: must be string or buffer, not list

burakbozyigit commented 11 years ago

I think this is the same problem described with #110 No one said anything about this problem for 2 months.