Open ghost opened 7 years ago
Do you have another error in the logs, like a module missing? Are you running it on Python 3?
@znat initially it showed 'autocorrect' missing in 'convo_classifiers.py' but I removed the import statement to make it run for a change
That's the error I had too. Once fixed (install the package) it worked, all the clients were connected in time
@znat where can I download it from?
pip install autocorrect
Le mar. 7 févr. 2017 9:23 AM, Nitish Kulshrestha notifications@github.com a écrit :
@znat https://github.com/znat where can I download it from?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kengz/aiva/issues/37#issuecomment-278013878, or mute the thread https://github.com/notifications/unsubscribe-auth/ADhgKtgQUsBxNjP-4CqVN_kkwmhfdSX_ks5raH5ZgaJpZM4L3zT1 .
@znat that failed to work :-1:
Try to start the IO components individually: in on terminal window run this:
npm run server
in another, run this:
python3 ./lib/client.py
See what the outputs are?
A known issue is from the websocket
, if that's the case try a reinstall
pip3 uninstall websocket
pip3 install websocket
@kengz npm run still hung my machine but running client.py showed:
`An incompatible websocket library is conflicting with the one we need. You can remove the incompatible library and install the correct one by running the following commands:
yes | pip uninstall websocket websocket-client pip install -U websocket-client`
but i had it already installed!
Yep that's a known problem with that python dependency. Could you do an uninstall and reinstall for it as shown above? Then retry - that should fix it
On Feb 23, 2017, 6:20 AM -0500, Nitish Kulshrestha notifications@github.com, wrote:
@kengz (https://github.com/kengz) npm run still hung my machine but running client.py showed:
`An incompatible websocket library is conflicting with the one we need. You can remove the incompatible library and install the correct one by running the following commands:
yes | pip uninstall websocket websocket-client pip install -U websocket-client`
but i had it already installed!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/kengz/aiva/issues/37#issuecomment-281966162), or mute the thread (https://github.com/notifications/unsubscribe-auth/AH1Db4xhAAaRVKXNgo4vc0T57qsXD4_Xks5rfWtzgaJpZM4L3zT1).
I successfully uninstalled it but when I install websocket
it says: 'Requirement already up-to-date' :-/
python3? just to be absolute do it in py3 (since aiva uses py3)
python3 -m pip uninstall websocket
python3 -m pip install websocket
I ran 'npm run setup --debug' on my Dell and, like many others here, it would exit as "clients" would fail to join in time and then hang. Increasing the timeout in
src/start-io.js
to 150000 ms also didn't help, so I reduced the client count to a custom 2. It doesn't throw errors, but it still hangs. Any help?