Skip to content

WOTD failing today... #11

@dripp33

Description

@dripp33

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions