kengz / aiva

AIVA (A.I. Virtual Assistant): General-purpose virtual assistant for developers.
http://kengz.me/aiva/
MIT License
824 stars 596 forks source link

_init.js failling. PolyIO.gClient is not a function. #18

Closed manuchis closed 8 years ago

manuchis commented 8 years ago

Hello, I'm trying to make it work but I have this error that I couldn't find out where comes from:

[Wed Oct 19 2016 13:44:58 GMT+0200 (CEST)] ERROR Unable to load /home/user/GitHub/aiva/scripts/_init: TypeError: polyIO.Client is not a function

I think that configuration is working well, debug before that line is:

[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] INFO Starting poly-socketio server on port: 6466, expecting 3 IO clients
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] DEBUG adapterConfig {
  "ACTIVATE": true,
  "HUBOT_SLACK_TOKEN": "-mytoken-"
}
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] DEBUG import js lib from client.js
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] INFO Starting socketIO client for js at 6466
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] INFO Starting socketIO client for python3 at 6466
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] DEBUG Set SLACK PORT: 8345
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] DEBUG No WEBHOOK set for adapter SLACK
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] INFO Deploying bot aivadev with adapter SLACK
[Wed Oct 19 2016 13:44:53 GMT+0200 (CEST)] DEBUG js YjBROj4Z-tFL-zDOAAAA joined, 2 remains
[Wed Oct 19 2016 13:44:54 GMT+0200 (CEST)] DEBUG py 2q3FQ61SQCHDERP8AAAB joined, 1 remains
[Wed Oct 19 2016 13:44:56 GMT+0200 (CEST)] INFO Logged in as bot1_test_cs of Geo-C
[Wed Oct 19 2016 13:44:57 GMT+0200 (CEST)] INFO Slack client now connected

I hope you can help me. thanks

kengz commented 8 years ago

Oh hey, a breaking update to the polyIO dependency broke it. Just updated the master and retested. Pls update your fork:

git remote add upstream https://github.com/kengz/aiva.git
git fetch upstream
git merge upstream/master

or your repo clone:

git pull
manuchis commented 8 years ago

Awesome, tnks

kengz commented 8 years ago

Fixed in commit v4.2.1