AssertionError: assert sys.modules[modname] is old_mod
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
This problem is opened at ID #2905909.
I want to attach file, which tells what is in old_mod and mod variables.
This problem has been described by me at: http://stackoverflow.com/questions/9479239/running-two-django-apps-on-apache-with-mod-auth-sspi-and-mod-wsgi
Log file and modified pywintypes.py
this link has a solution:
http://stackoverflow.com/questions/5969669/multiple-django-sites-on-apache-windows-mod-wsgi-problem-with-win32
but why is this required to get it working?
It appears mod-wsgi is using multiple python interpreters, which pywin32 doesn't support.
Just commenting out the assert may lead to a number of problems when the second
interpreter uses objects created in the first.
However, this same error can also happen when reloading pywintypes in python 3.
I'll see if I can find a way to make sure reloading works.