{"action":"created","issue":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/959","repository_url":"https://api.github.com/repos/clinton-hall/nzbToMedia","labels_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/959/labels{/name}","comments_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/959/comments","events_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/959/events","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/959","id":133395594,"number":959,"title":"nzbToMedia.py doesnt like 7z on QNAP, SAB Beta 1.0.0RC1","user":{"login":"iculookn","id":8793442,"avatar_url":"https://avatars.githubusercontent.com/u/8793442?v=3","gravatar_id":"","url":"https://api.github.com/users/iculookn","html_url":"https://github.com/iculookn","followers_url":"https://api.github.com/users/iculookn/followers","following_url":"https://api.github.com/users/iculookn/following{/other_user}","gists_url":"https://api.github.com/users/iculookn/gists{/gist_id}","starred_url":"https://api.github.com/users/iculookn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iculookn/subscriptions","organizations_url":"https://api.github.com/users/iculookn/orgs","repos_url":"https://api.github.com/users/iculookn/repos","events_url":"https://api.github.com/users/iculookn/events{/privacy}","received_events_url":"https://api.github.com/users/iculookn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-13T04:05:06Z","updated_at":"2016-02-14T12:24:01Z","closed_at":null,"body":"Hi, running the new SAB Beta on QNAP and enabled 7z support, but it seems like script doesnt find 7z.  getting a \"Aborted\" error on all 7z downloads.\r\n\r\n\r\n\r\n[~] # which 7z\r\n/usr/local/sbin/7z\r\n[~] # which 7za\r\n/opt/bin/7za\r\n\r\n\r\n[20:00:37] [INFO]::MAIN: Loading config from [/share/CACHEDEV1_DATA/Download/nzbToMedia/autoProcessMedia.cfg]\r\n[20:00:37] [INFO]::ENVIRONMENT: LANG: en_US.UTF-8\r\n[20:00:37] [INFO]::ENVIRONMENT: TERM: vt102\r\n[20:00:37] [INFO]::ENVIRONMENT: SHELL: /bin/sh\r\n[20:00:37] [INFO]::ENVIRONMENT: BOOT_IMAGE: /boot/bzImage\r\n[20:00:37] [INFO]::ENVIRONMENT: QBOOT_HDCONF: 1\r\n[20:00:37] [INFO]::ENVIRONMENT: SHLVL: 8\r\n[20:00:37] [INFO]::ENVIRONMENT: PYTHONPATH: /share/CACHEDEV1_DATA/.qpkg/SABnzbdplus/Repository/lib/python\r\n[20:00:37] [INFO]::ENVIRONMENT: OLDPWD: /share/CACHEDEV1_DATA/.qpkg/SABnzbdplus\r\n[20:00:37] [INFO]::ENVIRONMENT: LC_CTYPE: en_US.UTF-8\r\n[20:00:37] [INFO]::ENVIRONMENT: PWD: /share/CACHEDEV1_DATA/.qpkg/SABnzbdplus\r\n[20:00:37] [INFO]::ENVIRONMENT: USER: admin\r\n[20:00:37] [INFO]::ENVIRONMENT: LC_ALL: en_US.UTF-8\r\n[20:00:37] [INFO]::ENVIRONMENT: PATH: /share/CACHEDEV1_DATA/.qpkg/SABnzbdplus/x86/bin-utils:/Apps/bin:/share/CACHEDEV1_DATA/.qpkg/SABnzbdplus/x86/bin-utils:/Apps/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin\r\n[20:00:37] [INFO]::ENVIRONMENT: HOME: /share/homes/admin\r\n[20:00:37] [INFO]::ENVIRONMENT: LD_LIBRARY_PATH: /share/CACHEDEV1_DATA/.qpkg/SABnzbdplus/x86/lib:/Apps/lib:/share/CACHEDEV1_DATA/.qpkg/SABnzbdplus/x86/lib:/Apps/lib:\r\n[20:00:37] [INFO]::ENVIRONMENT: _: /opt/bin/python2.7\r\n[20:00:37] [INFO]::MAIN: Checking database structure...\r\n[20:00:37] [DEBUG]::MAIN: Checking Initial Schema database upgrade\r\n[20:00:37] [DEBUG]::MAIN: InitialSchema upgrade not required\r\n[20:00:37] [DEBUG]::MAIN: Checking if we can use git commands: \"/Apps/bin/git\" version\r\n[20:00:37] [DEBUG]::MAIN: Executing \"/Apps/bin/git\" version with your shell in /share/CACHEDEV1_DATA/Download/nzbToMedia\r\n[20:00:37] [DEBUG]::MAIN: git output: git version 2.1.0\r\n[20:00:37] [DEBUG]::MAIN: \"/Apps/bin/git\" version : returned successful\r\n[20:00:37] [DEBUG]::MAIN: Using: \"/Apps/bin/git\"\r\n[20:00:37] [DEBUG]::MAIN: Executing \"/Apps/bin/git\" symbolic-ref -q HEAD with your shell in /share/CACHEDEV1_DATA/Download/nzbToMedia\r\n[20:00:37] [DEBUG]::MAIN: git output: refs/heads/dev\r\n[20:00:37] [DEBUG]::MAIN: \"/Apps/bin/git\" symbolic-ref -q HEAD : returned successful\r\n[20:00:37] [INFO]::MAIN: Checking if git needs an update\r\n[20:00:37] [DEBUG]::MAIN: Executing \"/Apps/bin/git\" rev-parse HEAD with your shell in /share/CACHEDEV1_DATA/Download/nzbToMedia\r\n[20:00:37] [DEBUG]::MAIN: git output: 3e4861e87c543a4d2debd8997feb16bda3ef5339\r\n[20:00:37] [DEBUG]::MAIN: \"/Apps/bin/git\" rev-parse HEAD : returned successful\r\n[20:00:37] [DEBUG]::MAIN: Executing \"/Apps/bin/git\" fetch origin with your shell in /share/CACHEDEV1_DATA/Download/nzbToMedia\r\n[20:00:38] [DEBUG]::MAIN: git output: \r\n[20:00:38] [DEBUG]::MAIN: \"/Apps/bin/git\" fetch origin : returned successful\r\n[20:00:38] [DEBUG]::MAIN: Executing \"/Apps/bin/git\" rev-parse --verify --quiet \"@{upstream}\" with your shell in /share/CACHEDEV1_DATA/Download/nzbToMedia\r\n[20:00:38] [DEBUG]::MAIN: git output: 3e4861e87c543a4d2debd8997feb16bda3ef5339\r\n[20:00:38] [DEBUG]::MAIN: \"/Apps/bin/git\" rev-parse --verify --quiet \"@{upstream}\" : returned successful\r\n[20:00:38] [DEBUG]::MAIN: Executing \"/Apps/bin/git\" rev-list --left-right \"@{upstream}\"...HEAD with your shell in /share/CACHEDEV1_DATA/Download/nzbToMedia\r\n[20:00:38] [DEBUG]::MAIN: git output: \r\n[20:00:38] [DEBUG]::MAIN: \"/Apps/bin/git\" rev-list --left-right \"@{upstream}\"...HEAD : returned successful\r\n[20:00:38] [DEBUG]::MAIN: cur_commit = 3e4861e87c543a4d2debd8997feb16bda3ef5339 % (newest_commit)= 3e4861e87c543a4d2debd8997feb16bda3ef5339, num_commits_behind = 0, num_commits_ahead = 0\r\n[20:00:38] [INFO]::MAIN: No update needed\r\n[20:00:38] [INFO]::MAIN: nzbToMedia Version:3e4861e87c543a4d2debd8997feb16bda3ef5339 Branch:dev (Linux 3.12.6)\r\n[20:00:38] [INFO]::MAIN: #########################################################\r\n[20:00:38] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##\r\n[20:00:38] [INFO]::MAIN: #########################################################\r\n[20:00:38] [DEBUG]::MAIN: Options passed into nzbToMedia: ['/share/Download/nzbToMedia/nzbToMedia.py', '/share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-', 'CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb', 'CSI.Cyber.S01E09.720p.HDTV.X264-', '', 'tv', 'alt.binaries.teevee', '3']\r\n[20:00:38] [INFO]::MAIN: Script triggered from SABnzbd\r\n[20:00:38] [DEBUG]::MAIN: Searching for nzoid from SAbnzbd ...\r\n[20:00:38] [DEBUG]::MAIN: Adding NZB download info for directory /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264- to database\r\n[20:00:38] [INFO]::MAIN: Auto-detected SECTION:SickBeard\r\n[20:00:38] [DEBUG]::MAIN: Checking for archives to extract in directory: /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-\r\n/usr/local/sbin/7z\r\n[20:00:38] [INFO]::MAIN: Extracting /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-/__ADMIN__/CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb.gz to /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-/__ADMIN__\r\n[20:00:38] [DEBUG]::MAIN: Extracting [] /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-/__ADMIN__/CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb.gz /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-/__ADMIN__\r\n[20:00:38] [ERROR]::MAIN: EXTRACTOR: Extraction failed for /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-/__ADMIN__/CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb.gz. Result was 1\r\n[20:00:38] [INFO]::MAIN: Calling SickBeard:tv to post-process:CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb\r\n[20:00:38] [INFO]::MAIN: SickBeard:tv fork set to sickrage\r\n[20:00:38] [WARNING]::SICKBEARD: No media files found in directory /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-. Processing this as a failed download\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: FAILED: The download failed. Sending 'failed' process request to sickrage branch\r\n[20:00:38] [DEBUG]::SICKBEARD: Opening URL: http://localhost:8808/home/postprocess/processEpisode with params: {'nzbName': 'CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb', 'quiet': 1, 'failed': 1, 'dir': '/share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-'}\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: Processing folder /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: PostProcessing Path: /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: PostProcessing Dirs: [u'CSI.Cyber.S01E09.720p.HDTV.X264-']\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: PostProcessing Files: []\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: PostProcessing VideoFiles: []\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: PostProcessing RarContent: \r\n[20:00:38] [POSTPROCESS]::SICKBEARD: PostProcessing VideoInRar: \r\n[20:00:38] [POSTPROCESS]::SICKBEARD: Processing folder CSI.Cyber.S01E09.720p.HDTV.X264-\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: Failed download detected: (CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb, /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-)\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: name_parser info: \r\n[20:00:38] [POSTPROCESS]::SICKBEARD:  - CSI Cyber\r\n[20:00:38] [POSTPROCESS]::SICKBEARD:  - 1\r\n[20:00:38] [POSTPROCESS]::SICKBEARD:  - [9]\r\n[20:00:38] [POSTPROCESS]::SICKBEARD:  - 720p.HDTV.X264\r\n[20:00:38] [POSTPROCESS]::SICKBEARD:  - DIMENSION\r\n[20:00:38] [POSTPROCESS]::SICKBEARD:  - None\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: Deleted folder: /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: Failed Download Processing succeeded: (CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb, /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264-)\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: Successfully processed\r\n[20:00:38] [POSTPROCESS]::SICKBEARD: I did encounter some unprocessable items: \r\n[20:00:38] [POSTPROCESS]::SICKBEARD: [CSI.Cyber.S01E09.720p.HDTV.X264- : Failed download]\r\n[20:00:39] [INFO]::CLEANDIR: Directory /share/Download/sabnzbd/incomplete/CSI.Cyber.S01E09.720p.HDTV.X264- has been processed and removed ...\r\n[20:00:39] [INFO]::MAIN: The /share/Download/nzbToMedia/nzbToMedia.py script completed successfully.\r\nSickBeard: Successfully post-processed CSI.Cyber.S01E09.720p.HDTV.X264-DIMENSION.nzb!\r\n"},"comment":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/comments/183881559","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/959#issuecomment-183881559","issue_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/959","id":183881559,"user":{"login":"iculookn","id":8793442,"avatar_url":"https://avatars.githubusercontent.com/u/8793442?v=3","gravatar_id":"","url":"https://api.github.com/users/iculookn","html_url":"https://github.com/iculookn","followers_url":"https://api.github.com/users/iculookn/followers","following_url":"https://api.github.com/users/iculookn/following{/other_user}","gists_url":"https://api.github.com/users/iculookn/gists{/gist_id}","starred_url":"https://api.github.com/users/iculookn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iculookn/subscriptions","organizations_url":"https://api.github.com/users/iculookn/orgs","repos_url":"https://api.github.com/users/iculookn/repos","events_url":"https://api.github.com/users/iculookn/events{/privacy}","received_events_url":"https://api.github.com/users/iculookn/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T12:24:01Z","updated_at":"2016-02-14T12:24:01Z","body":"Hi, sorry not sure what your asking. how do I check if this is a \"good\" version and if i have another?\r\n\r\nI installed 7z via Entware just recently\r\nif I run 7z, the version is \"p7zip Version 9.04\"\r\n\r\nFrom entware \"zlib - 1.2.8-1\"\r\n\r\nThanks\r\n\r\n"}}