Can't install SdkBox (UnicodeDecodeError)

Can't install SdkBox (UnicodeDecodeError)
0.0 0

#1

i,

i can’t install SDKBox under Windows 8. When i use the installer, it displays an error:
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe9 in position 11: ordinal
not in range(128)

i try the comman to install sdkbox from comman line and i have this error:
C:\Users\Grégory>python -c “import urllib; s = urllib.urlopen(‘https://raw.githu
busercontent.com/sdkbox-doc/en/master/install/install.py’).read(); exec s”
Traceback (most recent call last):
File “”, line 1, in
File “”, line 403, in
File “”, line 389, in main
File “c:\Python27\lib\ntpath.py”, line 108, in join
path += “\” + b
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe9 in position 11: ordinal
not in range(128)

I have found in some forum that i could have this problem if my windows account use non English characters such as “grégory”.
How can i solve my problem without changing my windows Account ?

Thanks.


#2

Dose your path contain non-ascii characters?


#3

can you try this?

  • write fellow to file t.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import urllib; s = urllib.urlopen('https://raw.githubusercontent.com/sdkbox-doc/en/master/install/install.py').read(); exec s
  • run python t.py

#4

My Windows user name use non-ascii characters (“grégory”).

htlxyz, i have tried your .py file and i have the same result:

C:\Dev\cocos\Test>python t.py
Traceback (most recent call last):
  File "t.py", line 4, in <module>
    import urllib; s = urllib.urlopen('https://raw.githubusercontent.com/sdkbox-
doc/en/master/install/install.py').read(); exec s
  File "<string>", line 403, in <module>
  File "<string>", line 389, in main
  File "c:\Python27\lib\ntpath.py", line 108, in join
    path += "\\" + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 11: ordinal
 not in range(128)

#5

In that case, you might want to download the installer, and unzip it manually to the path of your choice.

http://download.sdkbox.com/installer/v1/sdkbox_installer.zip


#6

i have downloaded your .zip file and extract it.
After that i use this command and it failed:

C:\librairies\sdkbox_installer>sdkbox import facebook
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016 SDKBOX Inc. v1.0.1.18
 test speed of hosts...
 - test host main: 101.12KB/s.
 - test host china: 29.17KB/s.
 choose the fastest server 'main', speed is 101.12KB/s.
 #FATAL: 'ascii' codec can't decode byte 0xe9 in position 11: ordinal not in ran
ge(128)
 Installation failed :(

#7

can you use follow installer to try again

sdkbox_installer.zip (262.5 KB)


#8

I have the same error.
Do i have to add some extra parametere to install sdkbox in a specific path of my choice ?


#9

@splatoon
can you try this, thank you.

sdkbox_installer.zip (262.5 KB)