Re: [cx-oracle-users] Unable to acquire Oracle environment handle
Brought to you by:
atuining
From: Mark H. <mh...@pi...> - 2011-02-16 16:45:31
|
On 2/16/11 12:18 AM, Marco De Paoli wrote: > First of all, thanks very much for your hints > > Sorry, maybe I have not been clear: the problem is not systematic > > same xterm, same user, same shell, same environment... > sometimes it works, sometimes it doesn't > > Then I have rebuilt and installed from 5.0.4 sources but the problem is the same > > Eventually I've tried tu use cx_Oracle from svn trunk: check-out and build are ok but I can't execute the install, this is the message maybe there's some versionitis with the latest svn trunk and py 2.4? Here's a couple of things to try: - try installing from a released tar file - try installing from one of the older released tar files (in case there's some 2.4 breakage) - install or build a newer python, and one of the tar files above > > [root@bagvapp trunk]# python setup.py install > running install > running bdist_egg > running egg_info > writing cx_Oracle.egg-info/PKG-INFO > writing top-level names to cx_Oracle.egg-info/top_level.txt > writing dependency_links to cx_Oracle.egg-info/dependency_links.txt > Traceback (most recent call last): > File "setup.py", line 368, in ? > classifiers = classifiers) > File "/usr/lib/python2.4/distutils/core.py", line 149, in setup > dist.run_commands() > File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands > self.run_command(cmd) > File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command > cmd_obj.run() > File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 76, in run > self.do_egg_install() > File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 92, in do_egg_install > self.run_command('bdist_egg') > File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command > self.distribution.run_command(command) > File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command > cmd_obj.run() > File "/usr/lib/python2.4/site-packages/setuptools/command/bdist_egg.py", line 167, in run > self.run_command("egg_info") > File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command > self.distribution.run_command(command) > File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command > cmd_obj.run() > File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 171, in run > self.find_sources() > File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 252, in find_sources > mm.run() > File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 306, in run > self.add_defaults() > File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 333, in add_defaults > rcfiles = list(walk_revctrl()) > File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 45, in walk_revctrl > for item in ep.load()(dirname): > File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 52, in _default_revctrl > for path in finder(dirname,path): > File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 98, in entries_finder > log.warn("unrecognized .svn/entries format in %s", dirname) > NameError: global name 'log' is not defined > > Marco > > On Tue, Feb 15, 2011 at 10:47 PM, Anthony Tuininga <ant...@gm... <mailto:ant...@gm...>> wrote: > > On Tue, Feb 15, 2011 at 12:02 PM, Mark Harrison <mh...@pi... <mailto:mh...@pi...>> wrote: > > On 2/15/11 9:33 AM, Anthony Tuininga wrote: > >> Hi, > >> > >> This has always been some problem with a missing value for ORACLE_HOME > >> and/or LD_LIBRARY_PATH. Check your environment variables. Since this > > idea? > > > >>> I wolud be gratefull for any hint > > > > Ugh, environment variables, what a pain. > > Here's how I installed so that no environment variables are required: > > > > http://stackoverflow.com/questions/764871/installing-oracle-instantclient-on-linux-without-setting-environment-variables > > Thanks for that. Using the default values across the board and not > having to set custom values for environment variables can be highly > convenient, especially for the web server case where its more work to > set its environment. :-) > > Anthony > > ------------------------------------------------------------------------------ > 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... <mailto:cx-...@li...> > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > > > > ------------------------------------------------------------------------------ > 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 |