[RELEASE] Texture Cache Maintenance utility
Hey Milhouse,

I'm running into an bug with the imdb function, which I think is caused by attempting to get the rating of a movie that doesn't yet have one (ie, has less than 5 votes on imdb)

Code:
C:\Tools\python33>python texturecache.py imdb movies francisco
Traceback (most recent call last):val Volume 3: Live in San Francisco...
  File "texturecache.py", line 5405, in <module>
    main(sys.argv[1:])
  File "texturecache.py", line 5287, in main
    extraFields=_extraFields, query=_query)
  File "texturecache.py", line 2778, in jsonQuery
    updateIMDb(mediatype, jcomms, data)
  File "texturecache.py", line 3739, in updateIMDb
    newimdb = MyUtility.getIMDBInfo(imdbnumber, plotFull, plotOutline) if imdbnumber else None
  File "texturecache.py", line 2567, in getIMDBInfo
    newdata[newkey] = float(data[key])
ValueError: could not convert string to float: 'N/A'

Where the movie it's trying to scrape from imdb is http://www.imdb.com/title/tt2294804
Reply


Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by Serak - 2013-11-23, 04:10
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17