GNOME Bugzilla – Bug 748167
The document does not exist Location "help: my-program" does not control the right side. Edit
Last modified: 2015-04-24 10:26:16 UTC
I made a litte program in Ubuntu quickly. And im find a bug in pygtk yelp help system. The program does not find the correct language settings. my language is Finnish. (default) 1. open program 2. press F1 to open Contens 3. Help is opening and say in Finnish. Asiakirjaa ei löydy Sijainti ”ghelp:my-program” ei ohjaa oikealle sivulle. and same in english The document does not exist Location "help: my-program" does not control the right side. i made help files in path myprogram/help/fi/ * index.page * preferences.page * topic.page if im choosing english language pack (this maybe is default path) myprogram/help/c/ Are there any instructions. I could not find anything. I assume that the path is as myprogram/help/fi/ Help show correct it when go to the menu and press F1 and click the program menu show all help documents. But not working in program when im pressing F1 Contents. Gtk program not find or select correct language.
Not working In Ubuntu 14.04 and Ubuntu MATE 14.10.
dpkg -L tax-calculator | grep "help" /usr/lib/python2.7/dist-packages/tax_calculator_lib/helpers.py /usr/share/help /usr/share/help/fi /usr/share/help/fi/tax-calculator /usr/share/help/fi/tax-calculator/figures /usr/share/help/fi/tax-calculator/figures/icon.png /usr/share/help/fi/tax-calculator/figures/Verolaskuri-opas-malli.png /usr/share/help/fi/tax-calculator/topic1.page /usr/share/help/fi/tax-calculator/index.page /usr/share/help/fi/tax-calculator/preferences.page /usr/share/help/C /usr/share/help/C/tax-calculator /usr/share/help/C/tax-calculator/figures /usr/share/help/C/tax-calculator/figures/Tax-guide-example.png /usr/share/help/C/tax-calculator/figures/icon.png /usr/share/help/C/tax-calculator/topic1.page /usr/share/help/C/tax-calculator/index.page /usr/share/help/C/tax-calculator/preferences.page
A help URI for the path that you have installed your Mallard pages into (/usr/share/help/*/tax-calculator) would be "help:tax-calculator". Can you try running yelp as: yelp help:tax-calculator and report on whether that fixes the problem?
$ yelp help:tax-calculator ** (yelp:17137): WARNING **: Failed to get GNOME shell mode: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No feature ”Mode” err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0025, blocked by 0024, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0022, blocked by 0009, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0025, blocked by 0024, retrying (60 sec) It is show normal in my language if im using command line with: yelp help:tax-calculator But when im using program is not. $ tax-calculator debug ** (yelp:17183): WARNING **: Failed to get GNOME shell mode: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No feature ”Mode” err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0025, blocked by 0024, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0022, blocked by 0009, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0025, blocked by 0024, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0022, blocked by 0009, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7ea64284 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0025, blocked by 0024, retrying (60 sec) This is a big problem also other programs when im using yelp in my locales. Like finnish. It is show error. Im not sure is this 100% bug in yelp. Since it is limited to only all pygtk programs. Im tested this in Ubuntu 14.04 64-bit and Ubuntu MATE 14.10 32-bit. my little testing program source found in my webpages http://linux.ylasiirtola.net/tax-calculator/
That probably means that the environment in your session (or that of your application) and terminal are different. You should check to see whether the locale environment variables (LANG, LC_ALL and so on) are set correctly in each case. "man 7 locale" should help to describe the possible environment variables. You guessed correctly that this is not a Yelp bug. Bugzilla is not a good forum for support requests, but you can feel free to contact me by email, or maybe a suitable mailing list. I do not know of a good mailing list for pygtk questions, and I do not know much Python, but I can try to help.
thanks.