ironman5366 / W.I.L.L

A python written personal assistant
https://willbeddow.com
MIT License
377 stars 58 forks source link

WolframAlpha error: invalid appid #20

Closed Rich700000000000 closed 8 years ago

Rich700000000000 commented 8 years ago

Whenever I ask a question, I get this:

/usr/local/lib/python2.7/dist-packages/wolframalpha/__init__.py:15: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if not error: [15:54:51]: Error 1: Invalid appid 127.0.0.1 - - [03/Mar/2016 15:54:51] "GET /?context=command&command=Who%20is%20ObamaHTTP/1.1" 200 - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:120:``InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning {"ok":false,"error":"channel_not_found"}

What could be the cause?

brenttaylor commented 8 years ago

Looks like you haven't added your wolframalpha appid to your config file or you've entered it improperly.

Rich700000000000 commented 8 years ago

This is my JSON:

{ "slack": { "token": "xoxb-24207545430-72CHSWMK4p3K4IRjfIPNNXof", "domain": "richcenturyai.slack.com", "username": "willai", "channel": "general" }, "wolfram": { "keys": ["X6QJAV-8KPEXQ6JJ9"] }, "autoremote": { "key": "" } }

(Don't worry, I altered the keys.)

Should it look different than that?

brenttaylor commented 8 years ago

That looks correct. For whatever reason, it took 24 hours for my wolfram alpha key to start working when I started on this project. I'm guessing you're running into the same problem.

Rich700000000000 commented 8 years ago

Thanks, I'll check back tomorrow.

ironman5366 commented 8 years ago

Everything looks to be solved here. If it doesn't work tomorrow I'll look into possible errors.

Rich700000000000 commented 8 years ago

OK, so it's been a day and It's working now, thanks.