sabnzbd Post Processing Issue

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
Shik
Posts: 9
Joined: Mon Feb 24, 2014 5:08 pm

sabnzbd Post Processing Issue

Post by Shik »

I had several issues but in reading other posts here was able to progress in baby steps. I now have a new issue that I don't see in previous posts so time to ask for some assistance.

After the file is downloaded I see this this comment that the script was run, but the comic file was not moved to the comics folder:

Loading config from C:\Program Files\SickBeard\SickBeard-win32-alpha-build500\autoProcessTV\autoProcessComics.cfg
Opening URL: http: //localhost:8090/post_process?nzb_name=Mighty+Avengers+002+%282013%29+%28Digital%29+%28Zone-Empire%29&nzb_folder=C%3A%5CUsers%5CWilson%5CDocuments%5CDownloads%5CNZBD+Complete%5CMighty+Avengers+002+%282013%29+%28Digital%29+%28Zone-Empire%29


I have the config file in a SickBeard folder but that should not impact as it is picking up the instructions. I added a space in the opening URL so it would show in this post.

I do have Enable Post-Processing checked in the Mylar settings. I DO NOT have anything checked for running and extra script before or after post-processing.

I am sure I am missing a getting somewhere, just not sure what to try next.

thanks all! just starting to use Mylar and having fun setting it all up.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: sabnzbd Post Processing Issue

Post by evilhero »

Unfortunately, that's a pretty open-ended error that could be any number of things - but suffice to say, it's pretty good odds that it's just a configuration issue more than anything else.

So let's start with - are you on the development or master build of Mylar ?

Are you manually downloading a file and then trying to run the ComicRN.py script ?

Do you have a directory specified for the SABnzbd Download Directory option within Mylar ? If Mylar and SABnzbd both are on the same machine, you should leave this blank. Otherwise, it does tend to cause some issues if both reside on the same machine. When both reside on the same machine, and the field is left blank, the Download directory is taken from the category assignment within SABnzbd for the 'comics' category you would have created, so there's no need to specify one.

You should check the mylar.log file within the /logs directory - it contains debugging information that you can't see in the GUI log..check to see what the last few lines were after it tries to post-process - it may give a better indication of things.

Like I said, it's probably a configuration problem more than anything else and is pretty common unfortunately :(

Paste back what you can, and we'll get it workin' for ya
Shik
Posts: 9
Joined: Mon Feb 24, 2014 5:08 pm

Re: sabnzbd Post Processing Issue

Post by Shik »

thanks for the quick response and "can do" attitude. makes this more of a fun adventure. 8-)
So let's start with - are you on the development or master build of Mylar ?

Version: bbf9c0f0e60e950aa4a98e3d684b6ee56409e481 (development)
Are you manually downloading a file and then trying to run the ComicRN.py script ?
no. Mylar is searching then using SABnzbd to download the file
Do you have a directory specified for the SABnzbd Download Directory option within Mylar
no, I have the ComicRN.py script selected but no folder/path. The folder is on a different hard drive than Mylar and SABnzbd


I tried again and below are is the log. At the very end the pathway is incorrect. It says "Make sure that C:\Users\Wilson\Documents\Downloads\Mighty Avengers 006 (2014) (Digital) (Zone-Empire) exists and is the correct location" and the actual location is C:\Users\Wilson\Documents\Downloads\NZBD Complete\Mighty Avengers 006 (2014) (Digital) (Zone-Empire)


