It seems to be working now after restarting Apache using:
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist This restarts the parent process of the Apache instance Server.app uses. Because I built my own Apache, "launchctl" doesn't work. When Apache starts it reports: Apache/2.2.22 (Unix) mod_wsgi/3.4 Python/3.2.3 To answer your question: otool -L /usr/local/apache2/modules/mod_wsgi.so /usr/local/apache2/modules/mod_wsgi.so: /usr/local/python-3.2.3/frameworks/Python.framework/Versions/3.2/Python (compatibility version 3.2.0, current version 3.2.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 744.1.0) So I am going to assume this import failure occured because I only restarted the Apache instance Server.app uses and not its parent process. -- Gnarlie On Sunday, October 28, 2012 8:31:46 PM UTC-6, Graham Dumpleton wrote: > > That is the wrong solution and should have made no difference. > > More likely it went away because you stopped and started Apache. > > When changing Apache modules doing just a 'restart' doesn't always work. > > Please do what I asked you to do with otool -L and post the results > and also ensure you are doing a complete stop and start of Apache when > you are installing a new module, especially one which may be using a > different Python version. > > Graham > > On 29 October 2012 13:27, Gnarlodious <[email protected] <javascript:>> > wrote: > > Solved: > > I removed processes=1 threads=1 from my config and the threading module > > imports normally. You may want to keep that in mind for future > reference. > > > > The sqlite3 concurrency problem remains, however… but only in mod_wsgi. > I > > get error: > > AttributeError: '_thread._local' object has no attribute 'ramDB' > > > > Will study that tomorrow. > > > > -- Gnarlie > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "modwsgi" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/modwsgi/-/PC_iEt4nOyYJ. > > > > To post to this group, send email to [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > 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 view this discussion on the web visit https://groups.google.com/d/msg/modwsgi/-/uZ4bUrOFqjcJ. 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.
