Post Reply 

xscanimage greyed out

Oct 8, 2011, 13:40
Post: #1
xscanimage greyed out
I now have xscanimage running from a command line. I added a soft link from .gimp-2.6/plug-ins/ to /usr/bin/xcanimage and restarted gimp. In File/Create the option for xscanimage remains greyed out. What must I do to make it active?
Find all posts by this user
Quote this message in a reply
Oct 8, 2011, 13:59
Post: #2
RE: xscanimage greyed out
https://bugs.launchpad.net/ubuntu/+sourc...bug/157002

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 8, 2011, 19:32 (This post was last modified: Oct 8, 2011 19:34 by rich2005.)
Post: #3
RE: xscanimage greyed out
@tomgeorge
From your previous post you are using Debian stable (squeeze). I have a Mepis 11 installation which is basically Debian stable, what I do not have is an Epson scanner which I am assuming you have since you were messing with iscan.

The bit I do not understand

Quote:I added a soft link from .gimp-2.6/plug-ins/ to /usr/bin/xcanimage

You should not need to do this, the packages are in the Debian repo.

http://i.imgur.com/omcdA.jpg there is another front-end for sane 'quiteinsane' not shown but maybe worth a try.

Quote: In File/Create the option for xscanimage remains greyed out. What must I do to make it active?

Well, thats true here as well, 'xscanimage' is greyed out. But the other front ends work fine, in particular xsane which has more settings than you will ever need. Quiteinsane is a simpler interface but it works here (with an ancient Canon lide30). Did not need to do any copying / linking at all. http://i.imgur.com/8V4J4.jpg

A couple of screenshots for info.
http://i.imgur.com/c4y55.jpg
got to be something that works.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Oct 9, 2011, 15:46
Post: #4
RE: xscanimage greyed out
If the soft link from ~/gimp-2.6/plug-ins to /usr/bin/xscanimage is eliminated Gimp hangs - loading stops at /usr/lib/gimp/2.0/plug-ins/xscanimage, another soft link to /usr/bin/xscanimage.

I installed gimp2.0-quiteinsane as recommended. Like the other frontends I have tried it runs the scanner but then hangs failing to return to Gimp. A captured screenshot of the final lines of the gimp --verbose output is attached.

I have been concerned that the problem might be in the setting of Preferences/Folders since if the temporary folder is set to /tmp and Gimp is restarted as require the the entry reverts to File System. However, if the default entries iare selected:

Temporary Folder: .gimp-2.6
Swap Folder:: tom

these are preserved when Gimp is restarted. Accordingly I set the permissions for both these folders to 776. The system still hangs after completing the scan so folder permissions do not seem to be the problem.

Since all the sane frontends I have tried run perfectly when run from a command line but hang just after the scan is completed when run by Gimp there must be a setup problem somewhere.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Oct 9, 2011, 17:27
Post: #5
RE: xscanimage greyed out
Quote:If the soft link from ~/gimp-2.6/plug-ins to /usr/bin/xscanimage is eliminated Gimp hangs - loading stops at /usr/lib/gimp/2.0/plug-ins/xscanimage, another soft link to /usr/bin/xscanimage.

You are persisting with xscanimage which seems to be causing your problems ( maybe not since I cannot replicate the problem even though I appreciate that xscanimage is greyed out and not working.)

Why not disable xscanimage as an executable in /usr/bin/ and see what happens. I just did this and apart from removing it from the gimp menu, SANE and the other SANE front ends (xsane, quiteinsane) still work ok, as expected

Quote:I installed gimp2.0-quiteinsane as recommended. Like the other frontends I have tried it runs the scanner but then hangs failing to return to Gimp. A captured screenshot of the final lines of the gimp --verbose output is attached.

well - I just said it was there, personally I prefer xsane.

Quote:I have been concerned that the problem might be in the setting of Preferences/Folders since if the temporary folder is set to /tmp and Gimp is restarted as require the the entry reverts to File System. However, if the default entries iare selected:

Temporary Folder: .gimp-2.6
Swap Folder:: tom

these are preserved when Gimp is restarted. Accordingly I set the permissions for both these folders to 776. The system still hangs after completing the scan so folder permissions do not seem to be the problem.

Yeah, I think this is a red-herring, both quiteinsane & xsane make their own hidden folders ~/.quiteinsane/ ~/.sane/xsane/ in home.

Quote:Since all the sane frontends I have tried run perfectly when run from a command line but hang just after the scan is completed when run by Gimp there must be a setup problem somewhere.

Certainly agree with you there, probably goes back to iscan.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Oct 9, 2011, 18:24
Post: #6
RE: xscanimage greyed out
OK, I disabled both iscan and xscanimge in /usr/bin. This leaves the options xsane and quiteinsane in Files/Create.

I ran each of these in turn and both locked the system after completing the scan. The quiteinsane preview works fine. I ran gimp --verbose and the last line of output was ,"/usr/lib/gimp/2.0/plug-ins/quiteinsanegimpplugin terminated: Hangup This is not really helpful as line is written as a Quiteinsane-Plugin window opens with a choice of devices:

epkowa:usb;001:001 model Perfection 2400
epson2:libusb:001:001 model GT-9300

is offered. I've tried them both - either results in the same hangup.

In the quiteinsane scan options there is an option Set path to backend translations which is not set and the path window is blank. Is this useful?
Find all posts by this user
Quote this message in a reply
Oct 9, 2011, 19:27
Post: #7
RE: xscanimage greyed out
Honestly do not know, & away from regular computer

you still have not told us what scanner is causing this problem.

what does the SANE listing say for your scanner.

http://www.sane-project.org/cgi-bin/driver.pl

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Oct 9, 2011, 22:12
Post: #8
RE: xscanimage greyed out
My scanner is an Epson Perfection 2400 Photo

Several days ago I tried to run xsane from a command line and it aborted with a segmentation fault. I found it would run properly for root but not for user tom and learned this was a known problem. I posted messages to the debian-user and the sane-devel list. There were several helpful responses but no solution. One responder with a working Epson Perfection 2400 scanner sent a list of permission checks he had made. I ran the same checks with the same results on my system. A copy of my results is attached.

Not finding any solutions to the segfault problem I gave up and switched to iscan. It turned out that Epson's Debian package of iscan for squeeze was missing a key library. Another responder to my postings suggested trying the Ubuntu package and this did work. That is, it works from a command line for user tom but not when called by Gimp.

The recent posts here turned me back to xsane but, of course, the segfault problem remains unsolved. For the moment xsane run by root will write an image file out.pnm which Gimp can open and edit.


Attached File(s)
.txt  permission_checks.txt (Size: 1.05 KB / Downloads: 94)
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  half of the menu items greyed out (not indexed mode error) roiikkata 12 1,924 Apr 8, 2014 21:43
Last Post: roiikkata

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS