Menu

#66 install problem

1.12-preview
closed-fixed
nobody
Bug
5
2019-01-12
2019-01-09
Anonymous
No

after install, the restart of NPP message that the file /plugins/config/AnalysePlugin.xml is missing. Plug in not loaded. Can reinstsall 1.11 and it is ok ( still no file there in config)
Windows 10. NPP v7.6.2

Discussion

  • Kevin Tomlinson

    Kevin Tomlinson - 2019-01-09

    I just upgraded NPP to 7.6.2 and now the plugin doesn't work and there aren't any errors. I completely uninstalled NPP and then reinstalled 7.6.2 and still nothing. The Plugin Manager has AnalysePlugin shown as installed, but it doesn't show up. It is not listed in the Plugins Admin. The dll is in %appdata%\Roaming\Notepad++\plugins.

     
  • Anonymous

    Anonymous - 2019-01-09

    same problem for me

     
  • Mattes H.

    Mattes H. - 2019-01-09

    Hi All,
    this problem is caused by the lexer module requirement which is even not yet active
    This fraction of NPP code explains it:
    lstrcpy(xmlPath, nppParams->getNppPath().c_str());
    PathAppend(xmlPath, pi->_moduleName.c_str());
    PathAppend(xmlPath, TEXT("plugins\Config"));
    PathAddExtension(xmlPath, TEXT(".xml"));
    if (!PathFileExists(xmlPath))
    ...
    throw generic_string(generic_string(xmlPath) + TEXT(" is missing."));

    Please, simply create an empty file AnalysePlugin.xml in ...\plugins\Config\ folder which is BESIDE the plugins folder OR in your AppData Npp-Config path.

    I will anyway update the binaries with completely deactivated LexerFunction and check for other ways avoiding this problem.

    Thanks for reporting! :-)
    Best Regards, Mattes

     
  • Mattes H.

    Mattes H. - 2019-01-09

    Updated with version 1.12-p-R39

     
  • Mattes H.

    Mattes H. - 2019-01-09
    • status: open --> closed-fixed
     
  • Kevin Tomlinson

    Kevin Tomlinson - 2019-01-10

    Unfortunately the issue wasn't fixed with R39 for me. I put the new x86 dll into %AppData%\Roaming\Notepad++\plugins. I also copyied a backup of AnalysePlugin.ini and AnalysePlugin.xml into the Notepad++\plugins\ and Notepad++\plugins\config\ folders. Still no luck. Just to be clear, 1.11 installed via the Plugin Manager isn't working either.

     

    Last edit: Kevin Tomlinson 2019-01-10
  • Kevin Tomlinson

    Kevin Tomlinson - 2019-01-10

    The Plugin Manager does show the plugin installed with the correct version 1.12.39. I also tried putting the dll into C:\Program Files (x86)\Notepad++\plugins with the xml and ini files.

    Still no luck.

     
    • Mattes H.

      Mattes H. - 2019-01-10

      Hi Kevin,
      yes, this is because of the new NppPluginList.dll - this caontains an always valid list of plugins and this preview version is not yet released to neither the old, nor the new NppPlugin manager.
      -> intentional.

       
  • Anonymous

    Anonymous - 2019-01-10

    Working now for me, Win10, 64bit, NPP 7.6.2 . Thanks

     
  • Kevin Tomlinson

    Kevin Tomlinson - 2019-01-10

    I did a clean install of NPP 7.5.9, installed the Plugin Manager plugin, installed AnalysePlugin from the Plugin Manager, and now it works. I then grabbed the 1.12 R39 dll and dropped it into the plugin folder and this is working as well. There's something about NPP 7.6+ on my machine that isn't playing nice with AnalysePlugin. It no doubt has something to do with the changes to how plugins are loaded in 7.6+ versions.

     
  • Mattes H.

    Mattes H. - 2019-01-12

    @Kevin,
    did you recognize the NEW requirement that plugins have to be copied into a subfolder which has to be named same as the dll -> .\plugins\AnalysePlugin\AnalysePlugin.dll in my case.
    For such kind of installation issues I expect more confusion and opened a discussion topic for it:
    Issues with Plugin Manager...
    Please, let me know if this fixes your problem.
    Regards, Mattes

     

Anonymous
Anonymous

Add attachments
Cancel