On Tue, Jun 23, 2009 at 10:08 AM, Jose<[email protected]> wrote:
>
>
>
> On 22 jun, 22:23, Alexei Vinidiktov <[email protected]>
> 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
>
>

Thanks for your help, Jose.

The regex that parses the connection string has turned out to be the culprit.

It didn't correctly parse out the last part of the connection string
which specified the encoding '?set_encoding=None'.

-- 
Alexei Vinidiktov

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to