On Wed, Jul 04, 2007 at 08:44:15AM -0600, Brian Cole wrote:
> CREATE TABLE `sysname` (
> `sysname_id` int(11) NOT NULL auto_increment,
> `sysname` varchar(64) NOT NULL,
> PRIMARY KEY (`sysname_id`)
> ) ENGINE=InnoDB DEFAULT CHARSET=utf8
>
> '_SO_class_'+column.foreignKey).q.id
> TypeError: cannot concatenate 'str' and 'NoneType' objects
I suspect SQLObject has problems getting column decriptions from the
database (due to fromDatabase). To start debugging print Sysname.sqlmeta.columns
- do they look right?
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss