Bug 142827

Summary: Gnumeric help not found
Product: [openSUSE] openSUSE 10.3 Reporter: Karl Eichwalder <ke>
Component: GNOMEAssignee: Joe Hargadon <jhargadon>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke, andrew.hartlage
Version: unspecifiedKeywords: easy_fix, patch
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Documentation Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: help problem
Fedora-style fix
Debian-style fix

Description Karl Eichwalder 2006-01-12 14:35:03 UTC
SL 10.1 (factory as of today).
Start Gnumeric and click on "Help".  Error message: "Could not load document ... .../gnumeric/1.6.1/doc/C/gumeric.xml is invalid...".

Do I have to install a separate gumeric documentation package?
Comment 1 JP Rosevear 2006-02-09 17:32:29 UTC
You shouldn't.  Jody?
Comment 2 Jody Goldberg 2006-02-17 02:33:18 UTC
We should not need another package.
Could you paste the full path ?
Comment 3 Karl Eichwalder 2006-03-10 15:28:25 UTC
see attachment.  Still the same on beta7 (Gnome default installation).
Comment 4 Karl Eichwalder 2006-03-10 15:30:14 UTC
Created attachment 72292 [details]
help problem
Comment 5 Andreas Hanke 2006-05-16 20:13:53 UTC
A symlink

/opt/gnome/share/gnumeric/1.6.1/doc -> /opt/gnome/share/gnome/help/gnumeric

should be enough (this fixes it for me on 10.1 final)

According to the %changelog this was already fixed Feb 17 2005 and now returned?
Comment 6 Karl Eichwalder 2006-05-31 15:31:21 UTC
‘file:///opt/gnome/share/gnumeric/1.6.1/doc/C/gnumeric.xml’ 

Andreas Hanke recipe does work for me.
Comment 7 Andreas Hanke 2006-10-12 03:50:02 UTC
The bug is still present in openSUSE 10.2 Alpha 5.

Gnumeric searches for its help files in:

/opt/gnome/share/gnumeric/1.6.3/doc/C/gnumeric.xml

But the actual location of the help file on disk is:

/opt/gnome/share/gnome/help/gnumeric/C/gnumeric.xml
Comment 8 Andreas Hanke 2006-10-26 12:19:01 UTC
Still present in openSUSE 10.2 Beta 1.

Raising severity although it's "just" the help which doesn't work, because it's really annoying, known since ages, easy to fix and all other major distros have it fixed.

Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227630 (01/2004)

Mandriva bug:
http://qa.mandriva.com/show_bug.cgi?id=12355 (11/2004)

Red Hat bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192581 (05/2006)
Comment 9 Andreas Hanke 2006-10-26 12:20:21 UTC
Created attachment 102700 [details]
Fedora-style fix
Comment 10 Andreas Hanke 2006-10-26 12:21:20 UTC
Created attachment 102701 [details]
Debian-style fix
Comment 11 JP Rosevear 2006-10-26 23:42:13 UTC
joe, lets do the debian style fix.
Comment 12 JP Rosevear 2006-10-26 23:42:40 UTC
By that I mean, just add a symlink in the spec file.
Comment 13 Joe Hargadon 2006-10-27 16:44:47 UTC
I have created the symlink as suggested.
Comment 14 Andreas Hanke 2006-11-02 12:01:38 UTC
*** Bug 217322 has been marked as a duplicate of this bug. ***
Comment 15 Andreas Hanke 2007-01-24 04:19:32 UTC
This long-standing bug is now back _again_ because the fix has been removed from the spec file during the /opt/gnome -> /usr move.

Can you please add these two lines to the spec file at the end of the %install section:

# https://bugzilla.novell.com/show_bug.cgi?id=142827
ln -s %{_datadir}/gnome/help/gnumeric \
    $RPM_BUILD_ROOT%{_datadir}/gnumeric/%{version}/doc

Please include both lines. Please don't delete the reference to this bug, otherwise someone will remove the fix again.
Comment 16 Andreas Hanke 2007-01-25 21:13:49 UTC
This bug seems to be finally fixed upstream in gnumeric-1.7.6:

	* src/wbcg-actions.c (cb_help_docs) : Use 'yelp help:gnumeric'
	* gnumeric.desktop.in (DocPath) : add an entry so that things show up
	  in yelp (at least for suse 10.1)

After fixing and re-breaking it twice, you can hopefully finally fix it with a version upgrade to gnumeric-1.7.6.
Comment 17 Joe Hargadon 2007-03-06 23:49:41 UTC
I have updated autobuild with the latest version of gnumeric (1.7.8)