Traceback error after following suggestion for #1701

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
Miroresh
Posts: 3
Joined: Sat Sep 12, 2015 3:45 pm

Traceback error after following suggestion for #1701

Post by Miroresh »

Hi,

I was getting the same error that was solved for #1701 regarding traceback for sabnzbd, however, when I changed the host_return to the specific Mylar IP:Port; it gave me the error listed below.

Not sure what to do next and I searched here and couldn't find something similar.

Code: Select all

2020-05-25 21:39:14	ERROR	Uncaught exception: Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/mylar/logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "/share/CACHEDEV1_DATA/.qpkg/Mylar/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/mylar/helpers.py", line 3170, in search_queue
ss_queue = mylar.search.searchforissue(item['issueid'])
File "/share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/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 "/share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/mylar/search.py", line 359, 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="no", ComicID=ComicID, issuetitle=issuetitle, unaltered_ComicName=unaltered_ComicName, allow_packs=allow_packs, oneoff=oneoff, cmloopit=cmloopit, manual=manual, torznab_host=torznab_host, torrentid_32p=torrentid_32p, digitaldate=digitaldate, booktype=booktype)
File "/share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/mylar/search.py", line 1489, in NZB_SEARCH
searchresult = searcher(nzbprov, nzbname, mylar.COMICINFO, links, IssueID, ComicID, tmpprov, newznab=newznab_host, torznab=torznab_host, rss=RSS)
File "/share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/mylar/search.py", line 2631, in searcher
sendtosab = ss.sender()
File "/share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/mylar/sabnzbd.py", line 53, in sender
'nzo_id': ''.join(sendresponse['nzo_ids']),
TypeError: sequence item 0: expected string, NoneType found
2020-05-25 21:39:14	INFO	{u'status': True, u'nzo_ids': [None]}
2020-05-25 21:39:14	INFO	sending now to http://192.168.1.15:8282/api
2020-05-25 21:39:14	INFO	parameters set to {'nzbname': u'Doctor.Doom.005.2020.Digital.Zone-Empire.nzb', 'apikey': u'47123ed446b01bb9c6b0244d37209914', 'name': u'192.168.1.15:48090/api?apikey=37bdda52476af23814076875e42b3e26&cmd=downloadNZB&nzbname=Doctor.Doom.005.2020.Digital.Zone-Empire.nzb', 'cmd': 'downloadNZB', 'priority': '-100', 'mode': 'addurl', 'output': 'json'}
2020-05-25 21:39:14	DEBUG	Successfully changed permissions [0777 / 0660]
2020-05-25 21:39:14	DEBUG	Cache Directory successfully found at : /share/CACHEDEV1_DATA/.qpkg/Mylar/mylar-master/cache. Ensuring proper permissions.
2020-05-25 21:39:14	DEBUG	[FILENAME] end nzbname: Doctor.Doom.005.2020.Digital.Zone-Empire.nzb
2020-05-25 21:39:14	DEBUG	[FILENAME] nzbname (\s): Doctor.Doom.005.2020.Digital.Zone-Empire.nzb
2020-05-25 21:39:14	DEBUG	[FILENAME] filename (remove chars): Doctor.Doom.005.2020.Digital.Zone-Empire.nzb
2020-05-25 21:39:14	DEBUG	filename within nzb: Doctor.Doom.005.2020.Digital.Zone-Empire.nzb
2020-05-25 21:39:14	DEBUG	Status code returned: 200
2020-05-25 21:39:07	DEBUG	[PAYLOAD-NONE] Download URL: https://api.nzbgeek.info/api?t=get&id=aaa53224c2781298a10e7c77dd0bf8e2&apikey=xYOUDONTNEEDTOKNOWTHISx [VerifySSL: True]
2020-05-25 21:39:07	DEBUG	link given by: newznab
2020-05-25 21:39:07	INFO	Found Doctor Doom (2020) #5 using nzbgeek (newznab)
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Traceback error after following suggestion for #1701

Post by evilhero »

You might have to paste more of the debug log, but here are a few more questions:

- what version of SAB are you using ?

- are you using Mylar 2 / Mylar 3 ? (I think it's 2, but want to make sure since we're not really doing much with 2)

- what did you set your host_return value to ?
Post Reply