This was a ug in trunk was fixed yesrterday

On Jun 12, 3:47 am, szimszon <szims...@gmail.com> wrote:
> Same 
> as:http://groups.google.com/group/web2py/browse_frm/thread/d0d6de082de4f...
>
> On jún. 11, 15:45, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > somewhere you have
>
> > orderby='table.field'|'table.field'
>
> >  instead of
>
> > orderby=db.table.field|db.table.field
>
> > On Jun 11, 7:25 am, szimszon <szims...@gmail.com> wrote:
>
> > > validators.py:
> > > 376: groupby = self.groupby or reduce(lambda a,b:a|b,self.fields)
>
> > > Traceback (most recent call last):
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/restricted.py",
> > > line 178, in restricted
> > >     exec ccode in environment
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/applications/test/
> > > controllers/appadmin.py", line 410, in <module>
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/globals.py", line
> > > 96, in <lambda>
> > >     self._caller = lambda f: f()
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/applications/test/
> > > controllers/appadmin.py", line 124, in insert
> > >     form = SQLFORM(db[table], ignore_rw=ignore_rw)
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/sqlhtml.py", line
> > > 696, in __init__
> > >     inp = self.widgets.options.widget(field, default)
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/sqlhtml.py", line
> > > 187, in widget
> > >     options = requires[0].options()
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/validators.py",
> > > line 394, in options
> > >     self.build_set()
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/validators.py",
> > > line 376, in build_set
> > >     groupby = self.groupby or reduce(lambda a,b:a|b,self.fields)
> > >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/validators.py",
> > > line 376, in <lambda>
> > >     groupby = self.groupby or reduce(lambda a,b:a|b,self.fields)
> > > TypeError: unsupported operand type(s) for |: 'str' and 'str'

Reply via email to