- changed milestone to 0.3.9
Better error message needed in sqlalchemy/engine/base.py(932)_convert_key()
An exception is raised using repr(key). However this does not actually show the table name. using str(..) might be a better solution since it actually tells me where to look. Figuring out the right table took be about one hour.
/local2/HRS2/local/lib/python2.4/site-packages/SQLAlchemy-0.3.8-py2.4.egg/sqlalchemy/engine/base.py(932)_convert_key() -> raise exceptions.NoSuchColumnError("Could not locate column in row for column '%s'" % (repr(key))) (Pdb) print key arbeitsmittelhierarchy_arbeitsmittel_view.stammdatenverwaltung_tauglich (Pdb) print repr(key) Column(u'stammdatenverwaltung_tauglich',PGBoolean()) (Pdb) print key arbeitsmittelhierarchy_arbeitsmittel_view.stammdatenverwaltung_tauglich (Pdb) print str(key) arbeitsmittelhierarchy_arbeitsmittel_view.stammdatenverwaltung_tauglich
Comments (3)
-
repo owner -
Account Deleted - changed status to resolved
(original author: ants) Fixed in 2268526d4c443c27eb9e970967155768ad0a93de.
-
repo owner - removed milestone
Removing milestone: 0.3.9 (automated comment)
- Log in to comment