I upgraded from 0.4.3 to 0.4.6 and now I get the error below when
starting my TurboGears app. I'm using reflection and that fails on the
first table. I had a look at the changelog and tried adding
"oracle_resolve_synonyms=True" to that table's definition but I got
another error (not shown here).
Any help would be appreciated.
Thanks,
Steve
----
C:\Documents and Settings\daystev\Desktop\asrt_trunk\srt-project>start-
srt.py de
v.cfg
SELECT USER FROM DUAL
{}
select COLUMN_NAME, DATA_TYPE, DATA_LENGTH, DATA_PRECISION,
DATA_SCALE, NULLABLE
, DATA_DEFAULT from ALL_TAB_COLUMNS where TABLE_NAME = :table_name and
OWNER = :
owner
{'owner': 'ASRT_PROXY', 'table_name': 'ACC_PROTOCOL'}
Traceback (most recent call last):
File "C:\Documents and Settings\daystev\Desktop\asrt_trunk\srt-
project\start-s
rt.py", line 24, in <module>
from srt.controllers import Root
File "C:\Documents and Settings\daystev\Desktop\asrt_trunk\srt-
project\srt\con
trollers.py", line 6, in <module>
import model as dbmodel
File "C:\Documents and Settings\daystev\Desktop\asrt_trunk\srt-
project\srt\mod
el.py", line 27, in <module>
autoload=True)
File "c:\python25\lib\site-packages\sqlalchemy-0.4.6-py2.5.egg
\sqlalchemy\sche
ma.py", line 110, in __call__
return type.__call__(self, name, metadata, *args, **kwargs)
File "c:\python25\lib\site-packages\sqlalchemy-0.4.6-py2.5.egg
\sqlalchemy\sche
ma.py", line 226, in __init__
_bind_or_error(metadata).reflecttable(self,
include_columns=include_columns)
File "c:\python25\lib\site-packages\sqlalchemy-0.4.6-py2.5.egg
\sqlalchemy\engi
ne\base.py", line 1275, in reflecttable
self.dialect.reflecttable(conn, table, include_columns)
File "c:\python25\lib\site-packages\sqlalchemy-0.4.6-py2.5.egg
\sqlalchemy\data
bases\oracle.py", line 501, in reflecttable
raise exceptions.AssertionError("Couldn't find any column
information for ta
ble %s" % actual_name)
sqlalchemy.exceptions.AssertionError: Couldn't find any column
information for t
able ACC_PROTOCOL
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---