Lios doesn't work on ubuntu 18.04
Hello, After installing lios 2.7 and 3.0 on Ubuntu 18.04 I have this issue:
$ 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:18297): Gtk-WARNING **: 21:09:38.382: Cannot connect attribute 'text' for cell renderer class 'lios+ui+gtk+tree_view+CellRendererToggle' since attribute does not exist
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lios/main.py", line 1326, in make_preferences_effective
self.dict = dictionary.Dict(dictionary.dictionary_language_dict[languages[self.preferences.language]])
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/lios", line 8, in <module>
linux_intelligent_ocr_solution()
File "/usr/lib/python3/dist-packages/lios/main.py", line 342, in __init__
self.make_preferences_effective()
File "/usr/lib/python3/dist-packages/lios/main.py", line 1347, in make_preferences_effective
pacman -S aspell-fr""").format(languages[self.preferences.language]))
IndexError: list index out of range
I didn't test with the version in the universe repository.