basak / glacier-cli

Command-line interface to Amazon Glacier
Other
617 stars 55 forks source link

TypeError: create_archive_from_file() got an unexpected keyword argument 'description' #1

Open pheuter opened 12 years ago

pheuter commented 12 years ago

I'm getting a TypeError whenever I try to upload a file to a vault:

glacier.py archive upload Backup file

where Backup is the vault name and file is a file on my fs.

Full stack trace:

Traceback (most recent call last):
  File "/Users/mark/bin/glacier.py", line 618, in <module>
    App().main()
  File "/Users/mark/bin/glacier.py", line 604, in main
    args.func(args)
  File "/Users/mark/bin/glacier.py", line 416, in archive_upload
    archive_id = vault.create_archive_from_file(file_obj=args.file, description=name)
TypeError: create_archive_from_file() got an unexpected keyword argument 'description'
basak commented 12 years ago

It sounds like you need commit fbb516914d286a691432cbca87c1cf564fdc57e4 from the boto glacier branch which was only merged recently. Is your boto glacier branch up to date?

xsuchy commented 12 years ago

sorry ignore previous comment, this was typo