WooHoo! I think I finally figured it out.

Python redis package was at a different level on the other machine.

Python redis 2.10.6 works
Python redis 3.0.1 does not.  Seems to only want strings passed to it.

On my new server I ->   pip install redis==2.10.6    and now it works.

By default it is installing 3.0.1.

3.0.1 is breaking backward compatibility ->  https://pypi.org/project/redis/

What is the proper way to handle this differently for different versions of
redis?  Line 1230 of globals.py is where the values are set, but
redis_session.py is where the call is failing.

-Jim

On Fri, Dec 7, 2018 at 7:18 AM Leonel Câmara <leonelcam...@gmail.com> wrote:

> That's the same as locked=True as the string 'False' evaluates is a Truthy
> value. What you should try is to use:
>
> RedisSession(redis_conn=rconn, session_expiry=False, *with_lock=True*)
>
>
> Notice the added with_lock=True
>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/PdquGF_9a2E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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