Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-12 Thread Michael Meskes
Hi Till,

it's been a while since we last met. I hope you're doing well.

> I have done several fixes on cups-filters upstream now, please try a
> current GIT 
> snapshot of cups-filters.

Just tried and don't really see a difference:

Thu Dec 12 09:50:50 2019 Unable to get PPD file for B...: The printer
or class does not exist.
Thu Dec 12 09:50:50 2019 Unable to load PPD from local queue B...,
queue seems to be raw.
Thu Dec 12 09:50:50 2019 Queue has still jobs or CUPS error!
Thu Dec 12 09:50:50 2019 ERROR: Failed disabling printer 'B...': The
printer or class does not exist.

Anything I can try to narrow the issue down?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-11 Thread Simon John
I've not seen either of my remote printers disappear, but am now getting 
"The PPD file for this printer is damaged" whenever I double-click on 
the printer in the print settings gui.


I downgraded cups-browsed to cups-browsed_1.25.12-1_amd64.deb but also 
get the error, so suspect its the filter or something that's gone wrong.


In /var/log/cups/error.log I get a lot of:

E [11/Dec/2019:22:05:53 +] [CGI] Saw EOF, expected \'}\'!

Which seem to point to bug #737709

I can still print fine to remote printers though (debian and raspbian 
servers) and the cups web interface doesn't show any errors.


Regards.

--
Simon John



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-11 Thread Till Kamppeter
I have done several fixes on cups-filters upstream now, please try a current GIT 
snapshot of cups-filters.


   Till



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-11 Thread Brian Potkin
On Fri 06 Dec 2019 at 15:31:59 +, Brian Potkin wrote:

