PythonScript icon indicating copy to clipboard operation
PythonScript copied to clipboard

Context-Help link is broken - please redirect to local files

Open FredThompsonII opened this issue 6 years ago • 10 comments

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...

FredThompsonII avatar Dec 13 '18 15:12 FredThompsonII

I see a different resolving when I invoke Context Help with 1.3.0.0, fully local install:

image

sasumner avatar Dec 13 '18 16:12 sasumner

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

chcg avatar Dec 13 '18 19:12 chcg

For me it shows me this: image

Benur21 avatar Dec 23 '18 23:12 Benur21

@Benur21 Is the index.html file available at the mentioned path?

chcg avatar Dec 31 '18 18:12 chcg

Yes, it's there, and it works if I open it manually. image

Benur21 avatar Dec 31 '18 19:12 Benur21

As far as I can see this works as expected on Npp 7.7.1 (x64) with PythonScript 1.4.0 (x64-full)

webketje avatar Sep 25 '19 23:09 webketje

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 avatar Jun 18 '20 20:06 terrdavis

@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 avatar Jul 16 '20 10:07 chcg

@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 avatar Jul 16 '20 15:07 terrdavis

@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.

chcg avatar Jul 17 '20 17:07 chcg