Closed HypKin closed 7 years ago
its strange, it errors out on tpse even though that issue is available on 32p - it just doesnt find it...
log for action comics with public search activated:
2017-07-12 22:19:31 | ERROR | Uncaught exception: Traceback (most recent call last):File "D:\mylar\mylar\logger.py", line 158, in new_runold_run(*args, *kwargs)File "C:\Python27\lib\threading.py", line 754, in runself.__target(self.args, **self.kwargs)File "D:\mylar\mylar\webserve.py", line 1465, in queueissuefoundcom, prov = search.search_init(ComicName, ComicIssue, ComicYear, SeriesYear, Publisher, issues['IssueDate'], storedate, IssueID, AlternateSearch, UseAFuzzy, ComicVersion, mode=mode, ComicID=ComicID, manualsearch=manualsearch, filesafe=ComicName_Filesafe, allow_packs=AllowPacks)File "D:\mylar\mylar\search.py", line 243, in search_initfindit = 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)File "D:\mylar\mylar\search.py", line 858, in NZB_SEARCHdateconv2 = datetime.datetime(*dateconv[:6])TypeError: 'NoneType' object has no attribute 'getitem' |
---|---|---|
2017-07-12 22:19:31 | INFO | Shhh be very quiet...I'm looking for Action Comics issue: 983 (2017) using TPSE [RSS] |
2017-07-12 22:19:31 | INFO | Could not find Issue 983 of Action Comics (2016) using 32P [rss] |
2017-07-12 22:19:31 | INFO | Shhh be very quiet...I'm looking for Action Comics issue: 983 (2017) using 32P [RSS] |
2017-07-12 22:19:31 | INFO | search provider order is ['32p', 'tpse'] |
2017-07-12 22:19:31 | INFO | Issue Title given as : None |
2017-07-12 22:19:31 | INFO | I Will assume IssueDate as Store Date, but you should probably Refresh the Series and try again if required. |
2017-07-12 22:19:31 | INFO | No Store Date found for given issue. This is probably due to not Refreshing the Series beforehand. |
2017-07-12 22:19:31 | INFO | Initiating manual search for Action Comics issue: 983 |
log after deactivating public search:
2017-07-12 22:19:31 | ERROR | Uncaught exception: Traceback (most recent call last):File "D:\mylar\mylar\logger.py", line 158, in new_runold_run(*args, *kwargs)File "C:\Python27\lib\threading.py", line 754, in runself.__target(self.args, **self.kwargs)File "D:\mylar\mylar\webserve.py", line 1465, in queueissuefoundcom, prov = search.search_init(ComicName, ComicIssue, ComicYear, SeriesYear, Publisher, issues['IssueDate'], storedate, IssueID, AlternateSearch, UseAFuzzy, ComicVersion, mode=mode, ComicID=ComicID, manualsearch=manualsearch, filesafe=ComicName_Filesafe, allow_packs=AllowPacks)File "D:\mylar\mylar\search.py", line 243, in search_initfindit = 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)File "D:\mylar\mylar\search.py", line 858, in NZB_SEARCHdateconv2 = datetime.datetime(*dateconv[:6])TypeError: 'NoneType' object has no attribute 'getitem' |
---|---|---|
2017-07-12 22:19:31 | INFO | Shhh be very quiet...I'm looking for Action Comics issue: 983 (2017) using TPSE [RSS] |
2017-07-12 22:19:31 | INFO | Could not find Issue 983 of Action Comics (2016) using 32P [rss] |
2017-07-12 22:19:31 | INFO | Shhh be very quiet...I'm looking for Action Comics issue: 983 (2017) using 32P [RSS] |
2017-07-12 22:19:31 | INFO | search provider order is ['32p', 'tpse'] |
2017-07-12 22:19:31 | INFO | Issue Title given as : None |
2017-07-12 22:19:31 | INFO | I Will assume IssueDate as Store Date, but you should probably Refresh the Series and try again if required. |
2017-07-12 22:19:31 | INFO | No Store Date found for given issue. This is probably due to not Refreshing the Series beforehand. |
2017-07-12 22:19:31 | INFO | Initiating manual search for Action Comics issue: 983 |
so the issue isnt found on 32p if public search is active even though its searching 32p before tpse?
so I'm getting errors from both 32p and public searches and something seems wrong with the 32p search if public is activated. (or could this last one be a timeout issue? )
You need to restart Mylar if you're enabling / disabling providers as the provider_order doesn't get changed until startup so it's probably thinking it's still active otherwise (when it isn't).
As far as the 32P error, I can confirm that it's still erroring out - albeit for a different reason than for what the fix went in for. In your case, because you're running a non-english windows machine, when it converts the upload time of the issue from 32p to a long date format it uses your system language (which is fine). But then when it goes to the next step and actually compares the long date format of the upload to the issue date, it can only convert english weekdays and it's erroring out on that :) (Who knew?)
Needless to say, I've been workin on this one for a little bit today and think I have it figured out and am just testing out the process to make sure it's working in both the original format and the non-english formats before I commit it up for usage.
Edit. So progress:
12-Jul-2017 17:05:18 - INFO :: Thread-12 : results32p: [{'pubdate': 'Di, 31 Mrz 2015 06:54:23', 'format': u'none', 'chkit': {'series': u'Supergirl', 'id': u'333'}, 'int_pubdate': 1427799263.0}]
12-Jul-2017 17:05:18 - DEBUG :: Thread-12 : size given as: 662.4 MB
12-Jul-2017 17:05:18 - INFO :: Thread-12 : Successfully converted to : Tue, 31 Mar 2015 06:54:23 -0400
12-Jul-2017 17:05:18 - DEBUG :: Thread-12 : Tue, 31 Mar 2015 06:54:23 -0400 is before store date of 2017-07-12. Ignoring search result as this is not the right issue.
It's converting non-english dates to english dates so that the actual compares can work again - I have to run through a few more tests with other system time formats (like one of the other ones posted in the other thread) and then I'll push it out.
its working now!
thank you!
hey, i'm still getting an error while searching for some comics.
the issue in question isnt available yet, so there is no response?
public torrents are disabled.
im on dev, latest version.