Community
    • Login

    Preview HTML 32-bit Plugin package hash mismatched

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 3.2k Views 2 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.
    • D Offline
      dddwwwbbb
      last edited by dddwwwbbb

      Why do I get “The hash of plugin package … is not correct…” each time I try to install it?

      PreviewHTMLHashError.jpg

      Notepad++ v8.6.9 (32-bit)
      Build time : Jul 12 2024 - 05:08:26
      Path : C:\Program Files\Notepad++\notepad++.exe
      Command Line :
      Admin mode : OFF
      Local Conf mode : OFF
      Cloud Config : OFF
      Periodic Backup : OFF
      OS Name : Windows 7 Professional (32-bit)
      OS Build : 7601.24544
      Current ANSI codepage : 1252
      Plugins :
      ComparePlus (1.1)
      mimeTools (3.1)
      NppConverter (4.6)
      NppExport (0.4)

      PeterJonesP 2 Replies Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @dddwwwbbb
        last edited by

        @dddwwwbbb said in Preview HTML 32-bit Plugin package hash mismatched:

        Why do I get: The hash of plugin package … is not correct…

        Based on the filename in the error message, I am guessing that the file didn’t process/download correctly from the URL that the plugin author provided to the plugins list – my guess is their host actually served up some HTML in a “manual download webpage”, rather than sending the actual file.

        1 Reply Last reply Reply Quote 0
        • PeterJonesP Offline
          PeterJones @dddwwwbbb
          last edited by

          @dddwwwbbb ,

          I dug into it more: the website that hosts the plugin has changed the URL for the 32bit and 64bit zipfiles, so Plugins Admin gets an error message instead of an actual zipfile when it tries to download. The error message, of course, doesn’t have the same hash as the zip, because it’s not the same contents. Unfortunately, that means that you will not be able to use Plugins Admin on v8.6.9 to download that plugin.

          However, you can manually install it.
          0. Exit Notepad++ completely

          1. Go to https://fossil.2of4.net/npp_preview/home
          2. Download the “32-bits plugin” (https://fossil.2of4.net/npp_preview/zip/PreviewHTML.zip?uuid=release-32bits)
          3. Extract the “PreviewHTML” folder from that zipfile and put it in your C:\Program Files\Notepad++\plugins\ directory, so it will be C:\Program FIles\Notepad++\plugins\PreviewHTML\ directory, with contents of PreviewHTML.dll and its notes and sample ini
          4. Run Notepad++ – the plugin should be installed and available.
          rdipardoR D 2 Replies Last reply Reply Quote 2
          • rdipardoR Offline
            rdipardo @PeterJones
            last edited by

            @PeterJones, @dddwwwbbb

            Try the updated plugin version (v1.3.3); it’s only available on GitHub at the moment: https://github.com/rdipardo/npp_preview/releases/tag/v1.3.3.0

            1 Reply Last reply Reply Quote 2
            • D Offline
              dddwwwbbb @PeterJones
              last edited by dddwwwbbb

              @PeterJones Thank you. That worked. I see it is deprecated: fossil.2of4 dot net/npp_preview/wiki/Deprecation

              1 Reply Last reply Reply Quote 1
              • rdipardoR Offline
                rdipardo
                last edited by

                Installation via Plugins Admin will be possible in the next release of Notepad++ https://github.com/notepad-plus-plus/nppPluginList/pull/795

                Any other issues with the plugin should be sent here: https://github.com/rdipardo/npp_preview/issues

                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