I have cleared the sessions and the errors and it worked - thank you!

2013/12/2 Jonathan Lundell <jlund...@pobox.com>

> On 2 Dec 2013, at 8:05 AM, Marin Pranjić <marin.pran...@gmail.com> wrote:
>
> Clear your sessions, clear existing error tickets and then try again.
>
>
> There's a patch post-2.8.2 that makes access.py tolerant of a dict.
>
> -    is_mobile = request.user_agent().is_mobile
> +    is_mobile = request.user_agent().get('is_mobile')
>
> BTW, that should have been:
>
> -    is_mobile = request.user_agent().is_mobile
> +    is_mobile = request.user_agent().get('is_mobile', False)
>
>
>
> Marin
>
>
> On Mon, Dec 2, 2013 at 4:59 PM, Jonathan Lundell <jlund...@pobox.com>wrote:
>
>> On 2 Dec 2013, at 7:49 AM, JoeCodeswell <joecodesw...@gmail.com> wrote:
>>
>> > Here's a zip of C:\web2py\applications\admin\errors contents.
>>
>> S"<type 'exceptions.AttributeError'> 'dict' object has no attribute
>> 'is_mobile'"
>>
>> S'Traceback (most recent call last):\n
>> File "C:\\web2py\\gluon\\restricted.py", line 217, in restricted\n
>>  exec ccode in environment\n
>> File "C:\\web2py\\applications\\admin\\models\\access.py", line 147, in
>> <module>\n    is_mobile = request.user_agent().is_mobile\nAttributeError:
>> \'dict\' object has no attribute \'is_mobile\'\n'
>>
>>
>> >
>> > On Monday, December 2, 2013 7:41:29 AM UTC-8, JoeCodeswell wrote:
>> > Dear web2py Community,
>> >
>> > There were problems for me as well, but now they cleared up. On
>> winXpSp3, I had my Firefox-25.0.1 opened while i did an extract into
>> C:\web2py. So then [as best as i remember]:
>> >       • I checked to see if the upgrade happened by refreshing the
>> admin page. result Version did not change.
>> >       • So i left the browser open. Turned off the server & turned it
>> on again. result new welcome page appeared.
>> >       • i clicked on the admin interface button. result:
>> >               • ticket appeared  so i clicked on the link result:
>> >               • ticket appeared  so i clicked on the link result:
>> >               • ticket appeared
>> >       • i closed all the browser tabs & shut down &  restarted the
>> server result:
>> >               • ALL IS WELL ??? It seems OK.
>> >               • ajax in the startup ???
>> > The C:\web2py\logs directory is empty.
>> >
>> > I hope this adds some light to the subject.
>> >
>> > Love and peace,
>> >
>> > Joe
>> >
>> >
>> > On Monday, December 2, 2013 5:20:28 AM UTC-8, mweissen wrote:
>> > Hi,
>> >
>> > I have updated my main system to 2.8.2
>> > Now when I call  my_server/admin  I get an error ticket.
>> > But I cannot analyze the error ticket, because it  needs admin and I
>> get another error.
>> >
>> > Afterwards I have copied the whole admin-app from the source over
>> my_server/admin - same result.
>> >
>> > Any ideas?
>> > Regards Martin
>> >
>>
>> --
>> 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.
>>
>
>
> --
> 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.
>
>
>  --
> 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.
>

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

Reply via email to