Re: [web2py] Re: "No module named 'google' " in app using the YouTube Data API

2019-11-08 Thread Jim Steil
I found my problem. One of my sub-modules was silently failing to install. Fixed that and now all importing fine. On Fri, Nov 8, 2019 at 8:33 AM Jim S wrote: > I'm having the same problem. Not with the google package but with my own. > > I'm trying to import: > > from qlf import util > >

[web2py] Re: "No module named 'google' " in app using the YouTube Data API

2019-11-08 Thread Jim S
I'm having the same problem. Not with the google package but with my own. I'm trying to import: from qlf import util But, the custom importer is trying to import: applications.connect.modules.qlf ...which doesn't exist ('connect' is my application name) Anyone solve this? -Jim On Friday,

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
Okay, thanks for the attention on the answers, hug! Em sex., 8 de nov. de 2019 às 10:14, Jose C escreveu: > > >> What do you think about Joe Barnhart's solution? >> My point with redis is that I am using database sessions, finally my >> goal is to unburden it since I have plenty of RAM on the

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Jose C
> What do you think about Joe Barnhart's solution? > My point with redis is that I am using database sessions, finally my > goal is to unburden it since I have plenty of RAM on the application > server ... > I haven't tried it but as Joe says his patch was rejected but I'm not sure why.

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
What do you think about Joe Barnhart's solution? My point with redis is that I am using database sessions, finally my goal is to unburden it since I have plenty of RAM on the application server ... Em sex., 8 de nov. de 2019 às 09:41, Jose C escreveu: > > Hi Aureo, > > You're hitting a bug in

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Jose C
Hi Aureo, You're hitting a bug in web2py's redis session implementation that does not yet have a fix. Basically redis cannot be used for sessions at this stage with web2py 2.18.5 and either versions 2 or 3 of the redis python library. see (for your bug):

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
3.3.11 Em sex., 8 de nov. de 2019 às 09:14, Jose C escreveu: > > >> Web2py: 2.18.5-stable+timestamp.2019.04.08.04.22.03 (running on >> gunicorn/19.9.0, Python 2.7.15+) >> py-redis: 4.0.9 >> Redis server v=4.0.9 sha=:0 malloc=jemalloc-3.6.0 bits=64 >> build=9435c3c2879311f3 >> redis-cli

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Jose C
> Web2py: 2.18.5-stable+timestamp.2019.04.08.04.22.03 (running on > gunicorn/19.9.0, Python 2.7.15+) > py-redis: 4.0.9 > Redis server v=4.0.9 sha=:0 malloc=jemalloc-3.6.0 bits=64 > build=9435c3c2879311f3 > redis-cli 4.0.9 > OS: Ubuntu 18.04.1 LTS > > HI Aureo, Which version of

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
Hello, yes: Web2py: 2.18.5-stable+timestamp.2019.04.08.04.22.03 (running on gunicorn/19.9.0, Python 2.7.15+) py-redis: 4.0.9 Redis server v=4.0.9 sha=:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3 redis-cli 4.0.9 OS: Ubuntu 18.04.1 LTS Em sex., 8 de nov. de 2019 às 05:09, Jose

[web2py] Re: Error with sessions on redis

2019-11-08 Thread Jose C
I can't reproduce this error with my particular setup. Can you post details about which versions of software you're running? Specifically web2py, python, py-redis module, redis itself and which os? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -