• Login
Community
  • Login

Notepad++ raises an error when closed

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
12 Posts 5 Posters 4.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    bolandross
    last edited by Apr 6, 2019, 8:58 AM

    Hey,

    I noticed that every time I close Notepad++, Windows shows an alert, telling me an error has occured.

    In a forum I read that this might be due to some plugins not behaving correctly. Is there a way to generate a debug log for the “closing procedure” of Notepad++? I would like to find out what the cause of this error is and would love to avoid having to remove all the plugins and reinstalling them one by one to find out.

    Would love to hear your ideas, thanks in advance!

    M 1 Reply Last reply Apr 6, 2019, 9:18 AM Reply Quote 0
    • M
      Meta Chuh moderator @bolandross
      last edited by Meta Chuh Apr 6, 2019, 9:22 AM Apr 6, 2019, 9:18 AM

      welcome to the notepad++ community, @bolandross

      please quick-test the following first, to verify if a clean notepad++ portable wouldn’t do the same:

      • download the notepad++ 7.6.6. 64 bit portable version from >>> here <<< .
        (the portable version does not require any installation and runs completely independent and isolated from your installed version. all custom settings, as well as any stuff you might want to try at the portable version, will not modify your installed version)

      • extract npp.7.6.6.bin.x64.zip to e.g. your desktop.

      • important note: make sure to close all instances of notepad++ that might be still running, before starting the portable version at the next step, to make sure you are using the portable version for this test.

      • open the extracted npp.7.6.6.bin.x64 folder and start this portable version by double-clicking on notepad++.exe inside this folder.
        (note: notepad++.exe will just be seen as notepad++, if you have activated to hide all known file extensions at your windows explorer settings)

      • test if you see that message when closing this portable version of notepad++.

      if the clean portable version also shows that windows message when exiting, it’s related to your system, and we can not do anything at notepad++ to fix that.

      if the portable version doesn’t show that, please open up your installed notepad++ and go to ? > debug info... > copy debug info into clipboard and paste it here.
      additionally you can try to start your installed notepad++ with the command line argument notepad++.exe -noPlugin to skip loading all plugins.

      B 1 Reply Last reply Apr 6, 2019, 11:30 AM Reply Quote 2
      • B
        bolandross @Meta Chuh
        last edited by Apr 6, 2019, 11:30 AM

        @Meta-Chuh
        Thank you very much for the quick response.

        I followed the steps, this is what I observed:

        • Running and closing the portable version didn’t raise the error message.
        • Running and closing my version with -noPluginmade the error message go away, too.

        This is the debug info I got from my version:

        Notepad++ v7.6.4   (32-bit)
        Build time : Mar  6 2019 - 02:52:22
        Path : C:\Users\bolandross\Documents\Programme\NotePad++\notepad++.exe
        Admin mode : OFF
        Local Conf mode : ON
        OS : Windows 10 (64-bit)
        Plugins : DSpellCheck.dll EmmetNPP.dll HTMLTag_unicode.dll mimeTools.dll NppConverter.dll NppExport.dll PreviewHTML.dll PyNPP.dll PythonScript.dll Tidy2.dll WebEdit.dll XMLTools.dll
        

        Best regards

        A 1 Reply Last reply Apr 6, 2019, 12:34 PM Reply Quote 1
        • A
          Alan Kilborn @bolandross
          last edited by Apr 6, 2019, 12:34 PM

          @bolandross

          So it is very likely a plugin causing the problem, I suppose. If I were you I would try removing the spell check one and repeat the test.

          B 1 Reply Last reply Apr 6, 2019, 1:27 PM Reply Quote 3
          • B
            bolandross @Alan Kilborn
            last edited by Apr 6, 2019, 1:27 PM

            @Alan-Kilborn said:

            So it is very likely a plugin causing the problem, I suppose. If I were you I would try removing the spell check one and repeat the test.

            You were right, removing DSpellCheck from the plugin folder, solved the problem.

            How did you know?

            And how can I debug the plugin further?

            A 1 Reply Last reply Apr 6, 2019, 5:18 PM Reply Quote 3
            • A
              Alan Kilborn @bolandross
              last edited by Apr 6, 2019, 5:18 PM

              @bolandross said:

              How did you know?

              Vast experience! LOL

              1 Reply Last reply Reply Quote 3
              • G
                guy038
                last edited by guy038 Apr 7, 2019, 7:14 PM Apr 7, 2019, 7:14 PM

                Hello, @bolandross, and All,

                So, now, the goal is : which version of DSpellCheck are you using ?

                Presently, the latest release is the v1.4.11.0 version

                If necessary, download this latest version from below :

                https://github.com/Predelnik/DSpellCheck/releases

                Best Regards,

                guy038

                A B 2 Replies Last reply Apr 7, 2019, 9:00 PM Reply Quote 2
                • A
                  andrecool-68 @guy038
                  last edited by Apr 7, 2019, 9:00 PM

                  @guy038
                  Recently dspellcheck can not download and install spelling dictionaries, only manual installation of dictionaries.

                  Imgur

                  M 1 Reply Last reply Apr 7, 2019, 9:21 PM Reply Quote 3
                  • M
                    Meta Chuh moderator @andrecool-68
                    last edited by Meta Chuh Apr 7, 2019, 9:21 PM Apr 7, 2019, 9:21 PM

                    @andrecool-68

                    yes, you are absolutely correct.
                    currently you have to disable show only recognized ones to be able to download dictionaries.

                    see here for the complete guide: https://notepad-plus-plus.org/community/topic/17416/spell-check

                    1 Reply Last reply Reply Quote 3
                    • A
                      andrecool-68
                      last edited by Apr 7, 2019, 9:27 PM

                      @Meta-Chuh
                      That’s how it works!
                      But what is the reason for this error?

                      M 1 Reply Last reply Apr 7, 2019, 10:48 PM Reply Quote 0
                      • M
                        Meta Chuh moderator @andrecool-68
                        last edited by Apr 7, 2019, 10:48 PM

                        @andrecool-68

                        i do not know yet.
                        i did not search for this at the dspellcheck project or google yet, due to lack of time.
                        but maybe @Predelnik could help ?

                        1 Reply Last reply Reply Quote 1
                        • B
                          bolandross @guy038
                          last edited by Apr 8, 2019, 10:25 AM

                          @guy038
                          Hey, thanks for the suggestions!

                          I was using v1.4.10.0 and updated to v1.4.11.0, but unfortunately the problem stayed.

                          1 Reply Last reply Reply Quote 0
                          7 out of 12
                          • First post
                            7/12
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors