From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 Description of problem: When trying to create a new JetDirect print queue (no other queues configured yet) to a HP LJ 5M printer I get this error after applying all changes and waiting for the test page: Problem while sending CUPS test page to queue 'hplj5m': lpr: unable to print file: server-error-service-unavailable After clicking ok and manually selecting the CUPS test page from the test menu it works. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. setup a new JetDirect printer 2. 3. Additional info:
How about if you increase the sleep time at line 1159 of /usr/share/printconf/util/addQueue.py? It looks like: time.sleep (5) for 5 seconds -- try 15 or something.
Line number is 1291 on my system. Anyway, this seems to fix the problem.
What's the smallest delay that works? Does a 10-second delay work, for instance? Is this a particularly slow machine?
Weird. Today it sometimes even works with a 5 secs delay, but 10 secs seems to be always ok. The machine is a VMware image with bridged networking, 256 MB RAM running on 3 GHz PIV, 2 GB RAM host system. The VMware sessions feels indeed a little bit slow compared to a FC1 VMware image.
I've changed this to 10 seconds in CVS. Will be picked up by the next build.