Home Download Buy Blog Forum Support

How to change plugin folder?

How to change plugin folder?

Postby mjey on Tue Mar 06, 2012 5:23 am

Hello.

I have a problem with work some plugin (package control)
When i try to run PC i see this error in console:
Code: Select all
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
mjey
 
Posts: 7
Joined: Tue Mar 06, 2012 5:18 am

Re: How to change plugin folder?

Postby Piklos on Tue Mar 06, 2012 1:03 pm

i have same problem. dont know how to fix it.
Piklos
 
Posts: 3
Joined: Tue Mar 06, 2012 1:03 pm

Re: How to change plugin folder?

Postby wbond on Tue Mar 06, 2012 1:23 pm

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.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: How to change plugin folder?

Postby mjey on Wed Mar 07, 2012 1:43 am

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

here full error output:

Code: Select all
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)
mjey
 
Posts: 7
Joined: Tue Mar 06, 2012 5:18 am

Re: How to change plugin folder?

Postby oleg.schwab on Sat Mar 10, 2012 11:55 am

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.
oleg.schwab
 
Posts: 1
Joined: Sat Mar 10, 2012 11:29 am

Re: How to change plugin folder?

Postby wbond on Sat Mar 10, 2012 3:40 pm

oleg.schwab wrote: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.


Thanks for the info about the path to the ssl certs! I was trying to figure out why the SSL would cause encoding issues.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 20 guests