There are logic problems with ajax=False. Just use ajax=True. I am not
sure ajax=False should be an option al all.

On Jul 1, 11:45 am, LightOfMooN <vladsale...@yandex.ru> wrote:
> Thx, but I just disabled some components until the new stable version
> of webpy :)
>
> On 1 июл, 21:29, Anthony <abasta...@gmail.com> wrote:
>
>
>
>
>
>
>
> > That problem has been fixed in trunk, but looks like another problem may
> > have been introduced. Try downloading trunk revision d4c2d8d15bb1 -- that
> > fixes the request.vars problem, but comes before the copy.copy(request)
> > problem was introduced. Actually, maybe you could try the latest revision in
> > trunk and see if the copy.copy(request) causes the same problem for you as
> > it has for pbreit -- that might help diagnose the problem.
>
> > Anthony
>
> > On Friday, July 1, 2011 10:57:13 AM UTC-4, LightOfMooN wrote:
> > > so, request has no vars storage
>
> > > On 1 июл, 20:53, LightOfMooN <vlads...@yandex.ru> wrote:
> > > > def voting_viewlet():
> > > >     return dict()
>
> > > > works fine
>
> > > > But if I try to check request.vars, it crashes:
>
> > > > def voting_viewlet():
> > > >     if request.vars.vote:
> > > >         pass
> > > >     return dict()
>
> > > > rises an error
>
> > > > On 1 июл, 20:46, LightOfMooN <vlads...@yandex.ru> wrote:
>
> > > > > Hello, just updated web2py to 1.97.1 and one of my sites crashed with
> > > > > the same problem:
> > > > > {{=LOAD('voting', 'voting_viewlet', ajax=False)[0][0]}}
> > > > > too bad
>
> > > > > On 1 июл, 01:10, pbreit <pbreit...@gmail.com> wrote:
>
> > > > > > Any ideas on this one? Has anyone else had problems with
> > > LOAD(ajax=False) in
> > > > > > trunk? I tried switching it to deepcopy and got same error. I also
> > > tried
> > > > > > putting it in a try/except but could not find anything. Could my
> > > request
> > > > > > have something funky in it?

Reply via email to