clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
670 stars 176 forks source link

Error (TypeError: "'NoneType' object is not callable" ) Just started #1247

Closed Toddler1984 closed 4 months ago

Toddler1984 commented 7 years ago

Had to delete and reinstall CP, for some reason I'm getting this error now.. Any Ideas. Using Hall's QKPG

13:05:07] [INFO]::MAIN: ######################################################### [13:05:07] [INFO]::MAIN: ## ..::[nzbToMedia.pyc]::.. ## [13:05:07] [INFO]::MAIN: ######################################################### [13:05:07] [INFO]::MAIN: Script triggered from SABnzbd [13:05:09] [WARNING]::MAIN: Data from SABnzbd queue could not be parsed [13:05:12] [WARNING]::MAIN: Data from SABnzbd history could not be parsed [13:05:12] [INFO]::MAIN: Auto-detected SECTION:CouchPotato [13:05:12] [INFO]::MAIN: Calling CouchPotato:movie to post-process:Split.2016.1080p.BluRay.DTS.x264-TayTO.nzb [13:05:12] [INFO]::MAIN: Attemping imdbID lookup for Split.2016.1080p.BluRay.DTS.x264-TayTO.nzb [13:05:12] [INFO]::MAIN: Searching folder and file names for imdbID ... [13:05:12] [INFO]::MAIN: Searching IMDB for imdbID ... [13:05:12] [INFO]::MAIN: Found imdbID [tt4972582] [13:05:12] [ERROR]::MAIN: CouchPotato returned the following non-json data

[13:05:12] [ERROR]::MAIN: <!doctype html> [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN:

[13:05:12] [ERROR]::MAIN:

[13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN:

[13:05:12] [ERROR]::MAIN: CouchPotato [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN:

[13:05:12] [ERROR]::MAIN:

CouchPotato

[13:05:12] [ERROR]::MAIN:
[13:05:12] [ERROR]::MAIN:
[13:05:12] [ERROR]::MAIN:
[13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN:
[13:05:12] [ERROR]::MAIN:
[13:05:12] [ERROR]::MAIN: [13:05:12] [ERROR]::MAIN: [13:05:12] [POSTPROCESS]::COUCHPOTATO: Starting renamer scan for Split.2016.1080p.BluRay.DTS.x264-TayTO.nzb Traceback (most recent call last): File "/share/Download/nzbToMedia/nzbToCouchPotato.py", line 257, in result = nzbToMedia.main(sys.argv, section) File "/share/CACHEDEV1_DATA/Download/nzbToMedia/nzbToMedia.py", line 732, in main download_id='') File "/share/CACHEDEV1_DATA/Download/nzbToMedia/nzbToMedia.py", line 618, in process inputCategory, failureLink) File "/share/CACHEDEV1_DATA/Download/nzbToMedia/core/autoProcess/autoProcessMovie.py", line 243, in process result = r.json() File "/share/CACHEDEV1_DATA/Download/nzbToMedia/libs/requests/models.py", line 805, in json return complexjson.loads(self.text, **kwargs) File "/opt/lib/python2.7/json/init.py", line 339, in loads return _default_decoder.decode(s) File "/opt/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Exception TypeError: "'NoneType' object is not callable" in <bound method PosixProcess.del of <core.nzbToMediaUtil.PosixProcess object at 0x2828f80>> ignored

clinton-hall commented 7 years ago

Check the CouchPotato api key and the key set in autoProcessMedia.cfg

[CouchPotato]
    [Movies]
        api_key

Also, try deleting all of the .pyc files from the nzbToMedia folder. Also try enabling debug

[General]
    log_debug = 1

as this will put more information into the logs.