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

Classes in __main__ modules will not work as arguments. #30

Open
dan-blanchard opened this issue May 7, 2014 · 1 comment
Open

Classes in __main__ modules will not work as arguments. #30

dan-blanchard opened this issue May 7, 2014 · 1 comment

Comments

@dan-blanchard
Copy link
Contributor

I'm not sure if this is a bug or just a limitation at this point, but if you have an executable script that defines a class in it, and then you try to pass an object of that type to grid_map, you will run into a pickling error, because it can't find the __main__ module when it tries to unpickle it.

@dan-blanchard dan-blanchard changed the title Classes in __main__ modules will not work as arguments. Classes in __main__ modules will not work as arguments. May 7, 2014
@dan-blanchard dan-blanchard removed this from the 1.0 milestone Aug 4, 2014
@dan-blanchard
Copy link
Contributor Author

I'm more convinced this is just simply a limitation of pickling at this point, so I'm no longer marking it a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant