Re: [cx-oracle-users] cx_Oracle.connect suddenly exit
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2010-07-21 20:39:56
|
Hi, what version of cx_Oracle are you using? Can you connect successfully using SQL*Plus? Since you built it, can you run gdb on it and determine where it is crashing? Anthony On Wed, Jul 21, 2010 at 2:30 PM, Gleiwer Montoya <gl...@gm...> wrote: > Hello there, > > i'm having the next problem, whenever i run the cx_Oracle.connect function, > it throws me out of the script with exit value 1. > > Like this... > > root@gleiwer# python > Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) > [GCC 4.4.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import cx_Oracle >>>> dsn_tns=cx_Oracle.makedsn("10.1.1.1","1522","XE") >>>> conexiondb=cx_Oracle.connect("username","password",dsn_tns) > root@gleiwer# > > i compiled cx_Oracle with instantclient_11_2 > the environment variables are set, can anybody help me to solve this out, > i've been trying for weeks. > > -- > Gleiwer Montoya > gl...@gm... > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |