CUPS update from 1.3.x to 1.4.x: Cache gets corrupted and leads to error 'client-error-document-format-not-supported'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
9.10 Karmic upgraded Aug 28th 2009 from 9.04There was an error during the CUPS operation: 'client-
2.27.91
2.6.28-15-generic
4.4.1 (x86_64-linux-gnu)
unknown (27 August 2009 04:29:11PM)
Nicola Ferralis (feranick) wrote : | #1 |
affects: | ubuntu → xserver-xorg-video-intel (Ubuntu) |
Nicola Ferralis (feranick) wrote : | #2 |
Sorry, I meant to assign this bug as a CUPS related bug.
affects: | xserver-xorg-video-intel (Ubuntu) → cups (Ubuntu) |
Pascal De Vuyst (pascal-devuyst) wrote : | #3 |
Thanks for your bug report.
Please run the following command on a terminal to provide some usefull printing related information:
apport-collect -p cups 420490
Also provide your cups error log as described here: https:/
Changed in cups (Ubuntu): | |
status: | New → Incomplete |
Sebastian Castro (sebastian-castro) wrote : | #4 |
- cups error_log file Edit (43.4 KiB, text/plain)
After upgrading from 9.04 to 9.10 I got the same error with any printer that was working previous to the upgrade.
I proceeded to run the apport-collect to provide information about the error and enabled the debugging of cups. Find attached a copy of my error_log file. After some googling, I found a possible reason why cups will give that error message is when it's unable to handle the mime type of the file. On my case, I've been trying to print postscript files (application/
Till Kamppeter (till-kamppeter) wrote : | #5 |
Can you post the output of the following shell commands here:
ls -l /usr/share/
ls -l /etc/cups/*.types
ls -l /usr/share/
ls -l /etc/cups/*.convs
If there are files of the same name in both /usr/share/
Does this solve your problem?
Sebastian Castro (sebastian-castro) wrote : | #6 |
- Repeated cups mime files. Edit (3.9 KiB, application/x-tar)
secastro@
-rw-r--r-- 1 root root 1077 2009-08-14 21:37 /usr/share/
-rw-r--r-- 1 root root 127 2009-09-06 23:51 /usr/share/
-rw-r--r-- 1 root root 6707 2009-09-06 23:51 /usr/share/
-rw-r--r-- 1 root root 88 2009-09-06 23:47 /usr/share/
-rw-r--r-- 1 root root 25 2009-09-06 23:51 /usr/share/
secastro@
-rw-r--r-- 1 root root 6184 2009-04-17 21:19 /etc/cups/
-rw-r--r-- 1 root root 88 2009-04-17 21:17 /etc/cups/
-rw-r--r-- 1 root root 211 2009-04-21 02:11 /etc/cups/raw.types
secastro@
-rw-r--r-- 1 root root 70 2009-09-06 23:47 /usr/share/
-rw-r--r-- 1 root root 943 2009-09-06 23:51 /usr/share/
-rw-r--r-- 1 root root 4351 2009-09-06 23:51 /usr/share/
-rw-r--r-- 1 root root 60 2009-09-06 23:47 /usr/share/
-rw-r--r-- 1 root root 146 2009-09-06 23:51 /usr/share/
-rw-r--r-- 1 root root 1339 2009-08-02 05:49 /usr/share/
-rw-r--r-- 1 root root 50 2009-09-06 23:47 /usr/share/
-rw-r--r-- 1 root root 946 2009-08-02 05:49 /usr/share/
-rw-r--r-- 1 root root 203 2009-09-06 23:47 /usr/share/
-rw-r--r-- 1 root root 279 2009-09-06 23:51 /usr/share/
secastro@
-rw-r--r-- 1 root root 4410 2009-04-17 21:20 /etc/cups/
-rw-r--r-- 1 root root 60 2009-04-17 21:17 /etc/cups/
-rw-r--r-- 1 root root 50 2009-04-17 21:17 /etc/cups/
-rw-r--r-- 1 root root 240 2009-04-21 02:11 /etc/cups/raw.convs
Proceed to save the repeated files on a tar file (attached), delete those files and restart. The logs indicate the same message: Print-Job client-
Jemand (jemand) wrote : apport-collect data | #7 |
Architecture: amd64
DistroRelease: Ubuntu 9.04
Lpstat:
Gerät für CLP-300: usb://Samsung/
Gerät für CLP600N: http://
Gerät für DESKJET-995C: hp:/usb/
Gerät für name: socket://fritz.box
Gerät für Samsung_CLP-300: hal:///
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 046d:c526 Logitech, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 099a:610c Zippy Technology Corp. EL-610 Super Mini Electron luminescent Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Acer, inc. Ferrari 4000
Package: cups 1.3.9-17ubuntu3.2
PackageArchitec
Papersize: a4
PpdFiles:
Samsung_CLP-300: Samsung CLP-300 Foomatic/foo2qpdl (recommended)
DESKJET-995C: HP Deskjet 995c Foomatic/hpijs, hpijs 2.8.7
CLP600N: Samsung CLP-600 Foomatic/foo2qpdl (recommended)
CLP-300: Samsung CLP-300 Foomatic/foo2qpdl (recommended)
ProcCmdLine: root=UUID=
ProcEnviron:
SHELL=/bin/bash
LANG=de_DE.UTF-8
LANGUAGE=
ProcVersionSign
Uname: Linux 2.6.28-15-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Pascal De Vuyst (pascal-devuyst) wrote : Re: There was an error during the CUPS operation: 'client-error-document-format-not-supported' | #8 |
garvinrick4,
do you still have this problem?
Richard Garvin (garvinrick4) wrote : Re: [Bug 420490] Re: There was an error during the CUPS operation: 'client-error-document-format-not-supported' | #9 |
No bug was fixed around Alpha 5.
-----Original Message-----
From: Pascal De Vuyst <email address hidden>
To: <email address hidden>
Sent: Sun, Sep 13, 2009 3:53 am
Subject: [Bug 420490] Re: There was an error during the CUPS operation: 'client-
garvinrick4,
do you still have this problem?
--
There was an error during the CUPS operation: 'client-
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Status in “cups” package in Ubuntu: Incomplete
Bug description:
9.10 Karmic upgraded Aug 28th 2009 from 9.04There was an error during the CUPS
operation: 'client-
the CUPS operation: 'client-
2.27.91
2.6.28-15-generic
4.4.1 (x86_64-linux-gnu)
unknown (27 August 2009 04:29:11PM)
Pascal De Vuyst (pascal-devuyst) wrote : Re: There was an error during the CUPS operation: 'client-error-document-format-not-supported' | #10 |
> I proceeded to run the apport-collect to provide information about the error
Sebastian,
The apport-collect information did not get attached to this bug report please run the following command on a terminal:
apport-collect -p cups 420490
Sebastian Castro (sebastian-castro) wrote : | #11 |
Pascal:
How do i check the apport-collect actually uploaded the information? After running
secastro@
Logging into Launchpad... You have to allow "Change anything" privileges.
Downloading bug information...
Bug title: There was an error during the CUPS operation: 'client-
Collecting apport information for source package cups...
No additional information collected.
I see no attachment on this bug report with the info.
Jan David Mol (jjdmol) wrote : | #12 |
I have the same problem after switching to Karmic, and apport-collect does not want to collect any info either.
Till Kamppeter (till-kamppeter) wrote : | #13 |
Jan David Mol, please follow the instructions in my comment #5:
https:/
Jan David Mol (jjdmol) wrote : | #14 |
- jjdmol's cups files in /etc/cups and /usr/share/cups/mime and /var/log/cups/error_log Edit (6.1 KiB, application/x-tar)
removed /etc/cups/*.types /etc/cups/*.convs and restarted cups, but no change. Added my error_log as well to be sure, restarted cups @ 15:30 in the log.
(ls -l /usr/share/
ls -l /etc/cups/*.types
ls -l /usr/share/
ls -l /etc/cups/*.convs)
-rw-r--r-- 1 root root 1077 2009-09-18 15:24 /usr/share/
-rw-r--r-- 1 root root 127 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 6705 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 88 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 25 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 6184 2008-10-20 08:59 /etc/cups/
-rw-r--r-- 1 root root 88 2008-10-20 08:56 /etc/cups/
-rw-r--r-- 1 root root 211 2008-10-29 22:19 /etc/cups/raw.types
-rw-r--r-- 1 root root 70 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 943 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 4351 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 60 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 146 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 1339 2009-09-18 16:57 /usr/share/
-rw-r--r-- 1 root root 50 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 946 2009-09-18 16:57 /usr/share/
-rw-r--r-- 1 root root 203 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 279 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 4410 2008-10-20 08:59 /etc/cups/
-rw-r--r-- 1 root root 60 2008-10-20 08:56 /etc/cups/
-rw-r--r-- 1 root root 50 2008-10-20 08:56 /etc/cups/
-rw-r--r-- 1 root root 240 2008-10-29 22:19 /etc/cups/raw.convs
Till Kamppeter (till-kamppeter) wrote : | #15 |
Is the package ghostscript-cups installed on your system? Check with the command
dpkg -l ghostscript-cups | cat
If not, install it with
sudo apt-get install ghostscript-cups
Can you do the following:
Run the commands:
sudo apt-get update
sudo apt-get dist-upgrade
Accept the system update and wait for it to complete. Does this solve your problem?
If not, run the commands:
sudo apt-get install --reinstall ghostscript-cups
sudo /etc/init.d/cups restart
Does this solve your problem? If not, run the command:
sudo apt-get install --reinstall cups
Are you now able to print again?
Jan David Mol (jjdmol) wrote : | #16 |
I'm not connected to any printer at the moment, but /var/log/
Print-Job client-
So I'm assuming it's not working. I'll try tomorrow at work again just to be sure.
ghostscript-cups was installed (8.70.dfsg.
updated, no improvement. For the logs: am at cups 1.4.1-4 and ghostscript-cups 8.70.dfsg.
reinstalling ghostscript-cups & restarting cups.. no improvement
reinstalling cups.. no improvement
Maybe relevant tidbits:
* using a PPD file from Xerox's website
* running awesome instead of gnome (but with gnome-settings-
* "echo foo | lpr" gives the same error for text/plain:
D [06/Oct/
D [06/Oct/
D [06/Oct/
Jan David Mol (jjdmol) wrote : | #17 |
Tried with access to printer.. no luck.
Till Kamppeter (till-kamppeter) wrote : | #18 |
Can you do "ls -lda /etc/cups/ /usr/share/
Can you run the following commands:
cupsctl LogLevel=debug2
sudo /etc/init.d/cups stop
sudo /etc/init,d/cups start
and after that attach your error_log. See the "CUPS error_log" section in https:/
Jan David Mol (jjdmol) wrote : | #19 |
I found out that using the generic postscript driver does allow me to print! The Xerox PPD file was working under Jaunty though. The printing attempt below is of course with the custom PPD.
To answer your requests:
drwxr-xr-x 4 root lp 4096 2009-10-08 14:31 /etc/cups/
drwxr-xr-x 2 root root 4096 2009-10-06 20:49 /usr/share/
-rw-r--r-- 1 root root 240 2009-10-06 20:49 /etc/cups/raw.convs
-rw-r--r-- 1 root root 211 2009-10-06 20:49 /etc/cups/raw.types
-rw-r--r-- 1 root root 1077 2009-09-18 15:24 /usr/share/
-rw-r--r-- 1 root root 70 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 943 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 127 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 4351 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 6705 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 60 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 88 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 146 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 1339 2009-09-18 16:57 /usr/share/
-rw-r--r-- 1 root root 25 2009-10-02 17:22 /usr/share/
-rw-r--r-- 1 root root 50 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 946 2009-09-18 16:57 /usr/share/
-rw-r--r-- 1 root root 203 2009-10-02 17:19 /usr/share/
-rw-r--r-- 1 root root 279 2009-10-02 17:22 /usr/share/
Error_log after print attempt with loglevel debug2 is attached. Everything happens at 14:38.
Jan David Mol (jjdmol) wrote : | #20 |
I can now print with the normal printer as well, but I'm a bit unsure why. I moved /var/cache/
This would mean that using a generic postscript driver worked simply because I added a new printer for it.
Does this make any sense?
I now have in /var/cache/cups:
4 drwxrwxr-x 3 root lp 4096 2009-10-08 14:47 .
4 drwxr-xr-x 24 root root 4096 2009-09-27 20:03 ..
12 -rw------- 1 root lp 11855 2009-10-08 14:49 10.87.5.15.snmp
4 -rw-r--r-- 1 root root 824 2009-10-08 14:30 Generic-
152 -rw------- 1 lp lp 147885 2009-10-08 13:47 help.index
4 -rw-r----- 1 root lp 2239 2009-10-08 14:50 job.cache
8684 -rw------- 1 lp lp 8876004 2009-10-05 09:32 ppds.dat
4 -rw-r----- 1 root lp 75 2009-10-08 14:50 remote.cache
4 drwxrwxr-x 2 root lp 4096 2008-10-20 08:59 rss
4 -rw-r--r-- 1 root root 1546 2009-09-20 17:43 xrxcontrol.ipp
4 -rw-r--r-- 1 root root 1546 2009-10-08 14:47 xrxwest.ipp
4 -rw-r--r-- 1 root root 1546 2009-09-20 17:43 xrxwest.ipp.orig
Notice the mix of lp/root ownership.
Jan David Mol (jjdmol) wrote : | #21 |
- Error_log which should contain both failed and succesful attempts with debug2 log level. Edit (5.3 MiB, text/plain)
Jan David Mol (jjdmol) wrote : | #22 |
I now have a functional (xrxwest) and a non-functional (xrxcontrol) printer of the same type. Since I rarely use the latter, it's your call whether I should attempt to fix it as per #20, or if I should keep it this way to test something else.
Sorry for the separate messages :)
Till Kamppeter (till-kamppeter) wrote : | #23 |
You have either a corrupted cache or a broken PPD file. Please attach the following files:
/etc/cups/ppd/*.ppd (all files)
/var/cache/
/var/cache/
/var/cache/
Then run the commands (ignore the error in the deleting step):
sudo /etc/init.d/cups stop
sudo rm /var/cache/
sudo /etc/init.d/cups start
Try to print again. Does it work now?
Jan David Mol (jjdmol) wrote : | #24 |
Till Kamppeter (till-kamppeter) wrote : | #25 |
Looks like that we have to delete the cache files when updating from CUPS 1.3.x to 1.4.x.
summary: |
- There was an error during the CUPS operation: 'client-error-document- - format-not-supported' + CUPS update from 1.3.x to 1.4.x: Cache gets corrupted and leads to error + 'client-error-document-format-not-supported' |
Changed in cups (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in cups (Ubuntu): | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #26 |
This bug was fixed in the package cups - 1.4.1-5
---------------
cups (1.4.1-5) unstable; urgency=low
[ Till Kamppeter ]
* debian/
names for broadcasting print queues and managing print queues broadcasted
from other servers by default. Many networks do not have valid host names
for all machines (LP: #449586).
* debian/
* usb-backend-
temporarily inserted for debugging.
[ Martin Pitt ]
* usb-backend-
* Drop: disable-
* debian/
Till's change above.
* Add ppdc-dynamic-
segfault on mipsen. Thanks to Sune Vuorela! (Closes: #548246)
[ Tormod Volden ]
* debian/cups.init.d: honour blacklist when loading ppdev and lp kernel
modules (LP: #424795)
-- Martin Pitt <email address hidden> Tue, 13 Oct 2009 09:57:11 +0200
Changed in cups (Ubuntu): | |
status: | Fix Committed → Fix Released |
EdiSilva (edisilva64) wrote : apport-collect data | #27 |
Architecture: i386
DistroRelease: Ubuntu 9.10
Lsusb:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: System manufacturer System Product Name
NonfreeKernelMo
Package: cups 1.4.1-5ubuntu2.1
PackageArchitec
Papersize: a4
ProcCmdLine: root=UUID=
ProcEnviron:
SHELL=/bin/bash
LANG=pt_BR.UTF-8
LANGUAGE=
ProcVersionSign
Uname: Linux 2.6.31-17-generic i686
UserGroups: adm admin audio cdrom dialout dip fax fuse lp lpadmin netdev plugdev sambashare tape video
dmi.bios.date: 04/24/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS P5VD2-VM ACPI BIOS Revision 1104
dmi.board.name: P5VD2-VM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: System Product Name
dmi.sys.vendor: System manufacturer
EdiSilva (edisilva64) wrote : BootDmesg.txt | #28 |
EdiSilva (edisilva64) wrote : CupsErrorLog.txt | #29 |
EdiSilva (edisilva64) wrote : CurrentDmesg.txt | #30 |
EdiSilva (edisilva64) wrote : Dependencies.txt | #31 |
EdiSilva (edisilva64) wrote : Locale.txt | #32 |
EdiSilva (edisilva64) wrote : Lpstat.txt | #33 |
EdiSilva (edisilva64) wrote : Lspci.txt | #34 |
EdiSilva (edisilva64) wrote : PpdFiles.txt | #35 |
EdiSilva (edisilva64) wrote : PrintingPackages.txt | #36 |
EdiSilva (edisilva64) wrote : ProcCpuinfo.txt | #37 |
EdiSilva (edisilva64) wrote : ProcInterrupts.txt | #38 |
EdiSilva (edisilva64) wrote : ProcModules.txt | #39 |
EdiSilva (edisilva64) wrote : UdevDb.txt | #40 |
EdiSilva (edisilva64) wrote : UdevLog.txt | #41 |
EdiSilva (edisilva64) wrote : XsessionErrors.txt | #42 |
tags: | added: apport-collected |
Richard McDonald (rjmcd) wrote : apport-collect data | #43 |
Architecture: i386
CupsErrorLog:
DistroRelease: Ubuntu 9.10
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Lpstat:
device for CLP-310_Series: usb://Samsung/
device for DocuPrint_
device for ML-1710: usb://Samsung/
MachineType: MSI MS-7309
NonfreeKernelMo
Package: cups 1.4.1-5ubuntu2.2
PackageArchitec
Papersize: letter
PpdFiles:
DocuPrint_
ML-1710: Samsung ML-1710, SpliX V. 2.0.0
CLP-310_Series: Samsung CLP-315 Foomatic/foo2qpdl (recommended)
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
LANGUAGE=
ProcVersionSign
Uname: Linux 2.6.31-20-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 07/15/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V2.0
dmi.board.
dmi.board.name: K9N6PGM2-V2 (MS-7309)
dmi.board.vendor: MSI
dmi.board.version: 2.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: MS-7309
dmi.product.
dmi.sys.vendor: MSI
Richard McDonald (rjmcd) wrote : BootDmesg.txt | #44 |
Richard McDonald (rjmcd) wrote : CurrentDmesg.txt | #45 |
Richard McDonald (rjmcd) wrote : Dependencies.txt | #46 |
Richard McDonald (rjmcd) wrote : Locale.txt | #47 |
Richard McDonald (rjmcd) wrote : Lspci.txt | #48 |
Richard McDonald (rjmcd) wrote : Lsusb.txt | #49 |
Richard McDonald (rjmcd) wrote : PrintingPackages.txt | #50 |
Richard McDonald (rjmcd) wrote : ProcCpuinfo.txt | #51 |
Richard McDonald (rjmcd) wrote : ProcInterrupts.txt | #52 |
Richard McDonald (rjmcd) wrote : ProcModules.txt | #53 |
Richard McDonald (rjmcd) wrote : UdevDb.txt | #54 |
Richard McDonald (rjmcd) wrote : UdevLog.txt | #55 |
Richard McDonald (rjmcd) wrote : XsessionErrors.txt | #56 |
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/ FindRightPackag e. I have classified this bug as a bug in xserver- xorg-video- intel.