That problem appeared when I connect to my firebird database and create 
there six tables for registration (auth_user,auth_group,auth_membership,
auth_permission,auth_event,auth_cas).
web2py  Version 2.17.2-stable+timestamp.2018.10.06.18.54.02
Python Python 2.7.9: C:\Python27\python.exe (prefix: C:\Python27)
Error snapshot [image: help] 
<http://127.0.0.1:8000/admin/default/ticket/Recipes/127.0.0.1.2019-01-18.21-14-02.98afb37a-d239-4bc5-b650-dc0cdcc71359#>

<type 'exceptions.TypeError'>(not all arguments converted during string 
formatting)
Function argument list

(self=<pydal.adapters.firebird.FireBird object>, query='CREATE TABLE 
"auth_user"(\n "id" INTEGER PRIMA...RCHAR(512),\n "registration_id" 
VARCHAR(512)\n);', table=<Table auth_user (id, first_name, last_name, 
ema...ration_key, reset_password_key, registration_id)>, **args={})
Code listing

60.
61.
62.
63.
64.
65.
66.
67.
68.
69.

        self.execute('set generator %s to 0;' % sequence_name)
        self.execute(
            'create trigger %s for %s active before insert position 0 ' +
            'as\nbegin\nif(new."id" is null) then\nbegin\n' +
            'new."id" = gen_id(%s, 1);\nend\nend;' % (
                trigger_name, tablename, sequence_name))


@adapters.register_for('firebird_embedded')
class FireBirdEmbedded(FireBird):

-- 
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