Community
    • Login

    Session Manager Error every time Notepad++ is autosaving

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    11 Posts 5 Posters 5.4k Views 1 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.
    • EkopalypseE Offline
      Ekopalypse @Steve
      last edited by

      @Steve

      I never used session manager plugin but my first thought would be that a file, written by this
      plugin has been corrupted. If you post your debug info, which is available via the last menu item, the ? menu, we could find out where to look for such a file.

      1 Reply Last reply Reply Quote 0
      • SteveS Offline
        Steve
        last edited by

        @Ekopalypse

        Hi, nice to see someone offering to help on this issue.

        Here is the debug info below.

        Notepad++ v7.5.3 (32-bit)
        Build time : Dec 5 2017 - 10:45:46
        Path : C:\Program Files (x86)\Notepad++\notepad++.exe
        Admin mode : OFF
        Local Conf mode : OFF
        OS : Windows 10 (64-bit)
        Plugins : AutoSave.dll autosave2.dll DSpellCheck.dll HexEditor.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll SessionMgr.dll

        Thank you very much for your time trying to help me with this.

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

          @Steve

          as your local conf mode is off, configuration files should be available in
          your APPDATA directory. Meaning, you should see a directory
          %APPDATA%\notepad++\plugins\config
          which contains a file used by session manager plugin.
          What the name of such a file is, I don’t know but I would assume that once you see the content
          of the config directory you can guess which file it is.
          My first try would be

          1. renaming that file
          2. start npp
          3. check if the file has been recreated and if error is gone.
            if this doesn’t help post the content of the config and the plugins directory from the appdata directory.
          1 Reply Last reply Reply Quote 3
          • SteveS Offline
            Steve
            last edited by Steve

            I really don’t want to mess with the wrong file and break my notepad++ so I’ll just show you what it looks like in those directories.

            Screenshot: https://imgur.com/T8hDA4V

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

              @Steve

              Except for autosave.ini and SessionMgr directory I know that the others are NOT part of the session manager plugin and used by other plugins.
              So. because of autosave functionality I would give it a first try to rename AutoSave.ini to AutoSave.txt and restart npp.
              If this doesn’t help, I would rename the SessionMgr directory to SessionMgr2 and give it another try.

              1 Reply Last reply Reply Quote 1
              • SteveS Offline
                Steve
                last edited by

                What!

                YOU DID IT!

                Renaming the SessionMgr folder to SessionMgr2 actually fixed it! No more errors!

                How is that such a simple change solved this problem? I don’t understand. Because the error was saying something about GlobalProperties and I’m thinking there is some kind of file that is broken and there’s no way to replace it because it’s unique to my notepad++ session but a simple folder rename fixed it?! That’s amazing, you’re a genius, can’t thank you enough.

                But I just can’t help but to think I’m missing something, I’m worried there might be some broken/corrupted file somewhere and worried at the thought of that broken file breaking other things in the future. Because I have a lot of important saved information in my Notepad++ files like usernames/passwords, todo lists, etc

                Thank you very much Ekopalypse. The only one coming to help me immediately solved my problem. If you have a paypal I’d like to send you a small donation just as thanks for that.

                Alan KilbornA EkopalypseE 2 Replies Last reply Reply Quote 2
                • Alan KilbornA Offline
                  Alan Kilborn @Steve
                  last edited by

                  @Steve said:

                  How is that such a simple change solved this problem?

                  Not so hard to understand. There was something “corrupt” in the existing file(s); removing them forced the plugin to see that they were gone and recreating default config files (which, of course work just fine).

                  1 Reply Last reply Reply Quote 2
                  • EkopalypseE Offline
                    Ekopalypse @Steve
                    last edited by

                    @Steve - my pleasure and I can only second what @Alan-Kilborn said

                    1 Reply Last reply Reply Quote 3
                    • Steven GlickS Offline
                      Steven Glick
                      last edited by

                      @Ekopalypse said in Session Manager Error every time Notepad++ is autosaving:

                      rename the SessionMgr directory to SessionMgr2

                      This problem has been bugging me for months.

                      As suggested here, I renamed the SessionMgr directory to SessionMgr2 and then restarted NPP. The problem was gone!

                      Thanks.

                      1 Reply Last reply Reply Quote 1
                      • Arnaldo CavalcantiA Offline
                        Arnaldo Cavalcanti
                        last edited by

                        Remove the file “C:\Users<User>\AppData\Roaming\Notepad++\plugins\Config\SessionMgr\global.xml” and restart the 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