Comments (17)
@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.
from nppmarkdownpanel.
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:
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.
Thank you!
from nppmarkdownpanel.
Wow! Huge thanks. Should have known it was something like. This issue's details probably saved me a few hours worth of frustration.
from nppmarkdownpanel.
Hi,
I have changed the way how the markdig assembly gets loaded in Version 0.7.0.
Maybe this causes the problem with the portable version of npp.
Have to admit I didn't test the plugin with npp portable.
Need to check that...
from nppmarkdownpanel.
Hi,
i just tried the portable version and plugin 0.7.0 on my private computer and there it works. Debug Info from that:
Notepad++ v8.4.7 (64-bit)
Build time : Nov 1 2022 - 23:31:11
Path : D:\Temp\npp.8.4.7.portable.x64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 22H2
OS Build : 19045.2311
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
NppMarkdownPanel (0.7)
So i think it has to do with the Windows LTSC 1809. Maybe some of the new libs are not compatible with the long term Windows version?
from nppmarkdownpanel.
Hi,
the plugin (version 0.7.0) runs on my Windows 10 machine in NPP Portable without flaws:
Notepad++ v8.4.7 (64-bit)
Build time : Nov 1 2022 - 23:31:11
Path : C:\temp\npp-port-x64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 21H2
OS Build : 19044.2251
Current ANSI codepage : 65001
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
NppMarkdownPanel (0.7)
Could you please check which .NET Version is installed on your machine with Win LTSC?
from nppmarkdownpanel.
Hi,
under Control Panel > Programs and Features it lists version 6.0.2:
Registry tells me something about version 4.8.03761 which is confusing. So i just downloaded the installer for version 4.5.2 and it tells me it is already installed:
Thanks
from nppmarkdownpanel.
The .NET (classic) Version is 4.8, which should work without problems. Don't think thats the cause of your issue.
I thinks i have to improve the errorhandling, in the case the markdig lib (and also the wrapper) cannot be found.
from nppmarkdownpanel.
For what it's worth, I've been using my version and the version I'm issuing pull request from on my Win10 64-bit computer on 2 separate instances of Notepad++ 8.4.7 portable with no issues on either. My Control Panel => Programs and Features show:
Cheers.
from nppmarkdownpanel.
For what it's worth, I've been using my version and the version I'm issuing pull request from on my Win10 64-bit computer on 2 separate instances of Notepad++ 8.4.7 portable with no issues on either.
What kind of Windows 10 version is installed on your machine? The bug seems to appare on Windows LTSC 1809.
from nppmarkdownpanel.
@ma-schroeder, could you please try this debug release and check if there is still an error?
NppMarkdownPanel-0.7.0.1-x64.zip
from nppmarkdownpanel.
For what it's worth, I've been using my version and the version I'm issuing pull request from on my Win10 64-bit computer on 2 separate instances of Notepad++ 8.4.7 portable with no issues on either.
What kind of Windows 10 version is installed on your machine? The bug seems to appare on Windows LTSC 1809.
from nppmarkdownpanel.
@ma-schroeder, could you please try this debug release and check if there is still an error? NppMarkdownPanel-0.7.0.1-x64.zip
Hi there,
with this version Notepad++ starts and shows no error, this is the 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)
NppMarkdownPanel (0.7.0.1)
But i do get an error when i open a .md-file. The Markdown Panel looks like this:
Text:
Error loading MarkdigWrapper from path C:\Software\npp_test\plugins\NppMarkdownPanel\lib\MarkdigWrapper.dll.
Exception: Die Datei oder Assembly "file:///C:\Software\npp_test\plugins\NppMarkdownPanel\lib\MarkdigWrapper.dll"
oder eine Abhängigkeit davon wurde nicht gefunden.
Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515)
from nppmarkdownpanel.
Please provide a directory listing of the files in C:\Software\npp_test\plugins\NppMarkdownPanel.
From "Command Prompt" (cmd.exe):
cd C:\Software\npp_test\plugins\NppMarkdownPanel
dir /s
From "Powershell" (powershell.exe):
cd C:\Software\npp_test\plugins\NppMarkdownPanel
dir -Recurse
Cheers.
from nppmarkdownpanel.
Hi,
U:\>c:
C:\>cd C:\Software\npp_test\plugins\NppMarkdownPanel
C:\Software\npp_test\plugins\NppMarkdownPanel>dir /s
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
15.12.2022 16:33 257.536 NppMarkdownPanel.dll
12.12.2022 09:53 6.239 README.md
08.12.2022 18:46 6.995 style-dark.css
17.04.2019 10:18 6.971 style.css
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
04.12.2022 22:21 149.858 npp-preview-dm.png
15.02.2019 11:58 94.923 npp-preview.png
13.07.2019 10:38 14.597 open-settings.png
15.02.2019 12:08 20.300 pluginfolder.png
02.10.2020 21:29 464 save-btn.png
22.02.2019 10:48 975.169 sync_caret.gif
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
27.09.2022 07:30 460.800 Markdig.dll
15.12.2022 16:32 10.752 MarkdigWrapper.dll
19.02.2020 10:05 20.864 System.Buffers.dll
19.02.2020 10:05 137.088 System.Memory.dll
19.02.2020 10:05 16.768 System.Runtime.CompilerServices.Unsafe.dll
6 Datei(en), 761.984 Bytes
Anzahl der angezeigten Dateien:
18 Datei(en), 2.307.723 Bytes
8 Verzeichnis(se), 116.278.484.992 Bytes frei
C:\Software\npp_test\plugins\NppMarkdownPanel>
thanks
from nppmarkdownpanel.
Thank you!
No problem. It once happened to me as well.
from nppmarkdownpanel.
Big Thanks to @rdipardo for helping with this issue !
I wonder why the plugin itself (NppMarkdownPanel.dll) was not blocked in the first place ?
from nppmarkdownpanel.
Related Issues (20)
- [Feature Request] Is it possible to add Markdeep to the viewer? HOT 3
- [Future request] The MarkdownViewer++ does not render the latex equation HOT 2
- [Feature Request] Pandoc post-processing via Save As... HOT 1
- Table of Contents (TOC) option HOT 1
- Local relative path not working with img tag HOT 2
- Error on execution in Markdown Panel. HOT 1
- Feature Request: Links whitin the same document HOT 2
- Auto update Markdownviewer preview panel not working anymore HOT 4
- Dark-mode .css anchor color is ignored when rendered in Notepad++ but displayed correctly in exported HTML
- Unable to display special characters HOT 4
- `NppTbData.pszModuleName` is not properly assigned when Markdown panel is docked
- The keyboard shortcuts are not working on the Markdown Panel. HOT 1
- Deprecated...
- Deprecated...
- Proposal - ID as combination of tag name and id number HOT 1
- Local images preview has dont work HOT 1
- preview scroll position is not preserved when switching to another file then back to markdown file
- Undocking the viewer from its default position crashes NotePad++
- Always render fenced code blocks (solved) HOT 3
- Limiting to particular file extensions is too limiting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nppmarkdownpanel.