> tags 946198 upstream
> thanks
> 
> 
> On Fri 06 Dec 2019 at 11:08:19 +0100, Michael Meskes wrote:
> 
> > > Which printers list? An application dialog?
> > 
> > Oops, sorry, I was referring to the printers tab on localhost:631. In
> > the add printer dialog on the administration tab they are still listed.
> > All application dialogs do not list the printers anymore either.
> > 
> > > The outputs of 'lpstat -a' and 'lpstat -l -e', please. Activating
> > > logging
> > 
> > 'lpstat -a' does not list any of the printers, 'lpstat -l -e' lists
> > them all.
> 
> The first command outputs local print queues; cups-browsed should form
> these from what CUPS tells it with, essentially, the second command. It
> obviously isn't doing that.
> 
> BTW, printing should still be available to you with 'lp -d...'. Also, if
> you stop cups-browsed, the dialogs of LibreOffice and Qt apps (and maybe
> GTK apps) should list printers and print queues.
>  
> > > in cups-browsed.conf and taking a look at a log wouldn't be a bad
> > > idea.
> > 
> > Fri Dec  6 11:00:58 2019 Removing entry B...
> > (ipps://host.local:631/printers/B...) and its CUPS queue.
> > Fri Dec  6 11:00:58 2019 Recording printer options for B... to
> > /var/cache/cups/cups-browsed-options-B...
> > Fri Dec  6 11:00:58 2019 Unable to get PPD file for B...: The printer
> > or class does not exist.
> > Fri Dec  6 11:00:58 2019 Unable to load PPD from local queue B...,
> > queue seems to be raw.
> > Fri Dec  6 11:00:58 2019 ERROR: Failed disabling printer 'B...': The
> > printer or class does not exist.
> > 
> > I guess that explains why the printer is no longer active, but what
> > changed from the prior version of cups-browsed? I just verified again,
> > downgrading cups-browsed from 1.25.13-1 to 1.25.12-1 fixes the problem
> > and makes the printers appear again. And, yes, I can print on any of
> > them without an issue. Or in other words, the system does have a PPD
> > for the printer.
> > 
> > Any idea?
> 
> In the past I have stopped cups and cups-browsed and removed the files
> in /var/cache/cups, checked that there aren't any files in /etc/cups/ppd
> and that /etc/cups/printers.conf is empty, then restarted the cups and
> cups-browsed services.
> 
> If you do not get anywhere, please report it upstream at
> 
> https://github.com/OpenPrinting/cups-filters/issues
> 
> perhaps after reading
> 
> https://github.com/OpenPrinting/cups-filters/issues/124

Any news?

Regards,
 
Brian.



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-06 Thread Brian Potkin
tags 946198 upstream
thanks


On Fri 06 Dec 2019 at 11:08:19 +0100, Michael Meskes wrote:

> > Which printers list? An application dialog?
> 
> Oops, sorry, I was referring to the printers tab on localhost:631. In
> the add printer dialog on the administration tab they are still listed.
> All application dialogs do not list the printers anymore either.
> 
> > The outputs of 'lpstat -a' and 'lpstat -l -e', please. Activating
> > logging
> 
> 'lpstat -a' does not list any of the printers, 'lpstat -l -e' lists
> them all.

The first command outputs local print queues; cups-browsed should form
these from what CUPS tells it with, essentially, the second command. It
obviously isn't doing that.

BTW, printing should still be available to you with 'lp -d...'. Also, if
you stop cups-browsed, the dialogs of LibreOffice and Qt apps (and maybe
GTK apps) should list printers and print queues.
 
> > in cups-browsed.conf and taking a look at a log wouldn't be a bad
> > idea.
> 
> Fri Dec  6 11:00:58 2019 Removing entry B...
> (ipps://host.local:631/printers/B...) and its CUPS queue.
> Fri Dec  6 11:00:58 2019 Recording printer options for B... to
> /var/cache/cups/cups-browsed-options-B...
> Fri Dec  6 11:00:58 2019 Unable to get PPD file for B...: The printer
> or class does not exist.
> Fri Dec  6 11:00:58 2019 Unable to load PPD from local queue B...,
> queue seems to be raw.
> Fri Dec  6 11:00:58 2019 ERROR: Failed disabling printer 'B...': The
> printer or class does not exist.
> 
> I guess that explains why the printer is no longer active, but what
> changed from the prior version of cups-browsed? I just verified again,
> downgrading cups-browsed from 1.25.13-1 to 1.25.12-1 fixes the problem
> and makes the printers appear again. And, yes, I can print on any of
> them without an issue. Or in other words, the system does have a PPD
> for the printer.
> 
> Any idea?

In the past I have stopped cups and cups-browsed and removed the files
in /var/cache/cups, checked that there aren't any files in /etc/cups/ppd
and that /etc/cups/printers.conf is empty, then restarted the cups and
cups-browsed services.

If you do not get anywhere, please report it upstream at

https://github.com/OpenPrinting/cups-filters/issues

perhaps after reading

https://github.com/OpenPrinting/cups-filters/issues/124

Regards,

Brian.



Processed: Re: Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-06 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 946198 upstream
Bug #946198 [cups-browsed] Since upgrading to 1.25.13 no remote printer is made 
available anymore
Added tag(s) upstream.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
946198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946198
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-06 Thread Michael Meskes
> Which printers list? An application dialog?

Oops, sorry, I was referring to the printers tab on localhost:631. In
the add printer dialog on the administration tab they are still listed.
All application dialogs do not list the printers anymore either.

> The outputs of 'lpstat -a' and 'lpstat -l -e', please. Activating
> logging

'lpstat -a' does not list any of the printers, 'lpstat -l -e' lists
them all.

> in cups-browsed.conf and taking a look at a log wouldn't be a bad
> idea.

Fri Dec  6 11:00:58 2019 Removing entry B...
(ipps://host.local:631/printers/B...) and its CUPS queue.
Fri Dec  6 11:00:58 2019 Recording printer options for B... to
/var/cache/cups/cups-browsed-options-B...
Fri Dec  6 11:00:58 2019 Unable to get PPD file for B...: The printer
or class does not exist.
Fri Dec  6 11:00:58 2019 Unable to load PPD from local queue B...,
queue seems to be raw.
Fri Dec  6 11:00:58 2019 ERROR: Failed disabling printer 'B...': The
printer or class does not exist.

I guess that explains why the printer is no longer active, but what
changed from the prior version of cups-browsed? I just verified again,
downgrading cups-browsed from 1.25.13-1 to 1.25.12-1 fixes the problem
and makes the printers appear again. And, yes, I can print on any of
them without an issue. Or in other words, the system does have a PPD
for the printer.

Any idea?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-05 Thread Brian Potkin
Thank you for your report, Michael.



On Thu 05 Dec 2019 at 10:28:20 +0100, Michael Meskes wrote:

> Package: cups-browsed
> Version: 1.25.13-1
> Severity: serious
> 
> Since upgrading the package all remote printers are gone from my printers 
> list.
> Downgrading to the latest version brings them all back.

Which printers list? An application dialog?

> I made this bug serious in case the problem is a general one. If not, feel 
> free
> to downgrade. Upgrading the package and losing the ability to print in the
> process is an unpleasant surprise, though.

The outputs of 'lpstat -a' and 'lpstat -l -e', please. Activating logging
in cups-browsed.conf and taking a look at a log wouldn't be a bad idea.

Regards,

Brian.



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-05 Thread Pierre Frenkiel

On Thu, 5 Dec 2019, Michael Meskes wrote:


Package: cups-browsed
Version: 1.25.13-1
Severity: serious

Since upgrading the package all remote printers are gone from my printers list.
Downgrading to the latest version brings them all back.


  you have to be brave to work under sid, and you have to expect
  that kind of problems. That said, these courageous people really do a useful 
job



Bug#946198: Since upgrading to 1.25.13 no remote printer is made available anymore

2019-12-05 Thread Michael Meskes
Package: cups-browsed
Version: 1.25.13-1
Severity: serious

Since upgrading the package all remote printers are gone from my printers list.
Downgrading to the latest version brings them all back.

I made this bug serious in case the problem is a general one. If not, feel free
to downgrade. Upgrading the package and losing the ability to print in the
process is an unpleasant surprise, though.

Michael

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_FORCED_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-browsed depends on:
ii  cups-daemon   2.3.0-7
ii  libavahi-client3  0.7-4+b1
ii  libavahi-common3  0.7-4+b1
ii  libavahi-glib10.7-4+b1
ii  libc6 2.29-3
ii  libcups2  2.3.0-7
ii  libcupsfilters1   1.25.13-1
ii  libglib2.0-0  2.62.3-2
ii  libldap-2.4-2 2.4.48+dfsg-1+b2
ii  lsb-base  11.1.0

Versions of packages cups-browsed recommends:
ii  avahi-daemon  0.7-4+b1

cups-browsed suggests no packages.

-- no debconf information