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

CCVLint 0.4.5 not compatible with Notepad++ 8.4 32-bit #23

Closed
RP634 opened this issue May 5, 2022 · 8 comments
Closed

CCVLint 0.4.5 not compatible with Notepad++ 8.4 32-bit #23

RP634 opened this issue May 5, 2022 · 8 comments

Comments

@RP634
Copy link

RP634 commented May 5, 2022

Trying to add CSVLint 0.4.5 through Plugins Admin fails with the following message:

Loading CreateLexer function failed.
CSVLint.dll is not compatible with the current version of Notepad++

Notepad++ version is 8.4 32-bit
OS is Windows 10 20H2 (OS Build 19042.1645)

@BdR76
Copy link
Owner

BdR76 commented May 5, 2022

Thanks for the comment, this is the same as issue #22. It's fixed but not yet automatically available in the current version of Notepad++ (it's updated irregularly).

However, you can manually install the latest version by downloading the new CSVLint version 0.4.5.1 here and then unzip and replace the CSVLint.dll in your .\Program Files\Notepad++\plugins\CSVLint\ folder.

In case there are others with the same issue, I'll leave this issue open until the next Notepad++ update is released.

@RP634
Copy link
Author

RP634 commented May 5, 2022

Many thanks for replying so quickly. I suspect I've found a bug in 0.4.5.1.

I used your download link to get CSVLint_x86.zip. I placed the dll in %ProgramFiles(x86)%\Notepad++\plugins\CSVLint. I opened a .txt file.

When I try to apply CSVLint colouring (NPP menu Language > CSVLint), NPP closes immediately.

Here are the messages from the Application event log

Application: notepad++.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 160FE89F

and

Faulting application name: notepad++.exe, version: 8.4.0.0, time stamp: 0x625f61b6
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x160fe89f
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Faulting package full name: %14
Faulting package-relative application ID: %15

@BdR76
Copy link
Owner

BdR76 commented May 5, 2022

That's a bit concerning, thanks for testing the new version like this. I did test the new plugin in Notepad++ 8.4 both 64bit and 32bit by opening some of my test data files and trying some of the options, and simply enabling Syntax Highlighting is the first thing I tried.

I suspect it could be a problem with specific data maybe? I know there are still some weird quirks in the code.

Thanks for the error message, however that doesn't tell me very much, I need to debug this in Visual Studio. If your file doesn't contains any privacy sensitive data, is it possible to send the data file via e-mail? Or alternatively, if you can find the rows that causes the problem then only send those rows. You can backup the data, delete half of all rows and try again, if it still crashes again delete half all rows etc. Or maybe replace all data with dummy data (see my e-mail in the Help/About box).

@BdR76
Copy link
Owner

BdR76 commented May 5, 2022

Also it could be this Windows setting maybe. In Notepad++ when you go to ? -> Debug info what does it say on the line with "Current ANSI codepage"? Is it Current ANSI codepage : 1252 or Current ANSI codepage : 65001?

@RP634
Copy link
Author

RP634 commented May 5, 2022

I've reproduced the error with every file I've tried, all of which were fine with CSVLint 0.4.5 and the previous NPP version. I've emailed a new simple file that also produces the error (it's not specially crafted, as you'll see).

Here's the debug info from NPP

Notepad++ v8.4 (32-bit)
Build time : Apr 20 2022 - 03:27:27
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 2009
OS Build : 19042.1645
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll CSVLint.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll NppTextFX.dll PoorMansTSqlFormatterNppPlugin.dll XMLTools.dll

@RP634
Copy link
Author

RP634 commented May 5, 2022 via email

@enigmanet
Copy link

I have the same issue, uninstalled the 32bit, installed 64bit version and installed all my old plugins back.
As soon as I installed CSV Lint it auto closes my Notepad++ without any errors.
As soon as I deleted the CSVLint in plugin directory it works again.
My plugins.
Might not play nice with the NPP..*
image

@BdR76
Copy link
Owner

BdR76 commented Aug 5, 2022

This issue was with an older version of the plug-in. In the meantime both Notepad++ and the plugin have been updated a couple of times. I assume the Lexer v5 compatibility issues have been fixed now. If any problems still presist then please open a new issue.

@BdR76 BdR76 closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants