Can you provide the traceback? You can also try adding:
PYTHONVERBOSE=1 export PYTHONVERBOSE into the 'envvars' file in same directory as httpd and stop/start Apache. This will cause Python to log stuff about all the imports it is doing, where it is looking etc. It may help to clarify at least where it is looking for stuff. Graham On 5 April 2011 05:09, Max <[email protected]> wrote: > Hi! > > I'm new to this group and that is my reason for joining: > > The latest Apple Security Update installed the latest Apache release > 2.2.17 > > I use this server for the development of a Django based website. After > the update the localhost didn't load the Django site anymore. > The Apache update motivated me to install all the new software > available for the complete project, before figuring out and fixing all > the failure messages. (Intended to be a heroic step, now it seems > silly.) > > Software related to this website project and versions (before and > now): > Apache 2.2.13 to 2.2.17 > Django 1.1.1 to 1.3 > mod_wsgi 2.3 to 3.3 > MySQL 5.1.31 to 5.5.10 > mySQLdb 1.2.3.b1 to 1.2.3 > Python 2.5 to 2.7.1 > Mac OS X 10.5.8 > > It was a long way to get there. There were difficulties with > architectures etc. > > Now I have Django running and it nicely displays: > > Caught ViewDoesNotExist while rendering: Could not import > myproject.Models.amodel.views. Error was: No module named _thread > > From the Django traceback I can't figure out which script wants to > import module _thread. > Neither my project nor Django imports it. > > From python.org I found out that _thread is the module name in Python > version 3.x for module thread (in Python 2.x). > > I was checking parts of the mod_wsgi source code but couldn't find a > hint. > I switched software versions... Python to 2.6.6, mod_wsgi back to 2.3, > Django back to 1.1.1 and 1.2.5. > The error remained. > I never had Python 3.x installed, so no other software was installed > against this version. > > I hope someone in this group can give me a hint where to look; Or even > better, someone knows which script wants to import a non-existent > module. > > Thanks for help, > Max > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
