I am running into the following error running under mod_wsgi, and against an Oracle Database, using cx_Oracle
I'm running the following query: result = select([TABLES.SYSTEM_CONFIG.c.value], TABLES.SYSTEM_CONFIG.c.key=='email_address').execute().fetchall() The table is defined as follows: SYSTEM_CONFIG = Table('system_config', bound_meta_data, Column('value', UnicodeText(), nullable=False), schema=schema, autoload=True) When the query runs I ocassionally get the following error: Module sqlalchemy.engine.base:1776 in fetchall Module sqlalchemy.engine.base:1663 in fetchone Module sqlalchemy.engine.base:1379 in __init__ Module sqlalchemy.engine.base:1620 in _get_col Module sqlalchemy.databases.oracle:229 in process Module sqlalchemy.types:470 in process AttributeError: 'cx_Oracle.LOB' object has no attribute 'decode' Any suggestions as to what might be causing this? -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.