[web2py] Re: Cassandra and web2py

2017-05-23 Thread Nicolas Petitclerc
Sorry, it took me a while to test that out, but it works great! Thank you, that's exactly what I needed. I had to wrap my head around how cache works, but this tread help me out: https://groups.google.com/forum/#!topic/web2py/w1b5ZvO9JqY -- Resources: - http://web2py.com - http://web2py.com/b

[web2py] Re: wsgihandler.py hangs after updating pandas library

2017-05-22 Thread Nicolas Petitclerc
, 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

[web2py] Re: wsgihandler.py hangs after updating pandas library

2017-05-22 Thread Nicolas Petitclerc
sgi:error] [pid 26699] [client ...] Timeout when reading response headers from daemon process 'web2py': .../web2py/wsgihandler.py, referer: ... Not too sure how to debug this further, any idea? On Friday, April 28, 2017 at 12:50:56 PM UTC+2, Nicolas Petitclerc wrote: > >

[web2py] Re: wsgihandler.py hangs after updating pandas library

2017-05-22 Thread Nicolas Petitclerc
Perhaps updating mod_wsgi to latest (4.5.15) would help? 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

[web2py] Re: wsgihandler.py hangs after updating pandas library

2017-05-22 Thread Nicolas Petitclerc
I installed pandas 0.20.0 to 'web2py/site-packages/' so that I could easily revert back to the previous version. If I install 0.20.0 globally, I get the same error with wsgihandler.py :/ On Friday, April 28, 2017 at 12:50:56 PM UTC+2, Nicolas Petitclerc wrote: > > Hi, >

[web2py] wsgihandler.py hangs after updating pandas library

2017-04-28 Thread Nicolas Petitclerc
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

[web2py] Re: Cassandra and web2py

2017-03-29 Thread Nicolas Petitclerc
Hi, I'm using external Python driver (e.g., https://github.com/datastax/python-driver) to use Cassandra in web2py, but the issue I have is that I need to get a new Cassandra connection on every query (and this is quite slow, 2-3 sec). *So I wonder if there is a way to preserve a connection?*