[Bug 2169277] Review Request: braille-printer-app - Braille printer application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2169277

Zdenek Dohnal <zdohnal@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(benson_muite@emai
                   |                            |lplus.org)



--- Comment #16 from Zdenek Dohnal <zdohnal@xxxxxxxxxx> ---
(In reply to Benson Muite from comment #15)
> If gutenprint is installed, one can get a timeout when adding printers:
> https://9to5answer.com/cups-adding-printer-fails-with-quot-unable-to-get-
> list-of-printer-drivers-success-quot

Have you been able to reproduce the issue? I've installed all foomatic and
gutenprint packages and I wasn't able to get the error either via CLI or in
CUPS Web Interface. Additionally, gutenprint is not shipping IJS for about 6
years.

The error which the page is talking about can happen due various reasons -
cupsd has already reached the max number of clients or max number of
connections waiting in queue for IPP port, cupsd can't answer within time limit
due being in other operations (cupsd is one-threaded program with one exception
of generating driverless queue) or cups-driverd, the binary which is spawned
for getting the drivers, is not able to get the answer within the limit.

To list drivers cups-driverd runs binaries which are in /usr/lib/cups/driver
and reads all files in /usr/share/cups/drv and /usr/share/cups/models -
braille-printer-app does not have any driver binary and has only four files in
/usr/share/cups/drv:

/usr/share/cups/drv/generic-brf.drv
/usr/share/cups/drv/generic-ubrl.drv
/usr/share/cups/drv/indexv3.drv
/usr/share/cups/drv/indexv4.drv

which provides only several driver definitions (from lpinfo -m):

drv:///generic-brf.drv/gen-brf.ppd Generic Braille embosser, 1.0
drv:///generic-ubrl.drv/gen-ubrl.ppd Generic UBRL generator, 1.0
drv:///indexv3.drv/i4waves3.ppd Index 4-Waves PRO, 1.0
drv:///indexv3.drv/i4x4pro3.ppd Index 4x4 PRO V3, 1.0
drv:///indexv3.drv/ibasicd3.ppd Index Basic-D V3, 1.0
drv:///indexv4.drv/ibasicd4.ppd Index Basic-D V4/V5, 1.0
drv:///indexv3.drv/ibasics3.ppd Index Basic-S V3, 1.0
drv:///indexv4.drv/ibasics4.ppd Index Basic-S V4/V5, 1.0
drv:///indexv4.drv/ibrlbox4.ppd Index Braille Box V4/V5, 1.0
drv:///indexv3.drv/ieveres3.ppd Index Everest-D V3, 1.0
drv:///indexv4.drv/ieveres4.ppd Index Everest-D V4/V5, 1.0

Usually the error with 'lpinfo -m' is got via binaries in /usr/lib/cups/driver,
reading files in /usr/share/cups/drv and /usr/share/cups/models doesn't take
that much time and braille-printer-app doesn't bring that much drivers to
trigger it.

On the top of that, braille-printer-app will be migrated to an actual printer
application, so it won't influence 'lpinfo -m' at all, and if someone hits the
driverd timeout in the meantime, Fedora cups has a downstream patch for driverd
time limit already, so the limit can be raised.

Either way, it is a possible CUPS related situation and not braille-printer-app
due reasons explained above, it shouldn't block braille-printer-app review.



It would be great if you set review+ , I don't see an issue which should
prevent it on braille-printer-app's side.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2169277
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux