Cannot install plugins at all



  • @schwaben-github said:

    Your solution is very interesting, but it’s also a bit time intensive

    There was a one-time setup cost, but it was probably less than half an hour of work for me. But really, compare that to the ~5hr delay you just experienced between when you first joined this conversation, and when you confirmed that networking/Proxy settings were the cause of your difficulty.

    (And the only reason I evaluate and keep so many versions of Notepad++ is because I frequent this forum, and often need to test alternate versions to figure out why a user is having the problem they explain. Otherwise, I tend to not upgrade unless there’s a good feature/bugfix reason for me to.)



  • @PeterJones

    But really, compare that to the ~5hr delay you just experienced between when you first joined this conversation, and when you confirmed that networking/Proxy settings were the cause of your difficulty.

    maybe this was my bad, as i could have saved @schwaben-github a few hours, if i wouldn’t always be offline for so long ;-)

    @schwaben-github

    i usually suggest the portable versions as well, for peter’s reasons, but in this case, if it is really an existing proxy, i guess it wouldn’t have made much of a difference if portable or not (at least not for using the built in plugins admin).

    ps: let’s hope your proxy doesn’t require credentials, or blocks downloads from github, sourceforge, or other sites that might be disallowed by a policy.



  • Guys,

    Since here we are getting quite a lot "I-cannot-install-plugins" kind of help requests recently perhaps it will be good to make pinned thread in https://notepad-plus-plus.org/community/category/4/help-wanted and https://notepad-plus-plus.org/community/category/5/plugin-development shortly describing the most common problems and solutions. Something like FAQ. This will save us (you mainly as I don’t frequently answer) a lot of time answering the same questions again and again.
    I suppose if Plugin Install Problems FAQ thread is written Don can pin it so it shows in the very beginning of Help Wanted and Plugins Development.

    I would also suggest a small addition to Notepad++'s future versions - on startup to check the plugins folder for any DLLs. If such are present to show message saying that those are not supposed to be there and will not be loaded.

    What do you think?



  • @pnedev
    Good idea!



  • @PeterJones

    There was a one-time setup cost

    You are right, after the initial setup is done, it gets no-brainer. I will definitely try it out in the new setup, soon my machine is getting EoL and I will anyway need to install all the software again…

    @Meta-Chuh

    In this case it wouldn’t have made any difference, but initially I wouldn’t loose all of the plugins because of failed update! And yes, our proxy do require credentials… At least github and sourceforge are not blocked.

    Thanks again, guys!



  • I am also behind a company proxy, this was causing the problem. So I swaped to a free WLAN for plugin installation and all worked fine. Just curious why this did not cause any problems in the past…
    Thanks all for the help!



  • @Daniel-Stingl

    Just curious why this did not cause any problems in the past…

    because the old “plugin manager” from david bruderstein automatically used the proxy settings from the windows internet options (microsoft internet explorer lan settings).



  • @pnedev

    Since here we are getting quite a lot “I-cannot-install-plugins” kind of help requests recently perhaps it will be good to make pinned thread

    good idea, i second that.

    This will save us (you mainly as I don’t frequently answer) a lot of time answering the same questions again and again.

    maybe not hyper-frequently in the past, but very active and always very useful as well as productive … and you are more active lately, which i personally encourage and enjoy a lot ;-)

    I suppose if Plugin Install Problems FAQ thread is written Don can pin it so it shows in the very beginning of Help Wanted and Plugins Development.

    @PeterJones , @guy038 and me have started a little brainstorming discussion about that >>> here <<< and guy has some ideas to improvements, which we can do autonomously.
    you are very invited to join with anything that’s on your mind … or just for the fun of it ;-)

    I would also suggest a small addition to Notepad++'s future versions - on startup to check the plugins folder for any DLLs. If such are present to show message saying that those are not supposed to be there and will not be loaded.

    a request for the old plugin manager was submitted.
    Remove the “Plugin Manager” plugin on Notepad++ 7.6.x and above due to incompatibility. #5409
    i chose the removal option, fearing that a message will be clicked away and ignored by many users.

    What do you think?

    i’m completely with you.



  • @Meta-Chuh ,

    Thank you, I appreciate your kindness ;)



  • @pnedev said:


    If you install plugins manually you need to create separate plugin folder per plugin,
    So you need to have D:\tools\Notepad++\plugins\PluginXName\PluginXName.dll

    Thanks @pnedev , this helped.
    For anyone else who’s got the same problem - notice that the folder name should be exactly the same as the DLL name (as actually mentioned in the quote above)



  • I had similar issue with the proxy preventing me from installing any plugins. I was able to resolve it by manually creating a gupOptions.xml file with the proxy address. I used the following to help https://notepad-plus-plus.org/community/topic/13030/problem-with-set-updater-proxy/5



  • @amathub ,

    You can now do it directly from Notepad++.
    Go to the help and about menu - ? and you’ll see Set Updater Proxy ....

    BR



  • @pnedev thanks, I should have clarified that I had a similar issue above that someone else was having where going to the setting “Set Updater Proxy …” would not retain the proxy address. I would set the proxy there, but going back to the setting would show 0.0.0.0 again.

    After manually creating the missing gupOptions.xml file with the proxy address, it would then show up in the “Set updater Proxy …” location. I could then also install plugins after that as well.

    Thought I’d pass the info along to anyone else requiring the use of a proxy that wasn’t sticking in the setting.



  • @amathub ,

    Thanks for sharing. I never actually used that just know that the setting is there but never tested if it is working.



  • @amathub

    it’s necessary to open notepad++ elevated as administrator, due to the permissions required for %ProgramFiles(x86) or %ProgramFiles, to save the changes to e.g. %ProgramFiles(x86)\Notepad++\gupOptions.xml lies.

    our apologies, if we did not mention this, and that it is a bit confusing, as the proxy settings panel will not throw a permission warning, but just exit without modifying gupOptions.xml.

    many thanks and best regards.



  • off-topic aside to @Meta-Chuh:

    %ProgramFiles(x86) or %ProgramFiles%ProgramFiles(x86)\Notepad++\gupOptions.xml

    You seem to be dropping the closing % from Windows variables recently. It should be:

    %ProgramFiles(x86)% or %ProgramFiles%%ProgramFiles(x86)%\Notepad++\gupOptions.xml



  • @PeterJones

    thanks, and sorry for the typo.


Log in to reply