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

ValueError: bad marshal data (unknown type code) #5719

Closed
barna92 opened this issue Sep 27, 2016 · 4 comments
Closed

ValueError: bad marshal data (unknown type code) #5719

barna92 opened this issue Sep 27, 2016 · 4 comments

Comments

@barna92
Copy link

barna92 commented Sep 27, 2016

Hi,
I used this fantastic Pokemon Go Bot for a week and all was working very well, but today when I opened it, I found the following error :

Traceback (most recent call last):
File "pokecli.py", line 50, in
from pokemongo_bot import PokemonGoBot, TreeConfigBuilder
File "/home/andrea/PokemonGo-Bot/pokemongo_bot/init.py", line 23, in
from . import cell_workers
File "/home/andrea/PokemonGo-Bot/pokemongo_bot/cell_workers/init.py", line 29, in
from .telegram_task import TelegramTask
File "/home/andrea/PokemonGo-Bot/pokemongo_bot/cell_workers/telegram_task.py", line 6, in
from pokemongo_bot.event_handlers import TelegramHandler
File "/home/andrea/PokemonGo-Bot/pokemongo_bot/event_handlers/init.py", line 3, in
from .socketio_handler import SocketIoHandler
File "/home/andrea/PokemonGo-Bot/pokemongo_bot/event_handlers/socketio_handler.py", line 5, in
from socketIO_client import SocketIO
File "/home/andrea/PokemonGo-Bot/local/lib/python2.7/site-packages/socketIO_client/init.py", line 9, in
from .parsers import (
ValueError: bad marshal data (unknown type code)
mar 27 set 2016, 22.34.20, CEST Pokebot Stopped.
Press any button or wait 20 seconds to continue.

I just changed my location in the auth.json file.
What can I do to fix the iusse?
thank you

@crvfts
Copy link
Contributor

crvfts commented Sep 27, 2016

Try deleting the .pyc of all those files listed above (the ones in bot folders, not the one in the Python directory). make sure the extension is .pyc and NOT .py. You're receiving the error due to a corrupted compiled python file.

@Gobberwart
Copy link
Contributor

What he said ^^^

@barna92
Copy link
Author

barna92 commented Sep 29, 2016

It works again!! Thank you very much! :)

@pganeshGapps
Copy link

Thanks, it works 👍

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

4 participants