-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix for linux not loading encrypt.so #2643
Conversation
Please submit to the dev branch. we need platform related code since the fix will not work on win, right? |
the fix won't work on windows, since (I think) windows expects a .dll file. We should add a check before running to see if Gonna work on that tomorrow. |
Sure, thanks a lot, we can wait for :) |
Seems like this is needed on Linux, however where would you obtain the |
Digging around and found this. So compile the file from here; http://pgoapi.com/ |
@louisgv Thanks a lot. |
Confirmed working on linux. To build, download the archive from http://pgoapi.com/, extract, then:
Then do some pip upgrade. Afterward run as usual. |
it works for me :) (I'm running bot on Win10's LinuxSubsystem) |
Also worked for me, |
Strange i still can`t run and got error: Still same effect :-( Full log from run: |
Using the change to init.py:
Works great for me. What are all the other changes in the file there for? I think they should be in different pull requests as they seem to have no relevance to this one. |
Yep i just find this info... |
Takenek What did you have to do.... change the init.py file? I couldn't find that file |
Go look at the pull request diff and copy those changes, On Sun, Aug 7, 2016 at 3:11 AM Aaronucci notifications@github.com wrote:
|
@takenek in config set "health_record": false |
@Aaronucci |
@imvikash00 Okay I made the change per the pull to init.py but still getting this: And I did pull the encrypt file and copy it to the root of the PokemonGo-Bot folder. Which its' full path is just /PokemonGo-Bot Would it be easier to use the suggestion nburn said and just pull the files with git, however not sure how to go about that other then git clone |
Works for me +1 |
This is hardcoded for Linux. Needs a better solution that works on Linux, Darwin and Windows at the same time. |
Figured it out. Need to compile the encrypt.so for linux |
I made this branch really tired yesterday, and no dev should work without sleeping. Please ignore this one. |
If you're still having problems after putting the correct encrypt.so (or dll) into the directory, try this: sudo pip uninstall -y certifi This will fix the error: |
Short Description:
Linux users weren't able to load
encrypt.so
. I added the absolute path and now it's working.Also, "formatted" was mispelled in some places as "formmated".