Closed sethtipton closed 5 years ago
From what I can see from your category configuration, you are giving it the wrong path.
Your download path is: /usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete In the tv category you simply need to either leave 'Folder/path' empty if you want it to complete for completed downloads or create a folder in Downloads/complete and call it 'tv' and then go back to category and set "folder/path" to tv.
I think that should work. I have not used Sab in a long time but I just checked my settings to verify what I just said.
I tried removing the path and recieved the same error.
[14:43:44] [INFO]::MAIN: Loading config from [/usr/pbi/sabnzbdplus-amd64/scripts/nzbToMedia-master/autoProcessMedia.cfg]
[14:43:44] [INFO]::MAIN: Checking database structure...
[14:43:44] [DEBUG]::MAIN: Checking Initial Schema database upgrade
[14:43:44] [DEBUG]::MAIN: InitialSchema upgrade not required
[14:43:44] [INFO]::MAIN: Checking if source needs an update
[14:43:44] [DEBUG]::MAIN: cur_commit = None % (newest_commit)= 3e4861e87c543a4d2debd8997feb16bda3ef5339, num_commits_behind = 0
[14:43:44] [ERROR]::MAIN: Unknown current version number, don't know if we should update or not
[14:43:44] [INFO]::MAIN: nzbToMedia Version:10.13 Branch:master (FreeBSD 9.1-RELEASE)
[14:43:44] [WARNING]::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
[14:43:44] [WARNING]::MAIN: Failed to locate ffmpeg. Transcoding disabled!
[14:43:44] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ...
[14:43:44] [WARNING]::MAIN: Failed to locate ffprobe. Video corruption detection disabled!
[14:43:44] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ...
[14:43:44] [INFO]::MAIN: #########################################################
[14:43:44] [INFO]::MAIN: ## ..::[nzbToMedia.pyc]::.. ##
[14:43:44] [INFO]::MAIN: #########################################################
[14:43:44] [DEBUG]::MAIN: Options passed into nzbToMedia: ['/usr/pbi/sabnzbdplus-amd64/scripts/nzbToMedia-master/nzbToSickBeard.py', '/usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete/Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.10', 'Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.nzb', 'Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam', '', 'tv', 'alt.binaries.hdtv', '0']
[14:43:44] [INFO]::MAIN: Script triggered from SABnzbd
[14:43:44] [DEBUG]::MAIN: Searching for nzoid from SAbnzbd ...
[14:43:44] [DEBUG]::MAIN: Adding NZB download info for directory /usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete/Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.10 to database
[14:43:45] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[14:43:45] [DEBUG]::MAIN: Checking for archives to extract in directory: /usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete/Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.10
[14:43:45] [INFO]::MAIN: Calling SickBeard:tv to post-process:Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.nzb
[14:43:45] [INFO]::MAIN: Attempting to auto-detect tv fork
[14:43:45] [INFO]::MAIN: SickBeard:tv fork auto-detection successful ...
[14:43:45] [INFO]::MAIN: SickBeard:tv fork set to default
[14:43:45] [INFO]::MAIN: FLATTEN: Flattening directory: /usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete/Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.10
[14:43:45] [DEBUG]::MAIN: Checking for empty folders in:/usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete/Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.10
[14:43:45] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
[14:43:45] [DEBUG]::SICKBEARD: Opening URL: http://192.168.1.29:8081/home/postprocess/processEpisode with params: {'nzbName': 'Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.nzb', 'quiet': 1, 'dir': '/usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete/Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.10'}
[14:43:45] [POSTPROCESS]::SICKBEARD: Processing folder: /usr/pbi/sabnzbdplus-amd64/sabnzbd/Downloads/complete/Once.Upon.A.Time.S05E10.Broken.Heart.720p.WEB-DL.HEVC.x265-RMTeam.10
[14:43:45] [POSTPROCESS]::SICKBEARD: Unable to figure out what folder to process. If your downloader and Sick Beard aren't on the same PC make sure you fill out your TV download dir in the config.
[14:43:45] [ERROR]::MAIN: A problem was reported in the /usr/pbi/sabnzbdplus-amd64/scripts/nzbToMedia-master/nzbToSickBeard.py script.
SickBeard: Failed to post-process - Returned log from SickBeard was not as expected.!
I did however notice that in finder, the folder that I downloaded has permission issues. http://i.imgur.com/K2LMlq2.png
Might that be the problem? And any idea what might be causing that, and how would I fix it?
I recursivly set permissions on the storage of this jail to 777 (I know that's a bad idea but for now I am just trying to get it to work) and retried the download and received the same error.
Thanks!
Maybe Sab Settings page > Folders > User Folders > Permissions for completed downloads
mine is set to 766
Mine wasn't previously set so I tried 766 and 777, same error.
This error suggests to me that whatever user is running SickRage is not able to see/find the directory where these downloads are.
Make sure the download directory can be opened and viewed by the SickRage user...
@clinton-hall
I am having this issue a year later, and the folders are owned by the SickRage user and have rwx permissions.
This was caused by an update to SickRage. https://github.com/SickRage/SickRage/issues/2865
Please post the nzbToMedia logs.The link you posted above is for a different issue.
Please also make sure sickrage is up to date and you are on the latest nightly build.
I have this same issue. Everything was working a while back, but then I started to see SAB report that the downloads failed. However, even though the log will show it failed, it really doesn't mean the download actually failed. In the below example the download was successful, even though SAB reports it as failed. SR will even moved the successful downloaded file to my TV files. So at the end, the process is working but I do not understand why I see this error in the log.
I have played with both the Master and Nightly branches, and created a new cfg file, same result.
I did not enable "User" login in SR or SAB. Also, Manual Post Processing in SR works fine.
[10:11:30] [INFO]::MAIN: Loading config from [/nzbToMedia/autoProcessMedia.cfg] [10:11:30] [INFO]::MAIN: Checking database structure... [10:11:30] [INFO]::MAIN: Checking if source needs an update [10:11:31] [ERROR]::MAIN: Unknown current version number, don't know if we should update or not [10:11:31] [INFO]::MAIN: nzbToMedia Version:11.04 Branch:master (Linux 4.14.26-unRAID) [10:11:31] [INFO]::MAIN: ######################################################### [10:11:31] [INFO]::MAIN: ## ..::[nzbToMedia.pyc]::.. ## [10:11:31] [INFO]::MAIN: ######################################################### [10:11:31] [INFO]::MAIN: Script triggered from SABnzbd [10:11:31] [INFO]::MAIN: Auto-detected SECTION:SickBeard [10:11:31] [INFO]::MAIN: Calling SickBeard:tv to post-process:Air.Crash.Investigation.S18E04.HDTV.x264-TVC.nzb [10:11:31] [INFO]::MAIN: Attempting to auto-detect tv fork [10:11:31] [INFO]::MAIN: SickBeard:tv fork auto-detection successful ... [10:11:31] [INFO]::MAIN: SickBeard:tv fork set to sickrage [10:11:31] [INFO]::MAIN: FLATTEN: Flattening directory: /downloads/complete/tv/Air.Crash.Investigation.S18E04.HDTV.x264-TVC [10:11:31] [INFO]::TRANSCODER: Checking [Air.Crash.Investigation.S18E04.HDTV.x264-TVC.mp4] for corruption, please stand by ... [10:11:31] [INFO]::TRANSCODER: SUCCESS: [Air.Crash.Investigation.S18E04.HDTV.x264-TVC.mp4] has no corruption. [10:11:31] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request [10:11:33] [POSTPROCESS]::SICKBEARD: Unable to figure out what folder to process. If your downloader and SickRage aren't on the same PC make sure you fill out your TV download dir in the config. [10:11:33] [ERROR]::MAIN: A problem was reported in the /nzbToMedia/nzbToSickBeard.py script. SickBeard: Failed to post-process - Returned log from SickBeard was not as expected.!
main parts of the Autoprocessing.cfg
[General]
version_notify = 1
# Enable/Disable automatic updates
auto_update = 0
# Set to the full path to the git executable
git_path =
# GitHUB user for repo
git_user =
# GitHUB branch for repo
git_branch =
# Enable/Disable forceful cleaning of leftover files following postprocess
force_clean = 0
# Enable/Disable logging debug messages to nzbtomedia.log
log_debug = 0
# Enable/Disable logging database messages to nzbtomedia.log
log_db = 0
# Enable/Disable logging environment variables to debug nzbtomedia.log (helpful to track down errors calling external tools.)
log_env = 0
# Enable/Disable logging git output to debug nzbtomedia.log (helpful to track down update failures.)
log_git = 0
# Set to the directory where your ffmpeg/ffprobe executables are located
ffmpeg_path =
# Enable/Disable media file checking using ffprobe.
check_media = 1
# Enable/Disable a safety check to ensure we don't process all downloads in the default_downloadDirectories by mistake.
safe_mode = 1
# Turn this on to disable additional extraction attempts for failed downloads. Default = 0 will attempt to extract and verify if media is present.
no_extract_failed = 0
[Posix]
# Set the Niceness value for the nice command. These range from -20 (most favorable to the process) to 19 (least favorable to the process).
niceness = 0
# Set the ionice scheduling class. 0 for none, 1 for real time, 2 for best-effort, 3 for idle.
ionice_class = 0
# Set the ionice scheduling class data. This defines the class data, if the class accepts an argument. For real time and best-effort, 0-7 is valid data.
ionice_classdata = 0
[SickBeard]
#### tv - category that gets called for post-processing with SB
[[tv]]
enabled = 1
host = 10.xx.xx.xx <real IP is here, removed for online posting>
port = 8081
username =
password =
###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
web_root =
ssl = 0
fork = auto
delete_failed = 0
# Enable/Disable linking for Torrents
Torrent_NoLink = 0
keep_archive = 1
process_method =
# force processing of already processed content when running a manual scan.
force = 0
# tell SickRage/Medusa to delete all source files after processing.
delete_on = 0
# tell Medusa to ignore check for associated subtitle check when postponing release
ignore_subs = 0
extract = 1
nzbExtractionBy = Downloader
# Set this to minimum required size to consider a media file valid (in MB)
minSize = 0
# Enable/Disable deleting ignored files (samples and invalid media files)
delete_ignored = 0
##### Enable if SickBeard is on a remote server for this category
remote_path = 0
##### Set to path where download client places completed downloads locally for this category
watch_dir = /downloads
##### Set the recursive directory permissions to the following (0 to disable)
chmodDirectory = 0
[Nzb]
clientAgent = sabnzbd
###### SabNZBD (You must edit this if you're using nzbToMedia.py with SabNZBD)
sabnzbd_host = http://localhost
sabnzbd_port = 8080
sabnzbd_apikey = <my key is here in the real cfg file, removed for online posting>
###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
default_downloadDirectory = /downloads
I've already confirmed all settings in SR and SAB per the instructions and I have confirmed all Path's look correct. The fact that the process works for Successful downloads tells me things are mostly correct.
I'm also not sure that Failed downloads is really working because I see that some files are being downloaded over and over and failing each time.
I attached a screenshot of my SR version info.
Any ideas?
help please... This is the correct forum to post for support or what?
Did you read the last two messages before yours?
please enable debug logging
[General]
# Enable/Disable update notifications
log_debug = 1
then post full debug logs.
That setting was already enabled, however it says version notify = 1, and your instructions says log_debug=1. So that doesn't match.
[General]
version_notify = 1
Although I just turned this setting on:
log_debug = 1
Will let it run today and post log tonight.
Also, SR user is nobody, and I'm pretty sure it has access to the folders because as I mentioned already, the actual process works - meaning SAB downloads and reports it is successful but the script errors out, yet SR goes and gets the files and puts them in my tv folder with all my other shows.
I downloaded the nightly branch zip file and copied everything over, even though in the log it still says Master branch, not sure why. I even used the new cfg file.
I already had the forced clean up set to 0:
force_clean = 0
Thanks for your help!
I turned on debug. Looks like only a few downloads, with a couple that were successful and a few that failed. Either way the script errors out.
I edited the log to reduce the size of the file, removing everything except the past 24 hours.
Thanks again! nzbtomedia.log
The part where I am confused is that you say SR goes and gets the files... even when the script errors out...
I suspect in fact the script errors out because SR goes and gets the files before the script finishes.... usually SR should not be "going and getting" the files.
I also note that in the URL call to SickRage you have the IP address... is SR on a different system to the system that runs SAB? if so, you need to use the Mount Points option to align the relative paths between the 2 systems.
hum, now I'm confused. After SAB downloads, SR is supposed to go get the files from the Completed directory and move them to my TV show directory. I do not use SR to post process, only to fetch the files, rename them, and put them in my show directory. I do not think SR is getting the files before the script is complete, but I could be wrong. This was working just fine for over 2 years. The script will finish to the part where the files are successful and then it calls SR to post process. That is where it errors out. Even though the files end up in the Completed directory. Once in the completed directory, SR will find them with it runs the Auto post processing (runs every 10 minutes to check for new tv show files).
I had localhost for the IP, but tried putting in the IP to see if that helped. SAB and SR are both running in a Docker on my unraid server, so the same host / machine. I do not know what you mean by Mount Point option, I don't recall ever seeing that. Should I try that?
See screenshot of the docker folder settings for SAB, where I define the actual directory locations.
what do the docker folders look like for SR? SR should not run auto post processing. this should be disabled when using PP scripts.
Ok, I turned off SR PP for now. I'm confused how that being on would impact the script, but we can test it.
I've attached a screenshot showing sr folders.
turning off sr PP did not change anything. The logs and the error are the same. The only difference is the shows are left in the "completed" tv folder, and not moved to where all my shows are. I guess the script does not make it to the place where it tells sr to retrieve the files and put them in my tv show folder.
Hi. I'm experiencing the same issue. The script executes but fails to rename and move file to the right location. It just remains in the completed folder. I don't remember updating anything but all of a sudden started spitting out errors.
Has a solution been found?
I just noticed that the directories in the dockers are not the same
in SAB
/downloads <-> /mnt/user/downloads/
in SR
/downloads <-> /mnt/user/downloads/complete/tv
to resolve this, both should be set /downloads <-> /mnt/user/downloads/
and then in SickRage, have this changed to scan /downloads/complete/tv
and not /downloads
OR alternatively you could set autoProcessMedia.cfg
[Network]
mount_points = /downloads/complete/tv/,/downloads/
if you also have CouchPotato etc, you may need to add another mount point for CP etc.
Please either change the docker mounts, or change the config as above... don't do both.
Thanks Clinton! I will test and report back in a few days. Your help is much appreciated!
Great news, everything is working again! I tried the cfg Network path option first, but that didn't help, same errors, even tried restarted everything to no avail. Therefore I put the cfg file back (removed the Network path stuff) and then I corrected the docker path for sr so it now points to the same folder as sab. I also made sure PP is off in sr. Everything is working great now - many thanks!
I do not have Auto update enabled in the AutoProcessMedia.cfg file. How often should I download the Nightly update? Or, with it working maybe I shouldn't touch it. :)
Should be ok to update, I am trying to test things to stop it breaking. Each update should fix things or add new features. But, if it is working, there is no need to worry about the frequency of updates. Update if something seems to not be working, or if you see a new feature that you want.
I might turn on auto update. Is it as simple as changing the 0 to 1, or do I need to fill in the branch, user, and path?
How will I know if an update happened and was successful?
[General]
version_notify = 1
# Enable/Disable automatic updates
auto_update = 0
# Set to the full path to the git executable
git_path =
# GitHUB user for repo
git_user =
# GitHUB branch for repo
git_branch =
Yes, to update just set
auto_update = 1
The logs will show that an update has been done, but it is not that obvious.
Hello sir,
So it looks like SR is going to be downgraded soon and we have been instructed to migrate to sickchill.
What needs to happen to ensure nzbtomedia script works with SC? I don’t recall there being a SC section in the cfg file.
Here is the thread where this is being discussed. We could really use your advice and help.
Thank you,
Steve
nzbToMedia is fully compatible with SC.
The section is still [SickBeard]
Just set fork = auto
under the appropriate category.
This will work with either webUI user and pass entered OR with the api entered.
awesome! Thank you sir!
Just registered and posted over at unraid. Once Moderators approve hopefully this will help others.
Hello Sir,
So it looks like nzbtomedia script was updated on 1/3/2019, and it has broke. sabnzbd calls for the script, but it never runs it. The nzbtomedia log shows my last run was right before the update on 1/3, so sab is not able to run the script.
My unraid setup has been solid for months now and I've made no changes at all. I now see this error on the main sabnzbz webgui for each download, /usr/bin/env: ‘python’: No such file or directory
I looked and the file downloads fine and extracts. The tv show file is in the directory, yet the script errors out with
Exit 127 /usr/bin/env: ‘python’: No such file or directory
No directory changes have been made. The script location is the same.
I see this in the sabnzbd log: 2019-01-06 09:48:17,168::INFO::[postproc:187] Completed Download Folder /downloads/complete is not on FAT
Not sure if that is normal or not, but I've made no changes to my drives, shares, or permissions.
Can you please roll the update back or fix this? Or do you have something you want me to try for you?
Here is a section of the sabnzbd log for a test download. Again, the nzbtomedia log shows nothing since 1/3/2019, so it's not running at all.
2019-01-06 09:09:23,460::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part04.rar yenc
2019-01-06 09:09:23,539::INFO::[database:272] Added job The.Big.Bang.Theory.S12E11.The.Paintball.Scattering.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb to history
2019-01-06 09:09:23,540::INFO::[postproc:94] Saving postproc queue
2019-01-06 09:09:23,540::INFO::[downloader:301] Post-processing finished, resuming download
2019-01-06 09:09:24,351::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part05.rar yenc
2019-01-06 09:09:25,063::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part06.rar yenc
2019-01-06 09:09:25,579::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part07.rar yenc
2019-01-06 09:09:26,266::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part08.rar yenc
2019-01-06 09:09:27,054::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part09.rar yenc
2019-01-06 09:09:27,910::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part10.rar yenc
2019-01-06 09:09:28,938::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part11.rar yenc
2019-01-06 09:09:29,123::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part12.rar yenc
2019-01-06 09:09:30,052::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part13.rar yenc
2019-01-06 09:09:30,862::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part14.rar yenc
2019-01-06 09:09:31,164::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part15.rar yenc
2019-01-06 09:09:32,177::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part16.rar yenc
2019-01-06 09:09:32,806::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part17.rar yenc
2019-01-06 09:09:33,392::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part18.rar yenc
2019-01-06 09:09:34,442::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part19.rar yenc
2019-01-06 09:09:35,051::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part20.rar yenc
2019-01-06 09:09:35,609::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part21.rar yenc
2019-01-06 09:09:36,108::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part22.rar yenc
2019-01-06 09:09:37,131::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part23.rar yenc
2019-01-06 09:09:37,797::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part24.rar yenc
2019-01-06 09:09:38,348::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part25.rar yenc
2019-01-06 09:09:39,105::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part26.rar yenc
2019-01-06 09:09:40,002::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part27.rar yenc
2019-01-06 09:09:40,492::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part28.rar yenc
2019-01-06 09:09:41,200::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part29.rar yenc
2019-01-06 09:09:42,415::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part30.rar yenc
2019-01-06 09:09:42,756::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part31.rar yenc
2019-01-06 09:09:43,364::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part32.rar yenc
2019-01-06 09:09:44,571::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part33.rar yenc
2019-01-06 09:09:44,900::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part34.rar yenc
2019-01-06 09:09:46,307::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part36.rar yenc
2019-01-06 09:09:46,374::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part35.rar yenc
2019-01-06 09:09:47,117::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part37.rar yenc
2019-01-06 09:09:47,909::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part38.rar yenc
2019-01-06 09:09:48,306::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part39.rar yenc
2019-01-06 09:09:49,412::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part40.rar yenc
2019-01-06 09:09:49,800::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part41.rar yenc
2019-01-06 09:09:50,496::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part42.rar yenc
2019-01-06 09:09:51,248::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part43.rar yenc
2019-01-06 09:09:52,309::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part44.rar yenc
2019-01-06 09:09:52,459::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part45.rar yenc
2019-01-06 09:09:53,338::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part46.rar yenc
2019-01-06 09:09:54,564::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part47.rar yenc
2019-01-06 09:09:54,834::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E02.1080p.WEB.H264-AMCON/844a6e22c925429d86d8e0ecb0cb8a1e.par2 yenc
2019-01-06 09:09:54,846::INFO::[nzbstuff:1659] Checking all filenames for The.Blacklist.S06E02.1080p.WEB.H264-AMCON
2019-01-06 09:09:54,846::INFO::[nzbstuff:1662] Re-sorting The.Blacklist.S06E02.1080p.WEB.H264-AMCON after getting filename information
2019-01-06 09:09:54,890::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part48.rar yenc
2019-01-06 09:09:55,391::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part49.rar yenc
2019-01-06 09:09:56,359::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part50.rar yenc
2019-01-06 09:09:56,962::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part51.rar yenc
2019-01-06 09:09:57,208::INFO::[nzbqueue:782] [N/A] Ending job The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:57,210::INFO::[assembler:91] Decoding /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part52.rar yenc
2019-01-06 09:09:57,256::INFO::[nzbqueue:418] [N/A] Removed job The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:57,256::INFO::[nzbqueue:260] Saving queue
2019-01-06 09:09:57,257::INFO::[postproc:94] Saving postproc queue
2019-01-06 09:09:57,264::INFO::[postproc:340] Starting Post-Processing on The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb => Repair:True, Unpack:True, Delete:True, Script:nzbToSickBeard.py, Cat:tv
2019-01-06 09:09:57,264::INFO::[postproc:660] Starting verification and repair of The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:57,264::INFO::[__init__:920] [N/A] /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/__ADMIN__/__verified__ missing
2019-01-06 09:09:57,265::INFO::[postproc:675] Running verification and repair on set bc75f0dcf6be4c79a99244836da7b3c2
2019-01-06 09:09:57,266::INFO::[newsunpack:1107] Quick-check for bc75f0dcf6be4c79a99244836da7b3c2 is OK, skipping repair
2019-01-06 09:09:57,268::INFO::[postproc:716] Verification and repair finished for The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:57,271::INFO::[misc:993] Creating directories: /downloads/complete/tv/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:57,272::INFO::[postproc:381] Running unpack_magic on The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:57,282::INFO::[newsunpack:256] Unrar starting on /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:57,283::INFO::[newsunpack:516] Extracting rarfile /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.part01.rar (belonging to bc75f0dcf6be4c79a99244836da7b3c2) to /downloads/complete/tv/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:58,824::INFO::[newsunpack:828] Unpacked 1 files/folders in 1 sec
2019-01-06 09:09:58,875::INFO::[newsunpack:260] Unrar finished on /downloads/incomplete/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:58,917::INFO::[postproc:383] Unpacked files [u'/downloads/complete/tv/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb/bc75f0dcf6be4c79a99244836da7b3c2.mkv']
2019-01-06 09:09:58,917::INFO::[postproc:388] Finished unpack_magic on The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb
2019-01-06 09:09:58,919::INFO::[newsunpack:169] Running external script /nzbToMedia/nzbToSickBeard.py(/downloads/complete/tv/The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb, The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb.nzb, The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb, , tv, alt.binaries.misc, 0, )
2019-01-06 09:09:58,930::INFO::[postproc:558] Cleaning up The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb (keep_basic=False)
2019-01-06 09:09:58,930::INFO::[nzbstuff:1725] [N/A] Purging data for job The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb (keep_basic=False, del_files=False)
2019-01-06 09:09:59,291::INFO::[database:272] Added job The.Blacklist.S06E01.Dr.Hans.Koehler.720p.AMZN.WEBRip.DDP5.1.x264-NTb to history
2019-01-06 09:09:59,291::INFO::[postproc:94] Saving postproc queue
2019-01-06 09:09:59,291::INFO::[downloader:301] Post-processing finished, resuming download
In the Completed folder, there is the directory for this show, and the actual show file is in the folder. The script does't find it.
Thanks!
Steve
via terminal/ssh can you show the result of the following commands?
which python2
which python3
which python
I suspect we will need to create a symlink on your unraid system to allow Python to be called.
@clinton-hall Beat me to it :)
@labrys it's about time I did something... considering how much you have done of late!
Here you go.
root@Tower:~# which python2
which: no python2 in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin)
root@Tower:~# which python3
/usr/bin/python3
root@Tower:~# which python
which: no python in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin)
@PonyXpress It does not look like you have Python 2 installed in your path.
Since nzbToMedia now supports Python 3, you can symlink to the python3 executable.
To do so run the following: sudo ln -sf /usr/bin/python3 /usr/bin/python
wow... ok.. no python2??? so this never should have worked. Also, I thought that SABnzbd by default always called .py scripts by calling Python2 first.
in anycase, as the scripts are now python3 compatible, the following should work:
ln -sf /usr/bin/python3 /usr/bin/python
lol.... @labrys timing eh?
Lol.
@clinton-hall SAB calls it with sys.executable, and it currently has a Python 3 fork available (thats what I use).
Never mind it uses a function to detect a python executable
He probably has Python 2 installed, just not on the path.
@PonyXpress If you would like to use a different Python installed at another location you can run the following to find all python executables installed. This may take a while to run.
sudo find / -type f -name 'python*' -perm -a+x
ok, I ran the "sudo ln -sf /usr/bin/python3 /usr/bin/python"
I just tried another dl and I still see the same error. Do I need to reboot or anything?
You shouldn't need to. Try which python
and see what you get.
I looked in my Nerdpack and did notice that python 2 was not installed. therefore I selected it to install.
I restarted sabnzbd and tried another dl and I still get the error
Ok, here you go,
root@Tower:~# which python
/usr/bin/python
root@Tower:~# which python2
/usr/bin/python2
root@Tower:~# which python3
/usr/bin/python3
root@Tower:~#
Any ideas on how to resolve this?
Thank you sir!
Try changing the the first line of the script to read #!/usr/bin/env python2
thanks! I've only edited the autoProcessMedia.cfg file in the past. Specifically, which file do I edit?
Won';t this get over-written when the next update is released?
@PonyXpress This is only temporary to try to identify the cause of your issue so we can implement a proper fix.
The file to edit would be based on what you have set up to run in SAB. For example nzbToSickBeard.py
or nzbToMedia.py
.
I use the nzbToSickBeard.py in Sabnzbd.
Here is what my file looks like already, and I did not change it. So it looks like this file already had the line you wanted me to change.
#!/usr/bin/env python2
# coding=utf-8
#
#####################################################################
### NZBGET POST-PROCESSING SCRIPT ###
# Post-Process to SickBeard.
#
# This script sends the download to your automated media management servers.
#
# NOTE: This script requires Python to be installed on your system.
######################################################################
### OPTIONS ###
## General
# Auto Update nzbToMedia (0, 1).
#
Thanks!
It appears that I'm having a hard time setting up the correct folders. I am receiving the following message: SICKBEARD: Unable to figure out what folder to process. If your downloader and Sick Beard aren't on the same PC make sure you fill out your TV download dir in the config.
Sabnzbd URL http://192.168.1.32:8080/ Sickbeard URL http://192.168.1.29:8081/
My category setup in Sabnzbd http://i.imgur.com/x1cUcZZ.png
My freenas jail storage setup: http://i.imgur.com/8KbcglO.png
My folder structure http://i.imgur.com/cNaxZGE.jpg
Here is my autoProcessMedia.cfg