On 22 jun, 22:23, Alexei Vinidiktov <alexei.vinidik...@gmail.com>
wrote:
> Thanks, Massimo!
>
> The auth.settings.password_field='password2' thing did the trick!
>
> I'm afraid the '?set_encoding=None' thing doesn't work.
>
> As I said earlier I tried using the string that you suggested:
>
> db = SQLDB('firebird://sysdba:passw...@localhost/employee.fdb?
> set_encoding=None')
>
> but I got this error:
>
> "'isc_attach_database: I/O error for file "employee.fdb?set_encoding=None"
> Error while trying to open file. No such file or directory'"
>
>
Is not finding the database. Or you define the connection with the
path or with the alias. Here mixing these.
db = SQLDB('firebird://sysdba:passw...@localhost/path/to/database/
mydb.fdb?set_encoding=None')
or
db = SQLDB('firebird://sysdba:passw...@localhost/alias?
set_encoding=None')
alias must be defined in alias.conf
Jose
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---