GithubHelp home page GithubHelp logo

Comments (8)

BdR76 avatar BdR76 commented on September 28, 2024

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.

from csvlint.

RP634 avatar RP634 commented on September 28, 2024

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

from csvlint.

BdR76 avatar BdR76 commented on September 28, 2024

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).

from csvlint.

BdR76 avatar BdR76 commented on September 28, 2024

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?

from csvlint.

RP634 avatar RP634 commented on September 28, 2024

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

from csvlint.

RP634 avatar RP634 commented on September 28, 2024

from csvlint.

enigmanet avatar enigmanet commented on September 28, 2024

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

from csvlint.

BdR76 avatar BdR76 commented on September 28, 2024

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.

from csvlint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.