Parent module not loaded error

Ståle Undheim staaleu at gmail.com
Wed Jan 14 12:39:21 CET 2009


On Jan 14, 11:48 am, Graham Dumpleton <Graham.Dumple... at gmail.com>
wrote:
> As a test, just prior to where unpickle is done, do:
>
>   import sys
>   import d4
>
>   print >> sys.stderr, "d4.__name__", dr.__name__
>   print >> sys.stderr, "d4.__file__", dr.__file__
>
> This will just confirm that manual import works and what values of
> those attributes are. The messages will end up in Apache error log for
> that virtual host or main server error log as appropriate.

d4.__name__ d4
d4.__file__ /home/petromarker/django-apps/d4/src/d4/../d4/__init__.pyc

It's the same both before and after the exception.



More information about the Python-list mailing list