You are not logged in.

#1 2011-04-05 17:44:28

8steve8
Member
Registered: 2011-04-05
Posts: 1

mod_wsgi 3.3 and python 3.2 fail?

I did this before in previous installation, back when mod_wsgi 3.2 and python 3.1.1 was current....

I tried doing it again, and followed https://wiki.archlinux.org/index.php/Mo … Python_3.1
, but the current version of python is now 3.2, and with some coaxing, makepkg -s will work, and the install seems to go ok, but then I get an error when trying to restart apache with the mod_wsgi loaded.


My errors and situation is almost identical to the one described here: http://ubuntuforums.org/showthread.php?t=1702377

has anyone successfully got this working? if so any help?

Offline

#2 2011-04-26 08:05:28

ismailtaha
Member
Registered: 2009-06-12
Posts: 3

Re: mod_wsgi 3.3 and python 3.2 fail?

Hi Steve,

I had the same problem and i have stop trying with abs and downloaded the latest sources. While compiling there exists the same problem. I have solved the problem using the last post of the ubuntu forums link you have specified: http://ubuntuforums.org/showpost.php?p= … ostcount=4

But after compiling and installing the mod_wsgi i couldn't be able to test the example code given at arch wiki. I took such the following error:

@Browser

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.

Error 500

**.**.**.**
Tue Apr 26 11:00:05 2011
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.0d DAV/2 mod_wsgi/4.0-TRUNK Python/3.2

@error_log

[Tue Apr 26 10:51:14 2011] [error] [client **.**.**.**] mod_wsgi (pid=6981): Exception occurred processing WSGI script '/path/to/app/wsgi_app.py'.
[Tue Apr 26 10:51:14 2011] [error] [client **.**.**.**] TypeError: sequence of byte string values expected, value of type str found


İsmail Taha AYKAÇ
www.ismailtaha.com

Offline

Board footer

Powered by FluxBB