evilhero / mylar

An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
GNU General Public License v3.0
976 stars 172 forks source link

refresh of wanted list keeps hanging #371

Closed doneagle closed 11 years ago

doneagle commented 11 years ago

For some time now I'm wondering why my pulls and refreshes are not working automatically. I think I found the problem. When I restart mylar or press "check for wanted issues", the log shows its trying with the first series and than just sits there.

03-May-2013 20:02:54 - INFO :: MainThread : Mylar is restarting... 03-May-2013 20:02:54 - INFO :: MainThread : Restarting Mylar with ['/opt/bin/python2.7', '/usr/local/mylar/Mylar.py', '--daemon', '--pidfile', '/usr/local/mylar/mylar.pid', '--config', '/usr/local/mylar/config.ini', '--nolaunch'] 03-May-2013 20:02:59 - INFO :: MainThread : Checking to see if the database has all tables.... 03-May-2013 20:03:00 - INFO :: MainThread : Populating Base Exception listings into Mylar.... 03-May-2013 20:03:00 - INFO :: MainThread : Populating Custom Exception listings into Mylar.... 03-May-2013 20:03:00 - INFO :: MainThread : Ensuring DB integrity - Removing all Erroneous Comics (ie. named None) 03-May-2013 20:03:00 - INFO :: MainThread : Correcting Null entries that make the main page break on startup. 03-May-2013 20:03:00 - DEBUG :: MainThread : Trying to execute: "git rev-parse HEAD" with shell in /usr/local/mylar 03-May-2013 20:03:01 - DEBUG :: MainThread : Git output: bf5654c0e287d89946db8a80d2111918d38e0106

03-May-2013 20:03:01 - INFO :: MainThread : Retrieving latest version information from github 03-May-2013 20:03:01 - INFO :: MainThread : Comparing currently installed version with latest github version 03-May-2013 20:03:02 - INFO :: MainThread : Mylar is up to date 03-May-2013 20:03:02 - INFO :: MainThread : CVAPIFIX disabled: Comicvine set to normal API site 03-May-2013 20:03:02 - INFO :: MainThread : Remapping the sorting to allow for new additions. 03-May-2013 20:03:02 - INFO :: MainThread : Sucessfully ordered 42 series in your watchlist. 03-May-2013 20:03:02 - DEBUG :: MainThread : Forking twice... 03-May-2013 20:03:02 - DEBUG :: MainThread : Forking once... 03-May-2013 20:03:02 - INFO :: MainThread : Daemonized to PID: 23413 03-May-2013 20:03:02 - INFO :: MainThread : Writing PID 23413 to /usr/local/mylar/mylar.pid 03-May-2013 20:03:02 - INFO :: MainThread : Starting Mylar on port: 8090 03-May-2013 20:03:02 - INFO :: MainThread : Checking for existance of Weekly Comic listing... 03-May-2013 20:03:02 - INFO :: Thread-12 : Weekly pull list present - checking if it's up-to-date.. 03-May-2013 20:03:03 - INFO :: Thread-12 : No new pull-list available - will re-check again in 24 hours. 03-May-2013 20:03:03 - INFO :: Thread-12 : Checking the Weekly Releases list for comics I'm watching... 03-May-2013 20:03:03 - DEBUG :: Thread-12 : You are watching for: 42 comics 03-May-2013 20:03:03 - DEBUG :: Thread-12 : looking for : EAST OF WEST 03-May-2013 20:03:03 - DEBUG :: Thread-12 : searchsql: EAST%OF%WEST 03-May-2013 20:03:03 - DEBUG :: Thread-12 : looking for : TEENAGE MUTANT NINJA TURTLES VILLAINS MICROSERIES 03-May-2013 20:03:03 - DEBUG :: Thread-12 : searchsql: TEENAGE%MUTANT%NINJA%TURTLES%VILLAINS%MICROSERIES 03-May-2013 20:03:03 - DEBUG :: Thread-12 : looking for : ULTRON 03-May-2013 20:03:03 - DEBUG :: Thread-12 : searchsql: ULTRON 03-May-2013 20:03:03 - DEBUG :: Thread-12 : looking for : NOVA 03-May-2013 20:03:03 - DEBUG :: Thread-12 : searchsql: NOVA 03-May-2013 20:03:03 - DEBUG :: Thread-12 : looking for : FF 03-May-2013 20:03:03 - DEBUG :: Thread-12 : searchsql: FF 03-May-2013 20:03:03 - DEBUG :: Thread-12 : looking for : TEENAGE MUTANT NINJA TURTLES 03-May-2013 20:03:03 - DEBUG :: Thread-12 : searchsql: TEENAGE%MUTANT%NINJA%TURTLES 03-May-2013 20:03:03 - DEBUG :: Thread-12 : looking for : ULTIMATE COMICS X-MEN 03-May-2013 20:03:03 - DEBUG :: Thread-12 : searchsql: ULTIMATE%COMICS%X%MEN 03-May-2013 20:03:03 - DEBUG :: Thread-12 : matched on:ULTIMATECOMICSXMEN...ULTIMATECOMICSXMEN 03-May-2013 20:03:03 - DEBUG :: Thread-12 : Watchlist hit for : Ultimate Comics X-Men ISSUE: 26 03-May-2013 20:03:04 - DEBUG :: Thread-12 : Ultimate Comics X-Men Issue: 26 not present in listings to mark for download...updating comic and adding to Upcoming Wanted Releases. 03-May-2013 20:03:04 - DEBUG :: Thread-12 : Now Refreshing comic Ultimate Comics X-Men to make sure it's up-to-date 03-May-2013 20:03:04 - INFO :: Thread-12 : Found comic directory: /volume1/Comics/Mylar/Ultimate Comics X-Men-(2011)

Ultimate Comics X-Men is now marked with a spinning wheel for update and when i click on the comic it says : comic information is being refreshed. But it never ends. So none of my comics can refresh.

I tried deleting that comic series, but then it just gets stuck on another ( always 1st one )

Any idea on what the issue could be?

doneagle commented 11 years ago

Searching through the config I found cvapifix=0 and a thread here telling to set it to 1 if you have parsing issues. So I tried it and now it seems to be working. Do I leave this on? Or should i just run this once?

evilhero commented 11 years ago

It's actually an option in the Configuration/Web Interface tab - called 'Comicvine URL Fix'. The reasoning is that they moved the api site from "api.comicvine.com" to "beta.comicvine.com/api" which obviously breaks things. I put the option in so that when the site comes back online, users can simply uncheck the box (thereby pointing it to api.comicvine.com again) and everything will be working. Currently, because the comicvine api is pointing to the beta site still (whether it's intentional or not I haven't a clue), you need to have the box checked. Otherwise, enabling the cvapifix=1 in your config.ini will work too.

Currenlty, it's not retaining the setting for cvapifix on restarts, so when you restart Mylar it will flip back to cvapifix=0 and will need to be fixed. I should be getting the fix out for that later today though.

doneagle commented 11 years ago

Thanks for the feedback. I'll keep it under close watch :)

evilhero commented 11 years ago

The not saving the setting for cvapifix is fixed in the latest dev build...closing this issue :)