LIOS, No Commandline Version?

Hart Larry chime at hubert-humphrey.com
Wed Aug 21 14:41:50 UTC 2013


OK back in June we had a vigourus discussion about OCR programs. Some of you 
suggested I try LIOS, which orriginally from searching, seemed like a commercial 
scanning engine? I had lots of challenges installing. So I wrote some1 from the 
project, who says there is no commandline version, but he could give me commands 
for scanning. Also, he says its completely free-and-open source. If I type lios 
here are more than 30lines of errors.
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could 
not open display
   warnings.warn(str(e), _gtk.Warning)
sh: 1: rfkill: not found
/usr/lib/python2.7/dist-packages/lios/lios.py:70: GtkWarning: 
IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: Warning: g_object_ref: 
assertion `G_IS_OBJECT (object)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: Warning: invalid (NULL) 
pointer instance
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: Warning: 
g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: GtkWarning: 
IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: Warning: g_object_get: 
assertion `G_IS_OBJECT (object)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: Warning: value "TRUE" of type 
`gboolean' is invalid or out of range for property `visible' of type `gboolean'
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: GtkWarning: 
IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: PangoWarning: 
pango_context_set_font_description: assertion `context != NULL'
failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: PangoWarning: 
pango_context_set_base_dir: assertion `context != NULL' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: PangoWarning: 
pango_context_set_language: assertion `context != NULL' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: Warning: g_object_unref: 
assertion `G_IS_OBJECT (object)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
/usr/lib/python2.7/dist-packages/lios/lios.py:70: GtkWarning: 
IA__gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
   self.guibuilder.add_from_file("/usr/share/lios/Gui/main.glade")
Segmentation fault
Back again live, so might their be 2 different programs called LIOS? 1 
commercial with a 100page trial version, and 2 this gtk version?
Meanwhile a couple of LUG members helped configure Tesseract so its more 
forgiving about page placement, but still not nearly what I enjoyed running 
Openbook years ago.
Thanks so much in advance of hopefully clearing up any confusion.
Hart




More information about the Blinux-list mailing list