The fact is after you upgrade you get the new admin which uses a new
API function. Unless you restart the server that API function is not
available. This is a one time event since we never made such a big
change in admin.

On Nov 12, 7:26 pm, Anthony <abasta...@gmail.com> wrote:
> I had the same exact experience on Windows (in IE). Here's the
> traceback I got:
>
> Traceback (most recent call last):
>   File "C:\web2py\gluon\restricted.py", line 188, in restricted
>     exec ccode in environment
>   File "C:\web2py\applications\admin/views\default/site.html", line
> 182, in <module>
> AttributeError: 'translator' object has no attribute
> 'get_possible_languages'
>
> Referring to:
>
>   for language in T.get_possible_languages():
>
> Like Andrew, everything was fine after restarting web2py.
>
> Anthony
>
> On Nov 12, 7:20 pm, Andrew Thompson <andre...@aktzero.com> wrote:
>
> > On 11/12/2010 4:58 PM, mdipierro wrote:> ps. may not work on windows
>
> > I doubt this is what you meant, but I seem to have hit a snag with the
> > upgrade.
>
> > web2py is running on ubuntu, but I'm managing it from chrome on win7.
> > After upgrading, the redirect back failed. Attempting to reload the
> > admin page gave me more failures.
>
> > If anyone wants to glance over the error files:
>
> >http://aktzero.com/static/scratch/__ffff_127.0.0.1.2010-11-12.19-03-0......
>
> > Restarting the web2py process cleared it up, and it seems to be ok. I've
> > got the new admin interface, and my small handfull of sites are still
> > running.
>
> > --
> > Andrew Thompsonhttp://aktzero.com/
>
>

Reply via email to