Repository: mylar3/mylar3

Issue #3: 32P RSS borked.
Created: 2020-01-14T00:06:26Z
13-Jan-2020 16:46:22 - ERROR :: mylar.excepthook.315 : SEARCH-QUEUE : Uncaught exception: Traceback (most recent call last):
  File "/opt/mylar.py3/mylar/logger.py", line 337, in new_run
    old_run(*args, **kwargs)
  File "/opt/pyenv/versions/3.8.1/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/mylar.py3/mylar/helpers.py", line 3177, in search_queue
    ss_queue = mylar.search.searchforissue(item['issueid'])
  File "/opt/mylar.py3/mylar/search.py", line 1862, 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 "/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 634, in NZB_SEARCH
    bb = rsscheck.torrentdbsearch(ComicName, mod_isssearch, ComicID, nzbprov, oneoff)
  File "/opt/mylar.py3/mylar/rsscheck.py", line 741, in torrentdbsearch
    AS_Altrem = re.sub("\\band\\b", "", u_altsearchcomic.lower())
  File "/opt/pyenv/versions/3.8.1/lib/python3.8/re.py", line 208, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: cannot use a string pattern on a bytes-like object

Traceback (most recent call last):
  File "/opt/mylar.py3/mylar/logger.py", line 337, in new_run
    old_run(*args, **kwargs)
  File "/opt/pyenv/versions/3.8.1/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/mylar.py3/mylar/helpers.py", line 3177, in search_queue
    ss_queue = mylar.search.searchforissue(item['issueid'])
  File "/opt/mylar.py3/mylar/search.py", line 1862, 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 "/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 634, in NZB_SEARCH
    bb = rsscheck.torrentdbsearch(ComicName, mod_isssearch, ComicID, nzbprov, oneoff)
  File "/opt/mylar.py3/mylar/rsscheck.py", line 741, in torrentdbsearch
    AS_Altrem = re.sub("\\band\\b", "", u_altsearchcomic.lower())
  File "/opt/pyenv/versions/3.8.1/lib/python3.8/re.py", line 208, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: cannot use a string pattern on a bytes-like object```

Duplicate issue #11: RSS TypeError
Created: 2020-01-14T17:20:50Z
4823 13-Jan-2020 16:46:22 - DEBUG   :: mylar.NZB_SEARCH.633 : SEARCH-QUEUE : Sending request to [32P] RSS for Dr. Strange :
 4824 13-Jan-2020 16:46:22 - ERROR   :: mylar.excepthook.315 : SEARCH-QUEUE : Uncaught exception: Traceback (most recent call last):
 4825   File "/opt/mylar.py3/mylar/logger.py", line 337, in new_run
 4826     old_run(*args, **kwargs)
 4827   File "/opt/pyenv/versions/3.8.1/lib/python3.8/threading.py", line 870, in run
 4828     self._target(*self._args, **self._kwargs)
 4829   File "/opt/mylar.py3/mylar/helpers.py", line 3177, in search_queue
 4830     ss_queue = mylar.search.searchforissue(item['issueid'])
 4831   File "/opt/mylar.py3/mylar/search.py", line 1862, in searchforissue
 4832     foundNZB, prov = search_init(ComicName, IssueNumber, str(IssueYear), SeriesYear, Publisher, IssueDate, StoreDate, actissueid, AlternateSearch, UseFuzzy, ComicVersion, SARC=SARC, IssueArcID=IssueArcID, mode=mode, rsscheck=rsschec
 4833   File "/opt/mylar.py3/mylar/search.py", line 339, in search_init
 4834     findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDate, StoreDate, searchprov, send_prov_count, IssDateFix, IssueID, UseFuzzy, newznab_host, ComicVersion=ComicVersion, SARC=SARC, IssueArcID=Issue
 4835   File "/opt/mylar.py3/mylar/search.py", line 634, in NZB_SEARCH
 4836     bb = rsscheck.torrentdbsearch(ComicName, mod_isssearch, ComicID, nzbprov, oneoff)
 4837   File "/opt/mylar.py3/mylar/rsscheck.py", line 741, in torrentdbsearch
 4838     AS_Altrem = re.sub("\\band\\b", "", u_altsearchcomic.lower())
 4839   File "/opt/pyenv/versions/3.8.1/lib/python3.8/re.py", line 208, in sub
 4840     return _compile(pattern, flags).sub(repl, string, count)
 4841 TypeError: cannot use a string pattern on a bytes-like object

Closing comment (2020-01-14T17:25:00Z): Duplicate of #3