{"action":"closed","issue":{"url":"https://api.github.com/repos/evilhero/mylar/issues/1578","repository_url":"https://api.github.com/repos/evilhero/mylar","labels_url":"https://api.github.com/repos/evilhero/mylar/issues/1578/labels{/name}","comments_url":"https://api.github.com/repos/evilhero/mylar/issues/1578/comments","events_url":"https://api.github.com/repos/evilhero/mylar/issues/1578/events","html_url":"https://github.com/evilhero/mylar/issues/1578","id":210143821,"number":1578,"title":"Uncaught exception errors on manual search","user":{"login":"mcaron1234","id":17921209,"avatar_url":"https://avatars1.githubusercontent.com/u/17921209?v=3","gravatar_id":"","url":"https://api.github.com/users/mcaron1234","html_url":"https://github.com/mcaron1234","followers_url":"https://api.github.com/users/mcaron1234/followers","following_url":"https://api.github.com/users/mcaron1234/following{/other_user}","gists_url":"https://api.github.com/users/mcaron1234/gists{/gist_id}","starred_url":"https://api.github.com/users/mcaron1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcaron1234/subscriptions","organizations_url":"https://api.github.com/users/mcaron1234/orgs","repos_url":"https://api.github.com/users/mcaron1234/repos","events_url":"https://api.github.com/users/mcaron1234/events{/privacy}","received_events_url":"https://api.github.com/users/mcaron1234/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-02-24T19:59:17Z","updated_at":"2017-03-02T20:01:34Z","closed_at":"2017-03-02T20:01:34Z","body":"I'm seeing an uncaught exception error in the log often when I do a manual search and no results are found.  Here ismy version info:\r\n\r\n```\r\nMylar Version: development\r\n-- git build 651535581f69c29a5b8aa153754e1a133ffe4098.\r\nPython Version : 2.7.12\r\n```\r\n\r\nI suspect this may be normal when no results arte found, but thought I would post it here in case it is due to a bug.  As always, thanks for the great work on Mylar.\r\n\r\n```\r\n2017-02-24 11:53:21\tINFO\tdelaying thread for 60 seconds to avoid locks.\r\n2017-02-24 11:53:20\tINFO\t[FOLDER-CHECK] Finished checking for newly snatched downloads\r\n2017-02-24 11:53:20\tWARNING\tThere were no files located - check the debugging logs if you think this is in error.\r\n2017-02-24 11:53:20\tINFO\tthere are 0 files.\r\n2017-02-24 11:53:20\tINFO\t[FOLDER-CHECK] Checking folder /home/matt/mounts/downloads/torrent/complete/comics/mylar for newly snatched downloads\r\n2017-02-24 11:53:04\tINFO\tCould not find Issue 5 of Serenity: No Power In The 'Verse (2016) using experimental [api]\r\n2017-02-24 11:53:01\tERROR\tUncaught exception: Traceback (most recent call last):\r\nFile \"/opt/Mylar/mylar/logger.py\", line 158, in new_run\r\nold_run(*args, **kwargs)\r\nFile \"/usr/lib/python2.7/threading.py\", line 754, in run\r\nself.__target(*self.__args, **self.__kwargs)\r\nFile \"/opt/Mylar/mylar/webserve.py\", line 1417, in queueissue\r\nfoundcom, 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 238, in search_init\r\nfindit = 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 1573, in NZB_SEARCH\r\nnzbname = nzbname_create(nzbprov, info=comicinfo, title=ComicTitle) #entry['title'])\r\nFile \"/opt/Mylar/mylar/search.py\", line 1936, in nzbname_create\r\nlogger.fdebug(\"nzbname used for post-processing:\" + nzbname)\r\nUnboundLocalError: local variable 'nzbname' referenced before assignment\r\n2017-02-24 11:53:01\tINFO\tallow_packs:False\r\n2017-02-24 11:53:01\tINFO\trss:yes\r\n2017-02-24 11:53:01\tINFO\tWWT\r\n2017-02-24 11:53:01\tINFO\tShhh be very quiet...I'm looking for Lucifer issue: 15 (2017) using TPSE [RSS]\r\n2017-02-24 11:53:01\tINFO\tallow_packs set to :False\r\n2017-02-24 11:53:01\tINFO\tCould not find Issue 15 of Lucifer (2015) using 32P [rss]\r\n2017-02-24 11:53:01\tINFO\tShhh be very quiet...I'm looking for Lucifer issue: 15 (2017) using 32P [RSS]\r\n2017-02-24 11:53:01\tINFO\tallow_packs set to :False\r\n2017-02-24 11:53:01\tINFO\tsearch provider order is ['32p', 'tpse', 'Experimental']\r\n2017-02-24 11:53:01\tINFO\tIssue Title given as : blood in the streets part two: little girls lost\r\n2017-02-24 11:53:01\tINFO\tInitiating manual search for Lucifer issue: 15\r\n2017-02-24 11:52:57\tINFO\tShhh be very quiet...I'm looking for Serenity No Power In The Verse issue: 5 (2017) using experimental\r\n2017-02-24 11:52:57\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:57\tINFO\tAlternate Search pattern detected...re-adjusting to : Serenity No Power In The Verse\r\n2017-02-24 11:52:51\tERROR\tUncaught exception: Traceback (most recent call last):\r\nFile \"/opt/Mylar/mylar/logger.py\", line 158, in new_run\r\nold_run(*args, **kwargs)\r\nFile \"/usr/lib/python2.7/threading.py\", line 754, in run\r\nself.__target(*self.__args, **self.__kwargs)\r\nFile \"/opt/Mylar/mylar/webserve.py\", line 1417, in queueissue\r\nfoundcom, 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 238, in search_init\r\nfindit = 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 1573, in NZB_SEARCH\r\nnzbname = nzbname_create(nzbprov, info=comicinfo, title=ComicTitle) #entry['title'])\r\nFile \"/opt/Mylar/mylar/search.py\", line 1936, in nzbname_create\r\nlogger.fdebug(\"nzbname used for post-processing:\" + nzbname)\r\nUnboundLocalError: local variable 'nzbname' referenced before assignment\r\n2017-02-24 11:52:51\tINFO\tallow_packs:False\r\n2017-02-24 11:52:51\tINFO\trss:yes\r\n2017-02-24 11:52:51\tINFO\tWWT\r\n2017-02-24 11:52:51\tINFO\tShhh be very quiet...I'm looking for Clean Room issue: 16 (2017) using TPSE [RSS]\r\n2017-02-24 11:52:51\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:51\tINFO\tCould not find Issue 16 of Clean Room (2015) using 32P [rss]\r\n2017-02-24 11:52:51\tINFO\tShhh be very quiet...I'm looking for Clean Room issue: 16 (2017) using 32P [RSS]\r\n2017-02-24 11:52:51\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:51\tINFO\tsearch provider order is ['32p', 'tpse', 'Experimental']\r\n2017-02-24 11:52:51\tINFO\tIssue Title given as : assisted living\r\n2017-02-24 11:52:51\tINFO\tInitiating manual search for Clean Room issue: 16\r\n2017-02-24 11:52:49\tINFO\tShhh be very quiet...I'm looking for Serenity: No Power In The 'Verse issue: 5 (2017) using experimental\r\n2017-02-24 11:52:49\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:49\tINFO\tCould not find Issue 5 of Serenity: No Power In The 'Verse (2016) using TPSE [api]\r\n2017-02-24 11:52:49\tINFO\t[TPSE] there were 7 results..\r\n2017-02-24 11:52:44\tERROR\tUncaught exception: Traceback (most recent call last):\r\nFile \"/opt/Mylar/mylar/logger.py\", line 158, in new_run\r\nold_run(*args, **kwargs)\r\nFile \"/usr/lib/python2.7/threading.py\", line 754, in run\r\nself.__target(*self.__args, **self.__kwargs)\r\nFile \"/opt/Mylar/mylar/webserve.py\", line 1417, in queueissue\r\nfoundcom, 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 238, in search_init\r\nfindit = 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 1573, in NZB_SEARCH\r\nnzbname = nzbname_create(nzbprov, info=comicinfo, title=ComicTitle) #entry['title'])\r\nFile \"/opt/Mylar/mylar/search.py\", line 1936, in nzbname_create\r\nlogger.fdebug(\"nzbname used for post-processing:\" + nzbname)\r\nUnboundLocalError: local variable 'nzbname' referenced before assignment\r\n2017-02-24 11:52:44\tINFO\tallow_packs:False\r\n2017-02-24 11:52:44\tINFO\trss:yes\r\n2017-02-24 11:52:44\tINFO\tWWT\r\n2017-02-24 11:52:44\tINFO\tShhh be very quiet...I'm looking for Black Panther issue: 11 (2017) using TPSE [RSS]\r\n2017-02-24 11:52:44\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:44\tINFO\tCould not find Issue 11 of Black Panther (2016) using 32P [rss]\r\n2017-02-24 11:52:44\tINFO\tShhh be very quiet...I'm looking for Black Panther issue: 11 (2017) using 32P [RSS]\r\n2017-02-24 11:52:44\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:44\tINFO\tsearch provider order is ['32p', 'tpse', 'Experimental']\r\n2017-02-24 11:52:44\tINFO\tIssue Title given as : a nation under our feet conclusion\r\n2017-02-24 11:52:44\tINFO\tInitiating manual search for Black Panther issue: 11\r\n2017-02-24 11:52:43\tINFO\t[TPSE] there were 0 results..\r\n2017-02-24 11:52:37\tINFO\t[TPSE] there were 1 results..\r\n2017-02-24 11:52:34\tERROR\tUncaught exception: Traceback (most recent call last):\r\nFile \"/opt/Mylar/mylar/logger.py\", line 158, in new_run\r\nold_run(*args, **kwargs)\r\nFile \"/usr/lib/python2.7/threading.py\", line 754, in run\r\nself.__target(*self.__args, **self.__kwargs)\r\nFile \"/opt/Mylar/mylar/webserve.py\", line 1417, in queueissue\r\nfoundcom, 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 238, in search_init\r\nfindit = 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 1573, in NZB_SEARCH\r\nnzbname = nzbname_create(nzbprov, info=comicinfo, title=ComicTitle) #entry['title'])\r\nFile \"/opt/Mylar/mylar/search.py\", line 1936, in nzbname_create\r\nlogger.fdebug(\"nzbname used for post-processing:\" + nzbname)\r\nUnboundLocalError: local variable 'nzbname' referenced before assignment\r\n2017-02-24 11:52:34\tINFO\tallow_packs:False\r\n2017-02-24 11:52:34\tINFO\trss:yes\r\n2017-02-24 11:52:34\tINFO\tWWT\r\n2017-02-24 11:52:34\tINFO\tShhh be very quiet...I'm looking for Astro City issue: 41 (2017) using TPSE [RSS]\r\n2017-02-24 11:52:34\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:34\tINFO\tCould not find Issue 41 of Astro City (2013) using 32P [rss]\r\n2017-02-24 11:52:34\tINFO\tShhh be very quiet...I'm looking for Astro City issue: 41 (2017) using 32P [RSS]\r\n2017-02-24 11:52:34\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:34\tINFO\tsearch provider order is ['32p', 'tpse', 'Experimental']\r\n2017-02-24 11:52:34\tINFO\tIssue Title given as : the sky's the limit\r\n2017-02-24 11:52:34\tINFO\tInitiating manual search for Astro City issue: 41\r\n2017-02-24 11:52:31\tINFO\tShhh be very quiet...I'm looking for Serenity No Power In The Verse issue: 5 (2017) using TPSE\r\n2017-02-24 11:52:31\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:31\tINFO\tAlternate Search pattern detected...re-adjusting to : Serenity No Power In The Verse\r\n2017-02-24 11:52:31\tINFO\t[TPSE] there were 3 results..\r\n2017-02-24 11:52:25\tINFO\t[TPSE] there were 0 results..\r\n2017-02-24 11:52:24\tERROR\tUncaught exception: Traceback (most recent call last):\r\nFile \"/opt/Mylar/mylar/logger.py\", line 158, in new_run\r\nold_run(*args, **kwargs)\r\nFile \"/usr/lib/python2.7/threading.py\", line 754, in run\r\nself.__target(*self.__args, **self.__kwargs)\r\nFile \"/opt/Mylar/mylar/webserve.py\", line 1417, in queueissue\r\nfoundcom, 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 238, in search_init\r\nfindit = 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)\r\nFile \"/opt/Mylar/mylar/search.py\", line 1573, in NZB_SEARCH\r\nnzbname = nzbname_create(nzbprov, info=comicinfo, title=ComicTitle) #entry['title'])\r\nFile \"/opt/Mylar/mylar/search.py\", line 1936, in nzbname_create\r\nlogger.fdebug(\"nzbname used for post-processing:\" + nzbname)\r\nUnboundLocalError: local variable 'nzbname' referenced before assignment\r\n2017-02-24 11:52:24\tINFO\tallow_packs:False\r\n2017-02-24 11:52:24\tINFO\trss:yes\r\n2017-02-24 11:52:24\tINFO\tWWT\r\n2017-02-24 11:52:24\tINFO\tShhh be very quiet...I'm looking for Descender issue: 19 (2017) using TPSE [RSS]\r\n2017-02-24 11:52:24\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:24\tINFO\tCould not find Issue 19 of Descender (2015) using 32P [rss]\r\n2017-02-24 11:52:24\tINFO\tShhh be very quiet...I'm looking for Descender issue: 19 (2017) using 32P [RSS]\r\n2017-02-24 11:52:24\tINFO\tallow_packs set to :False\r\n2017-02-24 11:52:24\tINFO\tsearch provider order is ['32p', 'tpse', 'Experimental']\r\n2017-02-24 11:52:24\tINFO\tIssue Title given as : orbital mechanics part three\r\n2017-02-24 11:52:24\tINFO\tInitiating manual search for Descender issue: 19\r\n```"}}
{"actor":{"display_login":"mcaron1234"}}