Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WOTD failing today... #11

Open
dripp33 opened this issue Dec 27, 2022 · 1 comment
Open

WOTD failing today... #11

dripp33 opened this issue Dec 27, 2022 · 1 comment

Comments

@dripp33
Copy link

dripp33 commented Dec 27, 2022

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
Copy link
Member

emckean commented Jan 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants