Re: Attribute error while using mx.ODBCConnect.Client.ServerSession
mbaiju at zeomega.net
Mon Apr 6 16:16:29 CEST 2009
On Mon, Apr 6, 2009 at 12:29 PM, Baiju M <mbaiju at zeomega.net> wrote:
> 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
> 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:
> log_file = client.log
> host = 192.168.2.205
> port = 6632
> using_ssl = 0
> server_connections = Connection_Local
This happens when I try from command line, it worked
for me when I typed it in one file and ran.
More information about the egenix-users