Re: [cx-oracle-users] ORA-12560:TNS:protocol adapter error with cx_Freeze
Brought to you by:
atuining
|
From: Claus G. N. <cl...@gy...> - 2014-07-16 13:44:35
|
I'm providing a TNS entry to connect. It doesn't work if I provide host/port. I have tried both methods for the frozen version. Sent from my iPhone. > Den 16/07/2014 kl. 15.19 skrev Dwayne King <dw...@kr...>: > > What method are you using to connect? i.e. are you providing host / port / SID, or are you providing a TNS entry? > > >> On Wed, Jul 16, 2014 at 5:37 AM, Claus Gyrup Nielsen <cl...@gy...> wrote: >> Yes, i'm running both on the same machine. Haven't tested on another machine yet. >> >> Sent from my iPhone. >> >>> Den 16/07/2014 kl. 02.50 skrev Dwayne King <dw...@kr...>: >>> >> >>> Are you testing on the same machine? If not, are you sure that the machine that you're using the frozen version on has the same environment variables for ORACLE_HOME, ORACLE_SID, TNS_ADMIN etc? >>> >>> >>>> On Thu, Jul 10, 2014 at 8:41 AM, <cl...@gy...> wrote: >>>> I have a python(3.4.1) script in which I use cx_Oracle(5.1.3) to connect to an oracle database (11g). >>>> >>>> I'm on a windows 7 machine (64bit). >>>> >>>> When I run the script from IDLE or from a command promt the program works perfectly and retrieves my data. >>>> >>>> However, when i create a frozen binary using cx_Freeze(4.3.3) and try to retrieve data i get the error message ORA-12560:TNS:protocol adapter error. All other parts of my program work perfectly. >>>> >>>> Any help or suggestions are highly appreciated. >>>> >>>> Best regards, >>>> >>>> Claus Gyrup >>>> >>>> ------------------------------------------------------------------------------ >>>> Open source business process management suite built on Java and Eclipse >>>> Turn processes into business applications with Bonita BPM Community Edition >>>> Quickly connect people, data, and systems into organized workflows >>>> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>>> http://p.sf.net/sfu/Bonitasoft >>>> _______________________________________________ >>>> cx-oracle-users mailing list >>>> cx-...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users >>>> >>> > |