[storm] question about change from .10 to .11
Gustavo Niemeyer
gustavo at niemeyer.net
Fri Dec 14 11:36:15 GMT 2007
Hello Shawn,
> ok, here goes.....
(...)
> ok,, thanks for your time on this
This doesn't seem to reproduce your error. That's what I get when I run
this code:
(...)
return key.message
AttributeError: 'NoneType' object has no attribute 'message'
Notice that in your error, apparently there's data coming from the
database:
> new_value = self.parse_set(value, from_db)
> File
"/usr/lib/python2.5/site-packages/storm-0.11-py2.5.egg/storm/variables.py",
> line 371, in parse_set
> % (type(value), value))
> TypeError: Expected unicode, found <type 'str'>: 'y'
In your example there's nothing in the database.
Can you please make it truly self-contained (do the table creation
*inside* the script)?
Also, what's the MySQLdb and MySQL versions you're using?
--
Gustavo Niemeyer
http://niemeyer.net
More information about the storm
mailing list