Community
    • Login

    Hash error on Customize Toolbar plugin

    Scheduled Pinned Locked Moved General Discussion
    11 Posts 5 Posters 914 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.
    • spanakopS
      spanakop
      last edited by

      Hi, When I try to install the Customize Toolbar plugin, it will download it ok, but it will then show a Hash error. Then goes back to the NP window.

      ---------------------------
      Plugin package hash mismatched
      ---------------------------
      The hash of plugin package "CustomizeToolbar_5_3_x64_UNI.zip" is not correct. Expected:
      cb415b51d78ff7d505d5966865bbba67216a00955462db0187448b06efedd50a
      <> Found:
      42f4c4de282577fa367bc77d14d418543be1dbd8d6494ed9407bd87ba1b61e0f
      This plugin won't be installed.
      ---------------------------
      OK   
      ---------------------------
      

      I am using v8.6.2 (64-bit) on WIn10

      mkupperM 1 Reply Last reply Reply Quote 1
      • mkupperM
        mkupper @spanakop
        last edited by mkupper

        I am wondering if I experienced the same thing last week where I wrote “A plugin is available, Customize Toolbar, that can remove the icon from your toolbar. I think Customize Toolbar only works for 32-bit versions.”

        The reason I made that comment is that I had tried to install the Customize Toolbar plugin on v6.4.6 x64 portable. From Plugins Admin I clicked [Install] it seemed to get stuck on the downloader for a while and on restarting Notepad++ the plugin had not been installed. I tried a couple of times but did not get an error pop-up. I then installed the toolbar without issues on a x32 copy of v6.4.6. That worked.

        This week I tried the Customize Toolbar plugin on x64 again and it works without issues.

        @spanakop, can you try again?

        I checked manually and am getting a SHA-256 hash of cb415b51d78ff7d505d5966865bbba67216a00955462db0187448b06efedd50a for a newly downloaded CustomizeToolbar_5_3_x64_UNI.zip from https://sourceforge.net/projects/npp-customize/files/latest/download which is the expected value.

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

          @mkupper said in Hash error on Customize Toolbar plugin:

          on v6.4.6 x64 portable

          There is no Notepad++ v6.4.6 (and it would have been from 2019, if it did exist between v6.4.5 and 6.5.1): I doubt that’s what you really meant.

          Did you mean the most recent Notepad++ v8.6.4?

          mkupperM 1 Reply Last reply Reply Quote 1
          • mkupperM
            mkupper @PeterJones
            last edited by

            @PeterJones Tome zine fault :-) Yes, that should have been v8.6.4.

            1 Reply Last reply Reply Quote 1
            • spanakopS
              spanakop
              last edited by

              I just tried again, and I get the same result.

              I’ll download it on another PC and check the hash manually to see if it’s my connection causing the problem.

              C 1 Reply Last reply Reply Quote 0
              • C
                Cooly0 @spanakop
                last edited by

                In case it helps or if some benefit to someone in the future, I have converted CustomizeToolbar into a Visual Studio project and made tiny tweaks to get it to compile with current version of VS 2022 C++ compiler.
                Maybe it is a little benefit to someone at some point in the future to keep the CustomizeToolbar Plugin going.

                It is posted on Github.

                Unfortunately I don’t have any reputation points here, and I don’t see a place to put a link in my profile, so I don’t know how to post a link here. Maybe it would allow me to PM?

                PeterJonesP 1 Reply Last reply Reply Quote 3
                • PeterJonesP
                  PeterJones @Cooly0
                  last edited by

                  @Cooly0 said in Hash error on Customize Toolbar plugin:

                  It is posted on Github.

                  Unfortunately I don’t have any reputation points here, and I don’t see a place to put a link in my profile, so I don’t know how to post a link here. Maybe it would allow me to PM?

                  If you tell us your github user name and the repo name you used, we can piece together a URL.

                  (The reason new users cannot put links in posts, or in their profile, is because spammers abuse it. You now only need one more upvote to get that ability, so if someone else has upvoted before you come back, you can even just put the link directly.)

                  But be careful: once people know where you put it, you may find that people expect you to maintain and add new features and bugfixes (for example, fixing the problem with Notepad++ v8.6.9 and CustomizeToolbar mentioned here) – you may find yourself having adopted the plugin unintentionally. :-)

                  C 1 Reply Last reply Reply Quote 2
                  • C
                    Cooly0 @PeterJones
                    last edited by

                    Those 2 upvotes did it.

                    Here’s the Visual Studio CustomizeToolbar Plugin Project:
                    https://github.com/QGtKMlLz/nppCustomizeToolbar_VS2022

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

                      @Cooly0

                      I checked out the Visual Studio build you created and it does indeed create a DLL – I didn’t actually try the generated DLL, however.

                      A couple of quibbles: (a) The project was set to build the Debug x64 project, but it built that into an x64\Release folder. Changing the setting to Release and rebuilding did nothing, thus it appears to not be set up to build a debug version. (b) It doesn’t build the 32-bit (x86) versions (Release or Debug) at all.

                      I checked the source for any “malicious” additions, and there weren’t any. :-)

                      C 1 Reply Last reply Reply Quote 2
                      • C
                        Cooly0 @Alan Kilborn
                        last edited by

                        @Alan-Kilborn Yea, I couldn’t figure out how else to force default build to “Release”.

                        For x32, I never understood why/if anyone used x32 anymore, so I didn’t pursue it. Perhaps using 2 instances side-by-side, or…?? I’d be curious to hear.

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

                          @Cooly0 said in Hash error on Customize Toolbar plugin:

                          For x32, I never understood why/if anyone used x32 anymore

                          I suppose one reasonable reason would be if they had a plugin that they needed that was older and it only had a 32-bit build.

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