Skip to content

[Solved]Lios broken on upgrade to Ubuntu 22.10 #21

@thejudderman

Description

@thejudderman

I recently discovered your great app! Thank you.
However, since upgrading to 22.10, lios won't start up.
Here is the error I get:

/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', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
/usr/lib/python3/dist-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 3, in
from lios.main import *
File "/usr/lib/python3/dist-packages/lios/main.py", line 27, in
from lios import scanner, editor, imageview, cam, ocr, preferences, speech, train_tesseract
File "/usr/lib/python3/dist-packages/lios/editor.py", line 20, in
from lios.ui.gtk import text_view, tree_view, widget, dialog, file_chooser, containers, window
File "/usr/lib/python3/dist-packages/lios/ui/gtk/widget.py", line 166, in
class Separator(Gtk.HSeparator):
File "/usr/lib/python3/dist-packages/gi/overrides/init.py", line 32, in _getattr_
return getattr(self._introspection_module, name)
File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in _getattr_
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gtk' object has no attribute 'HSeparator'

Any help would be appreciated - I'm a regular linux user, but not much experience in coding!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions