Attribute error while using mx.ODBCConnect.Client.ServerSession

Baiju M <[email protected]>
Newsgroups gmane.comp.python.egenix.user
Message-ID <[email protected]>
Hi,

    I am getting an attribute error like this.  Can anyone
give me a pointer why this occur ?  I am using 1.0.1 version
of mxODBCConnect.

>>> from mx.ODBCConnect.Client import ServerSession
>>> ServerSession('connect-config.ini')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "mx/ODBCConnect/Client/ServerSession.py", line 134, in __repr__
AttributeError: 'NoneType' object has no attribute 'connection'


This is the config file:

[Logging]
log_file = client.log

[Connection_Local]

host = 192.168.2.205
port = 6632
using_ssl = 0

[Communication]
server_connections = Connection_Local

[Authentication]
[Session]

--
Baiju M


_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.