really thanks.
2010/1/22 Thadeus Burgess <thade...@thadeusb.com> > You have to define your tables before you export to csv, web2py will > only export the tables it knows about. > > so > > db = DAL('...') > > db.define_table(...) > > db.export_to_csv_file(open(file)) > > -Thadeus > > > > > > On Fri, Jan 22, 2010 at 12:51 PM, Alexandre Andrade > <alexandrema...@gmail.com> wrote: > > I trying to export a sqlite db with > > > > db = DAL('sqlite://storage.sqlite') > > db.export_to_csv_file(open('/home/www-data/web2py/convenios.csv', 'wb')) > > > > > > but it creates a file with only: > > > > -------- > > END > > -------- > > > > What could be wrong? Someone have this problem before? > > > > Exporting each table works. > > > > > > > > -- > > Atenciosamente > > > > -- > > ========================= > > Alexandre Andrade > > Hipercenter.com > > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to web...@googlegroups.com. > > To unsubscribe from this group, send email to > > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > > http://groups.google.com/group/web2py?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- Atenciosamente -- ========================= Alexandre Andrade Hipercenter.com -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.