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

[ERROR] maximum recursion depth exceeded while calling a Python object

Open unbirabka opened this issue 10 years ago • 44 comments

hello dev, this bot script always error like that, can you solved this, thank you

2016-08-07 08:55:27,121 [sentry.errors.serializer] [ERROR] maximum recursion depth exceeded while calling a Python object Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/raven/utils/serializer/manager.py", line 76, in transform return repr(value) File "/usr/lib64/python2.7/ctypes/init.py", line 367, in repr (self._handle & (_sys.maxint*2 + 1)), File "/usr/lib64/python2.7/ctypes/init.py", line 373, in getattr func = self.getitem(name)

unbirabka avatar Aug 07 '16 08:08 unbirabka

Same here. I'm on dev branch 0b319bc243a1b11b17c8639f8d902b41ec233e6c

I have done pip install -r requirement.txt and ./install.sh with no error.

Lunik avatar Aug 07 '16 09:08 Lunik

sure, im on dev branch too, and i have run install.sh and pip install -r requerment.txt but still error

unbirabka avatar Aug 07 '16 09:08 unbirabka

I will try to make a clean install from scratch

Lunik avatar Aug 07 '16 09:08 Lunik

Add the encrypt.so file to the PokemonGo-Bot directory. Here is the download link https://slack-files.com/T1U6G9ZEW-F1YV50RGQ-cc979942b7 . Thx @segflow

slaxmtk avatar Aug 07 '16 09:08 slaxmtk

@slaxmtk where did you get this ? And this is not working... I added it to PokemonGo-Bot/encrypt.so

Lunik avatar Aug 07 '16 09:08 Lunik

@slaxmtk Even after adding this encrypt.so file, the problem persists.

manthan29jamdagni avatar Aug 07 '16 09:08 manthan29jamdagni

my problem still same after download and add encrypt.so

unbirabka avatar Aug 07 '16 09:08 unbirabka

copied the file and it works now

wesley-ontoforce avatar Aug 07 '16 09:08 wesley-ontoforce

For me @slaxmtk fix worked fine! Thanks!

Felix-Weber avatar Aug 07 '16 09:08 Felix-Weber

add encrypto.so , go another error

encrypt.so is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f.

lucasren avatar Aug 07 '16 09:08 lucasren

I had the same issue, adding the encrypt.so file fixes that

yuftao avatar Aug 07 '16 09:08 yuftao

I built encrypt.so, placed it in the project root folder, and I'm still getting:

'OSError: encrypt.so: cannot open shared object file: No such file or directory'

(PokemonGo-Bot) |09:57:30|ubuntu:[PokemonGo-Bot]> ll | grep encrypt.so -rwxrwxrwx 1 ubuntu ubuntu 250416 Aug 7 09:50 encrypt.so

NerdsMcGee avatar Aug 07 '16 10:08 NerdsMcGee

sorry guys. it seems that the encrypt.so only works for MacOS

slaxmtk avatar Aug 07 '16 10:08 slaxmtk

ohh noo.. i use centos 7 64bit, maybe you have link encrypt.so for linux 64bit

unbirabka avatar Aug 07 '16 10:08 unbirabka

Yeah, me using Ubuntu 16.04 and unfortunately doesn't run, I'll try on Arch as well.

abel-n avatar Aug 07 '16 10:08 abel-n

theLastLivingGhost: I compiled encrypt.so from the pgoapi tar, on 16.04, but no dice. Let me know if you have any success.

NerdsMcGee avatar Aug 07 '16 10:08 NerdsMcGee

Im on debian 8, its not working on this OS, either.

elhanarinc avatar Aug 07 '16 10:08 elhanarinc

I have tried:

$ wget http://pgoapi.com/pgoencrypt.tar.gz
$ tar -xf pgoencrypt.tar.gz
$ cd pgoencrypt/src/
$ make

But still doesn't work...

Lunik avatar Aug 07 '16 10:08 Lunik

Lunik: Did you rename the .so generated to encrypt.so?

NerdsMcGee avatar Aug 07 '16 10:08 NerdsMcGee

Got it. Went into init.py, changed encrypt.so to "./encrypt.so" to reference the file I built.

NerdsMcGee avatar Aug 07 '16 10:08 NerdsMcGee