Hi, I'm trying to get sqlacodegen working with an existing database with multiple schemas. I'm running in a clean python 3.6.10 conda environment that only contains sqlacodegen and cx_oracle.
I'm running the following command: sqlacodegen oracle://USER:PASSWORD@ORACLE_HOST:PORT/?service_name=NAME --schema SCHEMA It fails, with some sort of error involving a missing key. Traceback (most recent call last): File "/nfs/shared/miniconda3/envs/sqlacodegen/bin/sqlacodegen", line 8, in <module> sys.exit(main()) File "/nfs/shared/miniconda3/envs/sqlacodegen/lib/python3.6/site-packages/sqlacodegen/main.py", line 52, in main args.noinflect, args.noclasses, nocomments=args.nocomments) File "/nfs/shared/miniconda3/envs/sqlacodegen/lib/python3.6/site-packages/sqlacodegen/codegen.py", line 424, in __init__ if isinstance(table.c[colname].type, String): File "/nfs/shared/miniconda3/envs/sqlacodegen/lib/python3.6/site-packages/sqlalchemy/sql/base.py", line 1157, in __getitem__ return self._index[key] KeyError: 'POTENTIAL_DUPLICATE' This isn't very informative. Can anyone suggest a way I can start tracing what the issue is? Thanks James -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/23891850-070e-41c5-9415-a58b9f67c5aan%40googlegroups.com.