Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
skanlite FAIL in Neptune-Plasma5-20170610.iso OS
08-02-2017, 07:21 PM
Post: #1
skanlite FAIL in Neptune-Plasma5-20170610.iso OS
I used skanlite to scan copies of documents on my USB-connected flatbed scanner before mailing those documents. Today, however, skanlite failed to save any document it scanned. First, skanlite scanned the document I could see an accurate scaled-size color image of my document in its viewport.
Second, skanlite popped up a dialog box with a black title bar titledd "New Image File Name - Skanlite". This is where the KDE system went awry. Inside this dialog box, neptuneOS displayed a tri-colored red-blue-yellow circle twisting to simulate a tri-colored clockwise-spinning circle, rather than the normal mouse cursor. Hence, it was impossible to input either mouse clicks or text into this dialog box.

So I killed all my other applications & tried it again. Got the exact same fail.
I did not want to have to drive 3 miles to get to a business with a photocopier in order to photocopy my documents. So I unplugged all USB devices except for the scanner and my mouse, and rebooted my computer.
[code]
$ lsusb
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 008 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[/coe]

Skanlite worked in exactly the same way as before - FAILed to save the file.
Has anybody solved a similar problem before? Any ideas? I thought stable software wasn't supposed to break. See my comment below about libraries.
Now I must drive 3 miles one-way to photocopy my documents. I am thinking about removing skanlite with APT, and then re-installing it with APT, but I don't know if that will correct this issue. Skanlite failed in exactly the same way
during the four times I tried this, whether other applications were running or not.

BTW, APT modified two ghostscript libraries last night, when I did #apt-get update && apt-get upgrade.
Find all posts by this user
Quote this message in a reply
08-02-2017, 08:11 PM (This post was last modified: 08-02-2017 08:11 PM by leszek.)
Post: #2
RE: skanlite FAIL in Neptune-Plasma5-20170610.iso OS
Maybe skanlite takes a while to save the file. Or are you not even able to choose the file saving to?
If yes can you run skanlite from the terminal and see if it shows up with an error message.
I did a scan appr. 2 weeks ago which went just fine and we did not update anything in the meantime regarding skanlite.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-02-2017, 08:39 PM
Post: #3
RE: skanlite FAIL in Neptune-Plasma5-20170610.iso OS
I was not even able to choose the file. Both the mouse cursor and mouse click and keyboard are disabled everywhere in that dialog box except for the title - unusable. WIll try skanlite from Konsole as user & see what happens.
Find all posts by this user
Quote this message in a reply
08-02-2017, 10:06 PM
Post: #4
RE: skanlite FAIL in Neptune-Plasma5-20170610.iso OS
Thanks, leszek.
I tried the same scan from the Konsole as user:
Got the same behavior - unable to save.
After yet another dialog box appeared, asking me to either "Kill Skanlite" or "Wait longer...." I checked & saw tat skanlite had created no other file
Code:
$lsf Image*
-rw-r--r-- 1 jethro jethro 43854898 Jun 27 11:30 Image-0001.png
-rw-r--r-- 1 jethro jethro 37859217 Aug  2 12:52 Image-0002.png
so I pressed the Kill button.

[/code]
Code:
$ skanlite
Skanlite(26007): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol ''.
"
Find all posts by this user
Quote this message in a reply
08-02-2017, 11:19 PM (This post was last modified: 08-03-2017 04:11 AM by Sergeant_Pepper's_Lonely_Hear.)
Post: #5
RE: skanlite FAIL in Neptune-Plasma5-20170610.iso OS
I got skanlite to save to a file automatically after going
to Settings...Revert scanner options to default values.

I entered 333 in the application's dialog box
I must have rewritten Image with a leading i, because look what happened.
Code:
$ lsf Image*
-rw-r--r-- 1 jethro jethro 43854898 Jun 27 11:30 Image-0001.png
-rw-r--r-- 1 jethro jethro 37859217 Aug  2 12:52 Image-0002.png
george@neptune:~$ lsf image*
-rw-r--r-- 1 jethro jethro       66 Nov 16  2015 image_URLs.txt
-rw-r--r-- 1 jethro jethro 44553112 Aug  2 16:39 image-0003.png
-rw-r--r-- 1 jethro jethro 44374090 Aug  2 16:44 image-0333.png
jethro@neptune:~$ okular image-0333.png &
[2] 26990
I also noticed when I rotated image-0333.png 180 degrees (because I
forgot how to place the original on the flatbed scanner) twice in
okular, okular wouldn't let me save it to the same name, giving me
the error
File could not be saved in
'files:///home/jethro/
image_0333.png' Try to save
it to another location.

I guess I will have to remember to look for Image* and image* files
in my home directory, before trying to scan -- so that next time I won't have to remember to look for the filename image-0334.png. I guess I should also
try to remember which end of the scanner becomes the head (as oposed to the tail) of the paper when okular prints the image to the .png file

Thank you for helping me, leszek.
Find all posts by this user
Quote this message in a reply
08-03-2017, 09:31 AM
Post: #6
RE: skanlite FAIL in Neptune-Plasma5-20170610.iso OS
For the filename and saving. First I would recommend using gwenview for images files not Okular.
Second the file properties might be automatically set to read only. Changing that should allow you overwriting that files again Smile
Glad that you found a solution.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-03-2017, 06:55 PM
Post: #7
RE: skanlite FAIL in Neptune-Plasma5-20170610.iso OS
Yes, me too, leszek! Wink
skanlite saves the .png files with
Code:
rw-r--r--
privileges, which work for me.
I opened the .png files with both applications, okular and gwenview. I can zoom in and out with both applications. Both work giving the filename from the command line. Why do you say gwenview is preferrred, leszek?
Find all posts by this user
Quote this message in a reply
08-03-2017, 08:22 PM
Post: #8
RE: skanlite FAIL in Neptune-Plasma5-20170610.iso OS
Gwenview is explicitly meant for viewing and editing image files. Okular is more a document viewer only.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)