Emmet - Notepad++ "Unknown exception"

Apu889 picture Apu889 · Sep 30, 2014 · Viewed 26.4k times · Source

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.

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

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.)

I have python 2.7 installed, if that necessary too.

Answer

David picture David · Sep 30, 2014

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

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

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.

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.)

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