You're correct. Train-tesseract is not part of tesseract-ocr. It's part of lios. Didn't realize that. Sorry for posting here. Support for lios train-tesseract has been discontinued <https://github.com/zendalona/lios/issues/10>. So I'll have to look elsewhere or just use CLI which is probably easier anyway. Once again my apologies.
On Thu, Sep 8, 2022, 9:31 AM Zdenko Podobny <zde...@gmail.com> wrote: > "train-tesseract" does not seem to be part of tesseract distribution. > Maybe you could first clarify how you installed it... > Next: as you can see that messages are coming from gtk - and as far as I > see tesseract does not use gtk... > > Zdenko > > > št 8. 9. 2022 o 6:51 NH_ RSA_260_4 <jb5678...@gmail.com> napísal(a): > >> OS MInt 22.04 >> tesseract 5.2.0-32-gd7491 >> leptonica-1.82.0 >> >> Getting these messages while starting train tesseract with lios: >> >> CODE: john@john-MS-7592:~$ train-tesseract >> /usr/local/lib/python3.10/dist-packages/lios/ui/gtk/terminal.py:24: >> 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 >> >> (train-tesseract:22343): VTE-WARNING **: 13:43:54.228: >> (../src/vtepty.cc:667):bool _vte_pty_spawn_sync(VtePty*, const char*, const >> char* const*, const char* const*, GSpawnFlags, GSpawnChildSetupFunc, >> gpointer, GDestroyNotify, GPid*, int, GCancellable*, GError**): runtime >> check failed: ((spawn_flags & ignored_spawn_flags()) == 0) >> >> (train-tesseract:22343): Gtk-WARNING **: 13:43:54.267: Cannot connect >> attribute 'text' for cell renderer class >> 'lios+ui+gtk+tree_view+CellRendererToggle' since attribute does not exist >> lEND CODE >> >> Lios finds tessdata but keeps message "loading components of eng" >> >> All dependencies are satisfied as far as I know. >> What am i missing? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "tesseract-ocr" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to tesseract-ocr+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/473b2f5e-a676-4d25-bb9c-7df19b768eecn%40googlegroups.com >> <https://groups.google.com/d/msgid/tesseract-ocr/473b2f5e-a676-4d25-bb9c-7df19b768eecn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8wbV__GhUgyC%2BAXLBMbhpeVO9LWqCV_UmysYuvgkRtjaQ%40mail.gmail.com > <https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8wbV__GhUgyC%2BAXLBMbhpeVO9LWqCV_UmysYuvgkRtjaQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAOD4CKj-Mw%3DN2KZxqV-qYqiEUT2naQvTAGKsE05x5%2BmNxKnGvQ%40mail.gmail.com.