{"action":"closed","issue":{"url":"https://api.github.com/repos/jjjake/internetarchive/issues/183","repository_url":"https://api.github.com/repos/jjjake/internetarchive","labels_url":"https://api.github.com/repos/jjjake/internetarchive/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/jjjake/internetarchive/issues/183/comments","events_url":"https://api.github.com/repos/jjjake/internetarchive/issues/183/events","html_url":"https://github.com/jjjake/internetarchive/issues/183","id":209537578,"number":183,"title":"Error message: unsupported operand type(s) for -=: 'Retry' and 'int'","user":{"login":"ethus3h","id":10457522,"avatar_url":"https://avatars0.githubusercontent.com/u/10457522?v=3","gravatar_id":"","url":"https://api.github.com/users/ethus3h","html_url":"https://github.com/ethus3h","followers_url":"https://api.github.com/users/ethus3h/followers","following_url":"https://api.github.com/users/ethus3h/following{/other_user}","gists_url":"https://api.github.com/users/ethus3h/gists{/gist_id}","starred_url":"https://api.github.com/users/ethus3h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethus3h/subscriptions","organizations_url":"https://api.github.com/users/ethus3h/orgs","repos_url":"https://api.github.com/users/ethus3h/repos","events_url":"https://api.github.com/users/ethus3h/events{/privacy}","received_events_url":"https://api.github.com/users/ethus3h/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-02-22T18:18:31Z","updated_at":"2017-07-14T00:32:54Z","closed_at":"2017-07-14T00:32:54Z","body":"I've seen this a few times now, using internetarchive 1.4.0 in GNU/Linux with Python 2.7. The upload command is: `ia upload \"$CrystalID\" --verify --retries=100 --metadata=\"subject:Uploaded using Crystallize $crystallizeVersion\" --metadata=\"subject:1EA21BD8-DB7E-11E5-9733-728C37852114\" --metadata=subject:\"$crystalTitle\" --metadata=subject:\"$CrystalID\" --metadata=\"collection:$crystalCollection\" --delete \"$CrystalTmpUploadFile\"`\r\n\r\nThanks!\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python-exec/python2.7/ia\", line 11, in <module>\r\n    load_entry_point('internetarchive==1.4.0', 'console_scripts', 'ia')()\r\n  File \"/usr/lib64/python2.7/site-packages/internetarchive/cli/ia.py\", line 159, in main\r\n    sys.exit(ia_module.main(argv, session))\r\n  File \"/usr/lib64/python2.7/site-packages/internetarchive/cli/ia_upload.py\", line 174, in main\r\n    item = session.get_item(args['<identifier>'])\r\n  File \"/usr/lib64/python2.7/site-packages/internetarchive/session.py\", line 214, in get_item\r\n    item_metadata = self.get_metadata(identifier, request_kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/internetarchive/session.py\", line 242, in get_metadata\r\n    raise type(exc)(error_msg)\r\nTypeError: Error retrieving metadata from https://archive.org/metadata/C3-20170222024726346872492_2d303530300ad9a25bea19d24dd3a6dde5532b8b6bb7, unsupported operand type(s) for -=: 'Retry' and 'int'\r\nkyan@elegiac /Ember Library/Ember/ember-library/ember-library-2 nohup compiz --replace openbox $ \r\n```"}}
{"actor":{"display_login":"ethus3h"}}