ImportError with pickle (Python 2.7.9), possibly platform dependent

Chris Angelico rosuav at
Thu Apr 30 02:44:53 CEST 2015

On Thu, Apr 30, 2015 at 2:01 AM, Ben Sizer <kylotan at> wrote:
> 1) There clearly is a module named OMDBMap, and it's importable - it's there in the 2nd line of the traceback.
> Does anybody have any suggestions on how I can go about debugging this? Or refactoring it to avoid whatever is happening here?

Are you half way through importing it when this load() call happens?
That might cause some issues.

Has your current directory been changed anywhere in there?

What happens if you catch this exception and print out sys.modules at
that point?


More information about the Python-list mailing list