Search Issue

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
Spartan304
Posts: 22
Joined: Sun Mar 02, 2014 2:16 pm

Search Issue

Post by Spartan304 »

First off let me say THANK YOU Evilhero for this awesome app. OK now onto my issue, lol. For some strange reason Mylar is unable to find most of my comics since the last update. I've manually checked the nzb indexer I use and can see the latest issues of the 6 comics that came out this week but Mylar was only able to find the latest issue of Serenity: Leaves on the Wind. I've unchecked RSS search, turned on experimental search, turned it back off, rebooted the machine Mylar is running on, and verified the API key (which I didn't figure was the issue as it was able to grab Serenity). All of the remaining comics are books that have had no issues being found in the past and the copies that are up on my indexer are named properly. Any thoughts/suggestions?
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Search Issue

Post by evilhero »

Hmm, yeah that's abit strange that it would download one than not subsequent ones. Was the Serenity comic the first issue that was searched for ? It's possible that after it downloaded it, it may have failed at some point during the post-processing or just after the post-processing,which if it was a traceback error of some sort, it would pretty much stop the subsequent searches from happening. Were the issues that were not found, marked as Wanted via the Pullist, or did you manually mark them as Wanted ?

If you can post the mylar.log file that shows the Serenity comic being downloaded, and then the subsequent 'missed' results - it might help figure things out. If you restarted Mylar, and you're still getting the same problem thereafter - you can try running mylar in interactive mode (meaning the python console window is left open). If there are any errors that occur (and may be suppressed depending on how you're running mylar) it would display to the console window so you could see what they were.

Glad it was working well for you up until this last run (I have a feeling whatever the problem is, it's probably an easy fix)
Spartan304
Posts: 22
Joined: Sun Mar 02, 2014 2:16 pm

Re: Search Issue

Post by Spartan304 »

I can do that, which directory is the mylar.log folder located in?
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Search Issue

Post by evilhero »

The log file is located in the logs directory in the root of Mylar. You don't have to paste the entire log as it can be quite lengthy.. Just a portion showing it searching and not downloading.
Keep in mind too, that a recent commit today to the development branch fixed an issue with newznab entries and failing search results, which may actually be the case here as well.
Spartan304
Posts: 22
Joined: Sun Mar 02, 2014 2:16 pm

Re: Search Issue

Post by Spartan304 »

Ok I think I figured out what's going on but I don't see any option on how to fix it. According to my log file:

01-Mar-2014 10:53:16 - INFO :: Thread-25 : Initiating NZB Search scan at requested interval of 360 minutes.
01-Mar-2014 10:53:16 - INFO :: Thread-25 : Publisher is : DC Comics
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : Checking for torrent enabled.
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : newznab name:https://nzbs.in @ https://nzbs.in
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : there are : 0 torrent providers you have selected.
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : there are : 1 search providers you have selected.
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : Usenet Retention : 1500 days
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : Initiating Search via : api
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : Initiating Search via : api
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : using Newznab host of : https://nzbs.in
01-Mar-2014 10:53:16 - INFO :: Thread-25 : Shhh be very quiet...I'm looking for The Flash issue: 28 (2014) using https://nzbs.in (newznab)
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : calpha/cnumber: None / None
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : RSS Check: None
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : nzbprov: newznab
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : comicid: 43018
01-Mar-2014 10:53:16 - DEBUG :: Thread-25 : search-url: https://nzbs.in/api?t=search&q=%20flash ... axage=1500
01-Mar-2014 10:53:16 - INFO :: Thread-25 : pausing for 60 seconds before continuing to avoid hammering
01-Mar-2014 10:53:16 - INFO :: Thread-26 : Retrieving latest version information from github
01-Mar-2014 10:53:20 - INFO :: Thread-26 : Comparing currently installed version with latest github version
01-Mar-2014 10:53:23 - INFO :: Thread-26 : Mylar is up to date
01-Mar-2014 10:54:20 - DEBUG :: Thread-25 : checking search result: The Flash 028 (2014) (digital-Empire)
01-Mar-2014 10:54:20 - DEBUG :: Thread-25 : size given as: 33.2 MB
01-Mar-2014 10:54:20 - DEBUG :: Thread-25 : size : 33.2 MB
01-Mar-2014 10:54:20 - DEBUG :: Thread-25 : Thu, 27 Feb 2014 06:11:25 +0100 is before store date of 2014-04-01. Ignoring search result as this is not the right issue.

It appears Mylar isn't believing the copy that's been posted to nzbs.in is legitimate because the street date isn't until April 1st. I have no idea why it started doing this all of a sudden and I don't see any option to turn that off.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Search Issue

Post by evilhero »

03-Mar-2014 00:56:04 - DEBUG :: Thread-13 : checking search result: The Flash 028 (2014) (digital-Empire)
03-Mar-2014 00:56:04 - DEBUG :: Thread-13 : size given as: 33.4 MB
03-Mar-2014 00:56:04 - DEBUG :: Thread-13 : size : 33.4 MB
03-Mar-2014 00:56:04 - DEBUG :: Thread-13 : comparing Min threshold 12582912 .. to .. nzb 35017423
03-Mar-2014 00:56:04 - DEBUG :: Thread-13 : Thu, 27 Feb 2014 01:17:59 -0500 is after store date of 2014-02-26
It's working on my install (the above was when I searched for it). Seeing as how it's working for me and not for you, I'm pretty sure it's because it's substituting in the Publication date for the Store date, since it can't find a Store date for issue 28 (in this particular case). Try refreshing the series, and then doing a search for the issue again - you'll probably get the hit you want ;) If you don't, delete the series and then re-add it again and that should do the trick if the first option didn't.

This probably happened because the commit with the date comparison check rolled out after your Mylar had marked issues Wanted from the week's pull-list and didn't refresh the series' for whatever reason (possibly shutting it down prior to running, or an error in the background that causes things to break).

If it's still not working after doing the above (either or both), let me know.
Spartan304
Posts: 22
Joined: Sun Mar 02, 2014 2:16 pm

Re: Search Issue

Post by Spartan304 »

Thank you so much that worked like a charm!! If this happens again I'll try this fix first. Thanks again!
Post Reply