evilhero / mylar

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

Postprocessing Fails for Fuzzy Year #192

Closed digiwombat closed 10 years ago

digiwombat commented 11 years ago

http://i.imgur.com/BidhjJ6.png http://i.imgur.com/0Zy8kM9.png

Found two issues (four and five) with nzbX for Hawkeye (2012) that weren't previously found using the fuzzy year functionality.

Post processing for these files failed while issues 6 and 7 (which were found) completed properly.

Also, still searching for "None" ... no idea why.

Edit: Log incoming.

digiwombat commented 11 years ago

Found NZB: 30-Jan-2013 21:43:52 - INFO :: Thread-18 : Found Hawkeye (2012) issue: 4 using nzbx 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : link given by: nzbx 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : link: https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye%20004%20(2013)%20(Digital)%20(Archangel+Zone-Empire) 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : linkforapi: https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye%20004%20(2013)%20(Digital)%20(Archangel+Zone-Empire) 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : cache directory successfully found at : C:\Users\randall\Desktop\SickBeard\omniverse\cache 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : link to retrieve via api:https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye%20004%20(2013)%20(Digital)%20(Archangel+Zone-Empire) 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : nzbname used for post-processing:Hawkeye.004.(2013).(Digital).(Archangel+Zone-Empire) 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : new linkapi (this should =nzbname) :https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye.004.(2013).(Digital).(Archangel+Zone-Empire) 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : send-to-SAB host string: http://localhost:8086 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : ...selecting API type: http://localhost:8086/api?mode=addurl&name= 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : ...attaching nzb provider link: http://localhost:8086/api?mode=addurl&name=https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye.004.(2013).(Digital).(Archangel+Zone-Empire) 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : ...setting priority: http://localhost:8086/api?mode=addurl&name=https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye.004.(2013).(Digital).(Archangel+Zone-Empire)&priority=0 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : ...attaching category: http://localhost:8086/api?mode=addurl&name=https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye.004.(2013).(Digital).(Archangel+Zone-Empire)&priority=0&cat=comics 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : ...attaching rename script: http://localhost:8086/api?mode=addurl&name=https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye.004.(2013).(Digital).(Archangel+Zone-Empire)&priority=0&cat=comics&script=ComicRN.py 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : Completed send-to-SAB link: http://localhost:8086/api?mode=addurl&name=https://nzbx.co/nzb?8ea16c493c378b8c99bdb16f76a0e223*|*Hawkeye.004.(2013).(Digital).(Archangel+Zone-Empire)&priority=0&cat=comics&script=ComicRN.py&apikey=ff162285bfd3fe892bf7e3690cc91323 30-Jan-2013 21:43:52 - INFO :: Thread-18 : Successfully sent nzb file to SABnzbd 30-Jan-2013 21:43:52 - DEBUG :: Thread-18 : we should break out now - sucessful search previous

POST PROCESSING: 30-Jan-2013 21:44:10 - INFO :: CP Server Thread-2 : Starting postprocessing for : Hawkeye.004.(2013).(Digital).(ArchangelZone-Empire) 30-Jan-2013 21:44:10 - DEBUG :: CP Server Thread-2 : nzb name: Hawkeye.004.(2013).(Digital).(ArchangelZone-Empire) 30-Jan-2013 21:44:10 - DEBUG :: CP Server Thread-2 : nzb folder: C:\Users\randall\Documents\Downloads\complete\Hawkeye.004.(2013).(Digital).(ArchangelZone-Empire) 30-Jan-2013 21:44:10 - INFO :: Thread-18 : Updating now complete for Hawkeye issue: 6.00 30-Jan-2013 21:44:10 - DEBUG :: CP Server Thread-2 : SAB Replace Spaces: 0 30-Jan-2013 21:44:10 - DEBUG :: CP Server Thread-2 : SAB Replace Dots: 0 30-Jan-2013 21:44:10 - DEBUG :: CP Server Thread-2 : After conversions, nzbname is : Hawkeye.004.(2013).(Digital).(ArchangelZone-Empire) 30-Jan-2013 21:44:10 - DEBUG :: CP Server Thread-2 : Failure - could not locate nzbfile initially. 30-Jan-2013 21:44:10 - DEBUG :: CP Server Thread-2 : trying again with nzbname of : Hawkeye.004.(2013).(Digital).(ArchangelZone-Empire) 30-Jan-2013 21:44:10 - ERROR :: CP Server Thread-2 : Unable to locate downloaded file to rename. PostProcessing aborted.

evilhero commented 11 years ago

Based on those logs, it looks like because you have Experimental Search enabled it defaults to 'None' even if a previous result is found.

The Post processing is failing because of the + in "(ArchangelZone+Empire)" vs. what Mylar is expecting of ."(ArchangelZone-Empire)". I'll look into why it's throwing in the + symbol.

evilhero commented 11 years ago

I figured out the None problem...was a problem with an errant call when doing single selections for download. Will be up in next commit.