I had the same crash as David Marko on the welcome app.

On Jan 6, 2:23 am, David Marko <dma...@tiscali.cz> wrote:
> I have the same problem here.
>
> Whats more with latest trunk I cant 
> openhttp://127.0.0.1:8000/welcome/default/index. It raises:
>
> Traceback (most recent call last):
>   File "c:\java\web2py\gluon\restricted.py", line 188, in restricted
>     exec ccode in environment
>   File "c:/java/web2py/applications/welcome/models/db.py" 
> <http://127.0.0.1:8000/admin/default/edit/welcome/models/db.py>, line 42, in 
> <module>
>     auth.define_tables()                           # creates all needed tables
>   File "c:\java\web2py\gluon\tools.py", line 1173, in define_tables
>     format='%(first_name)s %(last_name)s (%(id)s)')
>   File "c:\java\web2py\gluon\dal.py", line 3431, in define_table
>     polymodel=polymodel)
>   File "c:\java\web2py\gluon\dal.py", line 468, in create_table
>     not_null = self.NOT_NULL(field.default,field.type)
>   File "c:\java\web2py\gluon\dal.py", line 665, in NOT_NULL
>     return 'NOT NULL DEFAULT %s' % self.represent(default,field_type)
>   File "c:\java\web2py\gluon\dal.py", line 1087, in represent
>     r = self.represent_exceptions(self,obj,fieldtype)
> TypeError: represent_exceptions() takes exactly 3 arguments (4 given)

Reply via email to