I figured it out, at last!  It was a mod_wsgi issue with loading C 
extension module:
https://serverfault.com/questions/514242/non-responsive-apache-mod-wsgi-after-installing-scipy/514251#514251

Adding:

WSGIApplicationGroup %{GLOBAL}

in my apache .conf file fixed it.



On Friday, April 28, 2017 at 12:50:56 PM UTC+2, Nicolas Petitclerc wrote:
>
> Hi,
>
> I need to update pandas - web2py uses the Ubuntu distribution version 
> (which is getting old Pandas 0.17.0). So I pip installed the latest version 
> into 'web2py/site-packages/' but then the page hangs for like 5min and then 
> all I get is this error message in /var/log/apache2/error.log :
> [Fri Apr 28 10:24:17.228021 2017] [core:error] [pid 8261] [client 
> 81.133...] End of script output before headers: wsgihandler.py, referer: 
> https://.../user/login?_next=/... 
>
> And I get a 'Internal Server Error' in the browser.
>
> Any idea, what could be wrong, or help debugging this further?
>
> Setup: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.21 OpenSSL/1.0.1f 
> mod_wsgi/3.4 Python/2.7.6
>
> BTW I tried switching to nginx, but that opened up an other can of worm... 
> and I ended up giving up after getting a Segmentation Fault from uwsgi... 
>  in hindsight I should have checked if it was that same issue with pandas, 
> but I curled up in a ball and cried instead...
>
> PS updating pandas also updates: six, numpy and dateutil 
>
> Thanks,
> Nicolas
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to