I end up fix the problem by just passing strict=false to json.loads()...
json.loads(response.read(), strict=False).

The error didn't occur anymore, seem like working fine.

Thanks


On Saturday, November 9, 2013 11:44:53 PM UTC+8, Chi Tak Lam wrote:
>
> Hi,
>
> I have a django-celery task to retrieve data from a third party service 
> and store into my database.
> But I found an error in my log file, which is
>     None: Invalid control character at: line 1134 column 14 (char 30262)
>
> Not sure what is char 30262, maybe this?
> http://www.fileformat.info/info/unicode/char/30262/index.htm
>
> My question is, how can i solve this problem without skip this records?
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c5b876f9-f776-4c1b-a7e6-7567a001bb59%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to