radarr-collections icon indicating copy to clipboard operation
radarr-collections copied to clipboard

TypeError: object of type 'NoneType' has no len() on initial run, not sure how to fix this.

Open tehniemer opened this issue 2 years ago • 0 comments

Running this in docker, it seems that it's connected to Radarr and finds the movies, but then pukes immediately. The only argument I'm passing is -c

Welcome to Radarr Collection and People Manager by u/RhinoRhys

No previous data found - This must be your first time?
Auto adding disabled: saving results to file

Running full scan:
---> 5128 Unchecked Movies
---> 0 monitored People

5128 Unchecked Movies:

[22-06-26 12:21:07] 1:    Radarr ID: 2     TMDB ID: 646       Dr. No (1962)                                                                               In Collection
Traceback (most recent call last):
  File "/app/rcm.py", line 496, in <module>
    else: tmdb_check(movie["tmdbId"]) 
  File "/app/rcm.py", line 254, in tmdb_check
    collection_check(col_id, tmdbId)
  File "/app/rcm.py", line 224, in collection_check
    if len(col_json['name']) < int(config[u'results'][u'column']): top_c = int(config[u'results'][u'column'])
TypeError: object of type 'NoneType' has no len()
Total Movies Found: 0


Thank You for using Radarr Collection and People Manager by u/RhinoRhys

tehniemer avatar Jun 26 '22 17:06 tehniemer