Conversation
requirements.txt
Outdated
| numpy==1.11.0 | ||
| networkx==1.11 | ||
| -e git+https://github.com/pogodevorg/pgoapi.git/@3a02e7416f6924b1bbcbcdde60c10bd247ba8e11#egg=pgoapi | ||
| -e git+https://github.com/pogodevorg/pgoapi.git#egg=pgoapi |
There was a problem hiding this comment.
I think you need the add the tag? To get the latest update from a branch? This is what I put on my requirements.txt:
-e git+https://github.com/pogodevorg/pgoapi.git/@v0.43.3-alpha#egg=pgoapi
There was a problem hiding this comment.
You can use
-e git+https://github.com/pogodevorg/pgoapi.git/@1a112879f424b518f994b99f43859dd95cd43fdf#egg=pgoapi
for consistency
There was a problem hiding this comment.
Thank you guys, I'll make the change, I knew i had to be missing something in case the repository gets updated
pokemongo_bot/__init__.py
Outdated
| else: | ||
| file_name = 'niantichash32.dll' | ||
| else: | ||
| file_name = 'libniantichash-linux-x86-64.so' |
There was a problem hiding this comment.
No I don't think so, I haven't worked on mac ever so I don't know what to check the _platform variable against? care to help me on that?
There was a problem hiding this comment.
it's 'darwin' on mine, not sure about the linux though
There was a problem hiding this comment.
As far as I understand, the Linux library works for both 32 and 64 bit architecture.
And thank you for the OSX info, I'll make a condition for it
|
I made some changes now. |
if _platform.lower() == "linux" or _platform.lower() == "linux2":
file_name = 'src/pgoapi/pgoapi/lib/libniantichash-linux-x86-64.so'In |
8f95451 to
6f342be
Compare
lukasz138
left a comment
There was a problem hiding this comment.
It is not working on linux 32-bit .
|
@lukasz138 try @enginebai solution, i've updated my branch (in a very ugly way) in order for it to work on linux now. |
|
Exception: Could not find linux2 encryption library /root/pgoapi/PokemonGo-Bot/src/pgoapi/pgoapi/lib/libencrypt-linux-x86-32.so |
|
@lukasz138 run pip install -r requirements.txt to download the new API to the src directory, or maybe I made a mistake, let me know please. |
|
still the same |
|
@lukasz138 I encountered this problem before, and solved by locating the current encryption and hash lib file. Make sure |
|
Problem is in pgoapi/utilities.py : (there is no 32-bit libraries) elif sys.platform.startswith('linux'): |
|
Can you make the PR for extra libs here? https://github.com/pogodevorg/pgoapi/pull/ It'll help me ;) |
|
OK, tell me how ? |
|
This was intended for original op |
|
@nullpixel1 This same PR? to the pogo dev branch? Id be honored. |
|
@pablossp Just PR your binaries 😀 We need people to compile them for us, as we don't have all the binaries |
|
Ohh, I think you might be mistaken, we are actually missing them, @lukasz138 is saying he is having an error because he does not have them. If I get to compile any of them when Im back home Ill be glad to send any missing binaries to the project. |
|
We've got a PR that's got them. I'll review and merge them later |
|
Let me merge and have it run on Linux :) Everybody can't wait to see the green log. |
|
Is bot working after latest update with CP changes? |
Short Description: