zendalona/lios

train-tesseract starts but doesn't work properly

Opened this issue · 0 comments

snden commented

I would like to use train-tesseract, but when I run it, the language profile doesn't load, it just appears at the bottom
Loading components of ...
and the running graphics line. The language data is not loaded.
When I open train-tesseract in the command-line, the system reports errors:

language_combobox_changed Started
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/lios/train_tesseract.py", line 643, in language_combobox_changed
    self.output_terminal.run_command(cmd)
  File "/usr/lib/python3/dist-packages/lios/ui/gtk/terminal.py", line 48, in run_command
    self.feed_child(command, length)
TypeError: Vte.Terminal.feed_child() takes exactly 2 arguments (3 given)

for other options in the Train images-box tab:

Generate-Image-Using-Fonts
generate_image_with_spec Started
Exception in thread Thread-6:

Annotate(Detect boxes)
make_box_file_for_images Started
make_box_file_for_images Started
Exception in thread Thread-3:

The same type of message and error will appear.

Linux Mint 20.3
xfce4 4.16.0