google / adb-sync

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work on MAC

MrThiago opened this issue · comments

I am trying to use this on mac:
I am getting this error:

adb-sync ../COPY_TEST/ mnt/sdcard/
Traceback (most recent call last):
File "/usr/local/bin/adb-sync", line 774, in
main(*sys.argv)
File "/usr/local/bin/adb-sync", line 693, in main
args_encoding = locale.getdefaultlocale()[1]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8

can anyone help please

locale.getdefaultlocale() failing seems to be a Python bug to me, not an adb-sync bug.

Does the workaround on coderwall.com work for you? It might be possible to put this into adb-sync itself, as a hack.

I managed to get it working.
Big thanks guys.

On Thursday, 3 November 2016, divVerent notifications@github.com wrote:

locale.getdefaultlocale() failing seems to be a Python bug to me, not an
adb-sync bug.

Does the workaround on coderwall.com work for you? It might be possible
to put this into adb-sync itself, as a hack.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#7 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHF_zuHjnw4mM_JzVCTLXjxVJGOzc2q8ks5q6d-qgaJpZM4Kn_KV
.