Thanks Massimo, Worked like a charm!!
On Sun, Jan 18, 2009 at 12:10 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > > Thanks Victor. > I think this a GAE issue. Make the field a string instead of text. you > may need to set the max length > > ...db.Field('Tag','string',length=128)... > > Massimo > > On Jan 17, 4:24 pm, "http://voakujobi.blogspot.com" > <victor.akuj...@gmail.com> wrote: >> Hello everyone, >> >> I am new to web2py (picked it up a week ago) and loving it [Thanks >> Massimo :) ]. I just finished writing a blog and it works okay on >> the server that comes bundled with web2py. However, if I try running >> it under the Google App Engine, I get an error: AppEngine does not >> index by: text. I know that it comes from the following line: >> rows=db(db.link.Tag==tag).select(db.link.ALL) >> where Tag is a field in the link table. Is is not possible to >> reference fields by their name?, if no, is there a way I could get >> the rows that satisfy a given condition >> >> Sorry if this turns out to be a stupid question. >> >> PS: Will gladly provide more info if required >> >> Thank You. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---