waliwali / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

ibm_db.connect() fails #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. prepare an uncataloged database connexion DSN string :
dsn = 'DRIVER={IBM DB2 ODBC 
DRIVER};DATABASE=MYBASE;HOSTNAME=myhost;PORT=50101;PROTOCOL=TCPIP'

2. Try to open the connection using the previous string as DSN
c = ibm_db.connect(dsn,'myusername','mypasswd')

What is the expected output? What do you see instead?

The connection should be established (hosts, users and so on were obviously 
checked and work fine for instance trhough a JDBC connector.

Instead the connection fails with following error :

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: error return without exception set

What version of the product are you using? On what operating system?
ibm_db port for mac os x 10.6

Please provide any additional information below.

Original issue reported on code.google.com by julien.c...@gmail.com on 16 Mar 2011 at 10:29

GoogleCodeExporter commented 9 years ago
This error should not be come. 

Please uninstall and install ibm_db driver again. Before installing it again 
make sure that ibm_db-xxx-pyxx.egg is completely have removed from 
/location/of/site-packages/ and listing of this driver from 
/location/of/site-packages/easy_install.py.

If you got any error or warning during installation then let me know about that.

Original comment by rahul.pr...@in.ibm.com on 17 Mar 2011 at 4:56

GoogleCodeExporter commented 9 years ago
Sorry to inform you that we are no longer supporting MAC OS.

Original comment by rahul.pr...@in.ibm.com on 23 Mar 2011 at 12:32

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 23 Mar 2011 at 12:34