Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21632 - [yelp] 2.30.2-1 Can't open most of help that uses Mallard format from application's menu

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Monday, 08 November 2010, 00:17 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 18 November 2010, 16:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In many GNOME applications I can't open help by 'Help' menu 'Content' item. When I try it, Yelp opens, but drop an error message, e.g. 'The requested URI "ghelp:empathy" is invalid', and not open the document. It's only happens with the following applications, which use Mallard document format for it's help files:
empathy gcalctool tetravex hamster-applet f-spot gbrainy gthumb
Only 'tomboy' and 'banshee' opens help well from applications that use Mallard format.

But if I run e.g. 'yelp /usr/share/gnome/help/empathy/C/' from command line, help document opens without an error, so this error only happens, when I launch help from an application's menu.

Additional info:
* package version(s)
yelp 2.30.2-1
gnome-doc-utils 0.20.2-2
libxslt 1.1.26-2
rarian 0.8.1-1
xulrunner 1.9.2.12-1

Steps to reproduce:
Try open help from an application that I mentioned -> Yelp opens, but you have got 'The requested URI "ghelp:<application>" is invalid' error message, and help not shown.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 18 November 2010, 16:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  libx11 1.3.5-2
Comment by Jan Alexander Steffens (heftig) - Thursday, 18 November 2010, 16:16 GMT
Applying this patch fixes it: http://pkgbuild.com/~heftig/fix-ghelp.patch

It seems yelp wrongly assumes the dirs from g_get_system_data_dirs() have trailing slashes. So either yelp is broken or our glib2 is.
Comment by Jan Alexander Steffens (heftig) - Thursday, 18 November 2010, 16:21 GMT
Update:

Our XDG_DATA_DIRS set in /etc/profile.d/xorg.sh is broken. The dirs are supposed to have trailing slashes.

Loading...