deepin 最新版 安装 sublime-text-dev 版本的一点问题
Tofloor
poster avatar
fungleo
deepin
2018-03-12 20:50
Author
无论是使用应用商店安装,还是在命令行里面安装,安装之后运行是正常的。但是,在 sublime 中安装 package control 插件的时候,sublime 就卡死了。

试了两台电脑,全新安装的 deepin 均是这个问题。

sublime 中安装 package control 方法:

^+` 快捷键后输入以下代码回车执行。

  1. import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Copy the Code


暂时未在其他系统中发现此问题,请问是仓库中的包邮问题还是什么情况?
Reply Favorite View the author
All Replies
avatar
junmoxiao
deepin
2018-03-12 21:29
#1
我也遇到这个问题了,最后是手动把插件放到了安装目录
Reply View the author
avatar
fungleo
deepin
2018-03-12 23:29
#2
https://bbs.deepin.org/post/154115
我也遇到这个问题了,最后是手动把插件放到了安装目录

对这个不熟悉,我是给别人安装的。手动操作应该怎么处理?
Reply View the author
avatar
sudo_free
deepin
2018-03-12 23:55
#3
sublime3自己有install package control,不需要从控制台输这些
Reply View the author
avatar
fungleo
deepin
2018-03-13 00:20
#4
https://bbs.deepin.org/post/154115
sublime3自己有install package control,不需要从控制台输这些

如何操作?
Reply View the author
avatar
junmoxiao
deepin
2018-03-13 00:35
#5
百度很多
  1. sublime手动安装 package control
Copy the Code

老哥自己先搜一下啊
Reply View the author
avatar
sudo_free
deepin
2018-03-13 01:16
#6
It has been deleted!
avatar
fungleo
deepin
2018-03-14 01:01
#7
https://bbs.deepin.org/post/154115
ctrl shift p了解一下?不知道这个还是去用vscode

已经解决了。我确实对这个不熟悉,我用vim。
Reply View the author
avatar
sudo_free
deepin
2018-03-14 01:19
#8
It has been deleted!
avatar
junmoxiao
deepin
2018-03-15 20:51
#9
https://packagecontrol.io/installation#st3

右边部分讲的怎么手动安装
Reply View the author
avatar
132******85
deepin
2018-03-15 23:30
#10
估计是 网络问题, 开启 饭强 看下
执行那一段代码也是自动安装 package control  如果 网络有问题,有可能会不响应的
Reply View the author