Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #89592
| References | <494551ca-532f-4d4d-aff0-a3932416c8f4@googlegroups.com> |
|---|---|
| Date | 2015-04-30 10:44 +1000 |
| Subject | Re: ImportError with pickle (Python 2.7.9), possibly platform dependent |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.108.1430354695.3680.python-list@python.org> (permalink) |
On Thu, Apr 30, 2015 at 2:01 AM, Ben Sizer <kylotan@gmail.com> 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? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ImportError with pickle (Python 2.7.9), possibly platform dependent Ben Sizer <kylotan@gmail.com> - 2015-04-29 09:01 -0700
Re: ImportError with pickle (Python 2.7.9), possibly platform dependent Chris Angelico <rosuav@gmail.com> - 2015-04-30 10:44 +1000
Re: ImportError with pickle (Python 2.7.9), possibly platform dependent Ben Sizer <kylotan@gmail.com> - 2015-05-01 04:01 -0700
Re: ImportError with pickle (Python 2.7.9), possibly platform dependent Chris Angelico <rosuav@gmail.com> - 2015-05-01 22:09 +1000
Re: ImportError with pickle (Python 2.7.9), possibly platform dependent Ben Sizer <kylotan@gmail.com> - 2015-05-13 03:23 -0700
Re: ImportError with pickle (Python 2.7.9), possibly platform dependent Peter Otten <__peter__@web.de> - 2015-05-01 14:34 +0200
Re: ImportError with pickle (Python 2.7.9), possibly platform dependent Ben Sizer <kylotan@gmail.com> - 2015-05-13 03:27 -0700
csiph-web