[kforge-user] Error: unicode() argument 2 must be string, not None.

John Bywater john.bywater at appropriatesoftware.net
Wed Jan 27 12:18:11 UTC 2010


Hi Nick,

John Bywater wrote:
> Hi Nick,
> 
> Thanks for your message.
> 
> Firstly, I should admit, I haven't been testing KForge with MySQL. I 
> will start doing that, because there are clearly MySQL-specific issues 
> that can't be ignored.
> 
> I just tried to setup KForge against MySQL. It fails, but with a 
> different error ("BLOB/TEXT column 'name' used in key specification 
> without a key length") from the error you reported.

I fixed this problem (with indexes and MySQL) in this changeset:
http://www.knowledgeforge.net/domainmodel/trac/changeset/507

But I still didn't reproduce the unicode error you reported.

Best,
John.

> The error you reported "unicode() argument 2 must be string, not None" 
> was generated from within SQLObject's createTable() method. That error 
> would pop up whenever the optional 'encoding' argument of the unicode() 
> class exists, but is a null value. Looking though the SQLObject code, it 
> appears that this should always be set.






More information about the kforge-user mailing list