RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1443179 - yelp can't open html files by path from CLI: "Unknown Error" & "URL cannot be shown"
Summary: yelp can't open html files by path from CLI: "Unknown Error" & "URL cannot be...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yelp
Version: 7.4
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Matthew Barnes
QA Contact: Desktop QE
Mark Flitter
URL:
Whiteboard:
Depends On:
Blocks: 1456511
TreeView+ depends on / blocked
 
Reported: 2017-04-18 17:10 UTC by Martin Kolman
Modified: 2019-10-25 15:00 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2019-10-25 15:00:01 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 753443 0 Normal RESOLVED Does not show documentation when given as a path 2020-03-12 15:33:06 UTC

Description Martin Kolman 2017-04-18 17:10:37 UTC
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 15:37:04 UTC
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.