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

Make bot compatible with greenlet 0.4.10 #5213

Closed
AhiruDuck opened this issue Sep 5, 2016 · 2 comments
Closed

Make bot compatible with greenlet 0.4.10 #5213

AhiruDuck opened this issue Sep 5, 2016 · 2 comments

Comments

@AhiruDuck
Copy link

Expected Behavior

bot to run

Actual Behavior

bot doesn't run on Mac OS X 10.8.5 with greenlet 0.4.9, used to work with 0.4.10 (updating manually after setup.sh / install requirements)
before the last updates, the bot ran just fine.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

N/A

Output when issue occurred

if installed 0.4.10 - "Some of the required packages are not found / have different version."

if running 0.4.9 -
Traceback (most recent call last):
File "pokecli.py", line 45, in
from pokemongo_bot import PokemonGoBot, TreeConfigBuilder
File "/Users/Ahiru/PokemonGo-Bot/pokemongo_bot/init.py", line 33, in
from pokemongo_bot.socketio_server.runner import SocketIoRunner
File "/Users/Ahiru/PokemonGo-Bot/pokemongo_bot/socketio_server/runner.py", line 5, in
from eventlet import patcher, wsgi
File "/Users/Ahiru/PokemonGo-Bot/lib/python2.7/site-packages/eventlet/patcher.py", line 4, in
from eventlet.support import six
File "/Users/Ahiru/PokemonGo-Bot/lib/python2.7/site-packages/eventlet/support/init.py", line 4, in
from eventlet.support import greenlets, six
File "/Users/Ahiru/PokemonGo-Bot/lib/python2.7/site-packages/eventlet/support/greenlets.py", line 3, in
import greenlet
ImportError: dlopen(/Users/Ahiru/PokemonGo-Bot/lib/python2.7/site-packages/greenlet.so, 2): Symbol not found: __PyTrash_thread_deposit_object
Referenced from: /Users/Ahiru/PokemonGo-Bot/lib/python2.7/site-packages/greenlet.so
Expected in: flat namespace
in /Users/Ahiru/PokemonGo-Bot/lib/python2.7/site-packages/greenlet.so
Seg 5 Set 2016 08:08:31 BRT Pokebot Stopped.

Steps to Reproduce

run .setup.sh -u
then run pip install greenlet --update
(to update from 0.4.9 to 0.4.10, otherwise the bot wouldn't run)

Other Information

OS: OS X 10.8.5

Branch: dev

Git Commit: f60a2ec

Python Version: 2.7.2

Any other relevant files/configs (eg: path files)
greenlet 0.4.10

@rawgni
Copy link
Contributor

rawgni commented Sep 5, 2016

Try

pip install greenlet --update
python pokecli.py

@AhiruDuck
Copy link
Author

@rawgni thank you!
was trying via run.sh - gonna edit the script then! thanks again!

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

2 participants