the CSV IO needs to be rewritten. I thought I had a quick fix for your specific problem but I was wrong. As soon as I finish rewriting it, I will post a message in a new thread.
Massimo On Dec 16, 4:47 am, sharekey <[email protected]> wrote: > Hi Massimo, > > I have tried the latest trunk, it still do not work, I get the > same message "unable to parse csv file". > > On 12月16日, 下午5时35分, mdipierro <[email protected]> wrote: > > > Can you please try the latest trunk and let me know? > > > Massimo > > > On Dec 16, 3:21 am, sharekey <[email protected]> wrote: > > > > I am sure boolean values in the CSV are 'T' or 'F'. > > > For test purpose, I only do these: > > > > 1) define a table > > > db.define_table('test', SQLField('is_true', 'boolean', > > > default=True)) > > > 2) insert two record from appadmin, one value is true, the other value > > > is false. > > > 3) export to csv file > > > 4) open the csv file, be sure the values are 'T' and 'F'. > > > > On 12月16日, 下午4时50分, mdipierro <[email protected]> wrote: > > > > > I am aware of a problem with exporting CSV of boolean, null and time/ > > > > date/datetime. I will fix it within the week. > > > > > Meanwhile, as a way around it, make sure boolean values in the CSV are > > > > 'T' or 'F'. > > > > > Massimo > > > > > On Dec 16, 2:47 am, sharekey <[email protected]> wrote: > > > > > > Hi all, > > > > > > I encount a problem that the table with boolean type field can not > > > > > import from csv file on GAE, any suggest?- 隐藏被引用文字 - > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > - 显示引用的文字 - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

