To fix this, you need to clear sessions.
The easiest way to do this is via the admin app.
Find the application causing problems, and from the menu of actions per 
application, choose "Clean"

This will fix the problem.



On Friday, 29 November 2013 08:52:29 UTC+11, mr.freeze wrote:
>
> Yes, same error unfortunately and request.user_agent() still returns a 
> dict. I could swear it used to return a Storage object.
>
> On Thursday, November 28, 2013 3:26:10 PM UTC-6, Massimiliano wrote:
>>
>> Have you tried to delete sessions?
>>
>>
>> On Thu, Nov 28, 2013 at 9:32 PM, szimszon <[email protected]> wrote:
>>
>>> I had that with 2.7.x too. I changed all my app to 
>>> user_agent()['is_mobile'] :-o
>>>
>>> 2013. november 28., csütörtök 20:55:14 UTC+1 időpontban mr.freeze a 
>>> következőt írta:
>>>
>>>> Did request.user_agent() change from a Storage object to dict? 
>>>> request.user_agent().is_mobile is throwing errors for me on the latest 
>>>> bits 
>>>> (2.8.2):
>>>> AttributeError: 'dict' object has no attribute 'is_mobile'. 
>>>> Happy Thanksgiving!
>>>>
>>>  -- 
>>> 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 [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> -- 
>> Massimiliano 
>>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to