Skip to content
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

Error message when Notepad++ starts up after plugin's installation #6

Closed
dinkumoil opened this issue Oct 28, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@dinkumoil
Copy link

Description

When Notepad++ starts up after installing the plugin, the following error message is displayed:

grafik

Analysis

The reason is that the plugin's ZIP package contains the plugin's DLL file and the missing file CSVLint.xml as well. Thus, during plugin installation both files are copied to the plugin's directory. The plugin installer of Notepad++ is not able to copy the file CSVLint.xml to the correct location.

Possible Fix

The file CSVLint.xml should not be included in the plugin's ZIP package. Instead it should be written by the plugin when it starts up and notices that the file is missing.

Applies to

Plugin version 0.4.1

@BdR76
Copy link
Owner

BdR76 commented Oct 28, 2021

This is an important one, thanks for the feedback I really appreciate it. I missed this one because I already had the CSVLint.xml file in the config folder during testing.

I assumed (incorrectly) that the Plugins Admin would handle copying the CSVLint.xml file to the Config folder. I've asked on the Notepad++ forum, someone clarified it and I've fixed the issue. The plug-in will now just create the CSVLint.xml file if it is missing and this will be available in the next update.

@BdR76 BdR76 closed this as completed Oct 28, 2021
@BdR76 BdR76 added the bug Something isn't working label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants