Yep.  I just confirmed the errant behavior with web2py 2.20.4 and python 
3.8.2.  If reds sessions are enabled the logon never completes.

-- Joe B.

On Sunday, March 29, 2020 at 11:39:10 PM UTC-5, Massimo Di Pierro wrote:
>
> Sorry. We should fix this. Will look into it asap.
>
> On Sunday, 29 March 2020 15:38:27 UTC-7, Jim S wrote:
>>
>> FWIW - I've abandoned redis for sessions.  I can't get it to work 
>> reliably and no one seems interested in fixing it.  I submitted some 
>> patches but they were rejected.  So, I've moved my sessions into my 
>> database.  Not what I wanted to do, but at least that works reliably.  
>> Sorry to be negative about this, it just seems it isn't a priority for the 
>> project.
>>
>> -Jim
>>
>>
>> On Saturday, March 28, 2020 at 5:30:11 AM UTC-5, Jose C wrote:
>>>
>>> Just started testing version 2.19.1 (prior to upgrading) with py3.6 and 
>>> it appears that when sessions are stored in redis, a new session is being 
>>> created each time the login is submitted which then prevents a session from 
>>> logging in.  
>>>
>>> This issue was discussed in 
>>> https://groups.google.com/forum/#!msg/web2py/z1ee025ghRU/qByNuEjGAgAJ  
>>> and Jim S found a workaround with the .decode function which worked on py3 
>>> but not on py2 (and which I've been using live).  It looks like the redis 
>>> session code has been refactored in 2.19.1 to remove all the decodes but I 
>>> can't get it to work correctly.
>>>
>>> Can anyone confirm whether they have this issue when trying to login 
>>> using redis sessions in 2.19.1 (with py3)?  If confirmed, I'll file a bug 
>>> report.
>>>
>>> Thanks,
>>>
>>> Jose
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/fe268b34-a931-45d2-872c-a5e73d803b43o%40googlegroups.com.

Reply via email to