Bug#578838: Please run with --debug

Guido Günther agx at sigxcpu.org
Tue Sep 28 12:37:01 UTC 2010


On Fri, Aug 13, 2010 at 07:16:54PM +0200, Guido Günther wrote:
> severity 578838 normal
> retitle 578838 Doesn't detect print queues on Netgear print servers
> thanks
> 
> Hi John,
> On Fri, Aug 13, 2010 at 06:32:32PM +0930, John Pearson wrote:
> > I've attached a transcript of "system-config-printer --debug",
> > generated using s-c-p from experimental (1.2.3-0.1).
> > 
> > With this version it all went more or less as it should (no hang),
> > although it did not identify the printer queue (for reference,
> > Netgear print servers use queue names like 'p1' or 'p2').
> Thanks for reporting back. Could you try this patch and see if it then
> detects your printers (assuming these are lpd queues):
> 
> diff --git a/probe_printer.py b/probe_printer.py
> index 56bf7a1..7ab3d0c 100644
> --- a/probe_printer.py
> +++ b/probe_printer.py
> @@ -167,6 +167,9 @@ class LpdServer:
>          for nr in range (50):
>              candidate.append ("pr%d" % nr)
>  
> +        for nr in range (5):
> +            candidate.append ("p%d" % nr)
> +
>          return candidate
>  
>      def probe(self):
> 
Did you get a chance to try the patch? If you don't want to rebuild the
package you can "handedit"

/usr/share/system-config-printer/probe_printer.py

and reinstall system-config-printer to undo the changes if anythong goes
wrong.
Cheers,
 -- Guido







More information about the pkg-gnome-maintainers mailing list