Hi Massimo,

with your change, nothing at all gets imported.
I can see that using StringIO.StringIO is more pythonic than my hack
but I'm at a loss as to why the table that worked before now doesn't get filled.


Daniel

On Sun, Nov 23, 2008 at 16:30, mdipierro <[EMAIL PROTECTED]> wrote:
>
> Can you try instead
>
> import StringIO
> db.yourtable.import_from_csv_file(StringIO.StringIO(your_csv_string))
>
> and see what happens? Booleans should be T/F not 1/0.
>
> Massimo
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to