Re: [cx-oracle-users] ORA-12560:TNS:protocol adapter error with cx_Freeze
Brought to you by:
atuining
From: Dwayne K. <dw...@kr...> - 2014-07-16 01:19:43
|
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 > > |