wordnik / wordnik-python3

wordnik python3 library
74 stars 13 forks source link

WOTD failing today... #11

Open dripp33 opened 1 year ago

dripp33 commented 1 year ago

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'

emckean commented 1 year ago

Hi, just checking -- is this still failing for you?