Re: [web2py] db.import_from_csv_file in python3

2019-10-17 Thread Mamisoa Andriantafika
Done. https://github.com/web2py/pydal/issues/598#issue-508723402 Le mercredi 16 octobre 2019 08:45:09 UTC+2, Massimo Di Pierro a écrit : > > Can you please open a pydal ticket? I can fix this over the week-end. > > On Monday, 14 October 2019 01:54:41 UTC-7, Mamisoa Andriantafika wrote: >> >> It

Re: [web2py] db.import_from_csv_file in python3

2019-10-16 Thread Massimo Di Pierro
Can you please open a pydal ticket? I can fix this over the week-end. On Monday, 14 October 2019 01:54:41 UTC-7, Mamisoa Andriantafika wrote: > > It seems to be related with the "blob" type where python 2 accept also > string type while python 3 expect byte type. > > When I delete the row which

Re: [web2py] db.import_from_csv_file in python3

2019-10-14 Thread Mamisoa Andriantafika
It seems to be related with the "blob" type where python 2 accept also string type while python 3 expect byte type. When I delete the row which contains the blob with string inside, exporting function works. Le dimanche 13 octobre 2019 19:05:58 UTC+2, Mamisoa Andriantafika a écrit : > > Hi, >

[web2py] db.import_from_csv_file in python3

2019-10-13 Thread Mamisoa Andriantafika
Hi, I can't seem to export the db using db.import_from_csv_file in python3. It is working in python 2. It seems to be a problem with one of the image or blob field in a table ? Actually there is only on blob field populated with a b64 image file, but yet no image file in upload field.