NppMarkdownPanel: Plugin "Failed to load"

Hi there, i’m using the portable version of Notepad++ 8.4.7 and i cannot load your plugin in version 0.7.0. The old version 0.6.2 worked without problems. I tried a fresh install with npp.8.4.7.portable.x64.zip and NppMarkdownPanel-0.7.0.0-x64.zip and i get the following error:

image

After closing Notepad++ the following is shown:

image

I think it has to do with the Windows LTSC-Version, see Debug Info:

Notepad++ v8.4.7   (64-bit)
Build time : Nov  1 2022 - 23:31:11
Path : C:\Software\npp_test\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise LTSC 2019 (64-bit) 
OS Version : 1809
OS Build : 17763.3650
Current ANSI codepage : 1252
Plugins : 
    mimeTools (2.9)
    NppConverter (4.5)
    NppExport (0.4)

On my private computer with Windows 10 Home and an installed Notepad++ (not portable) the new plugin version does work without problems:

Notepad++ v8.4.7   (64-bit)
Build time : Nov  1 2022 - 23:31:11
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit) 
OS Version : 22H2
OS Build : 19045.2311
Current ANSI codepage : 1252
Plugins : 
    BetterMultiSelection (1.5)
    Explorer (1.9.5)
    mimeTools (2.9)
    NppConverter (4.5)
    NppExport (0.4)
    NppMarkdownPanel (0.7)

Went back to version 0.6.2 for now. Maybe you can identify a cause for this issue. Would be great to use the new version with dark mode. Really appreciate your helpful plugin.

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@ma-schroeder, repeat that directory listing like this:

dir /S /R

Do you see hidden files with names like NppMarkdownPanel.dll:Zone.Identifier:$DATA?

If so, it means Windows is blocking the execution of the DLLs for security.

Right-click on each DLL and select Properties. If the Unblock option is shown, click on the checkbox and click Apply, then OK.

NPPFSIPlugin-MOTW

Wow! Huge thanks. Should have known it was something like. This issue’s details probably saved me a few hours worth of frustration.

Oh wow, you are absolutely right. Thanks for the link and the info. I use 7-zip 22.01 and the setting “Propagate Zone.Id stream” is set to “Yes” on my work laptop. On my home pc this setting is set to “No”.

Here is the output:

U:\>c:

C:\>cd C:\Software\npp_test\plugins\NppMarkdownPanel

C:\Software\npp_test\plugins\NppMarkdownPanel>dir /S /R
 Datenträger in Laufwerk C: ist SYSTEM
 Volumeseriennummer: 4225-4436

 Verzeichnis von C:\Software\npp_test\plugins\NppMarkdownPanel

16.12.2022  06:57    <DIR>          .
16.12.2022  06:57    <DIR>          ..
16.12.2022  06:57    <DIR>          help
16.12.2022  06:57    <DIR>          lib
15.02.2019  12:29             1.086 License.txt
                                650 License.txt:Zone.Identifier:$DATA
15.12.2022  16:33           257.536 NppMarkdownPanel.dll
                                650 NppMarkdownPanel.dll:Zone.Identifier:$DATA
12.12.2022  09:53             6.239 README.md
                                650 README.md:Zone.Identifier:$DATA
08.12.2022  18:46             6.995 style-dark.css
                                650 style-dark.css:Zone.Identifier:$DATA
17.04.2019  10:18             6.971 style.css
                                650 style.css:Zone.Identifier:$DATA
               5 Datei(en),        278.827 Bytes

 Verzeichnis von C:\Software\npp_test\plugins\NppMarkdownPanel\help

16.12.2022  06:57    <DIR>          .
16.12.2022  06:57    <DIR>          ..
08.12.2022  20:54            11.601 code-highlighting.png
                                650 code-highlighting.png:Zone.Identifier:$DATA
04.12.2022  22:21           149.858 npp-preview-dm.png
                                650 npp-preview-dm.png:Zone.Identifier:$DATA
15.02.2019  11:58            94.923 npp-preview.png
                                650 npp-preview.png:Zone.Identifier:$DATA
13.07.2019  10:38            14.597 open-settings.png
                                650 open-settings.png:Zone.Identifier:$DATA
15.02.2019  12:08            20.300 pluginfolder.png
                                650 pluginfolder.png:Zone.Identifier:$DATA
02.10.2020  21:29               464 save-btn.png
                                650 save-btn.png:Zone.Identifier:$DATA
22.02.2019  10:48           975.169 sync_caret.gif
                                650 sync_caret.gif:Zone.Identifier:$DATA
               7 Datei(en),      1.266.912 Bytes

 Verzeichnis von C:\Software\npp_test\plugins\NppMarkdownPanel\lib

16.12.2022  06:57    <DIR>          .
16.12.2022  06:57    <DIR>          ..
19.07.2016  21:47           115.712 ColorCode.dll
                                650 ColorCode.dll:Zone.Identifier:$DATA
27.09.2022  07:30           460.800 Markdig.dll
                                650 Markdig.dll:Zone.Identifier:$DATA
15.12.2022  16:32            10.752 MarkdigWrapper.dll
                                650 MarkdigWrapper.dll:Zone.Identifier:$DATA
19.02.2020  10:05            20.864 System.Buffers.dll
                                650 System.Buffers.dll:Zone.Identifier:$DATA
19.02.2020  10:05           137.088 System.Memory.dll
                                650 System.Memory.dll:Zone.Identifier:$DATA
19.02.2020  10:05            16.768 System.Runtime.CompilerServices.Unsafe.dll
                                650 System.Runtime.CompilerServices.Unsafe.dll:Zone.Identifier:$DATA
               6 Datei(en),        761.984 Bytes

     Anzahl der angezeigten Dateien:
              18 Datei(en),      2.307.723 Bytes
               8 Verzeichnis(se), 116.272.820.224 Bytes frei

C:\Software\npp_test\plugins\NppMarkdownPanel>

After right-clicking each DLL and explicitly “allowing” an access i’m now able to use the plugin, yeah. The properties of each DDL looked like this: image

So i had to mark the “Zulassen” (Allow) checkbox and hit OK. The additional Zone.Identifier:$DATA files are now gone in the lib directory and the plugin is working.

image

Thank you!