ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #00883
[Bug 790060] Re: Critical apache/mod_wsgi failure on upgrade to python 3.1.3
python31-mod_wsgi-3.3-2.ius has been pushed to IUS Stable, please allow
this package 24hours to sync across all the mirrors.
If you would like to grab the package directly from the root repo you
can do so by downloading it directory:
x86_64
http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/python31-mod_wsgi-3.3-2.ius.el5.x86_64.rpm
i386
http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/python31-mod_wsgi-3.3-2.ius.el5.i386.rpm
** Changed in: ius
Status: New => Fix Released
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/790060
Title:
Critical apache/mod_wsgi failure on upgrade to python 3.1.3
Status in IUS Community Project:
Fix Released
Bug description:
Hello,
(Centos 5, x86_64)
Upon a code deployment this evening, apache failed to restart with
this message:
Starting httpd: httpd: Syntax error on line 55 of
/etc/httpd/conf/httpd.conf: Syntax error on line 1 of
/etc/httpd/conf.d/python31-mod_wsgi.conf: Cannot load
/etc/httpd/modules/python31-mod_wsgi.so into server:
/etc/httpd/modules/python31-mod_wsgi.so: undefined symbol:
PyUnicodeUCS2_DecodeLatin1
After some digging, I noticed that Python had been upgraded to 3.1.3
just a couple days ago (in my case, via yum-cron):
May 26 04:15:47 Updated: python31-3.1.3-2.ius.el5.x86_64
May 26 04:15:47 Updated: python31-libs-3.1.3-2.ius.el5.x86_64
I suspected that mod_wsgi was built against an outdated api/abi in
python, so using mock, I rebuilt against python 3.1.3, installed that
RPM, and everything works fine.
I've attached my SRPM which increments the release and provides a note about the error.
If anyone is in need of a temp hot-fix, the RPM can be found at: http://code.appcove.com/python31-mod_wsgi-3.3-2.ius.el5.x86_64.rpm
Thanks!
Jason Garber
References