Home Download Buy Blog Forum Support

Problems to install package control

Problems to install package control

Postby raulleals on Fri Apr 27, 2012 12:25 pm

I copy the installation code, when I restart the program that appears on the console.

startup, version: 2195 windows x64 channel: dev
executable: /C/Program Files/Sublime Text 2/sublimetext.exe
working dir: /C/Users/Gênia 04/Desktop
packages path: /C/Users/Gênia 04/AppData/Roaming/Sublime Text 2/Packages
settings path: /C/Users/Gênia 04/AppData/Roaming/Sublime Text 2/Settings
error parsing session: No data at: 0:0
PackageSetup not required
Py_GetProgramName(): sublime_text.exe
Py_GetExecPrefix(): C:\Program Files\Sublime Text 2
Py_GetProgramFullPath(): C:\Program Files\Sublime Text 2\sublime_text.exe
Py_GetPath(): C:\Program Files\Sublime Text 2\python26.zip;C:\Program Files\Sublime Text 2\DLLs;C:\Program Files\Sublime Text 2\lib;C:\Program Files\Sublime Text 2\lib\plat-win;C:\Program Files\Sublime Text 2\lib\lib-tk;C:\Program Files\Sublime Text 2
Py_GetPythonHome(): C:\Program Files\Sublime Text 2
catalogue loaded
found 4 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 2 files for base name Main.sublime-menu
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\comment.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\copy_path.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\delete_word.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\detect_indentation.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\duplicate_line.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\echo.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\exec.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\fold.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\font.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\goto_line.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\indentation.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\kill_ring.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\mark.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\new_templates.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\open_file_settings.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\paragraph.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\save_on_focus_lost.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\scroll.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\set_unsaved_view_name.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\side_bar.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\sort.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\swap_line.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\switch_file.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\transform.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\transpose.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Default\trim_trailing_white_space.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Diff\diff.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\HTML\encode_html_entities.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\HTML\html_completions.py
Reloading plugin C:\Users\Gênia 04\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py
plugin init time: 0.154662
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 0.424841
startup cache, total files: 90 cache hits: 90
startup time: 0.500188 (package setup was not run)
loaded 934 snippets
Exception in thread Thread-1:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File ".\Package Control.py", line 2378, in run
File ".\Package Control.py", line 1686, in record_usage
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 character u'\xea' in position 10: ordinal not in range(128)

Someone can help me?
raulleals
 
Posts: 1
Joined: Fri Apr 27, 2012 12:24 pm

Re: Problems to install package control

Postby mshutov on Thu May 24, 2012 4:45 am

It seems that there is problem in ssl.py(which is bundled with sublime text 2 as ssl.pyo) - it can't deal with non-ascii chars in path
I don't know whether problem is fixed in later python versions(2.7.x) but it would be cool if it can be fixed in sublime text 2
I will use portable version at Home, but it is not very handy.

Edit: It seems that problem with Python 2.x entire and I don't know is it possible to move to python 3.x
mshutov
 
Posts: 1
Joined: Thu May 24, 2012 4:41 am

Re: Problems to install package control

Postby ms4py on Thu May 24, 2012 12:39 pm

The problem is the ST2 API. `sublime.packages_path()` returns an Unicode string, which is a bad idea on Windows. Here are more details: https://github.com/wbond/sublime_packag ... issues/117
ms4py
 
Posts: 19
Joined: Wed Apr 27, 2011 11:25 am

Re: Problems to install package control

Postby ms4py on Thu May 24, 2012 12:41 pm

Here is the upstream report at userecho: http://sublimetext.userecho.com/topic/111653-/
ms4py
 
Posts: 19
Joined: Wed Apr 27, 2011 11:25 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 12 guests