I've been using the wordnik WOTD api for a couple of years now with python code on a Raspberry Pi with an e-ink display. Today my python code is failing for some reason (I haven't touched anything in over a year) with the following traceback. Has something changed with the wordnik/swagger api? Thanks --dave
File "wotd.py", line 122, in
main()
File "wotd.py", line 68, in main
wotd = wordsApi.getWordOfTheDay()
File "/home/pi/e-ink/lib/wordnik/WordsApi.py", line 141, in getWordOfTheDay
responseObject = self.apiClient.deserialize(response, 'WordOfTheDay')
File "/home/pi/e-ink/lib/wordnik/swagger.py", line 175, in deserialize
subClass))
File "/home/pi/e-ink/lib/wordnik/swagger.py", line 159, in deserialize
value = attrType(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I've been using the wordnik WOTD api for a couple of years now with python code on a Raspberry Pi with an e-ink display. Today my python code is failing for some reason (I haven't touched anything in over a year) with the following traceback. Has something changed with the wordnik/swagger api? Thanks --dave
File "wotd.py", line 122, in
main()
File "wotd.py", line 68, in main
wotd = wordsApi.getWordOfTheDay()
File "/home/pi/e-ink/lib/wordnik/WordsApi.py", line 141, in getWordOfTheDay
responseObject = self.apiClient.deserialize(response, 'WordOfTheDay')
File "/home/pi/e-ink/lib/wordnik/swagger.py", line 175, in deserialize
subClass))
File "/home/pi/e-ink/lib/wordnik/swagger.py", line 159, in deserialize
value = attrType(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'