{"action":"created","issue":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/707","labels_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/707/comments","events_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/707/events","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/707","id":57899534,"number":707,"title":"SABNZBD Issue - Exit(-1) Cannot run script ","user":{"login":"computerconsulting","id":11041839,"avatar_url":"https://avatars.githubusercontent.com/u/11041839?v=3","gravatar_id":"","url":"https://api.github.com/users/computerconsulting","html_url":"https://github.com/computerconsulting","followers_url":"https://api.github.com/users/computerconsulting/followers","following_url":"https://api.github.com/users/computerconsulting/following{/other_user}","gists_url":"https://api.github.com/users/computerconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/computerconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/computerconsulting/subscriptions","organizations_url":"https://api.github.com/users/computerconsulting/orgs","repos_url":"https://api.github.com/users/computerconsulting/repos","events_url":"https://api.github.com/users/computerconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/computerconsulting/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/labels/External/Dependency%20Issue","name":"External/Dependency Issue","color":"02d7e1"},{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-02-17T09:08:57Z","updated_at":"2015-11-18T02:15:03Z","closed_at":null,"body":"Hi Clinton,\r\n\r\nLike the work you do on the various packages. \r\n\r\nI was wondering if you could help in determining why the CharTranslator.py script (which is in the SABNZBD package) executes with an Exit(-1) error within SABNZBD on a QNAP TS-670. Note that All other scripts (sabTo SickBeard.py) work perfectly.\r\n\r\nProblem\r\n----------\r\nA new installation was required of Sickbeard, SABNZBD etc after it was found that QNAP had an issue with Twonky installation process that impacted firmware upgrade \r\n\r\nAfter re-installing Python 2.7, SAB and Sickbeard and completing configs the following occurs only for the CharTranslator.py script\r\n\r\n\"Exit (-1) Cannot run script /share/Download/nzbToMedia/CharTranslator.py\"\r\n\r\nAttempted Solutions & Verification's:\r\n---------------------------------------------\r\n1)\tChecked that the sab scripts folder is correct -  Post-Processing Scripts Folder: /share/Download/nzbToMedia (Both CharTranslator.py, sabToSickBeard.py)\r\n2)\tMade sure that a copy of CharTranslator.py was moved from the Qpackage install to /share/Download/nzbToMedia and that the linked file of CharTranslator.py was removed\r\n3)\tSet chmod 777 on /share/Download/nzbToMedia/ CharTranslator.py\r\n4)\tExecuted /share/Download/nzbToMedia/ CharTranslator.py on the command line against a download NZB… RESULT Works:\r\n\r\nCommand: python /share/Download/nzbToMedia/CharTranslator.py /share/Entertainment/Downloads/Complete/aaaa.S02E03.HDTV.x264-RiVER\r\n\r\nCurrent folder is /share/CACHEDEV2_DATA/Entertainment/Downloads/Complete/aaaa.S02E03.HDTV.x264-RiVER\r\nRenaming destination folder to UTF-8 format...\r\n/share/CACHEDEV2_DATA/Entertainment/Downloads/Complete/aaaa.S02E03.HDTV.x264-RiVER -> No special characters detected: Nothing to be done\r\nDestination folder renamed !\r\n\r\nRenaming folders to UTF-8 format...\r\nFolder renaming Done !\r\n\r\nRenaming files to UTF-8 format...\r\n./aaaa.s02e03.hdtv.x264-river.sfv -> No special characters detected: Nothing to be done\r\n./aaaa.s02e03.hdtv.x264-river.srr -> No special characters detected: Nothing to be done\r\n./Aaaa.S02E03.HDTV.x264-RiVER.nzb -> No special characters detected: Nothing to be done\r\n./aaaa.s02e03.hdtv.x264-river.nfo -> No special characters detected: Nothing to be done\r\n./aaaa.s02e03.hdtv.x264-river.mp4 -> No special characters detected: Nothing to be done\r\nFiles renaming Done !\r\n\r\n\r\nCharacter encoding translation done!\r\n"},"comment":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/comments/157574786","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/707#issuecomment-157574786","issue_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/707","id":157574786,"user":{"login":"Brianbeastsu","id":5067231,"avatar_url":"https://avatars.githubusercontent.com/u/5067231?v=3","gravatar_id":"","url":"https://api.github.com/users/Brianbeastsu","html_url":"https://github.com/Brianbeastsu","followers_url":"https://api.github.com/users/Brianbeastsu/followers","following_url":"https://api.github.com/users/Brianbeastsu/following{/other_user}","gists_url":"https://api.github.com/users/Brianbeastsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Brianbeastsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brianbeastsu/subscriptions","organizations_url":"https://api.github.com/users/Brianbeastsu/orgs","repos_url":"https://api.github.com/users/Brianbeastsu/repos","events_url":"https://api.github.com/users/Brianbeastsu/events{/privacy}","received_events_url":"https://api.github.com/users/Brianbeastsu/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T02:15:03Z","updated_at":"2015-11-18T02:15:03Z","body":"Hi, I have this same issue but do not understand how you fixed it. I am not well versed in scripts and/or python so any help in simple terms would be greatly appreciated.Thanks\r\n\r\n"}}