After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 420232 - Broken URLs to page section in Yelp viewer
Broken URLs to page section in Yelp viewer
Status: RESOLVED OBSOLETE
Product: yelp
Classification: Applications
Component: Search
2.18.x
Other Linux
: Normal critical
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-19 18:59 UTC by Duncan Lithgow
Modified: 2011-05-02 12:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Screenshot (55.55 KB, image/jpeg)
2007-03-20 12:50 UTC, linux.photo.geek
Details
more detailed shot of problem (34.10 KB, image/jpeg)
2007-03-20 13:45 UTC, linux.photo.geek
Details
Yelp searh with beagled off (21.99 KB, image/jpeg)
2007-03-20 20:35 UTC, linux.photo.geek
Details

Description Duncan Lithgow 2007-03-19 18:59:15 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.
Comment 1 linux.photo.geek 2007-03-20 12:50:19 UTC
Created attachment 84963 [details]
Screenshot
Comment 2 linux.photo.geek 2007-03-20 12:53:39 UTC
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.
Comment 3 linux.photo.geek 2007-03-20 13:45:19 UTC
Created attachment 84973 [details]
more detailed shot of problem
Comment 4 Don Scorgie 2007-03-20 18:54:18 UTC
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
Comment 5 Duncan Lithgow 2007-03-20 20:23:33 UTC
I'm running Beagle - which itself seems to run okay.
Comment 6 linux.photo.geek 2007-03-20 20:34:19 UTC
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?
Comment 7 linux.photo.geek 2007-03-20 20:35:15 UTC
Created attachment 85002 [details]
Yelp searh with beagled off
Comment 8 Duncan Lithgow 2007-03-21 18:48:06 UTC
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.
Comment 9 Duncan Lithgow 2007-05-15 08:07:37 UTC
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."
Comment 10 Duncan Lithgow 2011-03-30 09:05:17 UTC
The link to the downstream bug has changed, it's now https://launchpad.net/ubuntu/+source/yelp/+bug/93607
Comment 11 Rupert Swarbrick 2011-03-30 09:32:02 UTC
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
Comment 12 Jim Campbell 2011-03-31 17:25:14 UTC
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.
Comment 13 Duncan Lithgow 2011-04-01 12:32:25 UTC
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.
Comment 14 Jim Campbell 2011-05-02 06:02:20 UTC
This bug report should be closed. Others are not experiencing this issue, and it pertains to a very old, currently unsupporte version of yelp.
Comment 15 Duncan Lithgow 2011-05-02 06:58:18 UTC
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)
Comment 16 Shaun McCance 2011-05-02 12:43:04 UTC
Marking obsolete. The bug was in how Yelp's Beagle backend was writing out URLs. It was URL-escaping characters it shouldn't.