本文介绍了Emmet - Notepad++“未知异常"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我尝试使用 Emmet 的 Expand Abbreviation 它给了我错误.首先是一个带有 Unknown Exception 的弹出窗口,然后另一个带有 python 脚本插件不接受脚本 的弹出窗口.

Every time I'm trying to use Emmet's Expand Abbreviation it gives me errors. First a pop up with Unknown Exception and then another pop up with python script plugin did not accept the script.

我尝试重新安装 Notepad++,但没有帮助.

I tried reinstalling Notepad++ but that didn't help.

我运行的是 Windows 8 x64 &记事本++ 6.6.9.这是我第一次使用 Emmet,最近使用了旧的 Zen Coding.(完美无缺.)​​

I'm running Windows 8 x64 & Notepad++ 6.6.9. This is the first time I'm using Emmet, after recently used the old Zen Coding. (Which works flawlessly.)

如果有必要,我也安装了 python 2.7.

I have python 2.7 installed, if that necessary too.

推荐答案

我遇到了和你一样的问题.这是对我有用的解决方案:

I had the same problem as you.This is the solution which worked for me:

  • emmetio/npp Bug ID #12: python script plugin did not accept the script

基本上,问题出在 Python Script 插件上,该插件将随 Emmet 自动安装.

Basically, the problem lies in the Python Script plugin which will be automatically installed with Emmet.

转到此链接:
http://sourceforge.net/projects/npppythonscript/files/Python%20Script%200.9.2.0/
并下载 PythonScript_完整_0.9.2.0 包.

Go to this link:
http://sourceforge.net/projects/npppythonscript/files/Python%20Script%200.9.2.0/
and download PythonScript_full_0.9.2.0 package.

用 PythonScript_full_0.9.2.0 替换 Notepad++ 的 Python 包并解压 Notepad++ 的 MAIN 目录中的存档.(这是 notepad++.exe 所在的位置.)
(不要解压 plugins 目录中的存档.那是行不通的.python27.dll 文件需要在 notepad++.exe 是.)

Replace Notepad++'s Python package with PythonScript_full_0.9.2.0 and unpack the archive in Notepad++'s MAIN directory. (This is where notepad++.exe is.)
(Do NOT unpack the archive inside the plugins directory. That will not work. The python27.dll file needs to be in the same directory where notepad++.exe is.)

我使用的是 Notepad++ v6.6.9,现在可以使用了.

I am using Notepad++ v6.6.9 and it works now.

这篇关于Emmet - Notepad++“未知异常"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 20:01