I created empty firebird database. Then I included it in welcome app. 
Web2py created auth tables. Then I registered in welcome app. I want to use 
this database in my app, but if I include it like:
db = DAL(configuration.get('db.uri'),pool_size=1,migrate_enabled=False,
entity_quoting=False,check_reserved=['all'])
I heve error:
<class 'fdb.fbcore.DatabaseError'> ('Error while preparing SQL 
statement:\n- SQLCODE: -204\n- Dynamic SQL Error\n- SQL error code = 
-204\n- Table unknown\n- AUTH_USER\n- At line 1, column 233', -204, 
335544569)Версия
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 3.7.3: C:\Program Files (x86)\Python37-32\python.exe (prefix: 
C:\Program Files (x86)\Python37-32)
If I do like that (without entity_quoting):
db = DAL(configuration.get('db.uri'),pool_size=1,migrate_enabled=False,
check_reserved=['all'])
I can login.
Why?


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/90f8daec-f5b1-4ee5-9d45-885ad792c803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to