On Wed, May 7, 2008 at 1:55 PM, Simon Cross <hodgestar@gmail.com> wrote:
On Wed, May 7, 2008 at 12:15 PM, Petr JakeŇ° <petr.jakes@tpc.cz> wrote:
> Hi, trying to connect to the existing Firebird database from the Windows XP
> machine, I am getting following strange Error:

> "C:\Python25\lib\site-packages\sqlobject-0.10dev_r3187-py2.5.egg\sqlobject\main.py",
> line 369, in addColumn
>     setter = eval('lambda self, val: self._SO_setValue(%s, val, self.%s,
> self.%s)' % (repr(name), '_SO_from_python_%s' % name, '_SO_to_python_%s'
>  % name))
>   File "<string>", line 1
>     lambda self, val: self._SO_setValue('p$defkod', val,
> self._SO_from_python_p$defkod, self._SO_to_python_p$defkod)

It looks like a really strange column name (p$defkod) has somehow been
introspected from the Firebird database. Do you have any columns with
names similar to that?

Yes, there are column names like OID$CENKTGM01, MJ$TYP, AU$VYNOSY, AU$VYNOSY, AU$ZASOBY etc. in the table.
The designer of the database is saying such a names are alowed according to the ANSI-92 SQL.