cms
cms copied to clipboard
SQLAlchemy: Unicode issue
New versions of SA seems to be more picky with Unicode. I noticed this problem with cmsImportDataset
, but it seems to be widespread.
/root/.local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:185: SAWarning: Unicode type received non-unicode bind param value 'foo'. (this warning may be suppressed after 10 occurrences)
(util.ellipses_string(value),))
What SA version are you using?
Somewhat related to this there are also some TODOs in the _TYPE_MAP
of https://github.com/cms-dev/cms/blob/master/cms/db/base.py.
1.0.12 (from pip install -r requirements.txt
)