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/8568a > >5ea58... > > > > -- > > Sincerely yours > > Alexey Nezhdanov > > -- Sincerely yours Alexey Nezhdanov --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---