BdR76 / CSVLint

CSV Lint plug-in for Notepad++ for syntax highlighting, csv validation, automatic column and datatype detecting, fixed width datasets, change datetime format, decimal separator, sort data, count unique values, convert to xml, json, sql etc. A plugin for data cleaning and working with messy data files.
GNU General Public License v3.0
167 stars 10 forks source link

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

Closed dinkumoil closed 3 years ago

dinkumoil commented 3 years ago

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 commented 3 years ago

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.