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

raise pickle.PicklingError(msg) #45

Closed
serenaTangarfff opened this issue May 6, 2020 · 2 comments
Closed

raise pickle.PicklingError(msg) #45

serenaTangarfff opened this issue May 6, 2020 · 2 comments

Comments

@serenaTangarfff
Copy link

When I trained the game, an error raised "raise pickle.PicklingError(msg)". Why raised this error ?

raise pickle PicklingError(msg)

@werner-duvaud
Copy link
Owner

Hi,

It seems you have reached the python maximum recursion depth with pickle.

What game do you get this with?

Increasing the python recursion limit should solve your problem.
You can insert something like that at the begining of the actor python files:

import sys
sys.setrecursionlimit(10000)

@serenaTangarfff
Copy link
Author

@werner-duvaud Thanks. The problem has been solved.

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