{"action":"created","issue":{"url":"https://api.github.com/repos/paviro/MMM-FRITZ-Box-Callmonitor/issues/20","repository_url":"https://api.github.com/repos/paviro/MMM-FRITZ-Box-Callmonitor","labels_url":"https://api.github.com/repos/paviro/MMM-FRITZ-Box-Callmonitor/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/paviro/MMM-FRITZ-Box-Callmonitor/issues/20/comments","events_url":"https://api.github.com/repos/paviro/MMM-FRITZ-Box-Callmonitor/issues/20/events","html_url":"https://github.com/paviro/MMM-FRITZ-Box-Callmonitor/issues/20","id":181192807,"number":20,"title":"uncaught ENOENT exception","user":{"login":"basti0001","id":22622944,"avatar_url":"https://avatars.githubusercontent.com/u/22622944?v=3","gravatar_id":"","url":"https://api.github.com/users/basti0001","html_url":"https://github.com/basti0001","followers_url":"https://api.github.com/users/basti0001/followers","following_url":"https://api.github.com/users/basti0001/following{/other_user}","gists_url":"https://api.github.com/users/basti0001/gists{/gist_id}","starred_url":"https://api.github.com/users/basti0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basti0001/subscriptions","organizations_url":"https://api.github.com/users/basti0001/orgs","repos_url":"https://api.github.com/users/basti0001/repos","events_url":"https://api.github.com/users/basti0001/events{/privacy}","received_events_url":"https://api.github.com/users/basti0001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-10-05T15:47:09Z","updated_at":"2016-10-29T15:12:03Z","closed_at":null,"body":"IsState:\r\nRaspberry Pi B+, Debian Jessie, running https://github.com/MichMich/MagicMirror\r\nnode --version --> v6.6.0\r\nInstallation of MMM-FRITZ-Box-Callmonitor module like in description.\r\n\r\nComplete error message:\r\nWhoops! There was an uncaught exception...\r\n{ Error: spawn /bin/sh ENOENT\r\n    at exports._errnoException (util.js:1036:11)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)\r\n    at onErrorNT (internal/child_process.js:359:16)\r\n    at _combinedTickCallback (internal/process/next_tick.js:74:11)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n  code: 'ENOENT',\r\n  errno: 'ENOENT',\r\n  syscall: 'spawn /bin/sh',\r\n  path: '/bin/sh',\r\n  spawnargs: \r\n   [ '-c',\r\n     'python fritz_access.py -d data -p MyPassword -u MyUser' ],\r\n  cmd: 'python fritz_access.py -d data -p MyPassword -u MyUser' }\r\nMagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?\r\nIf you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues\r\n\r\nSooo I guess this is the right place to put the issue in cause this module causes the exception. \r\n\r\nVia command shell I can run:\r\npython fritz_access.py -d data -u MyUser -p MyPassword -i fritz.box -P 49000\r\nWorking. I receive the xml file. So the access with the module fritz_access.py is working.\r\n\r\nAs far as I see,  the complete python command does not include the ip address nor the port. \r\nCloser look at the node_helper.js file shows the problem in my opinion:\r\nloadDataFromAPI: function(){} does not contain the config parameters of port and ip address. \r\n\r\nI added the parameters but still get the exception. Google helped out more or less. This exception is thrown when files/executives are missing in the call path. But thats only maybe a hint. \r\n \r\ncd /usr/local/bin/node\r\nls node -al\r\nnode -> /home/pi/compile/node-v6.6.0-linux-armv6l/bin/node\r\n\r\nShould be fine.......or not?\r\n"},"comment":{"url":"https://api.github.com/repos/paviro/MMM-FRITZ-Box-Callmonitor/issues/comments/257096918","html_url":"https://github.com/paviro/MMM-FRITZ-Box-Callmonitor/issues/20#issuecomment-257096918","issue_url":"https://api.github.com/repos/paviro/MMM-FRITZ-Box-Callmonitor/issues/20","id":257096918,"user":{"login":"Jopyth","id":564777,"avatar_url":"https://avatars.githubusercontent.com/u/564777?v=3","gravatar_id":"","url":"https://api.github.com/users/Jopyth","html_url":"https://github.com/Jopyth","followers_url":"https://api.github.com/users/Jopyth/followers","following_url":"https://api.github.com/users/Jopyth/following{/other_user}","gists_url":"https://api.github.com/users/Jopyth/gists{/gist_id}","starred_url":"https://api.github.com/users/Jopyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jopyth/subscriptions","organizations_url":"https://api.github.com/users/Jopyth/orgs","repos_url":"https://api.github.com/users/Jopyth/repos","events_url":"https://api.github.com/users/Jopyth/events{/privacy}","received_events_url":"https://api.github.com/users/Jopyth/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T15:12:03Z","updated_at":"2016-10-29T15:12:03Z","body":"Hi Sebastian,\r\n\r\nDid you have any luck? You could give my changes on #22 a try (need to `npm install` the `python-shell` dependency), and enable `debug: true` in the config and see what kind of errors you get now in your logs.\r\n\r\nBest regards\r\nJoseph"}}
{"actor":{"display_login":"Jopyth"}}