Sqlalchemy 1.0.6 Trying to issue a simple select on a CLOB column, throws the following exception:
Traceback (most recent call last): File "/opt/5.3/server/handlers/orm.py", line 81, in select result = query.all() File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2399, in all return list(self) File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/orm/loading.py" , line 84, in instances util.raise_from_cause(err) File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/util/compat.py" , line 199, in raise_from_cause reraise(type(exception), exception, tb=exc_tb) File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/orm/loading.py" , line 65, in instances fetch = cursor.fetchall() File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/engine/result.py" , line 1243, in fetchall row = self.fetchone() File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/engine/result.py" , line 1013, in fetchone self.cursor, self.context) File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/engine/base.py" , line 1344, in _handle_dbapi_exception util.reraise(*exc_info) File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/engine/result.py" , line 1006, in fetchone return self.process_rows([row])[0] File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/engine/result.py" , line 929, in process_rows for row in rows] File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/engine/result.py" , line 1204, in __init__ row[index] = processor(row[index]) File "/opt/ve/python-2.7.6/lib/python2.7/site-packages/sqlalchemy/dialects/oracle/cx_oracle.py" , line 366, in process return value.read() AttributeError: 'str' object has no attribute 'read' Is there any way around it? (other than not using Text columns) -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.