Description of problem: On my "fresh" installed F8 system I get the following when I fire up system-config-printer: "Printer configuration - localhost" window pops up with printers listed another window pops-up immidiately telling : ERROR there was a problem connecting to the CUPS server Clicking on OK kills the whole application cups is running and I could add a printer using the http://localhost:631 interface. Version-Release number of selected component (if applicable): 0.7.74.4-3.fc8 How reproducible: Always Steps to Reproduce: 1.start system-config-printer in F8 2. 3. Actual results: Expected results: Additional info:
What does 'lpstat -r' say?
aaee-jj ) lpstat -r scheduler is running aaee-jj )
What does this command say?: python -c 'import cups; c=cups.Connection()'
Nothing!!!!!!! aaee-jj ) python -c 'import cups; c=cups.Connection()' aaee-jj )
Please run this command: strace -s2048 2>log system-config-printer bzip2 log and send me the 'log.bz2' file you end up with after the error. Thanks.
Created attachment 258071 [details] Requested log file
Log file sent as attachment
Thanks. I've identified the problem and fixed it upstream. The fix is not to terminate the program in that situation but allow other printers to be selected. The default printer on your network is on a CUPS server that is unreachable. This could be because it has been remembered from a previous network, cached in /var/cache/cups/remote.cache. If you stop CUPS (/sbin/service cups stop), then remove that cache file, and start CUPS again (/sbin/service cups start) you will probably find that the error goes away. If not, there is a mis-configured printer on your network.
The problem did not go away. Cups tells me the "default" printer is my local printer (hrem-printer), the one I added this morning. All the other printers are remote printers. I do not have control over all of them, since those are not my machines. Seems that system-config-printer has an other "default" pinter (Epson) than http://local:631 (hrem-printer).
system-config-printer-0.7.74.5-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.5-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.6-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.6-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.6-2.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.6-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.7-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.7-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.8-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
On my "fresh" installed F8 system I get the following when I fire up system-config-printer: "Printer configuration - localhost" window pops up with printers listed another window pops-up immidiately telling : ERROR there was a problem connecting to the CUPS server Clicking on OK kills the whole application cups is running and I could add a printer using the http://localhost:631 interface. DITTO!!! If I do: $ system-config-printer --configure-printer zzz and click "Show printers shared by other systems" to OFF, it works... $
Created attachment 290395 [details] strace -s2048 2>log system-config-printer
Created attachment 290397 [details] screenshot - "system-config-printer --configure-printer zzz"
oh yeah... $ su -c 'yum --enablerepo=updates-testing update system-config-printer' Password: updates-testing 100% |=========================| 2.3 kB 00:00 primary.sqlite.bz2 100% |=========================| 328 kB 00:01 Setting up Update Process Could not find update match for system-config-printer No Packages marked for Update but... system-config-printer.i386 0.7.74.4-3.fc8
Rick: please wait until 0.7.74.8-1.fc8 appears in updates-testing. It's currently pending and should appear soon.
system-config-printer-0.7.74.8-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.9-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
system-config-printer-0.7.74.9-2.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'
$ uname -a Linux dual.rkkda.org 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:59 EST 2007 i686 i686 i386 GNU/Linux $ su -c 'yum --enablerepo=updates-testing update system-config-printer' Password: Setting up Update Process Could not find update match for system-config-printer No Packages marked for Update
Be patient for your local mirror to catch up.
Updated: system-config-printer.i386 0:0.7.74.9-2.fc8 system-config-printer-libs.i386 0:0.7.74.9-2.fc8 OK. Now I get: CUPS Server Error There was an error during the CUPS operation: 'server-error-service-unavailable'. When I click on a remote printer.
Rick: but you can still continue to use the application, can't you? I know that there is an error connecting to the remote device, but this bug report is about how system-config-printer behaves when there is such an error. The fix is that the application does not quit now, but allows you to choose another server etc. If you think that you ought to be able to connect to that particular remote server, and the reason you can't is some sort of system-config-printer bug, please report a separate bug about that. (I would tend to think it is more likely to be a problem on the remote side.)
Yes, I can continue. If I "Goto to Sever" on amd.rkkda.org root/PASSWORD, I get a list of all printers on that server, with URI, etc. filled in. So far, so good. If I click on "2430" or "2430s" or "mc5430", all is well and see "Printer Options. State is Enabled, Accepting Jobs, but NO Shared. If I click on the others (about 20 printers), e.g. "hp2600", I get the "server-error-server-unavilable", and NO "Printer Options" is displayed'. State is Enabled, Accepting Jobs, and Shared. What could be the problem?
Rick, I don't know -- some sort of problem on the remote end. If you think that you should be able to do this, please file a separate bug report concerning that.
system-config-printer-0.7.74.10-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/F8/FEDORA-2007-3416
system-config-printer-0.7.74.10-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
system-config-printer-0.7.74.10-2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.