Repository: mylar3/mylar3

Issue #7: 32P RSS search results in error
Created: 2020-01-14T03:45:58Z
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.320 : ThreadPoolExecutor-0_0 : Scanner group tag discovered: Son of Ultron-Empire
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.430 : ThreadPoolExecutor-0_0 : NEWLY SPLIT REORGD: ['Batman', '-', 'Gotham', 'by', 'Gaslight', 'vol0', '#Volume', '1']
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.664 : ThreadPoolExecutor-0_0 : volume label detected as : Volume 0 @ position: 5
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.621 : ThreadPoolExecutor-0_0 : Issue number found: #Volume
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.644 : ThreadPoolExecutor-0_0 : volume_found: 6
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.664 : ThreadPoolExecutor-0_0 : volume label detected as : Volume 1 @ position: 6
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.796 : ThreadPoolExecutor-0_0 : datecheck: []
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.846 : ThreadPoolExecutor-0_0 : No year present within title - ignoring as a variable.
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.849 : ThreadPoolExecutor-0_0 : highest_series_position: 8
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.869 : ThreadPoolExecutor-0_0 : possible_issuenumbers: [{'number': '#Volume', 'position': 6, 'mod_position': 33, 'validcountchk': False}]
13-Jan-2020 22:44:06 - DEBUG :: mylar.parseit.875 : ThreadPoolExecutor-0_0 : hyphen located at position: 7
Job "RSS Feeds (trigger: interval[0:20:00], next run at: 2020-01-14 03:52:54 UTC)" raised an exception
Traceback (most recent call last):
  File "/home/user/.pyenv/versions/3.8.1/lib/python3.8/site-packages/apscheduler/executors/base.py", line 125, in run_job
    retval = job.func(*job.args, **job.kwargs)
  File "/home/user/mylar3/mylar/rsscheckit.py", line 99, in run
    mylar.search.searchforissue(rsscheck='yes')
  File "/home/user/mylar3/mylar/search.py", line 1761, in searchforissue
    foundNZB, prov = search_init(comic['ComicName'], result['Issue_Number'], str(ComicYear), SeriesYear, Publisher, IssueDate, StoreDate, result['IssueID'], AlternateSearch, UseFuzzy, ComicVersion, SARC=result['SARC'], IssueArcID=result['IssueArcID'], mode=mode, rsscheck=rsscheck, ComicID=result['ComicID'], filesafe=Comicname_filesafe, allow_packs=AllowPacks, oneoff=OneOff, torrentid_32p=TorrentID_32p, digitaldate=DigitalDate, booktype=booktype)
  File "/home/user/mylar3/mylar/search.py", line 339, 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="yes", ComicID=ComicID, issuetitle=issuetitle, unaltered_ComicName=unaltered_ComicName, oneoff=oneoff, cmloopit=cmloopit, manual=manual, torznab_host=torznab_host, digitaldate=digitaldate, booktype=booktype)
  File "/home/user/mylar3/mylar/search.py", line 1113, in NZB_SEARCH
    parsed_comic = p_comic.listFiles()
  File "/home/user/mylar3/mylar/filechecker.py", line 116, in listFiles
    runresults = self.parseit(self.dir, self.file)
  File "/home/user/mylar3/mylar/filechecker.py", line 900, in parseit
    if finddash < yearposition and finddash > (yearmodposition + len(split_file[yearposition])):
TypeError: '<' not supported between instances of 'int' and 'NoneType'

Duplicate issue #28: RSS feeds TypeError
Created: 2020-01-15T20:23:47Z
Job "RSS Feeds (trigger: interval[0:30:00], next run at: 2020-01-15 20:45:07 UTC)" raised an exception
Traceback (most recent call last):
  File "/home/mylar3/.local/lib/python3.8/site-packages/apscheduler/executors/base.py", line 125, in run_job
    retval = job.func(*job.args, **job.kwargs)
  File "/opt/mylar.py3/mylar/rsscheckit.py", line 99, in run
    mylar.search.searchforissue(rsscheck='yes')
  File "/opt/mylar.py3/mylar/search.py", line 1761, in searchforissue
    foundNZB, prov = search_init(comic['ComicName'], result['Issue_Number'], str(ComicYear), SeriesYear, Publisher, IssueDate, StoreDate, result['IssueID'], AlternateSearch, UseFuzzy, ComicVersion, SARC=result['SARC'], IssueArcID=result['IssueArcID'], mode=mode, rsscheck=rsscheck, ComicID=result['ComicID'], filesafe=Comicname_filesafe, allow_packs=AllowPacks, oneoff=OneOff, torrentid_32p=TorrentID_32p, digitaldate=DigitalDate, booktype=booktype)
  File "/opt/mylar.py3/mylar/search.py", line 339, 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="yes", ComicID=ComicID, issuetitle=issuetitle, unaltered_ComicName=unaltered_ComicName, oneoff=oneoff, cmloopit=cmloopit, manual=manual, torznab_host=torznab_host, digitaldate=digitaldate, booktype=booktype)
  File "/opt/mylar.py3/mylar/search.py", line 1392, in NZB_SEARCH
    if int(intIss) == int(comintIss) or all([cmloopit == 4, findcomiciss is None, pc_in is None]) or all([cmloopit == 4, findcomiciss is None, pc_in == 1]):
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Full log attached - weirdly the traceback only appears when running from command line, not in the debug (but occurred immediately after the last line in the log)
mylar.log

Closing comment (2020-01-15T20:24:31Z): Bah duplicate of #7