Thank you Alexey. I will incorporate this in a couple of days. Sorry
for the dalay.

On Jul 23, 2:41 am, Alexey Nezhdanov <snak...@gmail.com> wrote:
> On Wednesday 22 July 2009 12:18:52 mdipierro wrote:> Some of them have been 
> fixed but some may still need fixes. Help will
> > be appreciated.
>
> Ok, here it is.
> I went over all files in gluon/ and changed all raises that were providing
> uhelpful (IMHO of course) tracebacks.
> Patch is against current trunk
>
>
>
> > Massimo
>
> > On Jul 22, 3:09 am, Alexey Nezhdanov <snak...@gmail.com> wrote:
> > > On Friday 17 July 2009 19:11:11 JohnMc wrote:> BTW, this is perfect
> > > example of helpless backtrace.
>
> > > > Consider how much better it would be if it look like this:
> > > > ==============
> > > > SyntaxError: invalid field name: 'tablename.fieldname'
>
> > > > -- Alexey
>
> > > > That might have helped some. But to tell you the truth I went field by
> > > > field twice looking for just such an occurrence.
>
> > > EXACTLY! You were looking for an error looking _field_by_field_. Even if
> > > you have just 50 of them - that's a lot of work. Instead of concentrating
> > > on the SINGLE field.> My own mind filled in
>
> > > > the blank. That level of human error no amount of syntax checking will
> > > > solve.
>
> > > I'm sure it can be helped. Human errors are well known and backtraces are
> > > the perfect place to help fixing them.
>
> > > Anyways, Massimo - I didn't look into the code for a while already so I
> > > do not know how the things are at the moment. Do you want me to go over
> > > all 'raise' statements and submit a patch that will add more useful info
> > > just like in this example?
>
> > > > Just sayin'.
>
> > > > On Jul 17, 2:12 am, Alexey Nezhdanov <snak...@gmail.com> wrote:
> > > > > BTW, this is perfect example of helpless backtrace.
> > > > > Consider how much better it would be if it look like this:
> > > > > ==============
> > > > > SyntaxError: invalid field name: 'tablename.fieldname'
> > > > > ==============
>
> > > > > I submitted couple of similar patches some time ago, do not know if
> > > > > they were
> > > > > included:http://groups.google.com/group/web2py/browse_thread/thread/8
> > > > >568a 5ea58...
>
> > > > > --
> > > > > Sincerely yours
> > > > > Alexey Nezhdanov
>
> > > --
> > > Sincerely yours
> > > Alexey Nezhdanov
>
> --
> Sincerely yours
> Alexey Nezhdanov
>
>  more_explanations_in_raises.diff
> 16KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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