You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: