Bug 492305

Summary: No help for Gnucash either in Gnome's Yelp or in the KDE Help Center
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User taWGjDL4xO <forgotten_taWGjDL4xO>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: abrahams, alberich, AmigaPhil, bwiedemann, david.casson, dimstar, forgotten_3x-v86b5jq
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.4   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: STDERR output from yelp
More console output from yelp

Description Forgotten User taWGjDL4xO 2009-04-06 00:12:04 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7

When I start Gnucash and select to Open the Nrew User Tutorial, I am taken to the KDE Help Center where I receive this error message: "There is no documentation available for /usr/share/gnucash/gnome/help/gnucash/C/gnucash-guide.xml"

Similarly if I select Help from the top level menu in the Gnucash menus.

OK next thing I try is to look for help re Gnucash in Yelp. There's no entry for Gnucash in Yelp.

Reproducible: Always




I need to run a business so for me it's Major. I don't really want to run Quickbooks in a VMware machine again. Why does this not get fixed after appearing in the past editions of openSUSE. Frustration!!
Comment 1 Philippe Duchenne 2009-04-22 19:35:24 UTC
I can confirm this.

Docs are available in a separated package: gnucash-docs
That package install the file gnucash-guide.xml in /usr/share/gnome/help/gnucash/C/
In /usr/share/gnucash there is a gnome/ directory (inode/directory) which links to ../gnome
So the file /usr/share/gnucash/gnome/help/gnucash/C/gnucash-guide.xml DOES exist.

I get the same error message on the main window of KDE Help Center (from the error requester, it's something like "help:/usr/share/gnucash/gnome/help/gnucash/C/gnucash-guide.xml does not exist")

The first question is: Why GnuCash, running on Gnome, is triggering the KDE Help Center ?

Searching for "gnucash" from Yelp give results for gnc-prices manual page and gnucash manual page, but nothing about the tutorial guide.
(BTW, launching Yelp from a console, I see a lot of warning messages like :
 I/O warning : failed to load external entity "help:cheese" )

I guess there is a missing reference to gnucash-guide somewhere; or something broken in Yelp.
Comment 2 Philippe Duchenne 2009-04-23 21:04:48 UTC
This problem does not just affect GnuCash, but some other applications as well.
See: https://bugzilla.novell.com/show_bug.cgi?id=436942#c6
Comment 3 Philippe Duchenne 2009-04-24 19:46:11 UTC
Created attachment 288145 [details]
STDERR output from yelp

When starting yelp from console, a lot of warning messages are output (attached here).
One I find interesting (?) is:
WARNING: Unknown element ; DocPath: ; Icon=document2

I interpret this as yelp not knowing where the document path is. (??)
Comment 4 Karl Eichwalder 2009-04-28 07:44:48 UTC
BTW, it would help if yelp would print the name of the .directory resp. .desktop file.

What's the name of the element yelp complains about?

    ; DocPath: ; Icon=document2

This was meant as a comment (I once was told the ";" sign is a comment start letter--according to http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s02.html#comments only "#" seems to be allowed).

I'll clone this report to check the opensuse-manual related desktop files.

But this is probably not the cause for the invisibility of gnucash documentation.
Comment 5 Karl Eichwalder 2009-04-28 07:49:19 UTC
(In reply to comment #4)

> I'll clone this report to check the opensuse-manual related desktop files.

Bug 498731
Comment 6 Philippe Duchenne 2009-05-01 21:46:05 UTC
Not sure if related nor even if it will help, but I suspect it could be worth mentioning that:

After I updated to openSUSE 11.1, I removed the Beagle related packages (as I did with 11.0, but then, I had no problem to access the help documents).
Comment 7 Philippe Duchenne 2009-05-04 21:28:17 UTC
Created attachment 289843 [details]
More console output from yelp

With yelp started from console (see comment #3 ), if I start a search on, let's say "gnucash", I get another bunch of warnings (attached here).

Starting with:
(yelp:5420): Yelp-WARNING **: beagled not running, using basic search support.

and followed by a lots of I/O warnings like:
I/O warning : failed to load external entity "help:"

(but no signs of any "help:gnucash")
Comment 8 Paul Abrahams 2009-06-04 23:46:10 UTC
I get this bug also in OpenSuSE 11.1.  Is there a workaround, at least?
Comment 9 Vincent Untz 2009-09-18 23:27:44 UTC
*** Bug 515446 has been marked as a duplicate of this bug. ***
Comment 10 Philippe Duchenne 2009-11-15 19:04:34 UTC
I've upgraded to openSUSE 11.2 yesterday, and the problem with the help files is gone (so far, I tried with the GnuCash help, and I got it right).
Comment 11 Bernhard Wiedemann 2011-04-02 09:14:12 UTC
closing as fixed as per comment 10
Comment 12 David Casson 2011-06-08 16:51:01 UTC
I just found that this has recurred since I have moved to Open SuSE 11.4 from 11.3. It worked fine so long as yelp was installed in 11.3 in spite of no requirement for it being mentioned when gnucash was installed. That workaround however no longer seems to work.

DJC
Comment 13 David Casson 2011-06-08 16:56:39 UTC
In fact I suspect it recurred in 11.3 but I found the yelp workaround. Maybe I should have been more proactive and re-opened the bug back then. :(
Comment 14 David Casson 2011-06-11 12:40:41 UTC
The re-opening should perhaps be qualified by the phrase "for SuSE 11.4 users with KDE.
Comment 15 Forgotten User 3x-v86b5jq 2011-09-14 17:00:43 UTC
(In reply to comment #14)
> The re-opening should perhaps be qualified by the phrase "for SuSE 11.4 users
> with KDE.


Maybe there is a solution for this bug. See FAQ of gnucash:

----snip----
[Novell|open]SuSE
Q: Trying to open the help menu under SuSE, I get the error: "GnuCash could not find the files for the help documentation."

    A: For some reason SuSE seems always to have bugs relating to the GC docs.

        * You may have to use YaST to install the
              o yelp and
              o gnucash-docs packages. 
        * In SuSE 11.4 replacing the symlink 

            /usr/bin/gnome-help -> susehelp 

        with

            /usr/bin/gnome-help -> /usr/bin/yelp 

        allows GC Help -> Contents to show as expected. 

    For older SuSE versions: gnome-help has moved from /opt/ to /usr/. 
----snap----

Please verify - and maybe close the bug; but please don't fill in this bug back in 12.1
Comment 16 Forgotten User 3x-v86b5jq 2011-09-14 17:08:34 UTC
*** Bug 709991 has been marked as a duplicate of this bug. ***
Comment 17 David Casson 2011-09-16 16:35:44 UTC
Thank you for that help Johannes

I can confirm some success with your suggested solution.

On my installation of SuSE 11.4 I had already used YaST to install both yelp and the gnu-cash docs packages. However I repeated it to make sure they are both present and then I replaced the symlink you mentioned using the following:

        rm gnome-help ; ln -s yelp gnome-help

After doing that I now have the link "gnome-help -> yelp" in my /usr/bin directory instead of linking to SuSE's default KDE help. The result is gnucash help works fine for the first time since I installed it. Many many thanks.

I feel that there is still a bug here but my lack of understanding of different folks responsibilities makes it difficult to decide where to direct any feedback about it. The bottom line is that I have just tried a clean install of SuSE 11.4 on a spare machine then installed gnucash followed by yelp and find I still have to use your solution to make the help work. I have not tried any other gnome applications but suspect the same might apply. Perhaps the bug could be marked as "Workaround exists" rather than closing it.


It would be very nice were the developers to find away to enable future releases to recognise the help system needed by non KDE applications without users having to resort to this sort of command line fix.





(In reply to comment #15)
> (In reply to comment #14)
> > The re-opening should perhaps be qualified by the phrase "for SuSE 11.4 users
> > with KDE.
> 
> 
> Maybe there is a solution for this bug. See FAQ of gnucash:
> 
> ----snip----
> [Novell|open]SuSE
> Q: Trying to open the help menu under SuSE, I get the error: "GnuCash could not
> find the files for the help documentation."
> 
>     A: For some reason SuSE seems always to have bugs relating to the GC docs.
> 
>         * You may have to use YaST to install the
>               o yelp and
>               o gnucash-docs packages. 
>         * In SuSE 11.4 replacing the symlink 
> 
>             /usr/bin/gnome-help -> susehelp 
> 
>         with
> 
>             /usr/bin/gnome-help -> /usr/bin/yelp 
> 
>         allows GC Help -> Contents to show as expected. 
> 
>     For older SuSE versions: gnome-help has moved from /opt/ to /usr/. 
> ----snap----
> 
> Please verify - and maybe close the bug; but please don't fill in this bug back
> in 12.1
Comment 18 David Casson 2011-09-16 17:29:47 UTC
It looks as though #598206 is closely related to this bug and could well benefit from the same resolution.
Comment 19 Dominique Leuenberger 2012-07-20 23:04:08 UTC
After a night worth of bug hunting, debugging and fiddling, the needed fixes have been submitted to the openSUSE 12.2 branches (current tree).

As this bug was against 11.1 (and re-opened on 11.4, which is due to be EOL in just a few months), I close this bug; (also considering that a workaround exists and has even been documented on the gnucash website).

Hope this is fine for you.
Comment 20 Dominique Leuenberger 2012-07-20 23:05:23 UTC
(For reference, the 12.2 bug is / was bug 771530