OpenMandrivaAssociation / distribution

OpenMandriva Lx is an exciting free Desktop Operating System that aims to cater to and interest first time and advanced users alike. It has the breadth and depth of an advanced system but is designed to be simple and straightforward in use.
https://openmandriva.org
7 stars 2 forks source link

Web Browsers do not print in Cooker or Rolling - including after installation of HPLIP software (foomatic-filters - error in POSTIN scriptlet) #2916

Closed edwardp3 closed 1 year ago

edwardp3 commented 1 year ago

OpenMandriva version: Rolling

Describe the bug: Attempted to install two different printers, as web browsers (also in Cooker) will not send print jobs to the printer, printer is not being recognized (?). Unlike in Cooker, Chromium does not crash in Rolling, but displays the below message instead.

Steps to reproduce: Either install printer using CUPS interface (which will install) or HPLIP (which apparently will not)

Observed behavior: See attached screenshots from Rolling

Expected behavior: Printer should have installed.

Additional comment: Prints fine diirectly from CUPS web interface (test page) and from LibreOffice.

Logs and screenshots if relevant

printer-rolling

printer-rolling-2

printer-rolling-3

benbullard79 commented 1 year ago

See my posts here:

https://github.com/OpenMandrivaAssociation/distribution/issues/2915

And please realize I post this information to be helpful. I have no interest in lecturing people.

edwardp3 commented 1 year ago

The foomatic-filters package might be the problem:

~]$ sudo dnf install hplip-hpijs-ppds
Last metadata expiration check: 8:25:27 ago on Wed 17 May 2023 10:37:41 PM EDT.
Dependencies resolved.
==============================================================================================================
 Package                       Architecture        Version                   Repository                  Size
==============================================================================================================
Installing:
 hplip-hpijs-ppds              x86_64              3.23.3-1                  cooker-x86_64               13 M
Installing dependencies:
 foomatic-filters              noarch              4.0.17-21                 cooker-x86_64               63 k
 hplip-hpijs                   x86_64              3.23.3-1                  cooker-x86_64              196 k
 lib64hpdiscovery              x86_64              3.23.3-1                  cooker-x86_64               14 k
 lib64hpip                     x86_64              3.23.3-1                  cooker-x86_64               66 k
 lib64hpmud                    x86_64              3.23.3-1                  cooker-x86_64               45 k
 lib64netsnmp                  x86_64              5.9.1-1                   cooker-x86_64              271 k
 mpage                         x86_64              2.5.7-2                   cooker-x86_64               50 k

Transaction Summary
==============================================================================================================
Install  8 Packages

Total download size: 14 M
Installed size: 18 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): foomatic-filters-4.0.17-21-omv2390.noarch.rpm                           37 kB/s |  63 kB     00:01    
(2/8): hplip-hpijs-3.23.3-1-omv2390.x86_64.rpm                                110 kB/s | 196 kB     00:01    
(3/8): lib64hpdiscovery-3.23.3-1-omv2390.x86_64.rpm                            55 kB/s |  14 kB     00:00    
(4/8): lib64hpip-3.23.3-1-omv2390.x86_64.rpm                                  238 kB/s |  66 kB     00:00    
(5/8): lib64hpmud-3.23.3-1-omv2390.x86_64.rpm                                 155 kB/s |  45 kB     00:00    
(6/8): hplip-hpijs-ppds-3.23.3-1-omv2390.x86_64.rpm                           4.3 MB/s |  13 MB     00:03    
(7/8): lib64netsnmp-5.9.1-1-omv4090.x86_64.rpm                                284 kB/s | 271 kB     00:00    
(8/8): mpage-2.5.7-2-omv2390.x86_64.rpm                                        53 kB/s |  50 kB     00:00    
--------------------------------------------------------------------------------------------------------------
Total                                                                         4.2 MB/s |  14 MB     00:03     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                      1/1 
  Installing       : mpage-2.5.7-2.x86_64                                                                 1/8 
  Installing       : foomatic-filters-4.0.17-21.noarch                                                    2/8 
  Running scriptlet: foomatic-filters-4.0.17-21.noarch                                                    2/8 
/var/tmp/rpm-tmp.FoKvpp: line 4: fg: no job control
warning: %post(foomatic-filters-4.0.17-21.noarch) scriptlet failed, exit status 1

Error in POSTIN scriptlet in rpm package foomatic-filters
  Installing       : lib64netsnmp-5.9.1-1.x86_64                                                          3/8 
  Installing       : lib64hpip-3.23.3-1.x86_64                                                            4/8 
  Installing       : lib64hpdiscovery-3.23.3-1.x86_64                                                     5/8 
  Installing       : lib64hpmud-3.23.3-1.x86_64                                                           6/8 
  Installing       : hplip-hpijs-3.23.3-1.x86_64                                                          7/8 
  Running scriptlet: hplip-hpijs-3.23.3-1.x86_64                                                          7/8 
  Installing       : hplip-hpijs-ppds-3.23.3-1.x86_64                                                     8/8 
  Running scriptlet: hplip-hpijs-ppds-3.23.3-1.x86_64                                                     8/8 
  Verifying        : foomatic-filters-4.0.17-21.noarch                                                    1/8 
  Verifying        : hplip-hpijs-3.23.3-1.x86_64                                                          2/8 
  Verifying        : hplip-hpijs-ppds-3.23.3-1.x86_64                                                     3/8 
  Verifying        : lib64hpdiscovery-3.23.3-1.x86_64                                                     4/8 
  Verifying        : lib64hpip-3.23.3-1.x86_64                                                            5/8 
  Verifying        : lib64hpmud-3.23.3-1.x86_64                                                           6/8 
  Verifying        : lib64netsnmp-5.9.1-1.x86_64                                                          7/8 
  Verifying        : mpage-2.5.7-2.x86_64                                                                 8/8 

Installed:
  foomatic-filters-4.0.17-21.noarch     hplip-hpijs-3.23.3-1.x86_64     hplip-hpijs-ppds-3.23.3-1.x86_64    
  lib64hpdiscovery-3.23.3-1.x86_64      lib64hpip-3.23.3-1.x86_64       lib64hpmud-3.23.3-1.x86_64          
  lib64netsnmp-5.9.1-1.x86_64           mpage-2.5.7-2.x86_64           

Complete!
benbullard79 commented 1 year ago

This seems a duplicate of # 2915. Let's focus on one issue namely "Printing from Chromium crashes browser". I believe this issue exists in both cooker and rome and will concentrate reporting in # 2915.