[Bug 232640] New: susehelp error upon opening documentation
https://bugzilla.novell.com/show_bug.cgi?id=232640 Summary: susehelp error upon opening documentation Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@rauch-webdesign.de QAContact: qa@suse.de I package newer versions for gnucash and gnucash-docs than they are available in (open)SUSE-Repositories. Now I have run into an bug(?) with the susehelp script. When Gnucash calls it's documentation, it calls /opt/gnome/bin/gnome-help ghelp:/<path to documentation> this file is a symlink to /usr/bin/suse-help, a (seems to me) wrapper-script for KDE and Gnome Help Systems. This Script rewrites the url to be opened from ghelp:/<path> to help:/<path>, but exactly this makes khelpcenter fail. I can reproduce this manually. Calling "khelpcenter ghelp:/opt/gnome/share/gnome/help/gnucash/C/gnucash-guide.xml" works, whereas "khelpcenter help:/opt/gnome/share/gnome/help/gnucash/C/gnucash-guide.xml" fails just like being called by the susehelp script. I am using the original KDE delivered with Suse 10.2. Both the source and binaries/noarch can be gotten from ftp://rauchs-home.de/suse/10.2/ just in case you want to check back. I'll attach an screenshot showing the failure in khelpcenter. Maybe there is an error on my side I didn't find or is it an error in susehelp? I would be really happy, if someone could tell me a solution! Regards, Chris -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 ------- Comment #1 from suse@rauch-webdesign.de 2007-01-08 12:28 MST ------- Created an attachment (id=111900) --> (https://bugzilla.novell.com/attachment.cgi?id=111900&action=view) screenshot showing the error in khelpcenter with the malformed URI in title -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 ------- Comment #2 from suse@rauch-webdesign.de 2007-01-08 14:02 MST ------- Addendum: replacing the symlink /opt/gnome/bin/gnome-help with an symlink to yelp works too, so it really is susehelp, which fails here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |wstephenson@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 ------- Comment #3 from tcreedon@easystreet.com 2007-02-21 17:35 MST ------- cd /opt/gnome/share/gnome/help ; ln -s /usr/local/share/gnucash/gnome/help/gnucash . or move the doc tree to /opt/gnome/share/gnome/help -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 ------- Comment #4 from andreas.hanke@gmx-topmail.de 2007-02-21 18:21 MST ------- Comment 3 is wrong and doesn't have anything to do with this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wstephenson@novell.com AssignedTo|wstephenson@novell.com |hpj@novell.com Summary|susehelp error upon opening |susehelp error upon opening gnucash |documentation |documentation ------- Comment #5 from wstephenson@novell.com 2007-05-26 01:20 MST ------- It seems to be down to 2 bugs in susehelp-khelpcenter: 1) The regexp at line 7 barfs on ghelp:/opt/gnome/share/gnome/help/gnucash/C/gnucash-guide.xml because it assumes that the basename of the xml file is the same as the application directory. I don't know if this is due to gnucash not following gnome docu conventions or whether the susehelp-khelpcenter script (which is a novell addition to the kde helpsystem that creates a cache of gnome docu on demand rather than converting it on the fly every time as khelpcenter does by default) needs to be altered to handle this case. I will attach a debug version of the script that does this. 2) The xml created by meinproc contains many lines of the form "<FILENAME filename="...">", the last of which contains filename=".html" which is what is passed to khelpcenter and is invalid. HPJ: I'm passing this to you as it's in your susehelp-khelpcenter script and I'm no Perl guru. 1) should be fixable. Re 2) What are the assumptions you worked on regarding FILENAME tags - one per index.cache file? Should the script stop after finding the first one? Is the ".html" due to a bug in the gnucash docu? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 ------- Comment #6 from wstephenson@novell.com 2007-05-26 01:21 MST ------- Created an attachment (id=142416) --> (https://bugzilla.novell.com/attachment.cgi?id=142416&action=view) Cooked script to accept paths to help where the main helpfile is not the app name, with debug! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640 ------- Comment #7 from hpj@novell.com 2007-06-06 14:13 MST ------- I don't remember exactly why it is like that - the documentation system is, at least in GNOME, a bit of a mess, with applications displaying help from help://, ghelp://, file:// URIs as well as absolute local file system paths. Also, some use help://path/to/file, while others use help://application. Take a look at how gnome-terminal does it - you can use "yelp help://gnome-terminal" and that works. The "standard" way to do this is to place the docs in /opt/gnome/share/gnome/help/$APPLICATION/$LANG/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232640#c8
Hans Petter Jansson
https://bugzilla.novell.com/show_bug.cgi?id=232640#c9
--- Comment #9 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=232640#c10
--- Comment #10 from Christian Rauch
https://bugzilla.novell.com/show_bug.cgi?id=232640#c11
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=232640#c12
Daniel Sabanes
participants (1)
-
bugzilla_noreply@novell.com