[Desktop-packages] [Bug 264333] Re: remote printer : freeze when not available

2013-01-05 Thread Lars Mohrmann
I can confirm the bug as described by joeharr on Kubuntu 12.10 Quantal
Quetzal. Also, his workaround removing the client.conf file does not
work for me, since the file does not exist in that location for me.
Restarting cups did not solve the problem either. I did not have this
problem with Kubuntu 12.04 or Kubuntu 11.10. Can anybody confirm or
provide a workaround for this?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/264333

Title:
  remote printer : freeze when not available

Status in “cups” package in Ubuntu:
  Incomplete

Bug description:
  At home I have a desktop and a laptop. The printer is connected to the 
desktop.
  On the laptop, I added a "remote printer", using ipp://... It works fine.

  But when I am at work with my laptop, of course my desktop printer is
  not available. When I want to print something (in gedit for example,
  but the same with all softwares), It totally freeze the appli during
  about 1 or 2 minutes (wait... exactly 65 seconds) while it looks for
  the printer.

  This search should be asynchronous, it should not freeze the program
  (during 65 seconds, which is not 1 or 2 seconds) which wants to print.

  I use Ubuntu 8.04.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/264333/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 264333] Re: remote printer : freeze when not available

2012-09-13 Thread PomCompot
I can confirm this problem is gone for me in Precise Pangolin.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/264333

Title:
  remote printer : freeze when not available

Status in “cups” package in Ubuntu:
  Incomplete

Bug description:
  At home I have a desktop and a laptop. The printer is connected to the 
desktop.
  On the laptop, I added a "remote printer", using ipp://... It works fine.

  But when I am at work with my laptop, of course my desktop printer is
  not available. When I want to print something (in gedit for example,
  but the same with all softwares), It totally freeze the appli during
  about 1 or 2 minutes (wait... exactly 65 seconds) while it looks for
  the printer.

  This search should be asynchronous, it should not freeze the program
  (during 65 seconds, which is not 1 or 2 seconds) which wants to print.

  I use Ubuntu 8.04.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/264333/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 264333] Re: remote printer : freeze when not available

2012-09-13 Thread Joe Harrington
This problem (or a closely related one, I can't tell) is still not
(fully?) fixed in:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

using

cups-1.5.0-8ubuntu6

Here is some more detail than given above:

Printers defined locally that are not connected/accessible, whether by
USB or directly on the net, do not cause a problem.  However, a remote
CUPS server defined in /etc/cups/client.conf like this:

ServerName print.mpia-hd.mpg.de

causes a hang of 3-6 minutes if the server is not there.  For the
record, this server serves 72 printers, and the longest measured timeout
was 6 minutes, 19 seconds.  It does not matter whether the default
printer is one of the missing ones or not.

Applications hang in predictable ways: the print dialogue in gnome,
which Firefox and Chromium use, causes that entire browser to hang while
waiting, even if all you want to do is print to file.  If you want to
change the default printer with lpoptions, you can't, because it hangs,
times out, and quits.  If you know the printer you want to print to and
specify lpr -P foo bar.pdf, it hangs.  So does lpq, and so on.

However, the localhost:631 interface is *unaffected*, and can print test
pages without delay.

Removing the client.conf file and restarting CUPS fixes the problem
immediately.  So, a workaround is to manually create and remove that
file every time you enter/leave the network with the print server.

My guess is that few people think they are experiencing it because the
timeout depends on how many printers were served on the missing server,
and most don't have that many.  This looks like it should be a simple
fix of querying the printers in parallel and giving them a few-second
timeout.

I very much hope this will be fixed!  There do appear to be others
experiencing this, but there is little clarity on the web about it (some
scattered complaints but few solutions that are practical).

Thanks,

--jh--

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/264333

Title:
  remote printer : freeze when not available

Status in “cups” package in Ubuntu:
  Incomplete

Bug description:
  At home I have a desktop and a laptop. The printer is connected to the 
desktop.
  On the laptop, I added a "remote printer", using ipp://... It works fine.

  But when I am at work with my laptop, of course my desktop printer is
  not available. When I want to print something (in gedit for example,
  but the same with all softwares), It totally freeze the appli during
  about 1 or 2 minutes (wait... exactly 65 seconds) while it looks for
  the printer.

  This search should be asynchronous, it should not freeze the program
  (during 65 seconds, which is not 1 or 2 seconds) which wants to print.

  I use Ubuntu 8.04.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/264333/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp