Subject pyfirebirdsql: error with trusted authentication
Author skoczian
Hello all,

I'm using Firebird 2.5 on Windows 7 with trusted authentication, and I just started to try out pyfirebirdsql on Python 3. Result:

PythonWin 3.2.1 (default, Jul 10 2011, 20:02:51) [MSC v.1500 64 bit (AMD64)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
>>> import firebirdsql
>>> conn = firebirdsql(dsn='localhost:versand')
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
TypeError: 'module' object is not callable
>>> conn = firebirdsql.connect(dsn='localhost:versand')
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "C:\Python32\lib\site-packages\firebirdsql\", line 1144, in __init__
File "C:\Python32\lib\site-packages\firebirdsql\", line 769, in _op_attach
s = self.str_to_bytes(self.user)
File "C:\Python32\lib\site-packages\firebirdsql\", line 645, in str_to_bytes
return s.encode(self.charset_map.get(self.charset, self.charset))
AttributeError: 'NoneType' object has no attribute 'encode'

With trusted authentication I should be able to connect without an user name, shouldn't I?