-
-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notepad++ 6.3 python #185
Comments
You forgot to copy |
It's there... :) Inside the EmmetNPP file is a file named emmet. What do you think should fix this? |
You can try to install Emmet via Plugin Manager, it will copy all required into their places. |
@sergeche I did, everything is in place, according to the github page. |
(note that the zen coding plugin worked fine) |
Try to invoke any Emmet action than open Python Script console and run |
ok, I opened the Python Script console, and ran sys.path, then this was displayed: ['C:\\Program Files\\Notepad++\\python27.zip', 'C:\\Program Files\\Notepad++\\DLLs', 'C:\\Program Files\\Notepad++\\lib', 'C:\\Program Files\\Notepad++\\lib\\plat-win', 'C:\\Program Files\\Notepad++\\lib\\lib-tk', 'C:\\Program Files\\Notepad++', 'C:\\Program Files\\Notepad++\\plugins\\PythonScript\\lib', u'C:\\Users\\\***\u03c2\\AppData\\Roaming\\Notepad++\\plugins\\Config\\PythonScript\\lib', 'C:\\Program Files\\Notepad++\\plugins\\PythonScript\\scripts', u'C:\\Users\\\***\u03c2\\AppData\\Roaming\\Notepad++\\plugins\\Config\\PythonScript\\scripts'] Note that where there is |
any news on this one?... |
Сергей, аналогичная проблема.
может быть, дело в путях? тк тут по сути "portable" версия и никаких привязок к program files и прочим системным папкам нет _en_ |
upd. bingo! |
@Merg1255, download full version of PythonScript here: after that, try to unpack NPP (not minimized! - better use 7z package) in new folder, and then do as described in "Manual installation" here -https://github.com/emmetio/npp at first, unpack PythonScript, [+i reload NPP after that] and then unpack emmet. its really work. great!!! sorry, my english really bad |
@Merg1255 I’ll try update plugin so it load Emmet data from another folder. |
@cssfish Did follow what you said, but getting the same message on the Python Console: Traceback (most recent call last):
File "<string>", line 2, in <module>
ImportError: No module named npp_emmet
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'npp_emmet' is not defined I think an update to the EmmetNPP is needed for this. |
@Merg1255, i compressed my npp+emmet portable folder, you can download it here - http://webfile.ru/6420952 |
@sergeche is this issue fixable?.. |
Yes, it should be fixable.I’ll try to do something with it in a few days. |
:-) |
I’ve changed the way how Emmet plugin loads and this error with non-ASCII system user name should be gone.
Tell me if it works for you. |
@sergeche thanks for making a new version, but I'm having exactly the same messages in the python console. It's interesting because the zen coding plugin seems to work. |
Can you open Python Console and give me |
Note that I have installed the Python Script (and not the PyNPP). ['C:\\Program Files\\Notepad++\\python27.zip', 'C:\\Program Files\\Notepad++\\DLLs', 'C:\\Program Files\\Notepad++\\lib', 'C:\\Program Files\\Notepad++\\lib\\plat-win', 'C:\\Program Files\\Notepad++\\lib\\lib-tk', 'C:\\Program Files\\Notepad++', 'C:\\Program Files\\Notepad++\\plugins\\PythonScript\\lib', u'C:\\Users\\\*\*\*\*\u03c8\\AppData\\Roaming\\Notepad++\\plugins\\Config\\PythonScript\\lib', 'C:\\Program Files\\Notepad++\\plugins\\PythonScript\\scripts', u'C:\\Users\\\*\*\*\*\u03c8\\AppData\\Roaming\\Notepad++\\plugins\\Config\\PythonScript\\scripts'] |
I’ve updated dev build: http://download.emmet.io/npp/emmet-npp.zip
|
['C:\\Program Files\\Notepad++\\python27.zip', 'C:\\Program Files\\Notepad++\\DLLs', 'C:\\Program Files\\Notepad++\\lib', 'C:\\Program Files\\Notepad++\\lib\\plat-win', 'C:\\Program Files\\Notepad++\\lib\\lib-tk', 'C:\\Program Files\\Notepad++', 'C:\\Program Files\\Notepad++\\plugins\\PythonScript\\lib', u'C:\\Users\\\*\*\*\*\u03c8\\AppData\\Roaming\\Notepad++\\plugins\\Config\\PythonScript\\lib', 'C:\\Program Files\\Notepad++\\plugins\\PythonScript\\scripts', u'C:\\Users\\\*\*\*\*\u03c8\\AppData\\Roaming\\Notepad++\\plugins\\Config\\PythonScript\\scripts', 'C:\\Program Files\\Notepad++\\plugins\\EmmetNPP', 'C:\\Users\\\*\*\*\*\xek\\AppData\\Roaming\\Notepad++\\plugins\\Config\\EmmetNPP']
Traceback (most recent call last):
File "<string>", line 7, in <module>
ImportError: No module named npp_emmet
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'npp_emmet' is not defined Where |
Мне помогло вот это: |
Извините, ошибся в написании строки, вот правильная: |
it worked. :) Thanks! |
So, everything works fine? I can push it to Plugin Manager? |
Yes, some checks I did were working normally. Push it to plugin manager and if there's something new I'll post a new issue on github. |
I am getting exactly same issue after installing the plugin using plugin manager in notepad++ |
Аналогичная проблема - плагин есть в меню, но не работает. |
@delka в Python Console есть ошибки? |
@sergeche Да, Traceback (most recent call last):
File "C:\Program Files (x86)\Notepad++\plugins\PythonScript\scripts\startup.py", line 26, in <module>
import site
ImportError: No module named site
Python 2.7.1 (release27-maint-npp, Feb 6 2011, 16:58:20) [MSC v.1500 32 bit (Intel)]
Initialisation took 0ms
Ready. |
Если что - мой skype: delka_ua, готов дать Team Viewer посмотреть. |
I guess @davegb3 should take a look at @delka issue: #185 (comment) |
@delka looks like you've got n incomplete python script installation, or you've got files in the wrong place. Do a reinstall of PythonScript from plugin manager, then it should work. |
The windows python instalation conflicts with the python libs from notepad++. |
I can second what victorsamuekmd said, and tried with different Python versions. |
Yep, plugin doesn't work if python 2.7.5 is installed on windows. |
Hi, I have also python installed on windows and also the same problem with the python script and emmet. What can I do? Thanks in advance. |
Hi, I have the same problem with Emmet and Python installed on Windows, PLEASE fix it. |
I installed emmet via Plugin Manager and encountered the same issue. And I have installed python 2.7.5 on Windows first. When I try to call expand abbreviation command through menu or shortcut, it shows: Could anybody help ? |
Where is the python used by emmet? It's 2.7.1 from Notepad++'s Python console, but it's 2.7.5 if I run python's print sys.version from windows' command prompt. So, it's highly possible that python's version conflict is the root cause of the issue above. |
I uninstalled Python, and it worked. Everything is fine now. |
is it possible to make emmet work without uninstallig conflicting local python installation? Thanks. |
Yes, with version Python Script 1.0.6. Install that, and it should work properly. |
Confirming Python Script 1.0.6 fixed the problem. I have Python 2.7.4 installed on Windows 7 x64. |
hi Emmet plugin 1.0.0 python script 1.0.6.0 Emmet is no work.......... What can I do? Thanks in advance. |
@lwd1900 try installling python script from the MSI (sorry still sourceforge- http://sourceforge.net/projects/npppythonscript/) or look at the console to see if there are any errors (plugins -> python script -> show console). If you don't see anything in the console, it's possible you're missing a startup.py. The MSI will fix this. |
I've installed Emmet on a fresh notepad++ installation, turn on the python script console, and here's what the console says when trying to expand an abbreviation:
Traceback (most recent call last):
File "", line 2, in
ImportError: No module named npp_emmet
Traceback (most recent call last):
File "", line 1, in
NameError: name 'npp_emmet' is not defined
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: