>>> db.export_to_csv_file(open('/home/thadeusb/Desktop/data.csv', 'wb'))
#then later >>> db.import_from_csv_file(open('/home/thadeusb/Desktop/data.csv', 'r')) Traceback (most recent call last): File "/home/thadeusb/Applications/web2py-devel/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/home/thadeusb/Applications/web2py-devel/applications/bootygrab/controllers/default.py" <http://127.0.0.1:8000/admin/default/edit/bootygrab/controllers/default.py>, line 617, in <module> File "/home/thadeusb/Applications/web2py-devel/gluon/globals.py", line 102, in <lambda> self._caller = lambda f: f() File "/home/thadeusb/Applications/web2py-devel/applications/bootygrab/controllers/default.py" <http://127.0.0.1:8000/admin/default/edit/bootygrab/controllers/default.py>, line 566, in dbio db.import_from_csv_file(open('/home/thadeusb/Desktop/bootygrab.csv', 'r')) File "/home/thadeusb/Applications/web2py-devel/gluon/sql.py", line 1193, in import_from_csv_file self[tablename].import_from_csv_file(ifile, id_map, null, unique) File "/home/thadeusb/Applications/web2py-devel/gluon/sql.py", line 1705, in import_from_csv_file for line in reader: Error: field larger than field limit (131072) -Thadeus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---