FS#62670 - [bookworm] Search doesn't work

Attached to Project: Community Packages
Opened by Siddhartha Das (babluboy) - Saturday, 18 May 2019, 08:51 GMT
Last edited by Toolybird (Toolybird) - Saturday, 22 April 2023, 00:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Use updated script for html2text on Arch.

Bookworm uses the html2text for Debian (https://manpages.debian.org/testing/html2text/html2text.1.en.html), but for Arch the closest matching package is : python-html2text
Add python-html2text as a install dependency for Arch.

The script which uses this utility needs to be modified to update the parameters:
script: https://github.com/babluboy/bookworm/blob/master/data/scripts/com.github.babluboy.bookworm.search.sh
remove -utf8 option from the script to make it work

This is discussed in the following GitHub Issue:
https://github.com/babluboy/bookworm/issues/260
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 22 April 2023, 00:06 GMT
Reason for closing:  No response
Additional comments about closing:  Assuming fixed in bookworm 1.1.2-1
Comment by Anatol Pomozov (anatolik) - Friday, 30 August 2019, 15:35 GMT
Even if I modify search.sh I still see a weird message

[FATAL 08:32:59.873553] [Gtk] gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
[WARNING 08:33:00.020947] utils.vala:106: Execution of sync command [/usr/share/com.github.babluboy.bookworm/scripts/tasks/com.github.babluboy.bookworm.search.sh "/home/anatol/.local/share/com.github.babluboy.bookworm/books/GeographyofBliss_oneChapter.epub/OEBPS/cover.xml" "born"]: exited with non zero error code[256]. Error message:
(com.github.babluboy.bookworm:6812): dconf-DEBUG: 08:33:00.021: change_fast
(com.github.babluboy.bookworm:6812): dconf-DEBUG: 08:33:00.021: change_notify: /com/github/babluboy/bookworm/current-info-tab
(com.github.babluboy.bookworm:6812): dconf-DEBUG: 08:33:00.025: change_fast
(com.github.babluboy.bookworm:6812): dconf-DEBUG: 08:33:00.025: change_notify: /com/github/babluboy/bookworm/window-height
[WARNING 08:33:00.159759] utils.vala:106: Execution of sync command [/usr/share/com.github.babluboy.bookworm/scripts/tasks/com.github.babluboy.bookworm.search.sh "/home/anatol/.local/share/com.github.babluboy.bookworm/books/GeographyofBliss_oneChapter.epub/OEBPS/GeographyofBli_copyright.html" "born"]: exited with non zero error code[256]. Error message:
[WARNING 08:33:00.301110] utils.vala:106: Execution of sync command [/usr/share/com.github.babluboy.bookworm/scripts/tasks/com.github.babluboy.bookworm.search.sh "/home/anatol/.local/share/com.github.babluboy.bookworm/books/GeographyofBliss_oneChapter.epub/OEBPS/GeographyofBli_toc.html" "born"]: exited with non zero error code[256]. Error message:
Comment by Anatol Pomozov (anatolik) - Friday, 30 August 2019, 15:37 GMT
I just pushed bookworm-1.1.2 to [testing]. Please try it and provide a feedback what need to be done to make the search to run successfully.

Loading...