Am using turbogears2 for my allication.I need to test it in the Oracle
database.
The oracle am dealing is......oracle-xe-univ-10.2.0.1-1.0.i386.rpm
And i need cx_Oracle module for my application to run.
The version for it is..cx_Oracle-5.0.3-py2.4-linux-i686.
After installation
i have exported...
export ORACLE_HOME=/root/tg2env/lib/oracle/xe/app/oracle/product/
10.2.0/server
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
Then running the project am getting an error as.......
File "/root/tg2env/bin/paster", line 7, in ?
sys.exit(
File "/root/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-
py2.4.egg/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/root/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-
py2.4.egg/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/root/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-
py2.4.egg/paste/script/appinstall.py", line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/root/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-
py2.4.egg/paste/script/command.py", line 218, in run
result = self.command()
File "/root/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-
py2.4.egg/paste/script/appinstall.py", line 455, in command
installer.setup_config(
File "/root/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-
py2.4.egg/paste/script/appinstall.py", line 597, in setup_config
self._call_setup_app(
File "/root/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-
py2.4.egg/paste/script/appinstall.py", line 612, in _call_setup_app
func(command, conf, vars)
File "/svnee/trunk/src/convirt/web/convirt/convirt/websetup.py",
line 54, in setup_app
load_environment(conf.global_conf, conf.local_conf)
File "/root/tg2env/lib/python2.4/site-packages/TurboGears2-2.0.3-
py2.4.egg/tg/configuration.py", line 444, in load_environment
self.setup_sqlalchemy()
File "/root/tg2env/lib/python2.4/site-packages/TurboGears2-2.0.3-
py2.4.egg/tg/configuration.py", line 396, in setup_sqlalchemy
engine = engine_from_config(pylons_config, 'sqlalchemy.')
File "/root/tg2env/lib/python2.4/site-packages/SQLAlchemy-0.5.6-
py2.4.egg/sqlalchemy/engine/__init__.py", line 241, in
engine_from_config
return create_engine(url, **opts)
File "/root/tg2env/lib/python2.4/site-packages/SQLAlchemy-0.5.6-
py2.4.egg/sqlalchemy/engine/__init__.py", line 223, in create_engine
return strategy.create(*args, **kwargs)
File "/root/tg2env/lib/python2.4/site-packages/SQLAlchemy-0.5.6-
py2.4.egg/sqlalchemy/engine/strategies.py", line 62, in create
dbapi = dialect_cls.dbapi(**dbapi_args)
File "/root/tg2env/lib/python2.4/site-packages/SQLAlchemy-0.5.6-
py2.4.egg/sqlalchemy/databases/oracle.py", line 401, in dbapi
import cx_Oracle
ImportError: No module named cx_Oracle
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.