Unicode Encode Error (Raspberry pi 2 running Openelec)

Hello all.
I’m sorry for my English. Hope you can understand my problem.
Have a Raspberry Pi 2 runnging Openelec and I’m trying to install/run Insync (obvious).
Downloaded ARMHF build, configured my account and my folder. It started syncing. After a few seconds/minutes (don’t know) I check the status and it says that there was an error. This error is:

OpenELEC:~/insync-portable # ./insync-portable get_errors
Traceback (most recent call last):
File " < string > ", line 6, in
File “_ _ main _ .py", line 128, in
File "
_ main _ _ insync-portable _ _.py”, line 150, in
File “codecs.py”, line 351, in write
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xed’ in position 29: ordinal not in range(128)

Is there anything wrong?

Thank you for your patience and regards.

@Roberto_Campo Is your locale set to a UTF-8 one? You can check this by running “locale” in a terminal. If not please try setting it to one then restart Insync. Let us know how it goes.

Hello Ipugoy.

Thank you for your repply. Openelec locale is not set to a UTF-8. When I run “locale” this is the output:
LANG=
LC_CTYPE=“POSIX”
LC_NUMERIC=“POSIX”
LC_TIME=“POSIX”
LC_COLLATE=“POSIX”
LC_MONETARY=“POSIX”
LC_MESSAGES=“POSIX”
LC_PAPER=“POSIX”
LC_NAME=“POSIX”
LC_ADDRESS=“POSIX”
LC_TELEPHONE=“POSIX”
LC_MEASUREMENT=“POSIX”
LC_IDENTIFICATION=“POSIX”
LC_ALL=

I tried to change this but I didn’t see any option/command to do it. As I said I’m running Openelec at a Raspberry Pi 2. I can’t run “apt-get”, I don’t have “localedef” command…

Thank you again. Regards.

I found this link on the internet but I’m not sure how to implement the fix shown. It might be better to contact OpenELEC users as I’m not familiar with it, sorry.

Thanks again.

I just tried what explains at that link. I was not successful :frowning:

When I tried to copy the files from other distro to “/usr/lib/locale”, system says that is in read-only mode.

I asked at Openelec forums. I’m waiting for a response.

I’m thinking to move to another raspberry pi distro. Maybe OSMC (old Raspbmc).

Finally, we can close this issue because the problem is from Openelec, not from Insync.

Thank you again for your support.