Not possible to generate PPDs with foomatic-ppdfile

Bug #40377 reported by Pascal De Vuyst
24
Affects Status Importance Assigned to Milestone
foomatic-db-engine (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I'm using dapper 20060420.
foomatic-db 20060408-1ubuntu1

Executing the following command for generating HP PPDs from package foomatic-db does not work
$ foomatic-ppdfile -p "printer/HP-DeskJet_520"

The following error is shown:

foomatic-ppdfile -p "printer/HP-DeskJet_520"
*** glibc detected *** double free or corruption (!prev): 0x08178918 ***
Entity: line 2058: parser error : Extra content at the end of the document
  </printer>
            ^
printer 'printer/HP-DeskJet_520' not found!

Also executing the following command gives the same error and does not list HP printers:
$ foomatic-ppdfile -A

Generating these PPDs was possible in Ubuntu dapper before.

Revision history for this message
Glenn Morse (glenn-sonication) wrote : Same with using kdeprint

When creating a printer with KDE Print (in this case, a remote CUPS printer), I got a very similar error:

ScimInputContextPlugin()
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
*** glibc detected *** double free or corruption (!prev): 0x08179528 ***
Entity: line 2499: parser error : Extra content at the end of the document
  </printer>
            ^
printer 'Samsung-ML-1710' not found!
kdeprint: WARNING: PPD syntax error, PPD parse failed

This is indeed a serious problem, if people can't create printers!

Revision history for this message
James Tatum (jtatum) wrote : Possible fix in Debian package

This may be resolved in foomatic-db 20060408-1. Debian bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360785

Revision history for this message
James Tatum (jtatum) wrote : I take it back.. apparently not fixed

It seems that version has already been integrated into the current Dapper repos. I am having the same issues as the reporter with the Postscript driver:

$ foomatic-datafile -t cups -d Postscript -p HP-LaserJet_4300
*** glibc detected *** double free or corruption (!prev): 0x08178838 ***
Entity: line 2058: parser error : Extra content at the end of the document
  </printer>
            ^
printer 'HP-LaserJet_4300' not found!

Revision history for this message
James Tatum (jtatum) wrote :

Rolling back to the prior foomatic-db did work for me:

$ wget http://archive.ubuntu.com/ubuntu/pool/main/f/foomatic-db/foomatic-db_20050720-1_all.deb
$ sudo dpkg -i foomatic-db_20050720-1_all.deb

Revision history for this message
Barry deFreese (bddebian) wrote :

foomatic-db is synced with the latest Debian package and still posses this issue.

Changed in foomatic-db-engine:
status: Unconfirmed → Confirmed
Revision history for this message
Anthony Mercatante (tonio) wrote :

Confirmed here too:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_FR:fr:en_GB:en",
        LC_ALL = (unset),
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
*** glibc detected *** double free or corruption (!prev): 0x08179528 ***
Entity: line 2499: parser error : Extra content at the end of the document
  </printer>
            ^
printer 'Lexmark-Z32' not found!
kdeprint: WARNING: PPD syntax error, PPD parse failed

Revision history for this message
Anthony Mercatante (tonio) wrote :

latest debian version just got in ubuntu.
It resolves this issue.

If you still have problems with it, clean the driver database :
sudo foomatic-cleanupdrivers

then restart kdeprint, and that will work ;)

Changed in foomatic-db-engine:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.