GNOME Bugzilla – Bug 420232
Broken URLs to page section in Yelp viewer
Last modified: 2011-05-02 12:43:04 UTC
Bug gleaned from Ubuntu in Launchpad: https://beta.launchpad.net/ubuntu/+source/yelp/+bug/93607 The message I get is: ------- Could not load document The Uniform Resource Identifier ‘file:///usr/share/gnome/help/desktop-effects/C/desktop-effects.xml%23compiz-install’ is invalid or does not point to an actual file. ------- This is after searching Yelp for 'Desktop effects'. Selecting the link to 'Desktop Effect' itself and not the section linked to in the above URL works fine. Rewriting the link by replacing the '%23' with '#' fixes the URL.
Created attachment 84963 [details] Screenshot
I can confirm. Gnome 2.18.0 Yelp 2.18.0 The problem is wide spread. When ever a search reports a hit that contains the symbol "#" it reports "%23". The symbol "#" is often used for a on page link. These search hits can be quickly identified as those having "from ..." at the end of the description. Sample -- Using the search "F-spot" and selecting the links in the results that have the text "from The F-Spot Manual" all fail with the same %23 vs. # issue.
Created attachment 84973 [details] more detailed shot of problem
Hi, What search backend are you using (is beagle running)? I can't reproduce here with basic search (i.e. beagle not running). My beagle build is still somewhat broken and doesn't return the same results. Thanks Don
I'm running Beagle - which itself seems to run okay.
Interesting. Turned off beagle and Yelp's search results are different and links are NOT broken?? I didn't realize Yelp used Beagle to augment it's searches. See screen capture below (beagle not running) and compare with the one above that was taken with beagle running. Both searches were done from within Yelp. Now what? Is the problem with beagle polluting yelp's search results or is it that yelp can't interpret beagle's hits? Can yelp exclude beagles search results or just not use beagle? Using beagle to augment search results seems a desirable thing. If only it would work. Is my problem, besides not having a clue, because of some localization setting that can not handle #'s and converts them to %23?
Created attachment 85002 [details] Yelp searh with beagled off
With all beagle processes stopped a search for 'Desktop effects' gives 14 results. Here are the first five: ------------ Gnome Display Manager Reference Manual ... are defined by files that end in the .desktop extension and more information about t... ESP Ghostscript Manual ) at any time with no bad effects. the source subdirectories are defined by macros named Desktop User Guide desktop user guide GNOME 2.14 Desktop Accessibility Guide desktop accessibility guide GNOME Terminal Manual effects ------------ ...with the 'beagled' process running I get only 10 results, the first five are listed below as I see them in Yelp: ------------ Desktop Effects Activating Desktop Effects from Desktop Effects What are Desktop Effects? from Desktop Effects file:///usr/share/gnome/help/user-guide/C/goscustdesk.xml file:///usr/share/gnome/help/user-guide/bg/goscustdesk.xml ----------- The first one works fine, those which include 'from' are broken and the last two go to the same document.
Why is this bug's status 'unconfirmed'? With Ubuntu 7.04 final and Yelp 1.18.1... the same search for 'Desktop effects' while Beagle is running now returns: --------------------- GNOME 2.14 Desktop Accessibility Guide Desktop Effects Desktop Effects Desktop Effects Activating Desktop Effects from Desktop Effects Activating Desktop Effects from Desktop Effects Activating Desktop Effects from Desktop Effects file:///usr/share/gnome/help/user-guide/bg/goscustdesk.xml file:///usr/share/gnome/help/user-guide/ar/goscustdesk.xml file:///usr/share/gnome/help/user-guide/zh_CN/goscustdesk.xml --------------------- The three links to 'Dektop Effects' all work fine (is there a bug report about the duplication?). The three links to 'Activating Desktop Effects' are all broken with the same message as before: "The Uniform Resource Identifier ‘file:///usr/share/gnome/help/desktop-effects/C/desktop-effects.xml%23compiz-install’ is invalid or does not point to an actual file."
The link to the downstream bug has changed, it's now https://launchpad.net/ubuntu/+source/yelp/+bug/93607
The downstream bug above was marked a duplicate of https://launchpad.net/ubuntu/+source/yelp/+bug/138777 by Duncan a few minutes ago. Confusingly, *this* was marked "fix-released" for yelp 2.20. Duncan: Does this bug still exist in a version of yelp you can test? Is it related specifically to beagle, or can you reproduce it in another way? Rupert
Duncan, this bug was filed against a version of yelp which is now very old, and that version is no longer supported. Please retest this on a current version of yelp and report-back your findings.
Sorry, I can't get any results including links to sections of a page - only to the main sections. That's in Ubuntu 10.10 - can't get 11.04 running in Virtualbox at the moment. I'll try again some time later.
This bug report should be closed. Others are not experiencing this issue, and it pertains to a very old, currently unsupporte version of yelp.
I agree. I've just tried again with Yelp in Ubuntu 11.04 and it's quite a different experience. Again I could not recreate this bug. Fantastic work on the new Yelp! What a difference in speed and stability! (running yelp 3.0.0-0ubuntu2)
Marking obsolete. The bug was in how Yelp's Beagle backend was writing out URLs. It was URL-escaping characters it shouldn't.