Plugin installation don't works
-
I’ve just updated my Notepad++ from version 7.5.3 to 8.5.4 on my old Notebook with Windows 7 - 32 bit.
After that, I wanted to install some plugins (QuickColorPicker2.0, ColorPicker2.30, ComparePlus1.1.0, XMLTreeViewPlugin2.0.0) using the Plugins Admin. These plugins are listed there. But after newstart of npp there was none of the selected plugins installed.
Then I tried the manual installation. I downloaded the belonging .zip files (all in 32 bit format) and copied their content into manually created directories under the directory plugins. After newstart of npp, only the ColorPicker2.30 appeard in my plugin list. Importing the other using Settings=>Import=>Import Plugins had no effect, too.
How get I the other plugins installed ?
Notepad++ v8.5.4 (32-bit)
Build time : Jun 17 2023 - 20:40:14
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 7 Home Premium (32-bit)
OS Build : 7601.24544
Current ANSI codepage : 1252
Plugins :
ColorPicker (2.3)
DSpellCheck (1.3.2)
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4) -
@Egal-Sauegal said in Plugin installation don’t works:
I’ve just updated my Notepad++ from version 7.5.3 to 8.5.4 on my old Notebook with Windows 7 - 32 bit.
As a reminder, while Notepad++ still usually works on Windows 7, Windows 7 is not officially supported by the developer anymore, so no Win7-specific bugs will be fixed.
After that, I wanted to install some plugins (QuickColorPicker2.0, ColorPicker2.30, ComparePlus1.1.0, XMLTreeViewPlugin2.0.0) using the Plugins Admin. These plugins are listed there. But after newstart of npp there was none of the selected plugins installed.
When I unzipped a portable v8.5.4-32bit, I saw QuickColorPicker 2.0 and Compare Plus 1.1 and “Don Rowlett Color Picker 2.3” and “Npp Xml Treeview 2”.
One at a time, I checkmarked each then clicked Install, and Notepad++ downloaded and installed the plugin, and when Notepad++ restarted, I saw the plugin in my list of plugins.
My guess is that when you were running Notepad++ Plugins Admin to install, you were not in Admin Mode, but Windows often requires Admin Mode in order to install plugins into the
C:\Program Files\
hierarchy (though my years of using Win10 and now Win11 mean that I don’t remember all the small details of an OS as old as Win7). I suggest trying to run Notepad++ in Admin mode (close all Notepad++ windows, then right click onnotepad++.exe
and Run as Administrator) and then try to install the plugins again.Then I tried the manual installation. I downloaded the belonging .zip files (all in 32 bit format) and copied their content into manually created directories under the directory plugins. After newstart of npp, only the ColorPicker2.30 appeard in my plugin list. Importing the other using Settings=>Import=>Import Plugins had no effect, too.
I assume that when you tried the manual installation, you did not correctly name the directories w/r/t their plugin names. here’s what my plugins directory looks like after the successful installation:
>dir /S ... ...\plugins 08/01/2023 11:29 AM <DIR> . 08/01/2023 11:29 AM <DIR> .. 08/01/2023 11:27 AM <DIR> ColorPicker 08/01/2023 11:23 AM <DIR> ComparePlus 08/01/2023 11:23 AM <DIR> Config 06/17/2023 11:47 AM <DIR> doc 06/17/2023 11:47 AM <DIR> mimeTools 06/17/2023 11:47 AM <DIR> NppConverter 06/17/2023 11:47 AM <DIR> NppExport 08/01/2023 11:23 AM <DIR> NppQCP 08/01/2023 11:29 AM <DIR> NppXmlTreeviewPlugin 0 File(s) 0 bytes ...\plugins\ColorPicker 08/01/2023 11:27 AM <DIR> . 08/01/2023 11:27 AM <DIR> .. 08/01/2023 11:27 AM 2,664,448 ColorPicker.dll 1 File(s) 2,664,448 bytes ...\plugins\ComparePlus 08/01/2023 11:23 AM <DIR> . 08/01/2023 11:23 AM <DIR> .. 08/01/2023 11:23 AM 551,936 ComparePlus.dll 08/01/2023 11:23 AM <DIR> libs 1 File(s) 551,936 bytes ...\plugins\ComparePlus\libs 08/01/2023 11:23 AM <DIR> . 08/01/2023 11:23 AM <DIR> .. 08/01/2023 11:23 AM 1,136,640 git2.dll 08/01/2023 11:23 AM 1,107,950 sqlite3.dll 2 File(s) 2,244,590 bytes ...\plugins\Config 08/01/2023 11:23 AM <DIR> . 08/01/2023 11:23 AM <DIR> .. 08/01/2023 11:22 AM 644 converter.ini 06/17/2023 11:46 AM 200,528 nppPluginList.dll 08/01/2023 11:29 AM 34 nppqcp.ini 3 File(s) 201,206 bytes ...\plugins\doc 06/17/2023 11:47 AM <DIR> . 06/17/2023 11:47 AM <DIR> .. 0 File(s) 0 bytes ...\plugins\mimeTools 06/17/2023 11:47 AM <DIR> . 06/17/2023 11:47 AM <DIR> .. 06/17/2023 11:46 AM 103,760 mimeTools.dll 1 File(s) 103,760 bytes ...\plugins\NppConverter 06/17/2023 11:47 AM <DIR> . 06/17/2023 11:47 AM <DIR> .. 06/17/2023 11:47 AM 152,400 NppConverter.dll 1 File(s) 152,400 bytes ...\plugins\NppExport 06/17/2023 11:47 AM <DIR> . 06/17/2023 11:47 AM <DIR> .. 06/17/2023 11:46 AM 130,384 NppExport.dll 1 File(s) 130,384 bytes ...\plugins\NppQCP 08/01/2023 11:23 AM <DIR> . 08/01/2023 11:23 AM <DIR> .. 08/01/2023 11:23 AM 230,400 NppQCP.dll 08/01/2023 11:23 AM 1,261 nppqcp_readme.txt 2 File(s) 231,661 bytes ...\plugins\NppXmlTreeviewPlugin 08/01/2023 11:29 AM <DIR> . 08/01/2023 11:29 AM <DIR> .. 08/01/2023 11:29 AM <DIR> NppXmlTreeviewPlugin 08/01/2023 11:29 AM 90,624 NppXmlTreeviewPlugin.dll 1 File(s) 90,624 bytes ...\plugins\NppXmlTreeviewPlugin\NppXmlTreeviewPlugin 08/01/2023 11:29 AM <DIR> . 08/01/2023 11:29 AM <DIR> .. 08/01/2023 11:29 AM 8,192 NppXmlTreeviewPlugin.Parsers.dll 08/01/2023 11:29 AM 117,248 Serilog.dll 08/01/2023 11:29 AM 12,800 Serilog.Sinks.File.dll 08/01/2023 11:29 AM 18,432 Serilog.Sinks.RollingFile.dll 4 File(s) 156,672 bytes Total Files Listed: 17 File(s) 6,527,681 bytes
And my Debug Info
Notepad++ v8.5.4 (32-bit) Build time : Jun 17 2023 - 20:40:14 Path : C:\...\npp.8.5.4.portable.x32\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : ON Cloud Config : OFF OS Name : Windows 10 Enterprise (64-bit) OS Version : 22H2 OS Build : 19045.3208 Current ANSI codepage : 1252 Plugins : ColorPicker (2.3) ComparePlus (1.1) mimeTools (2.9) NppConverter (4.5) NppExport (0.4) NppQCP (2) NppXmlTreeviewPlugin (2)
-
Thanks for your hints.
I’ve made two mistakes:- I started Npp as admin from desktop link. I had to start it as admin direct with notepad++.exe.
- The name of the handmade directory for a plugin have to be absolute correct. Smallest deviation of the directory name makes the manual installation impossible.
The automatic Plugin Admin still don’t works. Installations and updates with Plugin Admin are not possible. I had to install manually.
New Problem: The plugin “NppXmlTreeview 2” crashes always at startup. Error message: “NppXmlTreeviewPlugin.dll just crashed in runPluginCommand (size_t i:58)” The number changes from start to start.
Is this a known issue of this plugin or is there any way for me to solve this problem ? -
@Egal-Sauegal said in Plugin installation don’t works:
New Problem: The plugin “NppXmlTreeview 2” crashes always at startup. Error message: “NppXmlTreeviewPlugin.dll just crashed in runPluginCommand (size_t i:58)” The number changes from start to start.
Is this a known issue of this plugin or is there any way for me to solve this problem ?Not surprised. It’s a C# plugin with the latest release in 2018. You can try opening an issue on that plugin’s page : https://github.com/joaoasrosa/nppxmltreeview
but I shouldn’t hold my breath anything will be done.
Cheers.
-
@Egal-Sauegal said in Plugin installation don’t works:
New Problem: The plugin “NppXmlTreeview 2” crashes always at startup. Error message: “NppXmlTreeviewPlugin.dll just crashed in runPluginCommand (size_t i:58)”
Actually an “old” problem, first reported two years ago: https://github.com/joaoasrosa/nppxmltreeview/issues/55#issuecomment-894062320
However, a refreshed build of the master branch seems to load and run fine (apart from other known issues like not refreshing the panel when the buffer changes:
-
@rdipardo FYI I run the 64-bit Version from Plugins Admin quite often still, with no crashing
I fear the day it stops working, it’s getting quite long in the tooth.The about page below and the Plugins Admin listing shows it as version 2
-
The about page below and the Plugins Admin listing shows it as version 2
Assuming that version 2 and the “Rome” release are the same thing, it looks like the developer never pushed the updated source to git. Even the most up-to-date branch (created in 2021 by Dependabot) still shows an
AssemblyVersion
of 0.1.0.0.It could also be the case that my local (debug) build does some variable initialization at startup which the release build doesn’t . . .
-
New Problem: The plugin “NppXmlTreeview 2” crashes always at startup. Error message: “NppXmlTreeviewPlugin.dll just crashed in runPluginCommand (size_t i:58)”
Actually an “old” problem
Indeed, even older than I thought.
The problem seems to only affect version 2 (“Rome”). 1.5.0.54 (“Berlin”) apparently works fine.