[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
This bug was fixed in the package mod-wsgi - 3.3-2ubuntu2 --- mod-wsgi (3.3-2ubuntu2) natty; urgency=low * Full python = 3.2 support (LP: #759943): - debian/patches/fix-python-3.2-lp-749720.patch: removed - superceded by python-3.2-compat.patch. - debian/patches/python-3.2-compat.patch: full patch to support python = 3.2 from Graham Dumpleton. -- James Page james.p...@canonical.com Tue, 19 Apr 2011 08:22:47 +0100 ** Changed in: mod-wsgi (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
Thanks Graham I'll update the package with the supplied patch and propose a merge for natty today. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Branch linked: lp:~james-page/ubuntu/natty/mod-wsgi/fix-759943 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Changed in: mod-wsgi (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Changed in: mod-wsgi (Ubuntu) Assignee: (unassigned) = James Page (james-page) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Branch linked: lp:~james-page/ubuntu/natty/mod-wsgi/fix-759943 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
Patch from mod_wsgi 4.0 has been back port to mod_wsgi 3.X and can be obtained from: http://code.google.com/p/modwsgi/source/detail?r=8633d5afeea845a12c028cfae31dc828c5ce8908 Patch has also been sent to Bernd and Piotr. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
Okay, you can view the differences, but seems GoogleCode site doesn't make it easy to download a patch file for differences. So, have attached patch here as well. The patch is against mod_wsgi 3.3, but should still apply properly to mod_wsgi 3.2. Recommended that this only be applied when building for Python 3.2 as not sure if changes will in Python 2.X prevent mod_python from being used at same time as mod_python's use of threading APIs broken and have worked around that in the past. Now that mod_wsgi does things by the book, there may be issues. ** Patch added: Patch to mod_wsgi 3.3 from mod_wsgi site. https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/759943/+attachment/2064600/+files/patch-3.diff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
Confirm on up-to-date Natty amd64: Fatal Python error: PyEval_AcquireLock: current thread state is NULL apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [Fri Apr 15 15:29:21 2011] [notice] Apache/2.2.17 (Ubuntu) mod_wsgi/3.3 Python/3.2 configured -- resuming normal operations [Fri Apr 15 15:29:21 2011] [notice] child pid 4480 exit signal Aborted (6) Fatal Python error: PyEval_AcquireLock: current thread state is NULL [Fri Apr 15 15:29:22 2011] [notice] child pid 4479 exit signal Aborted (6) [Fri Apr 15 15:29:35 2011] [notice] SIGUSR1 received. Doing graceful restart Fatal Python error: PyEval_AcquireLock: current thread state is NULL apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [Fri Apr 15 15:29:35 2011] [notice] Apache/2.2.17 (Ubuntu) mod_wsgi/3.3 Python/3.2 configured -- resuming normal operations [Fri Apr 15 15:29:35 2011] [notice] child pid 4560 exit signal Aborted (6) Fatal Python error: PyEval_AcquireLock: current thread state is NULL [Fri Apr 15 15:29:36 2011] [notice] child pid 4590 exit signal Aborted (6) ** Changed in: mod-wsgi (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Tags added: server-nrs -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Changed in: mod-wsgi (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
** Changed in: mod-wsgi (Ubuntu) Milestone: None = ubuntu-11.04 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 759943] Re: mod_wsgi.so-3.2 gives errors
barry jamespage: http://docs.python.org/dev/whatsnew/3.2.html [11:48] barry The misleading functions PyEval_AcquireLock() and PyEval_ReleaseLock() have been officially deprecated. The thread-state aware APIs (such as PyEval_SaveThread() and PyEval_RestoreThread()) should be used instead. barry i see PyEval_AcquireLock in the error logs so perhaps mod_wsgi is using those api's incorrectly [11:49] jamespage barry: upstream trunk has removed all but one call to PyEval_AcquireLock() so I guess its something todo with that. barry jamespage: yep, highly likely barry jamespage: i guess mod_wsgi totally unusable in natty w/py3.2? jamespage barry: yep - even Hello World would not work jamespage barry: my feel would be to remove the python3.2 built version of the module for natty; and sync up again next release when upstream officially support. [11:51] barry jamespage: seems reasonable. i wonder if doko or ScottK can chime in barry jamespage: and we can always build the new version in a ppa for natty ScottK barry: I think POX and bzed would be the ones to hear from. [11:53] ScottK (since they are the mod-wsgi maintainers) The upshot is that mod-wsgi won't work for Python 3.2 in natty. Is it worth removing the 3.2 build for natty? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs