Search seems to stop

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
rakaye
Posts: 5
Joined: Mon May 12, 2014 7:04 pm

Search seems to stop

Post by rakaye »

Hello, my apologies for the following "English" (not my strong point).

I have my own newznab (not plus) / sabnzbd servers (and sickbeard). The duo works properly = sabnzbd takes from newznab(rss) all the comics in status "paused" (and sickbeard starts its own downloads properly). I installed Mylar (Version: 326cf60295309c1f8f71d60bd8e2caa695260ffa (development)) to monitor the upcoming "wanted" issues, start manually the download (unpause the wanted issues, delete the others in sab) and mark "download" manually in Mylar.

Lately I have (mainly for test) configured in Mylar the newz/sab information. The sabnzbd setup works, "experimental" snatched some issues the last week. I deactivated Experimental and setup the hammering to 0s

I manually marked "wanted" 2 comics.
Log :

Code: Select all

12-mai-2014 20:11:32 - INFO    :: Thread-14 : Initiating NZB Search scan at requested interval of 360 minutes.
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : Publisher is : Marvel
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : Checking for torrent enabled.
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : newznab name:Newz @ https://newz.****.info/
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : there are : 0 torrent providers you have selected.
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : there are : 1 nzb providers you have selected.
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : Usenet Retention : 1500 days
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : Initiating Search via : api
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : Initiating Search via : api
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : using Newznab host of : Newz
12-mai-2014 20:11:32 - INFO    :: Thread-14 : Shhh be very quiet...I'm looking for Magneto issue: 3 (2014) using Newz (newznab)
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : calpha/cnumber: None / None
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : RSS Check: None
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : nzbprov: newznab
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : comicid: 72111
12-mai-2014 20:11:32 - DEBUG   :: Thread-14 : search-url: https://newz.****.info/api?t=search&q=magneto%20003%20&o=xml&cat=7030&apikey=xUDONTNEEDTOKNOWTHISx
12-mai-2014 20:11:32 - INFO    :: Thread-14 : pausing for 0 seconds before continuing to avoid hammering
12-mai-2014 20:11:35 - DEBUG   :: Thread-14 : checking search result: Magneto 003 (2014) (Digital) (Zone-Empire)
12-mai-2014 20:11:35 - DEBUG   :: Thread-14 : size given as: 40.2 MB
12-mai-2014 20:11:35 - DEBUG   :: Thread-14 : size : 40.2 MB
... and nothing else. It seems "stuck". The second title is never in the log,

After "reading" seach.py (python is not my strong point either), I added a min and max size, the logs shows that.

Code: Select all

[...]
12-mai-2014 20:47:34 - DEBUG   :: Thread-13 : size given as: 40.2 MB
12-mai-2014 20:47:34 - DEBUG   :: Thread-13 : size : 40.2 MB
12-mai-2014 20:47:34 - DEBUG   :: Thread-13 : comparing Min threshold 1048576 .. to .. nzb 42201027
12-mai-2014 20:47:34 - DEBUG   :: Thread-13 : comparing Max threshold 1048576000 .. to .. nzb 42201027
I "fuzzied" the year for the comic but that is not shown and... I have no more ideas.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Search seems to stop

Post by evilhero »

You can thank Harumann for helping me to discover this only a few hours ago..

The reason you're having problems is because your system is using a non-US datetime configuration (which is os dependent at this time).

So unfortunately until I get some time to rewrite the date algorithms or add some os related fix in, the only way to get mylar to work is to change your system date format to follow a US based formatting.

This isn't a little problem, so it could be a few days before I can get to properly fixing it since it will involve alot of code reworking and testing, plus me only being able to work on things during certain hours of the day.
rakaye
Posts: 5
Joined: Mon May 12, 2014 7:04 pm

Re: Search seems to stop

Post by rakaye »

Thanks you and thanks harumann. I'll look if I can do it, mylar is not the only one on that server ^^
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Search seems to stop

Post by evilhero »

Got this working on my local development branch now - it will now not use the os-dependent date format when doing the date comparisons, which should allow for things to continue processing. The commit won't be up til later tonight probably, and it'll be a big one, but expect it on the development side late tonight.
Harumann
Posts: 4
Joined: Sat May 10, 2014 11:01 pm

Re: Search seems to stop

Post by Harumann »

Awesome, thanks a bunch!
Post Reply