Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error starting bot #3855

Closed
Dexter145 opened this issue Aug 13, 2016 · 5 comments
Closed

Error starting bot #3855

Dexter145 opened this issue Aug 13, 2016 · 5 comments

Comments

@Dexter145
Copy link

Dexter145 commented Aug 13, 2016

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: 1817d00 / b21b144
Python Version: Python 2.7.3

@siembz
Copy link

siembz commented Aug 13, 2016

I have the same problem

@bruvv
Copy link
Contributor

bruvv commented Aug 13, 2016

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.

@k4n30
Copy link
Contributor

k4n30 commented Aug 14, 2016

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

@leftie1
Copy link

leftie1 commented Aug 14, 2016

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

@Dexter145
Copy link
Author

Thank you @leftie1, bot works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants