Package Details: lios-git 7eeed0be-6

Git Clone URL: https://aur.archlinux.org/lios-git.git (read-only, click to copy)
Package Base: lios-git
Description: Linux Intelligent OCR Solution is an easy to use OCR suite for tesseract and cuneiform
Upstream URL: https://gitlab.com/groups/Nalin-x-Linux
Keywords: a11y accessibility OCR office
Licenses: GPL3
Conflicts: lios
Provides: lios
Submitter: chrys87
Maintainer: chrys87
Last Packager: chrys87
Votes: 11
Popularity: 0.000000
First Submitted: 2015-12-23 12:45 (UTC)
Last Updated: 2023-05-11 11:36 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2024-02-19 06:58 (UTC)

A run of lios crashes with AttributeError: 'gi.repository.Gtk' object has no attribute 'HSeparator':

/usr/lib/python3.11/site-packages/lios/ui/gtk/text_view.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/lib/python3.11/site-packages/lios/ui/gtk/widget.py:24: PyGIWarning: Atk was imported without specifying a version first. Use gi.require_version('Atk', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Atk
Traceback (most recent call last):
  File "/usr/bin/lios", line 19, in <module>
    from lios.main import *
  File "/usr/lib/python3.11/site-packages/lios/main.py", line 27, in <module>
    from lios import scanner, editor, imageview, cam, ocr, preferences, speech
  File "/usr/lib/python3.11/site-packages/lios/editor.py", line 20, in <module>
    from lios.ui.gtk import text_view, tree_view, widget, dialog, file_chooser, containers, window
  File "/usr/lib/python3.11/site-packages/lios/ui/gtk/widget.py", line 166, in <module>
    class Separator(Gtk.HSeparator):
                    ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
    return getattr(self._introspection_module, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/gi/module.py", line 126, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gtk' object has no attribute 'HSeparator'

Regards!

dreieck commented on 2024-02-19 06:54 (UTC)

You must add a pkgver() function that returns strongly monotoneously increasing package version with each upstream commit.

You can use r<commit_count>.g<commit_hash> if nothing more useful is available, the the Arch Wiki on GIT packages.

Regards and thannks for maintaining!

chrys87 commented on 2023-05-11 11:37 (UTC) (edited on 2023-05-11 11:38 (UTC) by chrys87)

Added dependency gst-plugins-base-libs and changed dependency: espeak with espeak-ng

chrys87 commented on 2020-07-29 17:15 (UTC)

thanks City-busz,

fixed: python-pyinsane -> python-sane

City-busz commented on 2020-07-28 22:11 (UTC)

It depends on python-sane, not on python-pyinsane.

Mohnish commented on 2020-04-25 10:44 (UTC)

Hi, there is a missing dependency: gst-plugins-base-libs After installing lios-git from AUR, and running it in the terminal, the following error occurs: /usr/lib/python3.8/site-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.8/site-packages/lios/ui/gtk/print_dialog.py:23: PyGIWarning: Pang oCairo was imported without specifying a version first. Use gi.require_version('Pa ngoCairo', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import PangoCairo
Traceback (most recent call last):
File "/usr/bin/lios", line 3, in <module>
from lios.main import *
File "/usr/lib/python3.8/site-packages/lios/main.py", line 27, in <module>
from lios import scanner, editor, imageview, cam, ocr, preferences, speech, tr ain_tesseract
File "/usr/lib/python3.8/site-packages/lios/cam.py", line 19, in <module>
from gi.repository import GdkX11, GstVideo
File "/usr/lib/python3.8/site-packages/gi/importer.py", line 132, in load_module
raise ImportError('cannot import name %s, '
ImportError: cannot import name GstVideo, introspection typelib not found

Installing gst-plugins-base-libs fixed this problem as it contains GstVideo

Thank You

chrys87 commented on 2019-01-19 20:19 (UTC)

"self.preferences.scan_driver" is part of the source code as it is a class member.

so you may find it in the application source itself (as file content of an .py file) instead of an filename.

i reset the flag.

djringjr commented on 2019-01-19 18:30 (UTC)

My LIOS installation contains no /home/username/lios folder and no lios_preferences file. Also I do not fine a file named "self.preferences.scan_driver" anywhere on my computer.

I have tried to sign up for the LIOS mail list.

The flag on this AUR should be reset as it is a git file and is always up to date.

Regards,

DR

chrys87 commented on 2019-01-19 16:42 (UTC)

Howdy David,

what about the LIOS list?

  • can you role back in git history to check what commit breaks LIOS for you? Or does the stable work for you (by compile it manual?)?

yea i know about vinux.

as a first inspectaion i would say that "self.preferences.scan_driver" contains an index what doesnt exist in "self.available_scanner_driver_list" list.

this could mean 1. no scanner driver exists, 2. broken preferences, 3. an bug caused by code refacturing

djringjr commented on 2019-01-19 15:14 (UTC)

I have tried to contact Nalin by both email addresses I have for him, but I have no answer to either email. I also mentioned this error on the Vinux mail list (Ubuntu based for blind) and no answer.

Alas!

Best wishes, David