PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Crash at startup

Open Yanush7 opened this issue 10 years ago • 6 comments

Expected Behavior

Opening and running a bot.

Actual Behavior

Error:

Traceback (most recent call last): File "C:\Git\PokemonGo-Bot\pokecli.py", line 40, in from pokemongo_bot import PokemonGoBot File "C:\Git\PokemonGo-Bot\pokemongo_bot__init__.py", line 22, in from pokemongo_bot.event_handlers import LoggingHandler File "C:\Git\PokemonGo-Bot\pokemongo_bot\event_handlers__init__.py", line 2, in from socketio_handler import SocketIoHandler File "C:\Git\PokemonGo-Bot\pokemongo_bot\event_handlers\socketio_handler.py", line 2, in from socketIO_client import SocketIO ImportError: No module named socketIO_client`

Steps to Reproduce

Running pokecli.py

Other Information

OS: Windows 7 Git Commit: dfa4f78f85e391e7bc9c6757478e68f724e108fc

Yanush7 avatar Jul 29 '16 13:07 Yanush7

run pip install -r requirements.txt

hlavicka avatar Jul 29 '16 13:07 hlavicka

Duplicated #1596

Lunik avatar Jul 29 '16 13:07 Lunik

Should i comment this one or the one linked in your comment (but that one is already closed)?

Now got this error: Traceback (most recent call last): File "pokecli.py", line 408, in main() File "pokecli.py", line 52, in main config = init_config() File "pokecli.py", line 117, in init_config load.update(json.load(data)) File "C:\Python27\lib\json__init__.py", line 290, in load **kw) File "C:\Python27\lib\json__init__.py", line 338, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting , delimiter: line 47 column 7 (char 1293)

Yanush7 avatar Jul 29 '16 13:07 Yanush7

OS INFO: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty

ERROR: [15:21:43] PokemonGO Bot v1.0 Traceback (most recent call last): File "pokecli.py", line 417, in main() File "pokecli.py", line 52, in main config = init_config() File "pokecli.py", line 113, in init_config load.update(json.load(data)) File "/usr/lib/python2.7/json/init.py", line 290, in load **kw) File "/usr/lib/python2.7/json/init.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting , delimiter: line 6 column 18 (char 164)

tiagodiogo avatar Jul 29 '16 14:07 tiagodiogo

I tried everything (reinstalling requirements etc.) and finally decided to make a clean install. I backed up my config.json, deleted PokemonGo-Bot folder and: $ git clone -b master https://github.com/PokemonGoF/PokemonGo-Bot $ cd PokemonGo-Bot $ virtualenv . $ source bin/activate $ pip install -r requirements.txt $ git submodule init $ git submodule update

It is working now.

Yanush7 avatar Jul 29 '16 14:07 Yanush7

Duplicate of https://github.com/PokemonGoF/PokemonGo-Bot/issues/1596

/closed

AdaptCharm avatar Jul 29 '16 18:07 AdaptCharm