Community
    • Login

    Notepad++ crashing on startup

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    17 Posts 5 Posters 7.7k Views 3 Watching
    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.
    • Kody James LynchK Offline
      Kody James Lynch
      last edited by

      So I just updated Notepad++ today and it seems to not be able to open old files that I made. Making new files opens it fine but old ones it freezes then closes. I’m not sure what happened but it just started as soon as I updated notepad++

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Kody James Lynch
        last edited by

        @Kody-James-Lynch

        would you mind to explain in more detail what exactly you are doing?
        How do you open the files? Which files? Can you post the debug info from ? menu?

        1 Reply Last reply Reply Quote 1
        • Kody James LynchK Offline
          Kody James Lynch
          last edited by

          I’m simply just opening a lua file with notepad++. This is what happens when I try opening the lua file - https://imgur.com/a/MtEJn7G It stays at a whitescreen like that for a few seconds then closes.

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE Offline
            Ekopalypse @Kody James Lynch
            last edited by

            @Kody-James-Lynch

            but what means open a file?
            Using notepad++ menu file->open?
            using explorer->right-click on file and chose edit with …
            dragging and dropping into running npp?

            And what about the debug info which can be found under ? menu?

            dinkumoilD 1 Reply Last reply Reply Quote 0
            • dinkumoilD Offline
              dinkumoil @Ekopalypse
              last edited by

              @Ekopalypse

              Maybe you should write (menu) ? but even this could be unclear to some people.

              It`s just another case where >>> this issue <<< comes into play.

              EkopalypseE 1 Reply Last reply Reply Quote 1
              • Kody James LynchK Offline
                Kody James Lynch
                last edited by

                Like literally clicking on the lua file itself. It’s already set to open with notepad++. And debugging doesn’t work either. It simply closes when I open the file.

                1 Reply Last reply Reply Quote 0
                • EkopalypseE Offline
                  Ekopalypse @dinkumoil
                  last edited by Ekopalypse

                  @dinkumoil

                  could be, yes, but, to be honest, if it isn’t clear what I’ve asked for I would assume a
                  question for clarification from the OP.

                  1 Reply Last reply Reply Quote 0
                  • Kody James LynchK Offline
                    Kody James Lynch
                    last edited by

                    ohh okay I see what the debug thing is. This is what it shows
                    Notepad++ v7.7 (32-bit)
                    Build time : May 19 2019 - 13:08:20
                    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
                    Admin mode : OFF
                    Local Conf mode : OFF
                    OS : Windows 10 (64-bit)
                    Plugins : dbgpPlugin.dll DSpellCheck.dll GmodLua.dll mimeTools.dll NppConverter.dll NppExport.dll

                    EkopalypseE 1 Reply Last reply Reply Quote 1
                    • EkopalypseE Offline
                      Ekopalypse @Kody James Lynch
                      last edited by

                      @Kody-James-Lynch

                      give it a try by doing the following.
                      Start npp, goto plugins->DSpellCheck and deactivate automatic spell checking.
                      Stop npp and restest.

                      1 Reply Last reply Reply Quote 2
                      • Kody James LynchK Offline
                        Kody James Lynch
                        last edited by

                        Nah doing that didn’t seem to fix it. It’s still doing the same thing. I also tried opening other lua files and those don’t work either. So it seems that I can only open brand new files before I updated notepad++

                        EkopalypseE 1 Reply Last reply Reply Quote 0
                        • EkopalypseE Offline
                          Ekopalypse @Kody James Lynch
                          last edited by

                          @Kody-James-Lynch

                          what if you try to open the files via npps menu File->Open?

                          1 Reply Last reply Reply Quote 0
                          • Kody James LynchK Offline
                            Kody James Lynch
                            last edited by

                            I tried that as well and it still just crashes.

                            EkopalypseE 1 Reply Last reply Reply Quote 1
                            • EkopalypseE Offline
                              Ekopalypse @Kody James Lynch
                              last edited by

                              @Kody-James-Lynch

                              download a zipped npp from here. Extract it to where ever you like and run it.
                              Try to open a lua file which caused any problem before.
                              DO NOT install any plugin for this zipped version.
                              If this works one of the plugins used in your normal installation is not ready
                              for npp 7.7

                              1 Reply Last reply Reply Quote 1
                              • Kody James LynchK Offline
                                Kody James Lynch
                                last edited by

                                Interesting that seemed to work. I might know which plugin is causing this. But thank you for the help!

                                1 Reply Last reply Reply Quote 1
                                • Віталій ЛукіянчукВ Offline
                                  Віталій Лукіянчук
                                  last edited by

                                  I have similar issue. Yesterday I worked with notepad++. But today it freezes at start. I didn’t change anything: no system update, no application update. I have 2 users in OS - restricted and admin user. Notepad++ freezes with any of these users.
                                  The only workaround to start it: notepad++.exe -nosession
                                  If it started in such way I can open any of my file via menu File->Open

                                  Starting notepad++ with command -noPlugins causes to freezing too.

                                  Up today my version of Notepad++ was 7.6.6.

                                  So I upgrade it to 7.7 (32bit). And nothing changes - it freezes at start. Only -nosession helps.
                                  I just wonder what may happened with notepad++ overnight?

                                  1 Reply Last reply Reply Quote 0
                                  • Віталій ЛукіянчукВ Offline
                                    Віталій Лукіянчук
                                    last edited by

                                    I just deleted AppData\Roaming\Notepad++\session.xml and it seems problem is solved.

                                    1 Reply Last reply Reply Quote 0
                                    • PeterJonesP Online
                                      PeterJones
                                      last edited by

                                      @Віталій-Лукіянчук said:

                                      Only -nosession helps.
                                      …
                                      I just deleted AppData\Roaming\Notepad++\session.xml and it seems problem is solved.

                                      Glad it works for you now. (My guess is that you had either a file that no longer exists, or a file that does exist, but on a network drive rather than a local drive… By ignoring or deleting the old session, it stopped trying to access that file, and was able to properly load Notepad++.)

                                      1 Reply Last reply Reply Quote 1

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • First post
                                        Last post
                                      The Community of users of the Notepad++ text editor.
                                      Powered by NodeBB | Contributors