Hi, another error in oracle (can't create auth_ .... tables):

<type 'exceptions.TypeError'> not all arguments converted during string 
formatting

File "D:\Web\server\web2py\gluon\packages\dal\pydal\adapters\oracle.py", line 
70, in create_sequence_and_triggers
    'MINVALUE -1;' % sequence_name)
TypeError: not all arguments converted during string formatting

Function argument list

(self=<pydal.adapters.oracle.Oracle object>, query='CREATE TABLE "auth_user"(\n 
"id" NUMBER PRIMAR...HAR2(512),\n "registration_id" VARCHAR2(512)\n);', 
table=<Table auth_user (id, first_name, last_name, ema...ration_key, 
reset_password_key, registration_id)>, **args={})


65.
66.
67.
68.
69.
70.

71.
72.
73.
74.

        sequence_name = table._sequence_name
        trigger_name = table._trigger_name
        self.execute(query)
        self.execute(
            'CREATE SEQUENCE %s START WITH 1 INCREMENT BY 1 NOMAXVALUE ' +
            'MINVALUE -1;' % sequence_name)

        self.execute(_trigger_sql % dict(
            trigger_name=trigger_name, tablename=tablename,
            sequence_name=sequence_name,
            id=id_name)

any ideas?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to