Error when trying to download

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
Frost
Posts: 5
Joined: Sat Feb 27, 2021 3:20 pm

Error when trying to download

Post by Frost »

I get a error when trying to download comics. I'm using nzbplanet as my indexer and NZBget as my download client

Here is what the log says:

Code: Select all

2021-02-28 10:27:53	ERROR	Traceback (most recent call last):
File "/home/rick/Mylar/mylar/search.py", line 3126, in searchforissue
foundNZB, prov = search_init(
File "/home/rick/Mylar/mylar/search.py", line 520, in search_init
findit = NZB_SEARCH(
File "/home/rick/Mylar/mylar/search.py", line 2436, in NZB_SEARCH
searchresult = searcher(
File "/home/rick/Mylar/mylar/search.py", line 4063, in searcher
ss = nzbget.NZBGet()
File "/home/rick/Mylar/mylar/nzbget.py", line 38, in __init__
val = (protocol,)
UnboundLocalError: local variable 'protocol' referenced before assignment
Traceback (most recent call last):
File "/home/rick/Mylar/mylar/search.py", line 3126, in searchforissue
foundNZB, prov = search_init(
File "/home/rick/Mylar/mylar/search.py", line 520, in search_init
findit = NZB_SEARCH(
File "/home/rick/Mylar/mylar/search.py", line 2436, in NZB_SEARCH
searchresult = searcher(
File "/home/rick/Mylar/mylar/search.py", line 4063, in searcher
ss = nzbget.NZBGet()
File "/home/rick/Mylar/mylar/nzbget.py", line 38, in __init__
val = (protocol,)
UnboundLocalError: local variable 'protocol' referenced before assignment
2021-02-28 10:27:53	INFO	filen: AmazingSpider-Man0012018DigitalZone-Empire -- nzbname: Amazing.Spider-Man.001.2018.Digital.Zone-Empire are not identical. Storing extra value as : AmazingSpider-Man0012018DigitalZone-Empire
2021-02-28 10:27:53	INFO	Found The Amazing Spider-Man (2018) #1 using NZB Planet (newznab)
2021-02-28 10:27:52	INFO	Pausing for 60 seconds before continuing to avoid hammering.
2021-02-28 10:27:52	INFO	Shhh be very quiet...I'm looking for The Amazing Spider-Man issue: 1 (2018) using NZB Planet (newznab).
2021-02-28 10:27:52	INFO	[SEARCH-QUEUE] Now loading item from search queue: {'issueid': '676689', 'comicname': 'The Amazing Spider-Man', 'seriesyear': '2018', 'comicid': '112161', 'issuenumber': '1', 'booktype': 'Print'}
2021-02-28 10:27:52	INFO	[WANTED-SEARCH] Now Queueing The Amazing Spider-Man (2018) #1 for search
2021-02-28 10:27:52	INFO	Initiating manual search for The Amazing Spider-Man issue: 1
.

Any help would be appreciated.
Frost
Posts: 5
Joined: Sat Feb 27, 2021 3:20 pm

Re: Error when trying to download

Post by Frost »

I found the problem. Was missing the http:// in front of localhost in the downloader config
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Error when trying to download

Post by evilhero »

Underneath the nzbget host address location in the configuration, you'll see it provides an example preceded by http:// or https://.

You're missing the protocol from what you have entered.

Edit. Beat me.
Post Reply