Sickchill: 'Add From IMDB's Popular Shows' Error

Created on 26 Jul 2016  路  14Comments  路  Source: SickChill/SickChill

Branch: master
Commit: 570cd207fe00798fb2182b0a90af16c1d936ea83
Version: 2016.07.10-1
Database Version: 44.0
OS: Windows 10

When going into 'Add From IMDB's Popular Shows', I'm getting an error that says:

Fetching of IMDB Data failed. Are you online? Exception:
'NoneType' object is not callable

Adding from Trakt Lists seems to work okay. Maybe something has changed w/IMDB?

Bug / Issue Confirmed

Most helpful comment

Same here!

Fetching of IMDB Data failed. Are you online? Exception:
'NoneType' object is not callable

All 14 comments

Thanks for the issue report! Before a real human comes by, please make sure your report has all the below criteria checked

  • [ ] Include basic information: Branch/Commit, OS, What you did, What happened, What you expected
  • [ ] Enable debug logging (be sure to disable after the bug is fixed)
  • [ ] Post debug logs, either inline (for smaller logs) or using gist

Please make sure you also read how to create an issue and followed all of the steps.

The title should describe your issue. Having "SR not working" or "I get this bug" for 100 issues, isn't really helpful. We will close issues if there isn't enough information.

Sometimes the devs may seem like grunts and respond with short answers. This isn't (always) because the dev hates you, but because he's on mobile or busy fixing bugs. If something isn't clear, please let us know, and this bot may get updated to automatically answer you.

Thanks!

Indeed, seems they changed something on the IMDB side.
Thanks for the report.

looks like the whole structure of the page changed from using tables to divs lol

notes -

main container: .lister-item
iterate .lister-item
    image: .lister-item-image img attribute=src
    tt: .lister-item-image img attribute=tconst
    title: .lister-item-header a
    url: .lister-item-header a attribute=href
    rating: .rating.rating-list meta itemprop=ratingValue attribute=content
    ratingCount: .rating.rating-list meta itemprop=ratingCount attribute=content

i'll fix this tomorrow when i get off work if it's not done by then

@neoatomic i have this fixed here - https://github.com/sm-k/SickRage/commit/6fdda8e21abae37fe1a502f11af7551df83e2722

however there seems to be an issue when you actually click 'add show'? everything in the link looks fine, it successfully gets the id from tvdb and so on, but then this error gets thrown:

2016-07-28 00:07:56 DEBUG    SHOWQUEUE-REMOVE-SHOW :: No shows found in your library, aborting library update
2016-07-28 00:07:56 DEBUG    SHOWQUEUE-REMOVE-SHOW :: Trakt may have some issues and it's unavailable. Try again later please
2016-07-28 00:07:55 DEBUG    SHOWQUEUE-REMOVE-SHOW :: Transaction with 5 queries executed
2016-07-28 00:07:55 INFO     SHOWQUEUE-REMOVE-SHOW :: Removing Animal Kingdom (2016)
AA
AATypeError: 'int' object is not iterable
AA    for value in values:
AA  File "c:\users\User\desktop\sickrage\sickbeard\blackandwhitelist.py", line 53, in _add_keywords
AA    self._add_keywords(b'whitelist', values)
AA  File "c:\users\User\desktop\sickrage\sickbeard\blackandwhitelist.py", line 74, in set_white_keywords
AA    self.show.release_groups.set_white_keywords(self.whitelist)
AA  File "c:\users\User\desktop\sickrage\sickbeard\show_queue.py", line 403, in run
2016-07-28 00:07:51 DEBUG    SHOWQUEUE-ADD :: Traceback (most recent call last):
AATypeError: 'int' object is not iterable
AA    for value in values:
AA  File "c:\users\User\desktop\sickrage\sickbeard\blackandwhitelist.py", line 53, in _add_keywords
AA    self._add_keywords(b'whitelist', values)
AA  File "c:\users\User\desktop\sickrage\sickbeard\blackandwhitelist.py", line 74, in set_white_keywords
AA    self.show.release_groups.set_white_keywords(self.whitelist)
AA  File "c:\users\User\desktop\sickrage\sickbeard\show_queue.py", line 403, in run
AATraceback (most recent call last):
2016-07-28 00:07:51 ERROR    SHOWQUEUE-ADD :: [570cd20] Error trying to add show: 'int' object is not iterable
2016-07-28 00:07:51 DEBUG    SHOWQUEUE-ADD :: Building black and white list for 304262
2016-07-28 00:07:51 INFO     SHOWQUEUE-ADD :: Setting all episodes to the specified default status: 5
2016-07-28 00:07:51 DEBUG    SHOWQUEUE-ADD :: Setter sets location to O:\TV Shows\Animal Kingdom (2016)
2016-07-28 00:07:51 DEBUG    SHOWQUEUE-ADD :: 304262: Loading show info from theTVDB
2016-07-28 00:07:51 INFO     SHOWQUEUE-ADD :: 304262: Unable to find the show in the database
2016-07-28 00:07:50 INFO     SHOWQUEUE-ADD :: theTVDB: {'useZip': True, 'apikey': '~', 'cache': u'c:\\users\\User\\desktop\\sickrage\\cache\\indexers\\theTVDB', 'language': u'en'}
2016-07-28 00:07:50 INFO     SHOWQUEUE-ADD :: theTVDB: {'useZip': True, 'apikey': '~', 'cache': u'c:\\users\\User\\desktop\\sickrage\\cache\\indexers\\theTVDB', 'language': u'en'}
2016-07-28 00:07:50 INFO     SHOWQUEUE-ADD :: Starting to add show by Indexer Id: 304262

trakt is currently offline for database maintenance but it seems bizarre that there would be that dependence on it?

@sm-k Good work. :)
Maybe @p0psicles is able to tell what go's wrong here.

@neoatomic it doesn't look like the issue is even related to the imdb code after fixing that - any show you add through https://github.com/SickRage/SickRage/blob/4e8b9eeb3157adb5fcdee67ef68610c0bb65abf4/sickbeard/webserve.py#L2656 gets set as anime and so it tries to process the whitelist/blacklist when it doesn't exist.

Also have this error

SickRage Info:
Branch: master
Commit: 4e8b9eeb3157adb5fcdee67ef68610c0bb65abf4
Version: 2016.07.31-1
Database Version: 44.0
Python Version: 2.7.3 (default, Jun 21 2016, 18:38:19) [GCC 4.7.2]
SSL Version: OpenSSL 1.0.1e 11 Feb 2013
OS: Linux-3.2.0-4-amd64-x86_64-with-debian-7.11
Locale: None.None

Same here!

Fetching of IMDB Data failed. Are you online? Exception:
'NoneType' object is not callable

Same here!

Same here

Any debugging I can do on my end at the superuser level? Not a programmer, but I understand logs and code more than the average user. I'd like to get this fixed, but its not a huge deal.

I believe it was fixed by #2257. Closing

Was this page helpful?
0 / 5 - 0 ratings