简体   繁体   English

PyV8问题升华Text3

[英]PyV8 Issue Sublime Text3

im having some problems and my new Ubuntu 12.04 64 installation. 即时通讯遇到了一些问题,我安装了新的Ubuntu 12.04 64。

I have installed sublime text, i got both, 2/3 and both are giving this error when i try to install EMMET i have research a lot of info, also trying to install PYV8 Manually, but its not working. 我已经安装了sublime文本,当我尝试安装EMMET时,我都得到了2/3,并且都给出了此错误。我研究了很多信息,也尝试手动安装PYV8,但是它不起作用。

PyV8: Creating new thread
Emmet: Creating thread

Emmet: Loading https://api.github.com/repos/emmetio/pyv8-binaries/contents
Emmet: Loading PyV8 binary from https://raw.github.com/emmetio/pyv8-binaries/master/pyv8-linux64-p3.zip
Exception in thread Thread-30:
Traceback (most recent call last):
  File "X/threading.py", line 639, in _bootstrap_inner
  File "X/threading.py", line 825, in run
  File "/home/zilashak/.config/sublime-text-3/Installed Packages/Emmet.sublime-package/emmet/pyv8loader.py", line 271, in run
    return self.trigger('error', exit_code=self.thread.exit_code, progress=self)
  File "/home/zilashak/.config/sublime-text-3/Installed Packages/Emmet.sublime-package/emmet/pyv8loader.py", line 290, in trigger
    c(*args, **kwargs)
TypeError: on_error() got an unexpected keyword argument 'progress'

So if anyone knows how to solve it, ill thanks you a lot. 因此,如果有人知道如何解决该问题,请多谢您。

-----------------------------------------------------SOLUTION ---------------------------------- !!!!!!!!!!!!!!!!!!SOLVED!!!!!!!!!! -------------------------------------------------- ---解决方案---------------------------------- !!!!!!!!!!!! !!!!!!解决了!!!!!!!!!!

Solution here for everyone!! 解决方案在这里给大家!

Ok for everyone out there that is having this problem, after lot of research i have found the solution (FINALLY!) First of, install python3.3 好的,对于存在此问题的每个人,经过大量研究后,我找到了解决方案(完全!)首先,安装python3.3

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.3

Then you have to download manually the package of PyV8 from https://raw.github.com/emmetio/pyv8-binaries/master/pyv8-linux64-p3.zip After you download you have to unzip the file, and you wil have to copy the 2 files inside the new folder into your .config/sublime-text3/Installed Packages/PyV8/ 然后,您必须从https://raw.github.com/emmetio/pyv8-binaries/master/pyv8-linux64-p3.zip手动下载PyV8软件包。下载后,您必须解压缩该文件,并且将新文件夹中的2个文件复制到.config / sublime-text3 / Installed Packages / PyV8 /

You have to create the folder PyV8 previously. 您必须先前创建文件夹PyV8。 At the end its should look, like this! 最后,它应该看起来像这样!

http://imgur.com/ZV6PF9Q http://imgur.com/ZV6PF9Q

I tried this and also other solutions found on github and... nothing worked. 我尝试了这个,也尝试了在github上找到的其他解决方案,...没有任何效果。 But having a lucky day i stumbled upon this answer: https://github.com/sergeche/emmet-sublime/issues/476 但是幸运的一天我偶然发现了这个答案: https : //github.com/sergeche/emmet-sublime/issues/476

To all the guys who couldn't resolve it till now: If all the other solutions didn't work for you, try that! 对于到现在为止仍无法解决的所有人如果其他所有解决方案都对您不起作用,请尝试一下! It worked for me! 它为我工作!

似乎是同样的问题,在这里在这里 ,用“disable_pyv8_update”:真正的是建议的修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM