Bug#927770: lios does not work properly on KDE
> Il 28 aprile 2019 alle 14.14 Samuel Thibault ha > scritto: > > Could you try to install python3-gi-cairo ? > Yes, together with version _2.7-3~0, it works! Now the thumbnail can be loaded in the central pane, and rotated, can select the areas and recognize them. I am not familiar with lios, but as far as I can tell, now it works as expected. We can consider the bug solved, thanks indeed for your effort Giuliano Cabrele
Bug#927770: lios does not work properly on KDE
gcab_d...@libero.it, le sam. 27 avril 2019 23:47:30 +0200, a ecrit: > So now it looks ok as for the language-packs. Ok, good :) > But still remains the major problem of how to get an image to open in the > central upper pane, so as to manipulate it (rotate, select the sections to > recognize, etc.). Could you try to install python3-gi-cairo ? Samuel
Bug#927770: lios does not work properly on KDE
gcab_d...@libero.it, le sam. 27 avril 2019 16:09:24 +0200, a ecrit: > the installation did not complete because of the error reported in the > attachment, and the application did not start. > > Maybe I should have disinstalled the previous version first ? No, I just didn't pay attention to the spaces vs tabs in the source code. Please download again and retry. Samuel
Bug#927770: lios does not work properly on KDE
I downloaded and tried to install ( with dpkg -i) the version that you indicated: the installation did not complete because of the error reported in the attachment, and the application did not start. Maybe I should have disinstalled the previous version first ? or anything else ? giuliano@a64-tst:~$ su Password: root@a64-tst:/home/giuliano# cd Downloads/ root@a64-tst:/home/giuliano/Downloads# ls 1553968398633 IMG_20190109_152402.jpg 'Louane - Je vole.mp3' BSI_Hydrofoil_Aquabike_30Jun20176-small.jpg IMG_20190411_192056.jpg NDP472-KB4054530-x86-x64-AllOS-ENU.exe hardware_my_computer_3_99679 lios_2.7-3~0_all.deb VID_20170519_180152.mp4 root@a64-tst:/home/giuliano/Downloads# dpkg -i lios_2.7-3~0_all.deb dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 2 expected programs not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin root@a64-tst:/home/giuliano/Downloads# su - root@a64-tst:~# cd /home/giuliano/Downloads/ root@a64-tst:/home/giuliano/Downloads# ls 1553968398633 IMG_20190109_152402.jpg 'Louane - Je vole.mp3' BSI_Hydrofoil_Aquabike_30Jun20176-small.jpg IMG_20190411_192056.jpg NDP472-KB4054530-x86-x64-AllOS-ENU.exe hardware_my_computer_3_99679 lios_2.7-3~0_all.deb VID_20170519_180152.mp4 root@a64-tst:/home/giuliano/Downloads# dpkg -i lios_2.7-3~0_all.deb (Reading database ... 326655 files and directories currently installed.) Preparing to unpack lios_2.7-3~0_all.deb ... Unpacking lios (2.7-3~0) over (2.7-2) ... Setting up lios (2.7-3~0) ... Sorry: TabError: inconsistent use of tabs and spaces in indentation (main.py, line 1109) dpkg: error processing package lios (--install): installed lios package post-installation script subprocess returned error exit status 1 Processing triggers for desktop-file-utils (0.23-4) ... Processing triggers for mime-support (3.62) ... Processing triggers for man-db (2.8.5-2) ... Errors were encountered while processing: lios root@a64-tst:/home/giuliano/Downloads#
Bug#927770: lios does not work properly on KDE
Hello, gcab_d...@libero.it, le sam. 27 avril 2019 02:25:07 +0200, a ecrit: > I am attaching the warning provided as soon as I launch Lios from KDE > Applications, Ok. I guess you have tesseract-ocr-deu installed, as well as aspell-de or hunspell-de? There was a typo in the package between "deu" and "de" (as well as others). I'll fix that in the next upload. Samuel
Bug#927770: lios does not work properly on KDE
Thanks, Samuel, for the reply. I am attaching the warning provided as soon as I launch Lios from KDE Applications, and what I get after trying to load an image, which appears as an icon on the left, but could not expand in the central pane, although I could launch the "recognize" by right clicking on it. I am going to try the version you indicated, and will let you know. > Il 23 aprile 2019 alle 10.36 Samuel Thibault ha > scritto: > > > Hello, > > gcab_d...@libero.it, le mar. 23 avril 2019 01:10:38 +0200, a ecrit: > > Launching it graphically, it pops an advise that cannot find the hunspell/ > > etc. > > language pack which is instead installed. > > I don't have the issue, could you send a picture of the advice? > > > Launching it from terminal I get the warning reported in the attached. > > Most warnings should be harmless except > > > File "/usr/lib/python3/dist-packages/lios/main.py", line 1300, in > > ocr_selected_areas > > progress_step = 1/len(self.imageview.get_selection_list()); > > ZeroDivisionError: division by zero > > which is a no-go :) > > Could you try the package from > http://people.debian.org/~sthibault/tmp/buster-tmp/lios_2.7-3~0_all.deb > ? > > Samuel
Bug#927770: lios does not work properly on KDE
Hello, gcab_d...@libero.it, le mar. 23 avril 2019 01:10:38 +0200, a ecrit: > Launching it graphically, it pops an advise that cannot find the hunspell/ > etc. > language pack which is instead installed. I don't have the issue, could you send a picture of the advice? > Launching it from terminal I get the warning reported in the attached. Most warnings should be harmless except > File "/usr/lib/python3/dist-packages/lios/main.py", line 1300, in > ocr_selected_areas > progress_step = 1/len(self.imageview.get_selection_list()); > ZeroDivisionError: division by zero which is a no-go :) Could you try the package from http://people.debian.org/~sthibault/tmp/buster-tmp/lios_2.7-3~0_all.deb ? Samuel
Bug#927770: lios does not work properly on KDE
Package: lios Version: 2.7-2 Severity: important Dear Maintainer, I installed Lios on Buster with KDE. Launching it graphically, it pops an advise that cannot find the hunspell/ etc. language pack which is instead installed. Launching it from terminal I get the warning reported in the attached. The lios window opens, I can load an image (as filter ?) and the thumb shows on the left column, but no way to get it to appear on the central pane and choose the part to recognize. But I can OCR (in english, at least) the whole image. That's much of a pity since lios looks to be the only GUI front-end to tesseract working on KDE. Thus I hope the problem can be solved quickly, and thanks indeed for your attention and commitment. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-4-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lios depends on: ii aspell-en2018.04.16-0-1 ii espeak 1.48.04+dfsg-7 ii gir1.2-gst-plugins-base-1.0 1.14.4-1 ii gir1.2-gstreamer-1.0 1.14.4-1 ii gir1.2-gtk-3.0 3.24.5-1 ii gir1.2-vte-2.91 0.54.2-2 ii imagemagick 8:6.9.10.23+dfsg-2 ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2 ii poppler-utils0.71.0-3 ii python3 3.7.2-1 ii python3-enchant 2.0.0-1 ii python3-gi 3.30.4-1 ii python3-sane 2.8.3-1+b2 ii python3-speechd 0.9.0-5 ii tesseract-ocr4.0.0-2 lios recommends no packages. Versions of packages lios suggests: pn cuneiform -- no debconf information giuliano@a64-tst:~$ lios /usr/lib/python3/dist-packages/lios/ui/gtk/text_view.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk /usr/lib/python3/dist-packages/lios/ui/gtk/print_dialog.py:23: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded. from gi.repository import PangoCairo /usr/lib/python3/dist-packages/lios/cam.py:19: PyGIWarning: GstVideo was imported without specifying a version first. Use gi.require_version('GstVideo', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GdkX11, GstVideo /usr/lib/python3/dist-packages/lios/ui/gtk/terminal.py:21: PyGIWarning: Vte was imported without specifying a version first. Use gi.require_version('Vte', '2.91') before import to ensure that the right version gets loaded. from gi.repository import Gtk, GObject, Vte (lios:2874): Gtk-WARNING **: 00:01:59.778: Theme parsing error: gtk.css:127:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version (lios:2874): Gtk-WARNING **: 00:01:59.778: Theme parsing error: gtk.css:128:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version (lios:2874): Gtk-WARNING **: 00:01:59.778: Theme parsing error: gtk.css:129:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version (lios:2874): Gtk-WARNING **: 00:01:59.778: Theme parsing error: gtk.css:132:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version (lios:2874): Gtk-WARNING **: 00:01:59.798: Cannot connect attribute 'text' for cell renderer class 'lios+ui+gtk+tree_view+CellRendererToggle' since attribute does not exist update_scanner_list Started TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct converter for 'cairo.Context' TypeError: Couldn't find foreign struct conver