You need to delete your sessions when you upgrade from before 2.8.

On Tuesday, 11 March 2014 04:31:24 UTC-5, Johann Spies wrote:
>
> Traceback (most recent call last):
>
>   File "/home/www-data/web2py/gluon/restricted.py", line 217, in restricted
>
>     exec ccode in environment
>   File "/home/www-data/web2py/applications/nkb/views/default/index.html", 
> line 57, in <module>
> AttributeError: 'dict' object has no attribute 'is_mobile'
>
> and lines 56 and 57:
>
> response.write('</div>\n    <div class="navbar-inner">\n      <div 
> class="container">\n        ', escape=False)
> is_mobile=request.user_agent().is_mobile
>
>
>
> This happened on the server after I upgraded to Version 
> 2.9.4-stable+timestamp.2014.03.05.04.44.09 to try and solve another 
> (session-related) problem.
>
> Regards
> Johann
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>  

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