Re: [cx-oracle-users] InterfaceError: Unable to acquire Oracle environment handle
Brought to you by:
atuining
From: juhui <ph...@gm...> - 2010-03-19 04:52:08
|
sorry, I said in django prjects. I have encounter this Traceback several dasys before . may be the Python script can't get the environment var ORACLE_HOME add the two lines to your scripts ,the value depends on you environment . 2010/3/19 Jason Baker <jb...@ze...> > On Thu, Mar 18, 2010 at 11:10 AM, juhui <ph...@gm...> wrote: > >> try add >> -------------- >> import os >> os.environ["ORACLE_HOME"] = "/home/oracle/product/10.2.0" >> -------------- >> to setting.py header. >> > > I'm not sure I understand. First, that directory doesn't exist. Second, > which setting.py header are we talking about? > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > -- LB can FlY |