25-Feb-2014 14:48:38 - INFO :: CP Server Thread-10 : Marking Mighty Avengers issue: 6 as wanted...
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Checking for torrent enabled.
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : newznab name:NZBNDX @ https://www.nzbndx.com/
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : there are : 0 torrent providers you have selected.
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : there are : 2 search providers you have selected.
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Usenet Retention : 1500 days
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Initiating Search via : rss
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Initiating Search via : api
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Initiating Search via : rss
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : using Newznab host of : NZBNDX
25-Feb-2014 14:48:38 - INFO :: CP Server Thread-10 : Shhh be very quiet...I'm looking for Mighty Avengers issue: 6 (2014) using NZBNDX(newznab) [RSS]
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : calpha/cnumber: None / None
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : RSS Check: yes
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : nzbprov: newznab
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Sending request to RSS for Mighty Avengers : 006 (2014)
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : bb results: {'entries': []}
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : RSS Check: yes
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : nzbprov: newznab
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Sending request to RSS for Mighty Avengers : 06 (2014)
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : bb results: {'entries': []}
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : RSS Check: yes
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : nzbprov: newznab
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Sending request to RSS for Mighty Avengers : 6 (2014)
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : bb results: {'entries': []}
25-Feb-2014 14:48:38 - INFO :: CP Server Thread-10 : More than one search provider given - trying next one.
25-Feb-2014 14:48:38 - INFO :: CP Server Thread-10 : Shhh be very quiet...I'm looking for Mighty Avengers issue: 6 (2014) using experimental [RSS]
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : calpha/cnumber: None / None
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : RSS Check: yes
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : nzbprov: experimental
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Sending request to RSS for Mighty Avengers : 006 (2014)
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : bb results: {'entries': []}
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : RSS Check: yes
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : nzbprov: experimental
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Sending request to RSS for Mighty Avengers : 06 (2014)
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : bb results: {'entries': []}
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : RSS Check: yes
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : nzbprov: experimental
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Sending request to RSS for Mighty Avengers : 6 (2014)
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : bb results: {'entries': []}
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : couldn't find a matching comic using experimental [RSS]
25-Feb-2014 14:48:38 - INFO :: CP Server Thread-10 : Couldn't find Issue 6 of Mighty Avengers(2014). Status kept as wanted.
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Finished searching via : rss
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : Initiating Search via : api
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : using Newznab host of : NZBNDX
25-Feb-2014 14:48:38 - INFO :: CP Server Thread-10 : Shhh be very quiet...I'm looking for Mighty Avengers issue: 6 (2014) using NZBNDX (newznab)
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : calpha/cnumber: None / None
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : RSS Check: None
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : nzbprov: newznab
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:48:38 - DEBUG :: CP Server Thread-10 : search-url: https://www.nzbndx.com/api?t=search&q=m ... 30&apikey=
25-Feb-2014 14:48:38 - INFO :: CP Server Thread-10 : pausing for 60 seconds before continuing to avoid hammering
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : checking search result: Mighty Avengers 006 (2014) (Digital) (Zone-Empire)
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : size given as: 32.5 MB
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : size : 32.5 MB
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : Entry: Mighty Avengers 006 (2014) (Digital) (Zone-Empire)
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : Cleantitle: mighty avengers 006 (2014) (digital) (zone-empire)
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : Cleantitle: mighty avengers 006 (2014) (digital) (zone-empire)
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : 0. Bracket Word: mighty avengers 006
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : Comic: mighty avengers 006
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : UseFuzzy is : None
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ComVersChk : 2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : 1. Bracket Word: 2014
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : year detected: 2014
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : year looking for: 2014
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : 2014 - right years match baby!
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : 3. Bracket Word: digital
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : digital edition detected
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : 5. Bracket Word: zone-empire
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : Scanner detected: zone-empire
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : original nzb comic and issue: mighty avengers 006
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : adjusted nzb comic and issue: mighty avengers 006
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : adjusting from: mighty avengers 006 to: 006
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ['mighty', 'avengers', '006'] nzb series word count: 2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ['mighty', 'avengers'] watchlist word count: 2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : splitst : 2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : len-watchcomic : 2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : length match..proceeding
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : search-length: 2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : Watchlist-length: 2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : splitit: mighty
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : scount : 0
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : 0 Comparing: mighty .to. mighty
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : word matched on : mighty
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : splitit: avengers
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : scount : 1
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : 1 Comparing: avengers .to. avengers
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : word matched on : avengers
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : scount:2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : splitit-len:2
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : we got 100.0 percent.
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : it's a go captain... - we matched 100.0%!
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : this should be a match!
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : issue we are looking for is : 6
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : integer value of issue we are looking for : 6000
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : issue we found for is : 006
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : integer value of issue we are found : 6000
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : issues match!
25-Feb-2014 14:49:39 - INFO :: CP Server Thread-10 : Found Mighty Avengers (2014) issue: 6 using NZBNDX (newznab)
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : link given by: newznab
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : cache directory successfully found at : E:\Downloads\mylar-master\mylar-master\cache
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : link to retrieve via api:
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : nzbname used for post-processing:Mighty.Avengers.006.(2014).(Digital).(Zone-Empire)
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : send-to-SAB host string:
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ...selecting API type:
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ...attaching nzb provider link:
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ...setting priority:
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ...attaching category:
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : ...attaching rename script:
25-Feb-2014 14:49:39 - DEBUG :: CP Server Thread-10 : Completed send-to-SAB link:
25-Feb-2014 14:49:40 - INFO :: CP Server Thread-10 : Successfully sent nzb file to SABnzbd
25-Feb-2014 14:49:40 - DEBUG :: CP Server Thread-10 : we should break out now - sucessful search previous
25-Feb-2014 14:49:40 - DEBUG :: CP Server Thread-10 : Found matching comic...preparing to send to Updater with IssueID: 444533 and nzbname: Mighty.Avengers.006.(2014).(Digital).(Zone-Empire)
25-Feb-2014 14:49:40 - DEBUG :: CP Server Thread-10 : Found via API.
25-Feb-2014 14:49:40 - INFO :: CP Server Thread-10 : passing to updater.
25-Feb-2014 14:49:40 - INFO :: CP Server Thread-10 : comicid: 67223
25-Feb-2014 14:49:40 - INFO :: CP Server Thread-10 : issueid: 444533
25-Feb-2014 14:49:40 - DEBUG :: CP Server Thread-10 : updating status to snatched
25-Feb-2014 14:49:40 - DEBUG :: CP Server Thread-10 : provider is newznab
25-Feb-2014 14:49:41 - INFO :: CP Server Thread-10 : updated the snatched.
25-Feb-2014 14:49:41 - INFO :: CP Server Thread-10 : Updating now complete for Mighty Avengers issue: 6
25-Feb-2014 14:50:39 - INFO :: CP Server Thread-3 : Starting postprocessing for : Mighty Avengers 006 (2014) (Digital) (Zone-Empire)
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : nzb name: Mighty Avengers 006 (2014) (Digital) (Zone-Empire)
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : nzb folder: C:\Users\Wilson\Documents\Downloads\NZBD Complete\Mighty Avengers 006 (2014) (Digital) (Zone-Empire)
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : SAB Replace Spaces: 0
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : SAB Replace Dots: 0
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : After conversions, nzbname is : Mighty.Avengers.006.(2014).(Digital).(Zone-Empire)
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : issueid:444533
25-Feb-2014 14:50:39 - INFO :: CP Server Thread-3 : issuenzb found.
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : issueid: 444533
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : issuenumOG: 6
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Zero Suppression set to : 00x
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Pretty Comic Issue is : 006
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Issue Year : 2014
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Publisher: Marvel
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Series: Mighty Avengers
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Year: 2013
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Comic Location: Z:\Comics\Mighty Avengers (2013)
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : Comic Version: v2
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : not an annual - removing from filename paramaters
25-Feb-2014 14:50:39 - DEBUG :: CP Server Thread-3 : new format: $Series $Issue ($Year)
25-Feb-2014 14:50:39 - ERROR :: CP Server Thread-3 : Aborting PostProcessing - the filename doesn't exist in the location given. Make sure that C:\Users\Wilson\Documents\Downloads\Mighty Avengers 006 (2014) (Digital) (Zone-Empire) exists and is the correct location.
Last edited by Shik on Wed Feb 26, 2014 9:50 am, edited 1 time in total.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: sabnzbd Post Processing Issue

