evince/evolution/gtk-print-dialog printing and system-config-printer fail when using client.conf with IP address for which there is no reverse look-up available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+2.0 (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
system-config-printer (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I ran into the 'greyed out print button' in evince in gutsy 7.10.
I was working with a network printer and it worked via
lpr and in fact any tool that did not rely on the GTK
print dialog.
Evince and evolution were clearly broken. As was the system
printer configurator via the menu. It kept dying after reporting
an error connecting to cups.
I could use xpdf instead of evince and print fine. I could
also use the GTK dialog to print to a file and then send the
file to the printer using any non-GTK tool.
In /etc/cups/
ServerName 192.168.1.16
In the end the problem was that I did not have an entry
in /etc/hosts for 192.168.1.16.
If I add an entry like
192.168.1.16 printer.
then everything works well including evince and evolution.
Without that entry or a similar one in /etc/hosts, all the programs
that use the GTK print dialog malfunction and the system print
configurator dies.
Changed in system-config-printer: | |
importance: | Undecided → Medium |
Changed in gtk+2.0: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in gtk+2.0: | |
status: | Incomplete → New |
importance: | Medium → Low |
milestone: | none → ubuntu-8.04 |
Changed in gtk+2.0: | |
milestone: | ubuntu-8.04 → ubuntu-8.04.1 |
Changed in system-config-printer: | |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.2 |
status: | New → Confirmed |
Changed in gtk+2.0: | |
milestone: | ubuntu-8.04.1 → none |
Changed in system-config-printer: | |
milestone: | ubuntu-8.04.2 → none |
Changed in system-config-printer (Ubuntu Hardy): | |
status: | Confirmed → Won't Fix |
Thanks for your helpful bug report. Was this after a fresh installation of Gutsy or after updates? As a general rule, Linux uses /etc/hosts to enumerate specific machines on the local network including printers. I don't know if CUPS adds this entry automatically. I usually add it manually, knowing that many things in Linux break without having accurate /etc/hosts entries.
Marking as Confirmed to preserve your comments.