Skip to content


Subversion checkout URL

You can clone with
Download ZIP


oracle pooling error #135

xiangel opened this Issue · 0 comments

1 participant


I using oracle db with webpy. also i installed DBUtils.
# oracle doesn't support pooling
keywords.pop('pooling', None)
and in class DB default set pooling to true
self.has_pooling = self.keywords.pop('pooling', True) and self.has_pooling
so raise error:
Traceback (most recent call last):
File "D:\Python26\Lib\site-packages\pythonwin\pywin\framework\", line 322, in RunScript, main.dict, start_stepping=0)
File "D:\Python26\Lib\site-packages\pythonwin\pywin\", line 60, in run
GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
File "D:\Python26\Lib\site-packages\pythonwin\pywin\debugger\", line 655, in run
exec cmd in globals, locals
File "E:\study\python\study\test\", line 5, in
result = db.query("select * from dual")
File "d:\python26\lib\site-packages\\web\", line 610, in query
db_cursor = self.db_cursor()
File "d:\python26\lib\site-packages\\web\", line 541, in _db_cursor
return self.ctx.db.cursor()
File "d:\python26\lib\site-packages\\web\", line 482, in _getctx
File "d:\python26\lib\site-packages\\web\", line 491, in _load_context
ctx.db = self._connect_with_pooling(self.keywords)
File "d:\python26\lib\site-packages\\web\", line 538, in _connect_with_pooling
return self._pooleddb.connection()
File "d:\python26\lib\site-packages\DBUtils-1.0-py2.6.egg\DBUtils\", line 293, in connection
con = self.steady_connection()
File "d:\python26\lib\site-packages\DBUtils-1.0-py2.6.egg\DBUtils\", line 250, in steady_connection
self._args, *self._kwargs)
File "d:\python26\lib\site-packages\DBUtils-1.0-py2.6.egg\DBUtils\", line 128, in connect
closeable, args, *kwargs)
File "d:\python26\lib\site-packages\DBUtils-1.0-py2.6.egg\DBUtils\", line 179, in __init

File "d:\python26\lib\site-packages\DBUtils-1.0-py2.6.egg\DBUtils\", line 183, in _create
con = self._creator(self._args, *self._kwargs)
InterfaceError: Unable to acquire Oracle environment handle

PS: my english is pool, so i'm not sure explain issures clearly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.