{"action":"created","issue":{"url":"https://api.github.com/repos/skimpax/fbxosctrl/issues/3","labels_url":"https://api.github.com/repos/skimpax/fbxosctrl/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/skimpax/fbxosctrl/issues/3/comments","events_url":"https://api.github.com/repos/skimpax/fbxosctrl/issues/3/events","html_url":"https://github.com/skimpax/fbxosctrl/issues/3","id":102466962,"number":3,"title":"Hmac problem again?","user":{"login":"fab76","id":9551049,"avatar_url":"https://avatars.githubusercontent.com/u/9551049?v=3","gravatar_id":"","url":"https://api.github.com/users/fab76","html_url":"https://github.com/fab76","followers_url":"https://api.github.com/users/fab76/followers","following_url":"https://api.github.com/users/fab76/following{/other_user}","gists_url":"https://api.github.com/users/fab76/gists{/gist_id}","starred_url":"https://api.github.com/users/fab76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fab76/subscriptions","organizations_url":"https://api.github.com/users/fab76/orgs","repos_url":"https://api.github.com/users/fab76/repos","events_url":"https://api.github.com/users/fab76/events{/privacy}","received_events_url":"https://api.github.com/users/fab76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-21T21:39:38Z","updated_at":"2015-08-26T10:11:31Z","closed_at":null,"body":"Hello, thanks for your script.\r\n\r\nI've already used your script on other machines, but I need to use it on an older nas with Alt -f software as SE.\r\nI've installed SimpleJson and request, and registrated with success .\r\n\r\nBut when I try to reboot the Freebox, I've this error :\r\n\r\n[root@dns320]# ./fbxosctrl.py -c fbxosctrl_registration.txt --reboot\r\nTraceback (most recent call last):\r\n  File \"./fbxosctrl.py\", line 510, in <module>\r\n    rc = cli.cmdExec(sys.argv[1:])\r\n  File \"./fbxosctrl.py\", line 497, in cmdExec\r\n    return self.dispatch(argsdict.keys())\r\n  File \"./fbxosctrl.py\", line 504, in dispatch\r\n    return self.cmdCallbacks.get(cmd, self.parser.print_help)()\r\n  File \"./fbxosctrl.py\", line 342, in reboot\r\n    self._login()\r\n  File \"./fbxosctrl.py\", line 162, in _login\r\n    h = hmac.new(apptoken, key, sha1)\r\n  File \"build/bdist.linux-armv5tel/egg/hmac.py\", line 133, in new\r\n    return HMAC(key, msg, digestmod)\r\n  File \"build/bdist.linux-armv5tel/egg/hmac.py\", line 72, in __init__\r\n    self.outer.update(key.translate(trans_5C))\r\nTypeError: character mapping must return integer, None or unicode\r\n\r\n\r\nmy python version is 2.7.2-4.\r\n\r\nThanks for your help."},"comment":{"url":"https://api.github.com/repos/skimpax/fbxosctrl/issues/comments/134933051","html_url":"https://github.com/skimpax/fbxosctrl/issues/3#issuecomment-134933051","issue_url":"https://api.github.com/repos/skimpax/fbxosctrl/issues/3","id":134933051,"user":{"login":"fab76","id":9551049,"avatar_url":"https://avatars.githubusercontent.com/u/9551049?v=3","gravatar_id":"","url":"https://api.github.com/users/fab76","html_url":"https://github.com/fab76","followers_url":"https://api.github.com/users/fab76/followers","following_url":"https://api.github.com/users/fab76/following{/other_user}","gists_url":"https://api.github.com/users/fab76/gists{/gist_id}","starred_url":"https://api.github.com/users/fab76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fab76/subscriptions","organizations_url":"https://api.github.com/users/fab76/orgs","repos_url":"https://api.github.com/users/fab76/repos","events_url":"https://api.github.com/users/fab76/events{/privacy}","received_events_url":"https://api.github.com/users/fab76/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T10:11:31Z","updated_at":"2015-08-26T10:11:31Z","body":"Amazing, it worked fine, thank you very much :)"}}