{"action":"created","issue":{"url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/14","labels_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/14/comments","events_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/14/events","html_url":"https://github.com/Backblaze/B2_Command_Line_Tool/issues/14","id":122828066,"number":14,"title":"The script, b2, linked from the documentation, is broken","user":{"login":"dotemacs","id":152363,"avatar_url":"https://avatars.githubusercontent.com/u/152363?v=3","gravatar_id":"","url":"https://api.github.com/users/dotemacs","html_url":"https://github.com/dotemacs","followers_url":"https://api.github.com/users/dotemacs/followers","following_url":"https://api.github.com/users/dotemacs/following{/other_user}","gists_url":"https://api.github.com/users/dotemacs/gists{/gist_id}","starred_url":"https://api.github.com/users/dotemacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotemacs/subscriptions","organizations_url":"https://api.github.com/users/dotemacs/orgs","repos_url":"https://api.github.com/users/dotemacs/repos","events_url":"https://api.github.com/users/dotemacs/events{/privacy}","received_events_url":"https://api.github.com/users/dotemacs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T21:37:18Z","updated_at":"2015-12-17T21:49:26Z","closed_at":"2015-12-17T21:49:26Z","body":"Following the steps from your documentation on B2 usage here: https://www.backblaze.com/b2/docs/quick_bucket.html\r\n\r\nand downloading the b2 script (not from this repo, but from the link provided in the documentation), after running:\r\n\r\n`b2 authorize_account ACCOUNT_ID ACCOUNT_KEY`\r\n\r\nI get:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/alex/bin/b2\", line 949, in <module>\r\n    main()\r\n  File \"/Users/alex/bin/b2\", line 912, in main\r\n    authorize_account(args)\r\n  File \"/Users/alex/bin/b2\", line 355, in authorize_account\r\n    url = auth_urls[option]\r\nKeyError: '--production'\r\n```\r\nThis is under Python 2:\r\n\r\n```\r\n$ which python\r\n/usr/local/bin/python\r\n$ python --version\r\nPython 2.7.9\r\n```\r\nb2 script version:\r\n\r\n```\r\nb2 version\r\nb2 command line tool, version 0.3.5\r\n```\r\n\r\nAfter downloading the script from this repo, version 0.3.7. the script works as expected and outlined in your documentation.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/comments/165592092","html_url":"https://github.com/Backblaze/B2_Command_Line_Tool/issues/14#issuecomment-165592092","issue_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/14","id":165592092,"user":{"login":"bwbeach","id":603739,"avatar_url":"https://avatars.githubusercontent.com/u/603739?v=3","gravatar_id":"","url":"https://api.github.com/users/bwbeach","html_url":"https://github.com/bwbeach","followers_url":"https://api.github.com/users/bwbeach/followers","following_url":"https://api.github.com/users/bwbeach/following{/other_user}","gists_url":"https://api.github.com/users/bwbeach/gists{/gist_id}","starred_url":"https://api.github.com/users/bwbeach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwbeach/subscriptions","organizations_url":"https://api.github.com/users/bwbeach/orgs","repos_url":"https://api.github.com/users/bwbeach/repos","events_url":"https://api.github.com/users/bwbeach/events{/privacy}","received_events_url":"https://api.github.com/users/bwbeach/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T21:49:26Z","updated_at":"2015-12-17T21:49:26Z","body":"Yep.  Will be fixed in the web site refresh today.\r\n"}}