Post by evilhero »

Hmm, well the only way that the location would be changed is if it's specified somewhere within Mylar, since the directory that's being passed from SAB back to Mylar is 'C:\Users\Wilson\Documents\Downloads\NZBD Complete\'.

If you don't have anything specified in your configuration, I would check your config.ini file to see if there's any reference within there to the non-'NZBD Complete' directory - I have a feeling that somewhere in there it's being passed the incorrect information. Keep in mind that after any config change, you should restart Mylar so that it can load in the new values without any errors. You can paste in your config.ini if you'd like as well just to make sure there's nothing amiss - just remember to remove the apikeys from your providers if you do post within here ;) You can email me via PM on here as well with the necessary info.

If there's nothing specific in the .ini, then we need to to check what directory you have specified for your 'comics' category within SABnzbd ? Do you have sorting enabled within SABnzbd and/or filename length being specified somewhere ? (I remember one poster on a windows server had problems with the filename length which was set to 32, and had to change it to 128 for the full url to get passed properly).
Shik
Posts: 9
Joined: Mon Feb 24, 2014 5:08 pm

Re: sabnzbd Post Processing Issue

Post by Shik »

found it! Saying that the correct info was being sent to Mylar helped.

in Mylar, Download settings

I have SABnzbd set and in the SABnzbd Download Directory I was missing the last part of the directory. I updated it and it worked perfectly.

thank you very much! I will download away.
Post Reply