{"action":"created","issue":{"url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/221","labels_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/221/comments","events_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/221/events","html_url":"https://github.com/mdhiggins/sickbeard_mp4_automator/issues/221","id":63180220,"number":221,"title":"NZBGetPostProcess: IOError: [Errno 22] invalid mode ('a') or filename:","user":{"login":"KaHooli","id":665634,"avatar_url":"https://avatars.githubusercontent.com/u/665634?v=3","gravatar_id":"","url":"https://api.github.com/users/KaHooli","html_url":"https://github.com/KaHooli","followers_url":"https://api.github.com/users/KaHooli/followers","following_url":"https://api.github.com/users/KaHooli/following{/other_user}","gists_url":"https://api.github.com/users/KaHooli/gists{/gist_id}","starred_url":"https://api.github.com/users/KaHooli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaHooli/subscriptions","organizations_url":"https://api.github.com/users/KaHooli/orgs","repos_url":"https://api.github.com/users/KaHooli/repos","events_url":"https://api.github.com/users/KaHooli/events{/privacy}","received_events_url":"https://api.github.com/users/KaHooli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-20T07:13:56Z","updated_at":"2015-03-20T08:01:00Z","closed_at":null,"body":"After updating the script four days ago, every single download made with NZBget for Sonarr or CouchPotato on Windows 2012 R2 Server is erroring.\r\n\r\nHere are the logs from NZBget...\r\n\r\nKind | Time | Text\r\n-----|------|-----\r\nerror | Fri Mar 20 2015 12:31:53 | Post-process-script NZBGetPostProcess.py for xxxxxxxxxx.S01E01.HDTV.x264-LOL-NZBgeek failed (terminated with unknown status)\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: IOError: [Errno 22] invalid mode ('a') or filename: 'C:\\\\\\x07utoProcess\\\\info.log'\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: stream = open(self.baseFilename, self.mode)\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: File \"C:\\Python27\\lib\\logging\\__init__.py\", line 936, in _open\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: StreamHandler.__init__(self, self._open())\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: File \"C:\\Python27\\lib\\logging\\__init__.py\", line 911, in __init__\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: logging.FileHandler.__init__(self, filename, mode, encoding, delay)\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: File \"C:\\Python27\\lib\\logging\\handlers.py\", line 64, in __init__\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: File \"C:\\Python27\\lib\\logging\\handlers.py\", line 117, in __init__\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: h = klass(*args)\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: File \"C:\\Python27\\lib\\logging\\config.py\", line 163, in _install_handlers\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: handlers = _install_handlers(cp, formatters)\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: File \"C:\\Python27\\lib\\logging\\config.py\", line 85, in fileConfig\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: fileConfig(os.path.join(MP4folder, 'logging.ini'), defaults={'logfilename': os.path.join(MP4folder, 'info.log')})\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: File \"C:\\autoProcess\\NZBGetPostProcess.py\", line 65, in <module>\r\ninfo | Fri Mar 20 2015 12:31:52 | NZBGetPostProcess: Traceback (most recent call last):\r\ninfo | Fri Mar 20 2015 12:31:52 | Executing post-process-script NZBGetPostProcess.py for xxxxxxxxxx.S01E01.HDTV.x264-LOL-NZBgeek\r\ninfo | Fri Mar 20 2015 12:31:52 | Move for xxxxxxxxxx.S01E01.HDTV.x264-LOL-NZBgeek successful\r\ninfo | Fri Mar 20 2015 12:31:52 | Moving completed files for xxxxxxxxxx.S01E01.HDTV.x264-LOL-NZBgeek\r\ninfo | Fri Mar 20 2015 12:31:51 | Cleanup for xxxxxxxxxx.S01E01.HDTV.x264-LOL-NZBgeek successful\r\n\r\nThe folder the this script is stored in is C:\\autoProcess\\ and this is what is MP4_FOLDER is set as.  I've moved the script for NZBget to the script folder at C:\\Program Files (x86)\\NZBGet\\scripts .\r\n\r\nI've updated the script, no change.  Any assistance you can give would be appreciated.  I couldn't see where the best place to post this would be, so posted it here on GitHub."},"comment":{"url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/comments/83945539","html_url":"https://github.com/mdhiggins/sickbeard_mp4_automator/issues/221#issuecomment-83945539","issue_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/221","id":83945539,"user":{"login":"KaHooli","id":665634,"avatar_url":"https://avatars.githubusercontent.com/u/665634?v=3","gravatar_id":"","url":"https://api.github.com/users/KaHooli","html_url":"https://github.com/KaHooli","followers_url":"https://api.github.com/users/KaHooli/followers","following_url":"https://api.github.com/users/KaHooli/following{/other_user}","gists_url":"https://api.github.com/users/KaHooli/gists{/gist_id}","starred_url":"https://api.github.com/users/KaHooli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaHooli/subscriptions","organizations_url":"https://api.github.com/users/KaHooli/orgs","repos_url":"https://api.github.com/users/KaHooli/repos","events_url":"https://api.github.com/users/KaHooli/events{/privacy}","received_events_url":"https://api.github.com/users/KaHooli/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T08:01:00Z","updated_at":"2015-03-20T08:01:00Z","body":"I fixed the issue, needed MP4_FOLDER to be C:/autoProcess/ instead.  Not sure if this can be changed in the coding so this isn't needed, or if it should be mentioned in the supporting text next to the field."}}