Re: [cx-oracle-users] Unable to acquire Oracle environment handle
Brought to you by:
atuining
From: Marco De P. <dep...@gm...> - 2011-02-17 08:37:45
|
Thanks, I will try to follow your advice I'll let you know Marco On Wed, Feb 16, 2011 at 7:57 PM, Mark Harrison <mh...@pi...> wrote: > On 2/16/11 8:54 AM, Marco De Paoli wrote: > > everything works if I force the rebuild of a file named tests.pyc in a > django folder > > (via rm tests.pyc or via touch tests.pyc) > > > > if the file is already there I obtain "Unable to acquire Oracle > environment handle" > > > > Maybe it's an issue on the django side, but I can't undestand what could > be wrong... > > > > django is a pure python package and the question is: how can django > influence the OCIEnvNlsCreate call in Environment.c that, as far as I know, > doesn't get any login but just initialize a client data structure?!? > > > that one is weird. maybe you can do something like this: > > edit one or more of the django files, and put in > > conn=cx_Oracle.connect(...) > > calls. > > hopefully, the one at the very top of the first django file will be > successful. > eventually you will hit one that fails. then you can move the connect > lines > around to narrow down where the bad thing is happening. > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |