Menu invocation fails, as .desktop file calls with -i %f, but there is no image.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ocrfeeder |
Fix Released
|
Medium
|
|||
ocrfeeder (Debian) |
Fix Released
|
Unknown
|
|||
ocrfeeder (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I installed ocrfeeder, and then found it in the menu "Office" ("Graphics" was my first guess, but...).
When I invoced it, there was a flash of a window, and then it was gone.
I immediately opened a terminal and typed "ocrfeeder", which succeeded.
I keep forgetting that I need to invoke it with the terminal...
I looked at the .desktop file Properties, and found that it calls: "ocrfeeder -i %f"
When I enter that in the terminal, the invocation fails, and the following is printed to stderr:
"
scott@scott-
Traceback (most recent call last):
File "/usr/bin/
studio = Studio()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
temp_dir)
File "/usr/lib/
converted_
File "/usr/lib/
if imghdr.
File "/usr/lib/
f = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '%f'
"
With just "ocrfeeder", the output is (not counting the correctly opening and functioning window):
"
scott@scott-
Processing sheet #1: /tmp/ocrfeeder_
out of deviation range - NO ROTATING
(ocrfeeder:2048): Gtk-CRITICAL **: gtk_widget_realize: assertion 'widget-
>>>>>>>> 28 22 1746 959
>>>>>>>> 28 22 1746 959
>>>>>>>> 29 12 1746 959
Processing sheet #1: /tmp/ocrfeeder_
out of deviation range - NO ROTATING
(ocrfeeder:2048): Gtk-CRITICAL **: gtk_widget_realize: assertion 'widget-
>>>>>>>> 40 119 1590 1354
>>>>>>>> 40 119 1590 1354
>>>>>>>> 42 109 1590 1354
"
(I include this as well, in case the output contains something else you think ought to be looked at...)
For my own use, I will remove the "-i %f"from the .desktop file Properties, so I can use the menu entry.
I imagine that is what needs to be done to the package file as well.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: ocrfeeder 0.8.1-2
ProcVersionSign
Uname: Linux 4.2.0-23-generic i686
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu5
Architecture: i386
CurrentDesktop: LXDE
Date: Mon Jan 11 22:15:19 2016
PackageArchitec
SourcePackage: ocrfeeder
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in ocrfeeder (Debian): | |
status: | Unknown → Confirmed |
Changed in ocrfeeder: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in ocrfeeder (Debian): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.