Inkscape hangs when printing isn't configured
Hi !
I have tried "Inkscape pre2" on my Kubuntu Linux computer ( with KDE ). Printing is not configured on this computer, because i have no printer on that one. I have started inkscape from the commandline to test the newest pre2 autopackage. When i tried to print, the print-window and inkscape freezes. I waited a minute for a message window to appear which would say:" there is a problem with printing." After killing inkscape, i saw on the commandline the message: "lpr: error - unable to print file: server-error-service-unavailable" .
I think that is a bug. The message window (with error out) should appear in inkscape.
Greetings
von Halenbach
On Sun, Jun 04, 2006 at 08:04:21PM +0200, lustik@...461... wrote:
Hi !
I have tried "Inkscape pre2" on my Kubuntu Linux computer ( with KDE ). Printing is not configured on this computer, because i have no printer on that one. I have started inkscape from the commandline to test the newest pre2 autopackage. When i tried to print, the print-window and inkscape freezes. I waited a minute for a message window to appear which would say:" there is a problem with printing." After killing inkscape, i saw on the commandline the message: "lpr: error - unable to print file: server-error-service-unavailable" .
I think that is a bug. The message window (with error out) should appear in inkscape.
Hmm, can anyone else reproduce this (I cannot)?
Bryce
On Sun, 2006-06-04 at 11:21 -0700, Bryce Harrington wrote:
I think that is a bug. The message window (with error out) should appear in inkscape.
Hmm, can anyone else reproduce this (I cannot)?
I was able to reproduce the hang by setting my print command to the following shell script:
#!/bin/sh while true ; do sleep 1 ; done
It would appear that there is a bug in his lpr which causes it to hang without reading any input when there are no printers. In such a case, Inkscape will also hang, waiting for the print command to consume input.
I'm not sure what the best workaround on our end is.
-mental
participants (3)
-
unknown@example.com
-
Bryce Harrington
-
MenTaLguY