python script plugin did not accept the script
cedenoaugusto opened this issue · 33 comments
I got the exception when I pressed: ctrl+alt+enter "python script plugin did not accept the script"
What can I do?
Version notepad++ 6.6.7
some problem also running notepad++ 6.6.7
Replace Notepad++ Python package with PythonScript_full_0.9.2.0.7z and unpack all archives in Notepad++ main directory. I am using notepad++ v6.6.9.
http://sourceforge.net/projects/npppythonscript/files/Python%20Script%200.9.2.0/
Check also your Shortcut Mapper if necessary
i have same problem, but mmosoll method helps, thank you. Is emmet work in notepad++ with lag? Around 0.5-1second? In sublime emmet works instantly, but in notepad++ it works with lag
Thank you mmosoll, running on Notepad++ Je Suis Charlie Edition...
Helped me out. Thanks mmosoll!
Worked for me. thanks a lot
Thank you mmosoll, I tried your solution, it worked for me!
I settled this problem as follows:
1.Manual installation Emmet
Manual installation
Install Python Script plugin (available in Plugin Manager).
Download EmmetNPP plugin and unpack it into C:\Program Files\Notepad++\plugins folder
Start Nodepad++. You should see Plugins > Emmet menu item
2.Replace Notepad++ Python package with PythonScript_full_0.9.2.0.7z as mmosoll said before.
3.change the shortcut mapper Settings > setting-plugin commands --Expand abbreviation to tab
I followed yours instruccions, but it does not work for me. Instead I have been using Brackets.
Wrote: "table>tr>td"
Then, in the Menu: Plugin > Emmet > Expand...
Produces:
Message1: Unknown exception
Message2: Phyton Script Plugin did not accept the script
Win 7
NP++ v6.7.5
hi~~Augusto Cedeño
- make sure you Manual installation Emmet
2.down load Python Script Plugin,http://sourceforge.net/projects/npppythonscript/files/Python%20Script%200.9.2.0/
then replace Notepad++ Python
2015-05-15
pplflymoon2013
发件人:Augusto Cedeño notifications@github.com
发送时间:2015-05-15 05:00
主题:Re: [npp] python script plugin did not accept the script (#12)
收件人:"emmetio/npp"npp@noreply.github.com
抄送:"pplflymoon"pplflymoon2013@gmail.com
I followed yours instruccions, but it does not work for me. Instead I have been using Brackets.
Wrote: "table>tr>td"
Then, in the Menu: Plugin > Emmet > Expand...
Produces:
Message1: Unknown exception
Message2: Phyton Script Plugin did not accept the script
Win 7
NP++ v6.7.5
—
Reply to this email directly or view it on GitHub.
The "Phyton Script Plugin did not accept the script" error appeared with the old phyton scripts distributed with NP++.
The last Notepad++ v6.7.7 with Emmet plugin (last version is 1.0.2) is running fine (only time lag when expresion is too large). I updated NP++ but PythonScripts were updated (several version ago) with the PythonScript_full_0.9.2.0.7z archive:
http://sourceforge.net/projects/npppythonscript/files/Python%20Script%200.9.2.0/
Unpack PythonScript_full_0.9.2.0.7z in NP++ main directory and check also your Shortcut Mapper if necessary.
hi
i have notepad++ version 6.8.2
Emmet plugin 1.0.0
python script 1.0.6.0
Python 2.7.6-notepad++ r2 (default, Apr 21 2014, 19:26:54) [MSC v.1600 32 bit (Intel)]
same problem
python script plugin did not accept the script
?
I am using notepad++ v6.8.2
Emmet plugin 1.0.2 running fine with PythonScript_full_0.9.2.0.7z (see previous post)
OK, so I inspected the 0.9.2.0 archive for PythonScript, and noticed that it contained \plugins\PythonScript\lib, \plugins\PythonScript\scripts and \docs directories that were not present in my installation in which Emmet was malfunctioning. Not content to do a needless downgrade, I simply dropped these folders into my Notepad++ dir. Emmet started working, even with the PythonScript installed through the plugin manager. Not being content with out of date scripts, I deleted the scripts and docs I had just dropped in, and dropped in the entire contents of the 1.0.8.0 plugin script folder. It appears to be running perfectly fine now; even picking up a custom snippets.json definition.
It appears that what is now needed to fix this plugin is not for someone to update the Emmet plugin to run with the new PythonScript, which appears to be fully compatible with the Emmet plugin, but that the additional folders and files in the downloadable PythonScript archives (I used "PythonScript_Full_1.0.8.0.zip") also be included in the Plugin Manager's installation (provided it can do it).
Hope this shortens someone's path, and helps ppl find the Zen of Emmet coding sooner.
Very good job BugZappr,
Summarizing your work:
1 - From Notepad++ plugins directory
- Remove PythonScript.dll
- Remove PythonScript directory
- Remove doc\PythonScript directory
2 - I used PythonScript from http://sourceforge.net/projects/npppythonscript/files/Python%20Script%201.0.8.0/PythonScript_Full_1.0.8.0.zip
and copy the following extracted files plugins\PythonScript.dll, plugins\doc, plugins\PythonScript\ to the Notepad++ plugins directory.
At first glance, I think with this update Emmet speed performance was increased :-)
Thank you
hi
i have notepad++ version 6.8.2
Emmet plugin 1.0.0
python script 1.0.6.0
Emmet is no work..........
What can I do? Thanks in advance.
lwd1900: Those are the precise versions I had. You will need to copy the contents of the above given archive into yer NPP dir; not just install it from the plugin manager. As this issue is closed, presumably the plugin manager's archive is being updated.
Thanx bro - I am using 6.8.6 version and your solution actually worked .... @mmosoll
Thank you mmosoll
Almost worked on my machine: only choosing from menu Emmet expanded or wrapped, because default shortcuts (Ctrl-Alt-Enter
, Ctrl-Shift-Alt-Enter
) are overridden. I didn't search for conflicts, just set new shortcuts (Ctrl-Shift-E
for expanding, and Ctrl-Shift-A
for wrapping work fine).
I've tried Emmet on Notepad++, Adobe Brackets and Sublime Text 3.
The best experience with Emmet: Sublime Text, and the worst: Notepad++.
Thank you mmosoll
I can't believe, it's working!
thanks mmosoll and pplflymoon
I can't download the Python at the link that you provide,mmosoll. it's too slow . Wuuuu, I'm in china.
Now it works.
After I downloaded and installed Python Script Plugin: http://sourceforge.net/projects/npppythonscript/files/Python%20Script%200.9.2.0/
Thanks pplflymoon and mmosoll.
1.0.8.0 Python Script is OK,but you must installed the full vision by yourself not by plugin Manager
I've installed it via plugin manager. I reported the problem with the libraries to the Python plugin guys. It now works if you just install it via the plugin manager.
Aqui funfou beleza mmosoll, Obrigado!
Thank you mmosoll, worked for me!
yep, solution #12 (comment) still works, thanks!
I'm glad it works now. You guys all seem to think the solution was given by mmosoll; but I was the one who first posted it for him to restate, FWIW! You can read it in the comments above for yourselves. Emmit now works when downloaded with PythonScript from the Plugin Manager; although NPP's Plugin Manager has an ad graphic, and they have quit using Plugin Manager by default. They will replace it with a banner-free version soon. You can still install Plugin Manager as an optional plug-in. I recently tested this on a PortableApps version starting from a clean install. NPP's PythonScript now downloads and installs Python's libraries too.
Hello, when I installed emmet and notepad++ there were no pre-existing pythonscript.dll files. I went to the link that @BugZappr suggested and downloaded a file from there. I extracted the Pythonscript.dll files to C/ProgrammeFiles/Notepad++/Plugins. However when I open up Notepad++ and I try to install pythonscript via the plugin manager I continue to get an error message saying installation failed. Where am I going wrong? I can install Python Indent but not the script files...