dgw / sopel-wolfram

Wolfram|Alpha plugin for the Sopel IRC framework
Other
5 stars 1 forks source link

Does not work with wolframalpha 3.0 #5

Closed dgw closed 7 years ago

dgw commented 8 years ago

Upgrading wolframalpha package to 3.0 broke this module on my instance (Py2.7).

[01:32:15] <~dgw> ;wa dgw
[01:32:23] <&Kaede> TypeError: object of type 'itertools.imap' has no len()
                    (file "/usr/local/lib/python2.7/dist-packages/sopel_modules/wolfram
                    /wolfram.py", line 52, in wa_query)

Prior to this update it was working fine. Reinstalling wolframalpha 2.4 and restarting the bot fixed it.

There will be two steps to fixing this issue, and a third step for the future once enough time has passed:

The most pressing issue right now is preventing users from upgrading to wolframalpha 3.0, so a new release with the first requirements update will be pushed soon was pushed shortly after posting of this issue.

dgw commented 7 years ago

Everything planned for this is now done. Closing.