Start train-tesseract problem.

66 views
Skip to first unread message

NH_ RSA_260_4

unread,
Sep 8, 2022, 4:51:47 AM9/8/22
to tesseract-ocr
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?

Zdenko Podobny

unread,
Sep 8, 2022, 1:31:33 PM9/8/22
to tesser...@googlegroups.com
"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 <jb56...@gmail.com> napísal(a):
--
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-oc...@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.

NH_ RSA_260_4

unread,
Sep 11, 2022, 9:33:09 AM9/11/22
to tesser...@googlegroups.com
 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. So I'll have to look elsewhere or just use CLI which is probably easier anyway. Once again my apologies.

Reply all
Reply to author
Forward
0 new messages