Re: [cx-oracle-users] Unable to acquire Oracle environment handle
Brought to you by:
atuining
From: Marco De P. <dep...@gm...> - 2011-02-25 09:27:05
|
I built my own python executable but it doesn't show anything interesting So I rebuilt a complete environment from scratch using virtualenv and referring the python executable I built. Then I setup cx_Oracle, django and so on The result is that everything works fine I was unable to reproduce the crash any more I don't know exactly where the problem was, but maybe it was a problem with miss-alignment among shared libraries thank you very much for your advices I really apprecciated them :-) Marco On Tue, Feb 22, 2011 at 9:08 AM, Marco De Paoli <dep...@gm...> wrote: > thanks for your advices > > Yes, it is a single thread program > > Yes, I'm running the program multiple times over and over again and noting > errors one time and not the next, each run open/close the connection > multiple times > > Ok, I'll try to build my python executable (maybe I could try to check > specifically libc static/dynamic...) > > > I'll let you know, > Marco > > On Mon, Feb 21, 2011 at 11:49 PM, Mark Harrison <mh...@pi...> wrote: > >> On 2/21/11 10:21 AM, Anthony Tuininga wrote: >> > That does indeed sound rather strange. OCIEnvNlsCreate() is an Oracle >> > function so there is no way to debug this short of calling up Oracle >> > and asking them for support. Is this a single threaded program? If it >> > is multi-threaded you will need to set threaded mode to avoid strange >> > problems -- perhaps ones like these. Are you opening/closing the >> > connection multiple times in your program or just running a program >> > over and over again and noting errors one time and not the next? I've >> > never run into these problems myself so not sure how to help you >> > further besides giving suggestions for debugging on your own! >> >> Possibly there's something conflicting in your system python build? >> >> Perhaps try building your own python executable may show something >> interesting. >> >> >> >> ------------------------------------------------------------------------------ >> Index, Search & Analyze Logs and other IT data in Real-Time with Splunk >> Collect, index and harness all the fast moving IT data generated by your >> applications, servers and devices whether physical, virtual or in the >> cloud. >> Deliver compliance at lower cost and gain new business insights. >> Free Software Download: http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> cx-oracle-users mailing list >> cx-...@li... >> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users >> > > |