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 520422 - "Page not found" popups
"Page not found" popups
Status: RESOLVED DUPLICATE of bug 476498
Product: yelp
Classification: Applications
Component: General
2.20.x
Other All
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-05 00:28 UTC by Sam Morris
Modified: 2008-03-11 19:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Sam Morris 2008-03-05 00:28:46 UTC
Please describe the problem:
When using yelp for displaying manpages, I sometimes get a popup saying "Page not 
found" and the following text added: "The requested page was not found in the 
document /usr/share/man/man1/test.1.gz.", even though the manual page appears to display 
okay. This happens with more than 50% of the manual pages.

This occurs mostly when running yelp from the command line. Try "yelp man:test" and 
the popup will occur (many other manual pages produce the same popup). "yelp 
man:less" does not produce a popup. When running yelp interactively, the popups are 
much less frequent. 


Steps to reproduce:
1. Run 'yelp man:test'.

Actual results:


Expected results:


Does this happen every time?


Other information:
Forwarded from http://bugs.debian.org/469400
Comment 1 Joop Stakenborg 2008-03-11 10:03:11 UTC
Hi,

I am the bug submitter in the Debian BTS. Here are 2 traces from a yelp version compiled with debug support (--enable-debug). Notice the difference, the less trace calls request_idle_page and the test trace does not, that's where the popup occurs.

less trace:
--------------------------------------------------------------------------
yelp-settings.c:722: settings_update: entering
yelp-toc.c:204: yelp_toc_new: entering
Yelper.cpp:72: Yelper ctor [0x83f0ed0]
yelp-man.c:244: yelp_man_new: entering
yelp-man.c:245:   filename = "/usr/share/man/man1/less.1.gz"
yelp-document.c:216: yelp_document_get_page: entering
yelp-document.c:217:   page_id = "x-yelp-index"
yelp-man.c:268: man_request: entering
yelp-man.c:269:   req_id  = 1
yelp-man.c:270:   page_id = "index"
yelp-man.c:422: man_process: entering
yelp-transform.c:354: xslt_yelp_document: entering
yelp-transform.c:377:   page_id = "index"
yelp-man.c:314: transform_func: entering
yelp-man.c:363: transform_page_func: entering
yelp-document.c:451: yelp_document_add_page: entering
yelp-document.c:452:   page_id = "index"
yelp-document.c:614: request_idle_page: entering
yelp-html.cpp:299: yelp_html_set_base_uri: entering
yelp-html.cpp:300:   uri = "file:///usr/share/man/man1/less.1.gz#x-yelp-index"
yelp-html.cpp:313: yelp_html_open_stream: entering
yelp-html.cpp:326: yelp_html_write: entering
yelp-html.cpp:327:   data = 16384 bytes
yelp-html.cpp:328:   len  = 16384
yelp-html.cpp:326: yelp_html_write: entering
yelp-html.cpp:327:   data = 16384 bytes
yelp-html.cpp:328:   len  = 16384
yelp-html.cpp:326: yelp_html_write: entering
yelp-html.cpp:327:   data = 16384 bytes
yelp-html.cpp:328:   len  = 16384
yelp-html.cpp:326: yelp_html_write: entering
yelp-html.cpp:327:   data = 16384 bytes
yelp-html.cpp:328:   len  = 16384
yelp-html.cpp:326: yelp_html_write: entering
yelp-html.cpp:327:   data = 7745 bytes
yelp-html.cpp:328:   len  = 7745
yelp-html.cpp:376: yelp_html_close: entering
yelp-document.c:308: yelp_document_release_page: entering
yelp-man.c:314: transform_func: entering
yelp-man.c:383: transform_final_func: entering
yelp-document.c:523: yelp_document_error_pending: entering
Yelper.cpp:77: Yelper dtor [0x83f0ed0]

test trace:
-------------------------------------------------------------------------
yelp-settings.c:722: settings_update: entering
yelp-toc.c:204: yelp_toc_new: entering
Yelper.cpp:72: Yelper ctor [0x83f0da0]
yelp-man.c:244: yelp_man_new: entering
yelp-man.c:245:   filename = "/usr/share/man/man1/test.1.gz"
yelp-document.c:216: yelp_document_get_page: entering
yelp-document.c:217:   page_id = "x-yelp-index"
yelp-man.c:268: man_request: entering
yelp-man.c:269:   req_id  = 1
yelp-man.c:270:   page_id = "index"
yelp-man.c:422: man_process: entering
yelp-transform.c:354: xslt_yelp_document: entering
yelp-transform.c:377:   page_id = "index"
yelp-man.c:314: transform_func: entering
yelp-man.c:363: transform_page_func: entering
yelp-document.c:451: yelp_document_add_page: entering
yelp-document.c:452:   page_id = "index"
yelp-man.c:314: transform_func: entering
yelp-man.c:383: transform_final_func: entering
yelp-document.c:523: yelp_document_error_pending: entering
yelp-document.c:614: request_idle_page: entering
yelp-html.cpp:299: yelp_html_set_base_uri: entering
yelp-html.cpp:300:   uri = "file:///usr/share/man/man1/test.1.gz#x-yelp-index"
yelp-html.cpp:313: yelp_html_open_stream: entering
yelp-html.cpp:326: yelp_html_write: entering
yelp-html.cpp:327:   data = 6566 bytes
yelp-html.cpp:328:   len  = 6566
yelp-html.cpp:376: yelp_html_close: entering
yelp-document.c:308: yelp_document_release_page: entering
yelp-document.c:679: request_idle_error: entering
Yelper.cpp:77: Yelper dtor [0x83f0da0]
Comment 2 Don Scorgie 2008-03-11 18:38:06 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.


*** This bug has been marked as a duplicate of 476498 ***
Comment 3 Joop Stakenborg 2008-03-11 19:06:47 UTC
I just tried 2.21.90 with the patch mentioned in #476498 applied. It works fine. Thanks!