[Touch-packages] [Bug 2011270] Re: Printing intermittenly fails -- autodetected network printer

2023-03-12 Thread Daniel van Vugt
** Package changed: xorg (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/2011270

Title:
  Printing intermittenly fails -- autodetected network printer

Status in Ubuntu:
  New

Bug description:
  It appears that print jobs passed to the auto-detected printer
  "adding" wizard do not always succeed.

  See in these error messages how hpcups is passed a null object to
  print.

  It's unclear what the interactions is between the auto-discovery
  gnome(?) applet, the hpcups system, and dbus.

  The net effect is that a print job is sent to the printer defined
  here, and it just gets stuck in "stopped".  With no error message or
  way for the user to resolve the issue.

  I'm not sure where to begin debugging ...

  
  Error messages in question :

  
  Mar 10 16:44:17 semiauto dbus-daemon[680]: [system] Activating service 
name='org.opensuse.CupsPkHelper.Mechanism' requested by ':1.1929' (uid=1000 
pid=485631 comm="gnome-control-center printers" label="unconfined") (using 
servicehelper)
  Mar 10 16:44:17 semiauto dbus-daemon[680]: [system] Successfully activated 
service 'org.opensuse.CupsPkHelper.Mechanism'
  Mar 10 16:44:25 semiauto google-chrome.desktop[496973]: Warning: disabling 
flag --expose_wasm due to conflicting flags
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 79: unable to open 
/var/lib/hp/hplip.state: No such file or directory
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 129: 
validate_plugin_version() Failed to get Plugin version from 
[/var/lib/hp/hplip.state]
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 173: Plugin version 
is not matching 
  Mar 10 16:44:34 semiauto hpcups[515382]: prnt/hpcups/HPCupsFilter.cpp 505: 
m_Job initialization failed with error = 48
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 244: Invalid Library 
handler pLibHandler = NULL.
  Mar 10 16:45:01 semiauto CRON[515541]: (root) CMD (command -v debian-sa1 > 
/dev/null && debian-sa1 1 1)
  Mar 10 16:45:09 semiauto gnome-shell[333439]: Window manager warning: Ping 
serial 447743079 was reused for window W713, previous use was for window 
0xc00014.
  Mar 10 16:45:20 semiauto systemd[4596]: 
vte-spawn-4d0c2df5-8c91-461c-ac5d-b95a2bc252a9.scope: Consumed 33.860s CPU time.
  Mar 10 16:45:20 semiauto gnome-shell[333439]: JS ERROR: TypeError: this.actor 
is 
null#012_syncEnabled@resource:///org/gnome/shell/ui/windowManager.js:138:25#012onStopped@resource:///org/gnome/shell/ui/windowManager.js:150:35#012_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:150:22#012_easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:316:60#012_destroyWindowDone@resource:///org/gnome/shell/ui/windowManager.js:1596:21#012onStopped@resource:///org/gnome/shell/ui/windowManager.js:1564:39#012_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:150:22#012_easeActor/<@resource:///org/gnome/shell/ui/environment.js:239:64
  Mar 10 16:45:23 semiauto dbus-daemon[680]: [system] Activating service 
name='org.opensuse.CupsPkHelper.Mechanism' requested by ':1.1929' (uid=1000 
pid=485631 comm="gnome-control-center printers" label="unconfined") (using 
servicehelper)
  Mar 10 16:45:23 semiauto systemd[4596]: app-gnome-virtualbox-495654.scope: 
Consumed 11min 33.878s CPU time.
  Mar 10 16:45:23 semiauto dbus-daemon[680]: [system] Successfully activated 
service 'org.opensuse.CupsPkHelper.Mechanism'
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Settings.SearchProvider' requested by 
':1.23' (uid=1000 pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Calculator.SearchProvider' requested by 
':1.23' (uid=1000 pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Characters' requested by ':1.23' (uid=1000 
pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Notes.SearchProvider' requested by ':1.23' 
(uid=1000 pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Successfully activated service 'org.gnome.Settings.SearchProvider'

  Make and model auto-reported is:
  "HP LaserJet Professional m1217nfw MFP, hpcups 3.22.6, requires proprietary 
plugin"

  
  yes, it has commas.  

  URI is reported as:
  
dnssd://HP%20LaserJet%20Professional%20M1217nfw%20MFP._pdl-datastream._tcp.local/

  and "location" is aparrently blank.

  
  I can troubleshoot further.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: xorg 1:7.7+23ubu

[Touch-packages] [Bug 2011270] Re: Printing intermittenly fails -- autodetected network printer

2023-03-10 Thread Ubuntu Foundations Team Bug Bot
** Package changed: ubuntu => xorg (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/2011270

Title:
  Printing intermittenly fails -- autodetected network printer

Status in xorg package in Ubuntu:
  New

Bug description:
  It appears that print jobs passed to the auto-detected printer
  "adding" wizard do not always succeed.

  See in these error messages how hpcups is passed a null object to
  print.

  It's unclear what the interactions is between the auto-discovery
  gnome(?) applet, the hpcups system, and dbus.

  The net effect is that a print job is sent to the printer defined
  here, and it just gets stuck in "stopped".  With no error message or
  way for the user to resolve the issue.

  I'm not sure where to begin debugging ...

  
  Error messages in question :

  
  Mar 10 16:44:17 semiauto dbus-daemon[680]: [system] Activating service 
name='org.opensuse.CupsPkHelper.Mechanism' requested by ':1.1929' (uid=1000 
pid=485631 comm="gnome-control-center printers" label="unconfined") (using 
servicehelper)
  Mar 10 16:44:17 semiauto dbus-daemon[680]: [system] Successfully activated 
service 'org.opensuse.CupsPkHelper.Mechanism'
  Mar 10 16:44:25 semiauto google-chrome.desktop[496973]: Warning: disabling 
flag --expose_wasm due to conflicting flags
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 79: unable to open 
/var/lib/hp/hplip.state: No such file or directory
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 129: 
validate_plugin_version() Failed to get Plugin version from 
[/var/lib/hp/hplip.state]
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 173: Plugin version 
is not matching 
  Mar 10 16:44:34 semiauto hpcups[515382]: prnt/hpcups/HPCupsFilter.cpp 505: 
m_Job initialization failed with error = 48
  Mar 10 16:44:34 semiauto hpcups[515382]: common/utils.c 244: Invalid Library 
handler pLibHandler = NULL.
  Mar 10 16:45:01 semiauto CRON[515541]: (root) CMD (command -v debian-sa1 > 
/dev/null && debian-sa1 1 1)
  Mar 10 16:45:09 semiauto gnome-shell[333439]: Window manager warning: Ping 
serial 447743079 was reused for window W713, previous use was for window 
0xc00014.
  Mar 10 16:45:20 semiauto systemd[4596]: 
vte-spawn-4d0c2df5-8c91-461c-ac5d-b95a2bc252a9.scope: Consumed 33.860s CPU time.
  Mar 10 16:45:20 semiauto gnome-shell[333439]: JS ERROR: TypeError: this.actor 
is 
null#012_syncEnabled@resource:///org/gnome/shell/ui/windowManager.js:138:25#012onStopped@resource:///org/gnome/shell/ui/windowManager.js:150:35#012_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:150:22#012_easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:316:60#012_destroyWindowDone@resource:///org/gnome/shell/ui/windowManager.js:1596:21#012onStopped@resource:///org/gnome/shell/ui/windowManager.js:1564:39#012_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:150:22#012_easeActor/<@resource:///org/gnome/shell/ui/environment.js:239:64
  Mar 10 16:45:23 semiauto dbus-daemon[680]: [system] Activating service 
name='org.opensuse.CupsPkHelper.Mechanism' requested by ':1.1929' (uid=1000 
pid=485631 comm="gnome-control-center printers" label="unconfined") (using 
servicehelper)
  Mar 10 16:45:23 semiauto systemd[4596]: app-gnome-virtualbox-495654.scope: 
Consumed 11min 33.878s CPU time.
  Mar 10 16:45:23 semiauto dbus-daemon[680]: [system] Successfully activated 
service 'org.opensuse.CupsPkHelper.Mechanism'
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Settings.SearchProvider' requested by 
':1.23' (uid=1000 pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Calculator.SearchProvider' requested by 
':1.23' (uid=1000 pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Characters' requested by ':1.23' (uid=1000 
pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Activating service name='org.gnome.Notes.SearchProvider' requested by ':1.23' 
(uid=1000 pid=333439 comm="/usr/bin/gnome-shell" label="unconfined")
  Mar 10 16:45:57 semiauto dbus-daemon[332938]: [session uid=1000 pid=332938] 
Successfully activated service 'org.gnome.Settings.SearchProvider'

  Make and model auto-reported is:
  "HP LaserJet Professional m1217nfw MFP, hpcups 3.22.6, requires proprietary 
plugin"

  
  yes, it has commas.  

  URI is reported as:
  
dnssd://HP%20LaserJet%20Professional%20M1217nfw%20MFP._pdl-datastream._tcp.local/

  and "location" is aparrently blank.

  
  I can troubleshoot further.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: