Can you try the code in trunk. We just changed a few things in there
related to csv import.

On May 22, 2:08 pm, Gustavo Maggi <gmag...@latinuxpress.com> wrote:
> Hi, I'm trying to do the following:
>
> 1) In the model:
>
> db.define_table('dad',Field('name'))
>
> db.define_table('son',Field('name'),Field('dads','list:reference dad'))
>
> 2) Create some registers in the appadmin interface:
>
> dad.id<http://127.0.0.1:8000/error_reference/appadmin/select/db?orderby=dad.id>
> dad.name<http://127.0.0.1:8000/error_reference/appadmin/select/db?orderby=dad....>
> 1 
> <http://127.0.0.1:8000/error_reference/appadmin/update/db/dad/1>leonor2<http://127.0.0.1:8000/error_reference/appadmin/update/db/dad/2>
> gustavo
>
> son.id<http://127.0.0.1:8000/error_reference/appadmin/select/db?orderby=son.id>
> son.name<http://127.0.0.1:8000/error_reference/appadmin/select/db?orderby=son....>
> son.dads<http://127.0.0.1:8000/error_reference/appadmin/select/db?orderby=son....>
> 1 <http://127.0.0.1:8000/error_reference/appadmin/update/db/son/1>gustavo1,
> 2
> 3) I export the son table in csv file: *db_son.csv*
> *
> *
> 4) Now, I try to import the same file (db_son.csv), without changes, in the
> *db_son.csv, *and give me the following error:
> *'NoneType' object is unsubscriptable *
> *
> *
> I'm using sqlite3 and Version 1.95.1 (2011-04-25 15:04:14)
>
> --
> Gustavo Maggi
> Latinux Press
> gmag...@latinuxpress.comwww.latinuxmagazine.com
>
> Este mensaje y los archivos que se adjunten se dirigen exclusivamente al
> destinatario. Contiene información CONFIDENCIAL sometida a secreto
> profesional. Si ha recibido este mensaje por error debe saber que su
> lectura, copia y uso están prohibidos. This information is CONFIDENTIAL and
> may also be attorney-privileged. The information is intended only for the
> use of the individual or entity to whom it is addressed.

Reply via email to