Ongoing issues not downloading, but new adds work fine

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
bigfire
Posts: 10
Joined: Mon Feb 04, 2019 4:57 pm

Ongoing issues not downloading, but new adds work fine

Post by bigfire »

I've had Mylar running for a while, and it's been working great. However, after 2/20, it stopped being able to find and download new issues for ongoing series. What makes this perplexing is that if I add a new series, it will download all of the available issues up to that point, but then it won't find new issues afterwards.

I'm running the latest commit on a Windows 2016 server, 64 bit.

The only error I can find in my log is this:

2019-03-03 21:49:01 ERROR Uncaught exception: Traceback (most recent call last):
File "c:\Mylar\mylar\logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "c:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "c:\Mylar\mylar\helpers.py", line 3133, in search_queue
ss_queue = mylar.search.searchforissue(item['issueid'])
File "c:\Mylar\mylar\search.py", line 1847, in searchforissue
foundNZB, prov = search_init(ComicName, IssueNumber, str(IssueYear), SeriesYear, Publisher, IssueDate, StoreDate, actissueid, AlternateSearch, UseFuzzy, ComicVersion, SARC=SARC, IssueArcID=IssueArcID, mode=mode, rsscheck=rsscheck, ComicID=ComicID, filesafe=Comicname_filesafe, allow_packs=allow_packs, oneoff=oneoff, manual=manual, torrentid_32p=TorrentID_32p, digitaldate=DigitalDate, booktype=booktype)
File "c:\Mylar\mylar\search.py", line 360, in search_init
findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDate, StoreDate, searchprov, send_prov_count, IssDateFix, IssueID, UseFuzzy, newznab_host, ComicVersion=ComicVersion, SARC=SARC, IssueArcID=IssueArcID, RSS="no", ComicID=ComicID, issuetitle=issuetitle, unaltered_ComicName=unaltered_ComicName, allow_packs=allow_packs, oneoff=oneoff, cmloopit=cmloopit, manual=manual, torznab_host=torznab_host, torrentid_32p=torrentid_32p, digitaldate=digitaldate, booktype=booktype)
File "c:\Mylar\mylar\search.py", line 1479, in NZB_SEARCH
searchresult = searcher(nzbprov, nzbname, mylar.COMICINFO, links, IssueID, ComicID, tmpprov, newznab=newznab_host, torznab=torznab_host, rss=RSS)
File "c:\Mylar\mylar\search.py", line 2131, in searcher
logger.fdebug('[FAILED_DOWNLOAD_CHECKER] [%s] Marked as a bad download : %s' % (tmprov, nzbid))
NameError: global name 'tmprov' is not defined
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Ongoing issues not downloading, but new adds work fine

Post by evilhero »

Yep, that was a typo - there were actually 2 incorrect references in that search module, but the 1st one doesn't get tripped as it will catch the exception and carry on. The one you triggered in the log isn't built to contain the exception so it just fails.

This is now updated in the development branch. Hopefully will hit master soon as this probably will break things for others...
bigfire
Posts: 10
Joined: Mon Feb 04, 2019 4:57 pm

Re: Ongoing issues not downloading, but new adds work fine

Post by bigfire »

Great, I'll look forward to an update!
Post Reply