PythonScript
PythonScript copied to clipboard
Context-Help link is broken - please redirect to local files
The Context-Help menu option resolves to http://npppythonscript.sourceforge.net/docs/1.3.0.0 which is a 404 error.
Please change this to point to the local files which are (should be) at (whatever is NPP's relative pointer to plugins folder)/PythonScript/doc/PythonScript/index.html
Personally, I don't use NPP's installer, user-specific configurations, or the brand new plugin manager. I keep everything portable. The fewer hooks into any OS, the better...
I see a different resolving when I invoke Context Help with 1.3.0.0, fully local install:
As sasummer shows, if the help files are at the right place the local ones are used. This was changed with https://github.com/bruderstein/PythonScript/issues/96. This should also work for portable installations if the help files are moved to the doc folder.
There was also some discussion on updating the webpage, but that would need some help from @bruderstein or a movement to a new location.
@FredThompsonII Could you confirm
For me it shows me this:
@Benur21 Is the index.html file available at the mentioned path?
Yes, it's there, and it works if I open it manually.
As far as I can see this works as expected on Npp 7.7.1 (x64) with PythonScript 1.4.0 (x64-full)
link broken as of 3.01
is:
file:///C:/Program Files (x86)/Notepad++/plugins/PythonScript/doc/index.html
should be:
file:///C:/Program Files (x86)/Notepad++/plugins/PythonScript/doc/PythonScript/index.html
@terrdavis Which version of N++ do you use? And how did you install pythonscript? PluginAdmin, msi, manually (or outdated PluginManager)? Why should it be under plugins/PythonScript/doc/PythonScript/index.html ?
See https://github.com/bruderstein/PythonScript/commit/9151d2e7fd84cb108e970e44dd49622d9a904153#diff-4050033fc9a8fd823c3c60bde4598a80, so considered to be fixed with version 1.5.2 and later.
@chcg
7.8.7 32-bit
I believe I used the msi installer (I just re-ran it and selected the repair option)
I'll restate the issue this way:
The context-help link points to:
file:///C:/Program Files (x86)/Notepad++/plugins/PythonScript/doc/index.html
but I found the file here:
file:///C:/Program Files (x86)/Notepad++/plugins/PythonScript/doc/PythonScript/index.html
@terrdavis Checked the config file for the installer and there is an additional subdir PythonScript below doc at:
https://github.com/bruderstein/PythonScript/blob/master/installer/PythonScript.wxs#L52 and https://github.com/bruderstein/PythonScript/blob/master/installer/changeDirHtmlDoc.xsl#L4
Thanks for your test.