Sublime Forum

How to change plugin folder?

#1

Hello.

I have a problem with work some plugin (package control)
When i try to run PC i see this error in console:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-29: ordinal not in range(128)

I think it’s bcoz my %APPDATA% has cyrillic chars in. So question is: how to change plugin folder? (i didn’t find that property in any conf. files)

P.S. Sublime Text 2 Build 2183, WinXP

0 Likes

#2

i have same problem. dont know how to fix it.

0 Likes

#3

Can you include more of the console log? It is not clear what code is throwing that error.

The only way I know of to change the plugin folder is if you use the portable version on Windows. It would be better, however, to try and identify the code that is having trouble with your folder names and fix it. If you post more of the error message, I can help identify it.

0 Likes

#4

wbond, yep, in portable version it works, but anyway it’s still an issue in default version

here full error output:

Exception in thread Thread-2: Traceback (most recent call last): File ".\threading.py", line 532, in __bootstrap_inner File ".\Package Control.py", line 1890, in run File ".\Package Control.py", line 1759, in make_package_list File ".\Package Control.py", line 1121, in list_available_packages File ".\Package Control.py", line 1066, in list_repositories File ".\Package Control.py", line 175, in get_repositories File ".\Package Control.py", line 148, in fetch_channel File ".\Package Control.py", line 1007, in download_url File ".\Package Control.py", line 602, in download File ".\urllib2.py", line 126, in urlopen File ".\urllib2.py", line 391, in open File ".\urllib2.py", line 409, in _open File ".\urllib2.py", line 369, in _call_chain File ".\Package Control.py", line 92, in https_open File ".\urllib2.py", line 1133, in do_open File ".\httplib.py", line 910, in request File ".\httplib.py", line 947, in _send_request File ".\httplib.py", line 904, in endheaders File ".\httplib.py", line 776, in _send_output File ".\httplib.py", line 735, in send File ".\Package Control.py", line 71, in connect File ".\ssl.py", line 350, in wrap_socket File ".\ssl.py", line 113, in __init__ UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-29: ordinal not in range(128)

0 Likes

#5

I have the same problem. The source of problems - cyrillic chars in path to ssl certs. Quickfix - use HTTP instead of HTTPS. Just change “https” to “http” in Package-Control.sublime-settings and no more errors.

But working over HTTPS is still an issue.

0 Likes

#6

[quote=“oleg.schwab”]I have the same problem. The source of problems - cyrillic chars in path to ssl certs. Quickfix - use HTTP instead of HTTPS. Just change “https” to “http” in Package-Control.sublime-settings and no more errors.

But working over HTTPS is still an issue.[/quote]

Thanks for the info about the path to the ssl certs! I was trying to figure out why the SSL would cause encoding issues.

0 Likes