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

Error starting bot

Open Dexter145 opened this issue 10 years ago • 5 comments

Expected Behavior

Bot starting

Actual Behavior

Error: Traceback (most recent call last): File "pokecli.py", line 42, in from pokemongo_bot import PokemonGoBot, TreeConfigBuilder File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 29, in from pokemongo_bot.socketio_server.runner import SocketIoRunner File "/root/PokemonGo-Bot/pokemongo_bot/socketio_server/runner.py", line 5, in from eventlet import patcher, wsgi File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/patcher.py", line 4, in from eventlet.support import six File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/support/init.py", line 4, in from eventlet.support import greenlets, six File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/support/greenlets.py", line 3, in import greenlet ImportError: /root/PokemonGo-Bot/local/lib/python2.7/site-packages/greenlet.so: undefined symbol: _PyTrash_thread_deposit_object Sat Aug 13 16:43:27 CEST 2016 Pokebot configs/config.json Stopped. Press any button or wait 20 seconds to continue.

Your config.json (remove your credentials and any other private info)

default, only login, gmap and location entered.

Steps to Reproduce

Other Information

OS: Debian 7 Branch: dev and master, tried both Git Commit: 1817d008db17c79447763c9708bb402526a5d338 / b21b1449156b730fc224ed238f5b8bba606fe0f9 Python Version: Python 2.7.3

Dexter145 avatar Aug 13 '16 14:08 Dexter145

I have the same problem

siembz avatar Aug 13 '16 16:08 siembz

Stop! Before you create this issue (you can delete this section when opening the issue):

  1. Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check.
  2. Have you searched to see if there are other issues for the same issue? If so, comment on that issue instead.
  3. Are you running master? We work on the dev branch and then add that functionality to master. Your issue may be fixed on dev and there is no need for this issue, just wait and it will eventually be merged to master.

please follow the steps and answer the questions.

bruvv avatar Aug 13 '16 17:08 bruvv

Doesn't look like you have run the setup correctly - https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/docs/installation.md

k4n30 avatar Aug 14 '16 02:08 k4n30

Issue with Python 2.7.3 on Debian/Ubuntu. Try: source bin/activate pip freeze | grep "greenlet" | xargs pip uninstall -y pip install greenlet==0.4.9 pip install -r requirements.txt

leftie1 avatar Aug 14 '16 03:08 leftie1

Thank you @leftie1, bot works fine now.

Dexter145 avatar Aug 14 '16 11:08 Dexter145