Community
    • Login

    bug : "{file} doesnt exist any more. Keep file in editor?"

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    13 Posts 2 Posters 489 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.
    • S
      st333v
      last edited by

      its happened again, i killed the process as it had hung. re-opened it after a few minutes, then made some changes, saved the changes. then a bit later made another change and tried to save it, then it locked up, and shortly after it popped the dialog message up about “the file no longer exists, do you want to keep it in the editor”
      it wouldnt let me save the file basically, and has locked up again, heres the contenbts of the log file you asked for

      2025-03-07 16:53:04 C:\code\fbpurity\builds\gm\fbpurity.user.js in Buffer::updateTimeStamp(), getFileAttributesExWithTimeout returned FALSE, its worker thread had to be forcefully terminated due to timeout reached!
      2025-03-07 16:53:14 C:\code\fbpurity\builds\gm\fbpurity.user.js in Buffer::checkFileState(), getFileAttributesExWithTimeout returned FALSE, its worker thread had to be forcefully terminated due to timeout reached!
      2025-03-07 16:53:38 C:\code\fbpurity\builds\gm\fbpurity.user.js in Buffer::checkFileState(), getFileAttributesExWithTimeout returned FALSE, its worker thread had to be forcefully terminated due to timeout reached!
      2025-03-07 16:53:44 C:\code\fbpurity\builds\gm\fbpurity.user.js in Buffer::checkFileState(), getFileAttributesExWithTimeout returned FALSE, its worker thread had to be forcefully terminated due to timeout reached!

      S 1 Reply Last reply Reply Quote 1
      • S
        st333v @st333v
        last edited by

        @st333v i am regretting updating npp now. its definitely not the nppopenai plugin as im still getting the error. i knew there was a reason why i was holding off updating. i think ive had problems with updated versions of software before. maytbe i should downgrade to the previous version?

        another datapoint. it seems to be going throught the “file does not exist, keep in editor” for each open file. its just going really slowly. after iclick “yes” on one dialog box, the system locks up for ages, then a few minutes later, the popup will show for the next open file, its going through them systematically… oh gosh, i think im going to need to either switch to a different editor or just downgrade to a previous version.

        xomxX 1 Reply Last reply Reply Quote 0
        • xomxX
          xomx @st333v
          last edited by xomx

          @st333v said in bug : "{file} doesnt exist any more. Keep file in editor?":

          i should downgrade to the previous version?

          You can, of course, whenever (if we do not solve your problem better, then use any version 8.7 or older).

          @st333v said in bug : "{file} doesnt exist any more. Keep file in editor?":

          the log file you asked for

          Thanks. This confirmed my suspicion - your PC cannot answer the GetFileAttributesEx WINAPI call within a time-period given! This is very odd for any local file, as that system call is computationally inexpensive & fast (it usually can take few milliseconds to complete) and your filesystem cannot answer in 3 secs! I’ve seen some users report this problem before, but it was always with network files when the network was really slow or had outages.

          Could you please test the same with a fresh N++ portable version (to rule out the possibility of corrupted/misconfigured N++ settings)? Just download 32-bit version here and unzip to any writable folder and run there the notepad++.exe.

          S 2 Replies Last reply Reply Quote 2
          • S
            st333v @xomx
            last edited by

            @xomx i installed the portable version 8.7.7 and not had any problems so far. with it. but only have one file open.

            is there a config file i can copy over from the installed version that will make it open all the files that i had opened, to make it a like for like comparison?

            xomxX 1 Reply Last reply Reply Quote 1
            • xomxX
              xomx @st333v
              last edited by

              @st333v

              %APPDATA%\Notepad++\session.xml (copy it to the same dir where your portable notepad++.exe is).

              S 1 Reply Last reply Reply Quote 2
              • S
                st333v @xomx
                last edited by

                @xomx thanks, i will try it

                1 Reply Last reply Reply Quote 0
                • S
                  st333v @xomx
                  last edited by

                  @xomx after working ok for a couple of days. im just now getting the same problem with the portable version. i double checked it was the portable version by examining the properties of the process in the windows task manager.

                  S xomxX 2 Replies Last reply Reply Quote 0
                  • S
                    st333v @st333v
                    last edited by

                    @st333v i was going to give up and try out vscode, but found they dont support 32bit anymore, so have gone back to NPP 8.7 as recommended

                    1 Reply Last reply Reply Quote 0
                    • xomxX
                      xomx @st333v
                      last edited by

                      @st333v said in bug : "{file} doesnt exist any more. Keep file in editor?":

                      after working ok for a couple of days. im just now getting the same problem with the portable version

                      Hmm, IMO it looks like the problem is somewhere on your comp (and not in N++, otherwise it could not work for few days ok and then not…). I bet on some antivirus like SW or corporate spyware or similar.

                      xomxX 1 Reply Last reply Reply Quote 1
                      • xomxX
                        xomx @xomx
                        last edited by

                        I just remembered similar “file does not exist” issue in the N++ v8.7.1+ caused by an interfering SW (in that case by the corporate telemetry spyware Teramind, monitoring all the files opened by user):

                        https://community.notepad-plus-plus.org/topic/26462/file-does-not-exist

                        1 Reply Last reply Reply Quote 2
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors