[Python-apps-team] Bug#827196: ocrfeeder: Does not launch with supplied .desktop file

David Schiller david.schiller at gmx.at
Mon Jun 13 15:52:40 UTC 2016


Package: ocrfeeder
Version: 0.8.1-3
Severity: important

Dear Maintainer,

Clicking on the application entry in the menu does not do anything.

Syslog reports:
------------------------------------------------------------------------------
Jun 13 17:33:34 debian-x230 ocrfeeder.desktop[13095]: /usr/lib/python2.7/dist-
packages/ocrfeeder/util/lib.py:26: 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.

Jun 13 17:33:34 debian-x230 ocrfeeder.desktop[13095]:   from gi.repository
import Gtk

Jun 13 17:33:35 debian-x230 ocrfeeder.desktop[13095]: /usr/lib/python2.7/dist-
packages/ocrfeeder/studio/widgetPresenter.py:31: PyGIWarning: GooCanvas was
imported without specifying a version first. Use
gi.require_version('GooCanvas', '2.0') before import to ensure that the right
version gets loaded.

Jun 13 17:33:35 debian-x230 ocrfeeder.desktop[13095]:   from gi.repository
import Gtk, GooCanvas, Gdk, GObject, GLib, GdkPixbuf, GtkSpell

Jun 13 17:33:35 debian-x230 ocrfeeder.desktop[13095]: /usr/lib/python2.7/dist-
packages/ocrfeeder/studio/widgetPresenter.py:31: PyGIWarning: GtkSpell was
imported without specifying a version first. Use gi.require_version('GtkSpell',
'3.0') before import to ensure that the right version gets loaded.

Jun 13 17:33:35 debian-x230 ocrfeeder.desktop[13095]:   from gi.repository
import Gtk, GooCanvas, Gdk, GObject, GLib, GdkPixbuf, GtkSpell

Jun 13 17:33:35 debian-x230 ocrfeeder.desktop[13095]: Usage: ocrfeeder
[options]

Jun 13 17:33:35 debian-x230 ocrfeeder.desktop[13095]: ocrfeeder: error: -i
option requires an argument
------------------------------------------------------------------------------

The Exec key in the .desktop file specifies the "-i %f" option, which is the
problem it seems.
Launching from the command line without the option works perfectly.

Dave



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ocrfeeder depends on:
ii  ghostscript           9.19~dfsg-1+b1
ii  gir1.2-goocanvas-2.0  2.0.2-2
ii  gir1.2-gtk-3.0        3.20.6-1
ii  gir1.2-gtkspell3-3.0  3.0.8-1
ii  iso-codes             3.68-1
ii  python-enchant        1.6.6-2
ii  python-gi             3.20.1-1
ii  python-lxml           3.6.0-1
ii  python-pil            3.2.0-2
ii  python-reportlab      3.3.0-1
ii  python-sane           2.8.2-1+b2
pn  python:any            <none>
ii  tesseract-ocr         3.04.01-4

Versions of packages ocrfeeder recommends:
ii  unpaper  6.1-1+b1
ii  yelp     3.20.1-1

ocrfeeder suggests no packages.



More information about the Python-apps-team mailing list