{"action":"opened","issue":{"url":"https://api.github.com/repos/r-darwish/pushbullet-cli/issues/33","repository_url":"https://api.github.com/repos/r-darwish/pushbullet-cli","labels_url":"https://api.github.com/repos/r-darwish/pushbullet-cli/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/r-darwish/pushbullet-cli/issues/33/comments","events_url":"https://api.github.com/repos/r-darwish/pushbullet-cli/issues/33/events","html_url":"https://github.com/r-darwish/pushbullet-cli/issues/33","id":168436992,"number":33,"title":"error on push file","user":{"login":"jonpolak","id":1812219,"avatar_url":"https://avatars.githubusercontent.com/u/1812219?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpolak","html_url":"https://github.com/jonpolak","followers_url":"https://api.github.com/users/jonpolak/followers","following_url":"https://api.github.com/users/jonpolak/following{/other_user}","gists_url":"https://api.github.com/users/jonpolak/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpolak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpolak/subscriptions","organizations_url":"https://api.github.com/users/jonpolak/orgs","repos_url":"https://api.github.com/users/jonpolak/repos","events_url":"https://api.github.com/users/jonpolak/events{/privacy}","received_events_url":"https://api.github.com/users/jonpolak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-30T00:12:59Z","updated_at":"2016-07-30T00:12:59Z","closed_at":null,"body":"\r\n```\r\njojo-> pb version\r\nPushBullet CLI, version 0.7.5\r\n\r\njojo-> pb push --file ~/.ssh/id_rsa.pub \r\nTraceback (most recent call last):\r\n  File \"/home/jojo/sources/pb/bin/pb\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/click/core.py\", line 1060, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/pushbullet_cli/app.py\", line 166, in push\r\n    _push(**kwargs)\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/pushbullet_cli/app.py\", line 56, in _push\r\n    file_data = pb.upload_file(f, os.path.basename(file_path))\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/pushbullet/pushbullet.py\", line 203, in upload_file\r\n    file_type = get_file_type(f, file_name)\r\n  File \"/home/jojo/sources/pb/lib/python3.5/site-packages/pushbullet/filetype.py\", line 4, in _magic_get_file_type\r\n    return file_type.decode('utf-8')\r\nAttributeError: 'str' object has no attribute 'decode'\r\n\r\n```\r\nI saw your response to a similar error was commit [517e092](https://github.com/r-darwish/pushbullet-cli/commit/517e092c04bc70782ac1b415efe09b133bd6aa16) - that was back in version 0.6"}}
{"actor":{"display_login":"jonpolak"}}