Max Ischenko escribió:
> Hmm, the error appears within SQLObject... this make me think that it
> might expect UnicodeCol, not IntCol for some reason. Will the following
> raise the same error:
> 
> def grabarMod(self, **datos):
>         print datos['consumo']

it's work. Print the int value.

> 
> If not, than there is something wrong with your model classes.
> 

I'm make:
$tg-admin sql drop
$tg-admin sql create

and I've the same error in:  lectura.consumo=datos['consumo'] or any
IntCol...

The example in the post of Lee McFadden ([EMAIL PROTECTED]) work fine!

* TurboGears 0.9a9
* SQLObject 0.7.1dev-r1860


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to