Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Balló György (City-busz) - Thursday, 29 August 2019, 20:15 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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...