
Traceback (most recent call last):

 "satest.py", line 7, in <module>
conn = engine.connect()

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\base.py", line 1420, in connect
return self.Connection(self, **kwargs)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\base.py", line 699, in __init__
self.__connection = connection or engine.raw_connection()

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\base.py", line 1470, in raw_connection
return self.pool.unique_connection()

 "C:\opt\python26\Lib\site-packages\sqlalchemy\pool.py", line 120, in unique_connection
return _ConnectionFairy(self).checkout()

 "C:\opt\python26\Lib\site-packages\sqlalchemy\pool.py", line 313, in __init__
rec = self._connection_record = pool.get()

 "C:\opt\python26\Lib\site-packages\sqlalchemy\pool.py", line 162, in get
return self.do_get()

 "C:\opt\python26\Lib\site-packages\sqlalchemy\pool.py", line 651, in do_get
con = self.create_connection()

 "C:\opt\python26\Lib\site-packages\sqlalchemy\pool.py", line 123, in create_connection
return _ConnectionRecord(self)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\pool.py", line 203, in __init__
l.first_connect(self.connection, self)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\strategies.py", line 136, in first_connect
dialect.initialize(c)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\dialects\oracle\base.py", line 522, in initialize
super(OracleDialect, self).initialize(connection)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\default.py", line 109, in initialize
self.default_schema_name = self._get_default_schema_name(connection)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\dialects\oracle\base.py", line 566, in _get_default_schema_name
return self.normalize_name(connection.execute('SELECT USER FROM DUAL').scalar())

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\base.py", line 991, in execute
return Connection.executors[c](c)(self, object, multiparams, params)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\base.py", line 1066, in _execute_text
context = self.__create_execution_context(statement=statement, parameters=parameters)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\base.py", line 1126, in __create_execution_context
return dialect.execution_ctx_cls(dialect, connection=self, **kwargs)

 "C:\opt\python26\Lib\site-packages\sqlalchemy\engine\default.py", line 284, in __init__
self.cursor = self.create_cursor()

 "c:\opt\python26\lib\site-packages\sqlalchemy\dialects\oracle\cx_oracle.py", line 237, in create_cursor
c.cursor.arraysize = self.dialect.arraysize
AttributeError: 'OracleCursor' object has no attribute 'cursor'
Traceback (most recent call last):


 "/usr/local/lib/python2.7/site-packages/redbaron/base_nodes.py", line 36, in wrapper

return function(*args, **kwargs)


 "/usr/local/lib/python2.7/site-packages/redbaron/base_nodes.py", line 293, in root

current = current.parent
AttributeError: 'NoneType' object has no attribute 'parent'
