Community
    • 登入

    XML Tools will not work after update from plugin manager

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    11 貼文 7 Posters 27.7k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • janherJ
      janher
      最後由 編輯

      After I updated all plugins from the plugin manager, the XML Tools will not work anymore. When I go to Plugins -> XML Tools in the menu, its only submenu is “How to install…”. I tried reinstalling the plugin from the plugin manager, and I tried installing the plugin manually. It did not work.
      In C:\Program Files (x86)\Notepad++ I have libxml2-2.dll and libxslt-1.dll

      This the Notepad++ debug information:

      Notepad++ v7.5.9 (32-bit)
      Build time : Oct 14 2018 - 15:02:52
      Path : C:\Program Files (x86)\Notepad++\notepad++.exe
      Admin mode : OFF
      Local Conf mode : OFF
      OS : Windows 10 (64-bit)
      Plugins : NppExport.dll ComparePlugin.dll DSpellCheck.dll JSLintNpp.dll mimeTools.dll NppConverter.dll NPPJSONViewer.dll NppSaveAsAdmin.dll NppTextFX.dll PluginManager.dll XMLTools.dll

      Any ideas on how to fix this?

      1 條回覆 最後回覆 回覆 引用 1
      • andrecool-68A
        andrecool-68
        最後由 編輯

        Check the path where the plugin itself and its libraries lie.
        It should be like this:

        1 條回覆 最後回覆 回覆 引用 1
        • janherJ
          janher
          最後由 編輯

          I changed the path structure as you described. It did not solve the issue.
          I also removed the 5 libraries that were copied in the same directory as notepad++.exe, but that didn’t help either.

          Is there something else I could try?

          1 條回覆 最後回覆 回覆 引用 0
          • andrecool-68A
            andrecool-68
            最後由 編輯

            Sorry, I didn’t look at your question video for version 7.6.2.

            1 條回覆 最後回覆 回覆 引用 1
            • janherJ
              janher
              最後由 編輯

              I also noticed browsing this forum that there is a version 7.6.2 of Notepad++, while I was still using 7.5.9.
              I tried to run the menu option ? -> Update Notepad++, but it said No update is available.

              I downloaded 7.6.2 from the website and installed it. I installed the XML Tools plugin again from the Plugins Admin, and now it works!

              I guess this is an incompatibility between XML Tools 2.4.11 and Notepad++ 7.5.9

              1 條回覆 最後回覆 回覆 引用 2
              • andrecool-68A
                andrecool-68
                最後由 編輯

                1 條回覆 最後回覆 回覆 引用 2
                • Tarek FahamT
                  Tarek Faham
                  最後由 編輯

                  I faced the same problem, and after I installed the latest version of NP++, and then I had to reinstall all plugins, then, the latest XML Tools has been installed successfully using the Plugins Admin menu (instead of Plugin Manager).

                  Tarek

                  1 條回覆 最後回覆 回覆 引用 1
                  • Marco M. FerrariM
                    Marco M. Ferrari
                    最後由 編輯

                    Me too. I faced the same problem and solved as follows:

                    • close NP++
                    • download of the zip archive “xmltools_2.3.2_r908_unicode_beta4.zip” using the NP++ menu “?>Get More Plugins”
                    • copy the files from the “ext_libs” folder of the zip archive into the root folder of NP++ (on my PC “C:\Program Files (x86)\Notepad++”) overwriting existing files if needed
                    • copy the “XMLTools.dll” of the zip archive into the folder “C:\Program Files (x86)\Notepad++\plugins” overwriting existing file if needed
                    • start NP++
                    1 條回覆 最後回覆 回覆 引用 0
                    • chcgC
                      chcg
                      最後由 chcg 編輯

                      Between XML Tool version 2.4.9.2 and 2.4.11 there were the changes https://github.com/morbac/xmltools/commit/ee145dbcd5f952fba411fa0e1bf331d2deafdf70 and https://github.com/morbac/xmltools/commit/392a9b1b98bd7d079fd4e31913fa28bcc368d500 to be compatible with N++ 7.6.x, but unfortunately that changes seem to be incompatible with the previous N++ version not providing the info about the plugin dir path via the new notification NPPM_GETPLUGINHOMEPATH. I created https://github.com/morbac/xmltools/issues/19 therefore. Meaning for PM as it is also just compatible with N++ before 7.6.x the provided version should be reverted to 2.4.9.2.

                      1 條回覆 最後回覆 回覆 引用 3
                      • Manuel SanchezM
                        Manuel Sanchez
                        最後由 編輯

                        Despues de revisar todas las soluciones aqui propuestas, al leer el post de @janher me di cuenta que yo no tenía el menu “Plugin Admin” y entendi que estaba desactualizado, descargué ultima version de Notepad++, 7.6.6 (32 bit), y al abrirla ya tenía el menu XMLTools, pero no funcionaba y lo peor era que desde Plugn Admin, no lo encontraba al buscarlo, entendí que era por haber copiado los archivos manualmente, asi que cerré N++ y eliminé todos los archivos *.dll que habia copiado.
                        Volvi a ejecutar N++, el menu XMLTools ya no estaba, desde Plugin Admin busqué XMLTools, lo encontré, lo instalé y N++ se reinició, y ahora tenia nuevamente el menu XMLtools y funcionaba.

                        Meta ChuhM 1 條回覆 最後回覆 回覆 引用 2
                        • Meta ChuhM
                          Meta Chuh moderator @Manuel Sanchez
                          最後由 編輯

                          bienvenido a la notepad++ community, @Manuel-Sanchez

                          gracias por compartir tu experiencia y solución.
                          espero que haya más gente que entenderá castellano por aquí ;-)


                          welcome to the notepad ++ community, @ Manuel-Sanchez

                          Thank you for sharing your experience and solution.
                          I hope there are more people who will understand Spanish at our place ;-)

                          1 條回覆 最後回覆 回覆 引用 0
                          • 第一個貼文
                            最後的貼文
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors