Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 249 forks source link

[Issue Collection] Installation Problems #205

Closed Robot-Will closed 8 years ago

Robot-Will commented 9 years ago

1. Installation

jetcz commented 9 years ago

Can't load package if the packages path contains character "ř"

Reloading plugin C:\Users\Jiří\AppData\Roaming\Sublime Text 2\Packages\Arduino-like IDE\StinoStarter.py Traceback (most recent call last): File ".\sublime_plugin.py", line 62, in reload_plugin File ".\StinoStarter.py", line 6, in import app File ".\appinit.py", line 20, in i18n = language.Language() File ".\app\language.py", line 62, in init self.genLanguageItemList() File ".\app\language.py", line 99, in genLanguageItemList lang_file = os.path.join(constant.language_root, lang_file_name) File ".\ntpath.py", line 108, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xf8 in position 11: ordinal not in range(128)

gonzoid commented 9 years ago

Hello @jetcz

You are using the older version of Stino which isn't supported anymore, please try the new version: https://github.com/Robot-Will/Stino/wiki/Manual-installation

jetcz commented 9 years ago

problem persists

Reloading plugin C:\Users\Jiří\AppData\Roaming\Sublime Text 2\Packages\Stino-new-stino\StinoStarter.py Traceback (most recent call last): File ".\sublime_plugin.py", line 62, in reload_plugin File ".\StinoStarter.py", line 24, in import stino File ".\stinoinit.py", line 22, in main.set_pyarduino() File ".\stino\main.py", line 31, in set_pyarduino user_path = st_base.get_stino_user_path() File ".\stino\st_base.py", line 40, in get_stino_user_path user_path = os.path.join(packages_path, 'User') File ".\ntpath.py", line 108, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xf8 in position 11: ordinal not

gonzoid commented 9 years ago

Same problem happens on other plugins and ST2 itself could be the cause.

You could try to use ST3, it embeds python3 which handle unicode natively. Alternatively, try the solution given on the first post of this thread on ST forum: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=12185&p=64135