Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1443179 - yelp can't open html files by path from CLI: "Unknown Error" & "URL cannot be shown"
yelp can't open html files by path from CLI: "Unknown Error" & "URL cannot be...
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yelp (Show other bugs)
7.4
All Linux
high Severity high
: rc
: ---
Assigned To: Matthew Barnes
Desktop QE
Mark Flitter
: Regression
Depends On:
Blocks: 1456511
  Show dependency treegraph
 
Reported: 2017-04-18 13:10 EDT by Martin Kolman
Modified: 2018-04-03 00:20 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Yelp does not correctly display HTML formatted files In earlier versions of `yelp`, HTML formatted files could be displayed. With version 3.22, this functionality no longer works, returning an "Unknown Error" with the qualifying text "URL cannot be shown". There is no workaround at this time, as the problem may be related to architectural changes in `yelp` itself. System administrators should note that `yelp` does not support this use case and expects Mallard or Docbook data as input. Alternative methods for displaying HTML formatted content should be considered.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
yelp showing error message after an attempt to load a html file (200.53 KB, image/png)
2017-04-18 13:10 EDT, Martin Kolman
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Bugzilla 753443 None None None 2017-05-24 11:37 EDT

  None (edit)
Description Martin Kolman 2017-04-18 13:10:37 EDT
Created attachment 1272388 [details]
yelp showing error message after an attempt to load a html file

Description of problem:
Looks like the yelp help viewer can't open html files when called from command line with path to the file, eq.:

yelp index.html

Both relative and absolute paths return the same error. The same thing happens also for plain-text and asciidoc files. DocBook files are loaded and shown correctly.

Version-Release number of selected component (if applicable):
yelp-3.22.0-1

How reproducible:
always

Steps to Reproduce:
1. wget www.example.com
2. yelp index.html

Actual results:
Yelp reports an error:

"Unknown Error" & "URL cannot be shown" (As can be seen on the attached screenshot).

Expected results:
The HTML content is shown correctly.

Additional info:
I think this used to work in the 7.0 or 7.1 timeframe, as there are HTML placeholders in the Anaconda help system, which yelp used to be able to display, but can no longer do so.
Comment 6 David King 2017-05-24 11:37:04 EDT
This is probably fallout from the WebKit2 port of Yelp, and is likely related to URI handling. There is currently no upstream fix, and any fix would probably not be trivial.

Note You need to log in before you can comment on or make changes to this bug.