Hi!

I'm getting the structure with sqlmeta.fromDatabase = True.

There's a column in the table called "en_US", which for some reason
SQLObject tries to access as "en_u_s".

 1/QueryAll:  SHOW COLUMNS FROM locale
Populating from DB.
 1/QueryOne:  SELECT code, en_u_s, eng, lat, lit, rus, est, comments
FROM locale WHERE id = 0
/.../
_mysql_exceptions.OperationalError: (1054, "Unknown column 'en_u_s' in
'field list'")

'explain' on the MySQL table shows this for the relevant column:
| en_US    | text         | YES  |     | NULL    |                |

Why does SQLObject fuck up and how to work around it?


Elver


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to