Re: [sqlalchemy] Could not locate column in row for column

2014-06-23 Thread Timur Ozheghin
Hello, Mike thank you for your answer for now it works fine with the patch create_engine( description_encoding = 'utf8') 2014-06-20 22:36 GMT+04:00 Mike Bayer : > > On 6/20/14, 12:14 PM, Mike Bayer wrote: > > On 6/20/14, 7:32 AM, Mike Bayer wrote: > >> NoSuchColumnError: "Could not locate c

Re: [sqlalchemy] Could not locate column in row for column

2014-06-20 Thread Mike Bayer
On 6/20/14, 12:14 PM, Mike Bayer wrote: > On 6/20/14, 7:32 AM, Mike Bayer wrote: >> NoSuchColumnError: "Could not locate column in row for column >> '\\u0417\\u0430\\u043a\\u0430\\u0437\\u044b.\\u041d\\u043e\\u043c\\u0435\\u0440 >> \\u0437\\u0430\\u043a\\u0430\\u0437\\u0430'" >> >> The problem is

Re: [sqlalchemy] Could not locate column in row for column

2014-06-20 Thread Mike Bayer
On 6/20/14, 7:32 AM, Mike Bayer wrote: > NoSuchColumnError: "Could not locate column in row for column > '\\u0417\\u0430\\u043a\\u0430\\u0437\\u044b.\\u041d\\u043e\\u043c\\u0435\\u0440 > \\u0437\\u0430\\u043a\\u0430\\u0437\\u0430'" > > The problem is i can't really debug this error because it isn'

Re: [sqlalchemy] Could not locate column in row for column

2014-06-20 Thread Mike Bayer
On 6/20/14, 3:59 AM, Belegnar Dragon wrote: > Hello. > > SQLAlchemy 0.9.4 > > In this code > > def unidecode_column_name(inspector, table, column_info): > column_info['key'] = unidecode(column_info['name']).replace(u' ', > u'_') > > engine = create_engine("mssql+pyodbc://%s:%s@RTBD" % > (setti

[sqlalchemy] Could not locate column in row for column

2014-06-20 Thread Belegnar Dragon
Hello. SQLAlchemy 0.9.4 In this code def unidecode_column_name(inspector, table, column_info): column_info['key'] = unidecode(column_info['name']).replace(u' ', u'_') engine = create_engine("mssql+pyodbc://%s:%s@RTBD" % (settings.RT_USER, settings.RT_PWD), echo = True) metadata = MetaData(

Re: [sqlalchemy] Could not locate column in row for column

2014-02-13 Thread Igal Kreimer
updated pymysql to version 0.6.1 and it worked for me. thx alot 2014-02-12 19:27 GMT+02:00 Michael Bayer : > And you updated pymysql? Or no? > > Sent from my iPhone > > On Feb 12, 2014, at 10:56 AM, Igal Kreimer wrote: > > yes it does. exactly the same problem, copy pasted ur code and received

Re: [sqlalchemy] Could not locate column in row for column

2014-02-12 Thread Michael Bayer
And you updated pymysql? Or no? Sent from my iPhone > On Feb 12, 2014, at 10:56 AM, Igal Kreimer wrote: > > yes it does. exactly the same problem, copy pasted ur code and received: > > File > "C:\Python33\lib\site-packages\sqlalchemy-0.9.0-py3.3.egg\sqlalchemy\orm\query.py", > line 2264,

Re: [sqlalchemy] Could not locate column in row for column

2014-02-12 Thread Igal Kreimer
yes it does. exactly the same problem, copy pasted ur code and received: File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0-py3.3.egg\sqlalchemy\orm\query.py", line 2264, in all File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0-py3.3.egg\sqlalchemy\orm\loading.py", line 75, in instances

Re: [sqlalchemy] Could not locate column in row for column

2014-02-12 Thread Michael Bayer
On Feb 12, 2014, at 4:49 AM, Igal Kreimer wrote: > Hello sqlalchemy team. > > im a new user to the alchemy, and doing the tutorial on ur site. > ran ur tutorial on adding information to databases and querying against a > virtual db (sqlite in memory) > > after i thought i got that, i tried

[sqlalchemy] Could not locate column in row for column

2014-02-12 Thread Igal Kreimer
Hello sqlalchemy team. im a new user to the alchemy, and doing the tutorial on ur site. ran ur tutorial on adding information to databases and querying against a virtual db (sqlite in memory) after i thought i got that, i tried testing against a real db - mysql db. im using the driver of pymy