Re: GeoDjango - Error while importing data

2012-01-27 Thread Jeff Heard
you are using Postgres 9.1  There is a bug in the adapter for 9.1.  It is
addressed and fixed with this patch:

https://code.djangoproject.com/ticket/16778

On Mon, Jan 16, 2012 at 2:52 AM, Serge RABEVOHITRA <
serge.rabevohi...@gmail.com> wrote:

> Hi,
>
> I've just begun to learn GeoDjango. So I followed step by step the
> "geodjango tutorial".
> When I was at the step "Import data" (TM_WORLD_BORDERS-0.3.shp) , i've
> got this error message :
> "Failed to save the feature (id:0) into the model with the keyword
> arguments : {'iso2' : u'AG'
> DatabaseError: ERREUR: sequence d'octets invalide pour l'encodate
> UTF-8 : 0x00"
>
> I'm very pleased if anyone could help me.
> Thanks.
>
> Regards!
> Serge
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



GeoDjango - Error while importing data

2012-01-27 Thread Serge RABEVOHITRA
Hi,

I've just begun to learn GeoDjango. So I followed step by step the
"geodjango tutorial".
When I was at the step "Import data" (TM_WORLD_BORDERS-0.3.shp) , i've
got this error message :
"Failed to save the feature (id:0) into the model with the keyword
arguments : {'iso2' : u'AG'
DatabaseError: ERREUR: sequence d'octets invalide pour l'encodate
UTF-8 : 0x00"

I'm very pleased if anyone could help me.
Thanks.

Regards!
Serge

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.