Send the patch via email
made it that tickets can also be stored in db outside gae

(and i managed to brake the view tickets)

On May 23, 7:41 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Look into this. in gluon.main there is
> a
>
> try:
>    try:
>    except:
>       # try store exception on filesystem
> except:
>    # just print exception
>
> if should be
>
> try:
>    try:
>    except:
>       # try store exception on filesystem
> except:
>    if settings.web2py_runtime_gae:
>       # store ticket on GAE
>    else:
>       # just print exception
>
> Horrible but it will bot break anything
> On May 23, 12:34 pm, HansD <hans.don...@pobox.com> wrote:
>
> > I will when I've unbroken the ticketing for non-gae :-)
>
> > On May 23, 3:24 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > If this does not affect too many files it may get it, please send it
> > > to me so that I can take a look.
>
> > > Massimo
>
> > > On May 23, 7:36 am, HansD <hans.don...@pobox.com> wrote:
>
> > > > I've made it working too, including a working ticket page.
> > > > Indeed a ugly hack is needed to store the db value in the request
> > > > object, I've not yet discovered a better way.
>
> > > > On May 20, 2:43 pm, Alexey Nezhdanov <snak...@gmail.com> wrote:
>
> > > > > Today I managed to make ticketing kind of work on GAE.
>
> > > > > The 'kind of' because I did an ugly hack - in model.py I did:
> > > > > request.db = db
> > > > > so that later I was able to pick it from there while handling 
> > > > > exception.
> > > > > Also the link on crash page points to nowhere, but I think I'll 
> > > > > eventually fix
> > > > > it.
>
> > > > > Because of that I'm not going to publish such code but if anyone 
> > > > > interested -
> > > > > I can mail it privately.
>
> > > > > --
> > > > > Sincerely yours
> > > > > Alexey Nezhdanov
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to