← Back to team overview

ladon-dev-team team mailing list archive

[Question #299794]: Apache errlog _Py_open: Assertion `PyGILState_Check()' failed

 

New question #299794 on ladon:
https://answers.launchpad.net/ladon/+question/299794

Environment: 
Apache/2.2.31 (Unix) mod_wsgi/4.5.3
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Linux lg10 2.6.38.1 #1 SMP Thu Apr 14 05:36:26 CST 2011 i686 i686 i386 GNU/Linux

this RedHat 5 server only one IP can send file to it

so I download the python3.5.2,  mod_wsgi  and complied them by source
 and use pip download ladon to a file and sent to server and install it by  sudo pip3.5 install --no-index --find-links /tmp/ladon ladon

httpd.conf:

    #WSGIDaemonProcess XXXXX.tw processes=2 threads=15 display-name=%{GROUP}
    #WSGIProcessGroup XXXXX.tw
    #WSGIScriptReloading On
    WSGIScriptAlias /service /disk1/websrv/ladon/lyopendata/handler.py

I request by calling "http://domain.name/service"; 
but the server did'n respond


Apache2 error_log:
httpd: Python/fileutils.c:996: _Py_open: Assertion `PyGILState_Check()' failed.
httpd: Python/fileutils.c:996: _Py_open: Assertion `PyGILState_Check()' failed.
[Thu Jul 21 21:30:27 2016] [notice] child pid 22509 exit signal Aborted (6)
[Thu Jul 21 21:30:27 2016] [notice] child pid 22513 exit signal Aborted (6)


others website on this server all work
I set a "hello world" WSGI also work


where the problem(s?) may be?
I don't have any idea..

-- 
You received this question notification because your team Ladon
Developer is an answer contact for ladon.