cups-pdf: error during the CUPS operation: 'client-error-document-format-not-supported'. in Ubuntu 10.04

Bug #580837 reported by antonioni
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have instaled 'cups-pdf' to print to pdf files, from Synaptic, in the Ubuntu Lucid Lynx.
When I configure a PDF printer and try execute the button 'Print Self-Test Page' or the button 'Clean Print Heads', the error message bellow popups:

"CUPS SERVER ERROR: There was an error during the CUPS operation: 'client-error-document-format-not-supported'."

The button 'Print Test Page' works fine.
---
Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Lpstat: device for Generic-CUPS-PDF-Printer: cups-pdf:/
Package: cups-pdf 2.5.0-12
PackageArchitecture: i386
Papersize: letter
PpdFiles: Generic-CUPS-PDF-Printer: Generic CUPS-PDF Printer
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
antonioni (antonioni-rocha) wrote :
Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in cups-pdf.

Please execute the following command, as it will automatically gather debugging information, in a terminal:

apport-collect 580837

This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report. Thanks in advance!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → cups-pdf (Ubuntu)
Changed in cups-pdf (Ubuntu):
status: New → Incomplete
tags: added: lucid
Revision history for this message
antonioni (antonioni-rocha) wrote : CupsErrorLog.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
antonioni (antonioni-rocha) wrote : Dependencies.txt

apport information

Revision history for this message
antonioni (antonioni-rocha) wrote : Locale.txt

apport information

Revision history for this message
antonioni (antonioni-rocha) wrote : PrintingPackages.txt

apport information

Philip Muškovac (yofel)
Changed in cups-pdf (Ubuntu):
status: Incomplete → New
Revision history for this message
antonioni (antonioni-rocha) wrote :

Obs.: these options (button 'Print Self-Test Page' and the button 'Clean Print Heads') are disabled in Ubuntu 8.04.

Revision history for this message
antonioni (antonioni-rocha) wrote :

A solution to this problem could be disable these two buttons ('Print Self-Test Page' and the button 'Clean Print Heads') to the PDF printer: it has no sense keep them enabled in a "PDF printer".

Revision history for this message
antonioni (antonioni-rocha) wrote :

I have found a solution executing these commands:

sudo chmod 700 /usr/lib/cups/backend/cups-pdf
sudo chmod 700 /usr/lib/cups/backend

and then I have deleted and reinstalled the PDF printer; now the PDF printer works fine.
Thanks for the attention.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

The back-end itself is already chmod'ed to 0700 by postinst and thus requires no fixing.

Instead, the real issue seems to be that CUPS needs to ship /usr/lib/cups/backend that also has 0700.

affects: cups-pdf (Ubuntu) → cups (Ubuntu)
Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
antonioni (antonioni-rocha) wrote :

The question is the driver. When I set it to 'Generic PostScript Printer', it works fine, too.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

2.5.0-15 has a safeguard that fixes the directory's permissions as well. This really should be fixed by CUPS' maintainer scrpits, but it's a nice safeguard to have in CUPS-PDF too. The debdiff is minimal, since it's still 2.5.0, so I recommend simply pushing 2.5.0-15 as an update for Karmic and Lucid.

Revision history for this message
Bowmore (bowmore) wrote :

The package cups-pdf ver 2.5.0-15 came as an update for Maverick on June 11.

The changing of /usr/lib/cups/backend permissions here cause hanging of print jobs in the job queue which is resolved by resetting the permissions of /usr/lib/cups/backend back to 755.

See: https://bugs.launchpad.net/ubuntu/+source/cups-pdf/+bug/594364

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

It turns out that changing the backend directory's permissions to 0700 disturbs the operation of other CUPS backends.
Therefore, this change was reverted in CUPS-PDF 2.5.0-16.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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