You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting a list of the available PPDs ("lpinfo -m") cups-driverd at first reads the file /var/cache/cups/ppds.dat with PPD entries which it had already loaded on an earlier run. There it caches not only ready-made (static) PPDs but also PPDs which get generated on-the-fly based on the data in /usr/share/cups/drv/*.drv files. To mark in the cache that the entries from a given *.drv file are already there, it adds a dummy entry for the cache so that when loading the cache it only needs to verify the dummy entry. Due to a bug this entry does not get found and so all already existing PPD entries from the *.drv file get generated and added again, which messes up the PPD list leading to a loss of hundreds of PPD entries, making many printers appearing unsupported in printer setup tools.
Attached is a patch which makes the dummy entry being written correctly so that cups-driverd finds it. With this correct PPD lists get generated.
The text was updated successfully, but these errors were encountered:
Till, the fix was applied to the 1.5 branch in r9939 (along with a bunch of others - unless I am just fixing a single bug I usually batch all of the mirrored changes from trunk in one commit...)
Version: 1.5.0
CUPS.org User: till.kamppeter
When requesting a list of the available PPDs ("lpinfo -m") cups-driverd at first reads the file /var/cache/cups/ppds.dat with PPD entries which it had already loaded on an earlier run. There it caches not only ready-made (static) PPDs but also PPDs which get generated on-the-fly based on the data in /usr/share/cups/drv/*.drv files. To mark in the cache that the entries from a given *.drv file are already there, it adds a dummy entry for the cache so that when loading the cache it only needs to verify the dummy entry. Due to a bug this entry does not get found and so all already existing PPD entries from the *.drv file get generated and added again, which messes up the PPD list leading to a loss of hundreds of PPD entries, making many printers appearing unsupported in printer setup tools.
Attached is a patch which makes the dummy entry being written correctly so that cups-driverd finds it. With this correct PPD lists get generated.
The text was updated successfully, but these errors were encountered: