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.
    • bolandrossB
      bolandross
      last edited by

      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!

      Meta ChuhM 1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @bolandross
        last edited by Meta Chuh

        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.

        bolandrossB 1 Reply Last reply Reply Quote 2
        • bolandrossB
          bolandross @Meta Chuh
          last edited by

          @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

          Alan KilbornA 1 Reply Last reply Reply Quote 1
          • Alan KilbornA
            Alan Kilborn @bolandross
            last edited by

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

            bolandrossB 1 Reply Last reply Reply Quote 3
            • bolandrossB
              bolandross @Alan Kilborn
              last edited by

              @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?

              Alan KilbornA 1 Reply Last reply Reply Quote 3
              • Alan KilbornA
                Alan Kilborn @bolandross
                last edited by

                @bolandross said:

                How did you know?

                Vast experience! LOL

                1 Reply Last reply Reply Quote 3
                • guy038G
                  guy038
                  last edited by guy038

                  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

                  andrecool-68A bolandrossB 2 Replies Last reply Reply Quote 2
                  • andrecool-68A
                    andrecool-68 @guy038
                    last edited by

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

                    Imgur

                    Meta ChuhM 1 Reply Last reply Reply Quote 3
                    • Meta ChuhM
                      Meta Chuh moderator @andrecool-68
                      last edited by Meta Chuh

                      @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
                      • andrecool-68A
                        andrecool-68
                        last edited by

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

                        Meta ChuhM 1 Reply Last reply Reply Quote 0
                        • Meta ChuhM
                          Meta Chuh moderator @andrecool-68
                          last edited by

                          @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
                          • bolandrossB
                            bolandross @guy038
                            last edited by

                            @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
                            • First post
                              Last post
                            The Community of users of the Notepad++ text editor.
                            Powered by NodeBB | Contributors