[web2py] Re: app not working after install 2.8.2 is_mobile error

2014-01-31 Thread Ian W. Scott
I just ran into this same error using the auto-update to come up to 2.8.2. 
I was able to find this solution, but it did cost me about 1.5 hours of 
figuring out what was wrong. Not so bad in the grand scheme of things, but 
maybe the auto-update interface in the admin app could include some way of 
presenting a list of changes and/or known issues. It could just be a link 
to a pdf version or something, downloaded on-demand from the repo. But 
having that link there (maybe with a warning to read it) will likely help 
folks like me to avoid a headache. It's not so much that I can't do the 
search on the list here before upgrading. It's that I didn't know there 
would be a reason to search for such discussions. Having that prominent 
placement of the changes/issues will also (I suspect) save you time helping 
people with questions like this one. But thanks for the time you do spend 
helping on this list. Your answer here saved me many more hours of 
frustration :)

Cheers,

Ian

On Friday, December 6, 2013 9:38:25 PM UTC-5, Massimo Di Pierro wrote:

 You missed a few threads discussing this. ;-)
 You need to clear/remove the sessions. The format of the session storage 
 has changed.

 On Friday, 6 December 2013 17:55:52 UTC-6, Ivo wrote:

 I tried upgrading the web2py to 2.8.2 that was a bad idea...
 it totally killed the web2py app.
 I redownloaded a clean version and copied over my app now it throws the 
 weirdest error:
 type 'exceptions.NameError''dict' object has no attribute 'is_mobile'
 it traces to user.html, but in reality it's caused by layout.htm
 the welcome app is working so I had a look inside the layout.html basicly 
 the same except for a few mods I made that are unrelated.

 what am I missing? 



-- 
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/groups/opt_out.


[web2py] Re: app not working after install 2.8.2 is_mobile error

2013-12-08 Thread Vinhthuy
Massimo: I feel really scared reading this.  In fact, I haven't upgraded to 
the latest version yet, partly because exactly what you said.  I haven't 
kept up with this reading list, and I am afraid that after the upgrade my 
apps won't work because I fail to do certain things that are discussed in 
the this reading list.

Can you please enforce a policy that all things that we need to do after an 
upgrade would be listed in CHANGES?  Thanks.



On Friday, December 6, 2013 8:38:25 PM UTC-6, Massimo Di Pierro wrote:

 You missed a few threads discussing this. ;-)
 You need to clear/remove the sessions. The format of the session storage 
 has changed.

 On Friday, 6 December 2013 17:55:52 UTC-6, Ivo wrote:

 I tried upgrading the web2py to 2.8.2 that was a bad idea...
 it totally killed the web2py app.
 I redownloaded a clean version and copied over my app now it throws the 
 weirdest error:
 type 'exceptions.NameError''dict' object has no attribute 'is_mobile'
 it traces to user.html, but in reality it's caused by layout.htm
 the welcome app is working so I had a look inside the layout.html basicly 
 the same except for a few mods I made that are unrelated.

 what am I missing? 



-- 
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/groups/opt_out.


[web2py] Re: app not working after install 2.8.2 is_mobile error

2013-12-08 Thread Ivo
I searched for one as well but just took the risk because I backed up my 
apps.
however I do propose that the upgrade script includes clearing out sessions 
and cache this will save a lot time and questions. Also the impact should 
be mentioned. For example the foreign key error a lot of us are having.

On Monday, December 9, 2013 5:11:40 AM UTC+1, Vinhthuy wrote:

 Massimo: I feel really scared reading this.  In fact, I haven't upgraded 
 to the latest version yet, partly because exactly what you said.  I haven't 
 kept up with this reading list, and I am afraid that after the upgrade my 
 apps won't work because I fail to do certain things that were discussed 
 here.

 Can you please enforce a policy that whatever we need to do after an 
 upgrade would be listed in CHANGES?  Thanks.



 On Friday, December 6, 2013 8:38:25 PM UTC-6, Massimo Di Pierro wrote:

 You missed a few threads discussing this. ;-)
 You need to clear/remove the sessions. The format of the session storage 
 has changed.

 On Friday, 6 December 2013 17:55:52 UTC-6, Ivo wrote:

 I tried upgrading the web2py to 2.8.2 that was a bad idea...
 it totally killed the web2py app.
 I redownloaded a clean version and copied over my app now it throws the 
 weirdest error:
 type 'exceptions.NameError''dict' object has no attribute 'is_mobile'
 it traces to user.html, but in reality it's caused by layout.htm
 the welcome app is working so I had a look inside the layout.html 
 basicly the same except for a few mods I made that are unrelated.

 what am I missing? 



-- 
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/groups/opt_out.


[web2py] Re: app not working after install 2.8.2 is_mobile error

2013-12-07 Thread Ivo
Oops... sorry I didn't catch that
I could have thought of that myself :(
thanks massimo!

On Saturday, December 7, 2013 3:38:25 AM UTC+1, Massimo Di Pierro wrote:

 You missed a few threads discussing this. ;-)
 You need to clear/remove the sessions. The format of the session storage 
 has changed.

 On Friday, 6 December 2013 17:55:52 UTC-6, Ivo wrote:

 I tried upgrading the web2py to 2.8.2 that was a bad idea...
 it totally killed the web2py app.
 I redownloaded a clean version and copied over my app now it throws the 
 weirdest error:
 type 'exceptions.NameError''dict' object has no attribute 'is_mobile'
 it traces to user.html, but in reality it's caused by layout.htm
 the welcome app is working so I had a look inside the layout.html basicly 
 the same except for a few mods I made that are unrelated.

 what am I missing? 



-- 
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/groups/opt_out.


[web2py] Re: app not working after install 2.8.2 is_mobile error

2013-12-06 Thread Massimo Di Pierro
You missed a few threads discussing this. ;-)
You need to clear/remove the sessions. The format of the session storage 
has changed.

On Friday, 6 December 2013 17:55:52 UTC-6, Ivo wrote:

 I tried upgrading the web2py to 2.8.2 that was a bad idea...
 it totally killed the web2py app.
 I redownloaded a clean version and copied over my app now it throws the 
 weirdest error:
 type 'exceptions.NameError''dict' object has no attribute 'is_mobile'
 it traces to user.html, but in reality it's caused by layout.htm
 the welcome app is working so I had a look inside the layout.html basicly 
 the same except for a few mods I made that are unrelated.

 what am I missing? 


-- 
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/groups/opt_out.