Community
    • Login

    "Copy Failed" when installing/updating Notepad++ localization options

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    9 Posts 3 Posters 355 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.
    • PJRamagliaP
      PJRamaglia
      last edited by PJRamaglia

      b06c1666-d0c3-4c2d-a31a-df2cab2c95fe-image.png

      So I noticed this has been happening lately whenever I update Notepad++ on my home computer. Could it be that the indonesian.xml file itself is bugged when updating the software? Or is it something else entirely?

      Here is my current debug info to help further troubleshoot this issue:

      Notepad++ v8.4.7   (64-bit)
      Build time : Nov  1 2022 - 23:31:11
      Path : C:\Program Files\Notepad++\notepad++.exe
      Command Line : "C:\Program Files\Notepad++\change.log" 
      Admin mode : OFF
      Local Conf mode : OFF
      Cloud Config : OFF
      OS Name : Windows 11 (64-bit) 
      OS Version : 22H2
      OS Build : 22621.819
      Current ANSI codepage : 1252
      Plugins : 
          ComparePlugin (2.0.2)
          HexEditor (0.9.12)
          mimeTools (2.9)
          NppConverter (4.5)
          NppExport (0.4)
      
      Terry RT 1 Reply Last reply Reply Quote 0
      • Terry RT
        Terry R @PJRamaglia
        last edited by

        @PJRamaglia The obvious thing to check, is the file you are attempting to overwrite read/write enabled. Or possibly some other security permissions which are preventing you from writing over the top of it.

        Terry

        PJRamagliaP 1 Reply Last reply Reply Quote 1
        • PJRamagliaP
          PJRamaglia @Terry R
          last edited by

          @Terry-R, I checked the properties of said file and the “Read-only” attribute was unchecked. I then decided to uninstall and reinstall Notepad++ and encountered the exact same error message again with this particular language file. Very weird as to what’s causing it to fail as well as mess with my installation-OCD, you know? lol!

          9fd57711-4635-47af-b7fb-fe60c7af640c-image.png

          PJRamagliaP Terry RT 2 Replies Last reply Reply Quote 0
          • PJRamagliaP
            PJRamaglia @PJRamaglia
            last edited by

            even weirder…the file seems to have been properly installed too?

            7a1d3291-d948-494b-9073-7b1236fc85af-image.png

            1 Reply Last reply Reply Quote 0
            • Terry RT
              Terry R @PJRamaglia
              last edited by

              @PJRamaglia said in "Copy Failed" when installing/updating Notepad++ localization options:

              I checked the properties of said file and the “Read-only” attribute was unchecked

              OK, but what about the security permissions? What users/groups are allowed to change the file?

              Also if uninstalling and reinstalling you’d need to remove the folder under C:\Program Files\Notepad++ in between those steps as some files will remain when uninstalling.

              Terry

              PJRamagliaP 1 Reply Last reply Reply Quote 2
              • PJRamagliaP
                PJRamaglia @Terry R
                last edited by

                @Terry-R Here’s a breakdown of the “Security” tab for this specific file:
                11db7969-d07d-4e9c-8416-c5c14f0cf231-image.png

                I also verified before reinstalling that the only files remaining after uninstalling were my plugins folders, mainly these two highlighted ones:
                13b80b15-610c-4b27-9e36-c045edab5166-image.png

                The others were not there at the time of reinstall.

                Terry RT PeterJonesP 2 Replies Last reply Reply Quote 0
                • Terry RT
                  Terry R @PJRamaglia
                  last edited by

                  @PJRamaglia
                  I’m running out of ideas. I downloaded the portable version of the one you showed debug info on. Then looked at the indonesian.xml file you are having problems with, it appears to be normal.

                  About the only other thing I can suggest to try is to download that portable version, unzip/extract that indonesian.xml file and manually copy it as the installer tried. Maybe you will also get an error message and possibly it might help you find out the reason for the error.

                  I will say however that the version in the portable file appears to be exactly the size you show (63981 bytes) so even if it didn’t successfully copy across, you do have the correct version currently.

                  Terry

                  1 Reply Last reply Reply Quote 2
                  • PeterJonesP
                    PeterJones @PJRamaglia
                    last edited by

                    @PJRamaglia said in "Copy Failed" when installing/updating Notepad++ localization options:

                    Here’s a breakdown of the “Security” tab for this specific file:

                    The images show that the administrator has edit permission on that file, but your normal user does not. When you are doing the reinstall, has it popped up the UAC asking for administrator permission? Because if not, then your normal user cannot overwrite that file.

                    Terry RT 1 Reply Last reply Reply Quote 0
                    • Terry RT
                      Terry R @PeterJones
                      last edited by

                      @PeterJones said in "Copy Failed" when installing/updating Notepad++ localization options:

                      but your normal user does not

                      I have that as well on my work PC. But when I install I have a higher level account which is used which does have permissions. I assumed here that the same must apply as the image shows other localization files being successfully copied.

                      Terry

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