Beta 5 and 7zip error (QNAP/nzbToMedia.py)

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
iculookn
Newbie
Newbie
Posts: 4
Joined: December 14th, 2015, 8:33 am

Beta 5 and 7zip error (QNAP/nzbToMedia.py)

Post by iculookn »

Hi having some issues with extracting 7z file in the new beta.

Well, I dont really know where/what is causing the error as It could also be the post processing script, but thought I would start here.

Below is the script output. I have 7z installed on the QNAP, so not sure if it cant find 7z or maybe there is another issue before we even get to the 7z command. So any help would be greatly appreciated.

Code: Select all

[/usr/local/sbin] # which 7z
7z
[/usr/local/sbin] # which 7zr
/opt/bin/7zr
[/usr/local/sbin] #

Code: Select all

[05:01:33] [INFO]::MAIN: #########################################################
[05:01:33] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##
[05:01:33] [INFO]::MAIN: #########################################################
[05:01:33] [DEBUG]::MAIN: Options passed into nzbToMedia: ['/share/Download/nzbToMedia/nzbToMedia.py', '/share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264', 'CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb', 'CSI.Cyber.S02E08.1080p.HDTV.X264', '', 'tv', 'alt.binaries.teevee', '3']
[05:01:33] [INFO]::MAIN: Script triggered from SABnzbd
[05:01:33] [DEBUG]::MAIN: Searching for nzoid from SAbnzbd ...
[05:01:33] [DEBUG]::MAIN: Adding NZB download info for directory /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264 to database
[05:01:33] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[05:01:33] [DEBUG]::MAIN: Checking for archives to extract in directory: /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264
/usr/local/sbin/7z
[05:01:33] [DEBUG]::MAIN: EXTRACTOR: Unknown file type: 
/usr/local/sbin/7z
[05:01:33] [INFO]::MAIN: Extracting /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264/__ADMIN__/CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb.gz to /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264/__ADMIN__
[05:01:33] [DEBUG]::MAIN: Extracting [] /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264/__ADMIN__/CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb.gz /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264/__ADMIN__
[05:01:33] [ERROR]::MAIN: EXTRACTOR: Extraction failed for /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264/__ADMIN__/CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb.gz. Result was 1
/usr/local/sbin/7z
[05:01:33] [DEBUG]::MAIN: EXTRACTOR: Unknown file type: 
/usr/local/sbin/7z
[05:01:33] [DEBUG]::MAIN: EXTRACTOR: Unknown file type: 
/usr/local/sbin/7z
[05:01:33] [DEBUG]::MAIN: EXTRACTOR: Unknown file type: 
[05:01:33] [INFO]::MAIN: Calling SickBeard:tv to post-process:CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb
[05:01:33] [INFO]::MAIN: SickBeard:tv fork set to sickrage
[05:01:33] [WARNING]::SICKBEARD: No media files found in directory /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264. Processing this as a failed download
[05:01:33] [POSTPROCESS]::SICKBEARD: FAILED: The download failed. Sending 'failed' process request to sickrage branch
[05:01:33] [DEBUG]::SICKBEARD: Opening URL: http://localhost:8808/home/postprocess/processEpisode with params: {'nzbName': 'CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb', 'quiet': 1, 'failed': 1, 'dir': '/share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264'}
[05:01:33] [POSTPROCESS]::SICKBEARD: Processing folder /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264
[05:01:33] [POSTPROCESS]::SICKBEARD: PostProcessing Path: /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete
[05:01:33] [POSTPROCESS]::SICKBEARD: PostProcessing Dirs: [u'CSI.Cyber.S02E08.1080p.HDTV.X264']
[05:01:33] [POSTPROCESS]::SICKBEARD: PostProcessing Files: []
[05:01:33] [POSTPROCESS]::SICKBEARD: PostProcessing VideoFiles: []
[05:01:33] [POSTPROCESS]::SICKBEARD: PostProcessing RarContent: []
[05:01:33] [POSTPROCESS]::SICKBEARD: PostProcessing VideoInRar: []
[05:01:33] [POSTPROCESS]::SICKBEARD: Processing folder CSI.Cyber.S02E08.1080p.HDTV.X264
[05:01:33] [POSTPROCESS]::SICKBEARD: Failed download detected: (CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb, /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264)
[05:01:33] [POSTPROCESS]::SICKBEARD: Deleted folder: /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264
[05:01:33] [POSTPROCESS]::SICKBEARD: Failed Download Processing succeeded: (CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb, /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264)
[05:01:33] [POSTPROCESS]::SICKBEARD: Successfully processed
[05:01:33] [POSTPROCESS]::SICKBEARD: I did encounter some unprocessable items: 
[05:01:33] [POSTPROCESS]::SICKBEARD: [CSI.Cyber.S02E08.1080p.HDTV.X264 : Failed download]
[05:01:33] [INFO]::CLEANDIR: Directory /share/Download/sabnzbd/incomplete/CSI.Cyber.S02E08.1080p.HDTV.X264 has been processed and removed ...
[05:01:33] [INFO]::MAIN: The /share/Download/nzbToMedia/nzbToMedia.py script completed successfully.
SickBeard: Successfully post-processed CSI.Cyber.S02E08.1080p.HDTV.X264-DIMENSION.nzb!
CSI.Cyber.S02E08.1080p.HDTV.X264image 4 of 5nextpreviousclose
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Beta 5 and 7zip error (QNAP/nzbToMedia.py)

Post by shypike »

None of the logging is coming from SABnzbd.
More important: It's not clear to me where SABnzbd does something wrong.
I would need to have more information.
iculookn
Newbie
Newbie
Posts: 4
Joined: December 14th, 2015, 8:33 am

Re: Beta 5 and 7zip error (QNAP/nzbToMedia.py)

Post by iculookn »

Yeah I tried to look for the corresponding lines in the SAB log files, but could not find anything.

Which probably means its the script and not SAB. I assume the way to test would be to manually download a 7z file and see if it unpacks. (ok thanks for listening to me)

thanks
Post Reply