Installation of Kyocera Mita FS-1020D failes with error: There was an error during the CUPS operation: 'server-error-internal-error'

Bug #373371 reported by SmokyMcPot
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
foomatic-db-engine (Ubuntu)
Fix Released
Medium
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cups

I tried to install a Kyocera Mita FS-1020D connected via USB. I used the 'System Settings' module coming with KDE4.

When trying to install the printer and using the recommended Foomatic/gutenprint, I'm getting "There was an error during the CUPS operation: 'server-error-internal-error'". Selecting Foomatic/Postscript here or the PPD file provided by Kyocera works fine.

I'm using Kubuntu 9.04 with KDE 4.2.2 with default cups, all packages updated to the newest version currently shipped by Ubuntu via Online Update.

--------------------------------------------------------------------------------------------------
smoky@smoky:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

smoky@smoky:~$ apt-cache policy cups
cups:
  Installiert: 1.3.9-17ubuntu3
  Kandidat: 1.3.9-17ubuntu3
  Versions-Tabelle:
 *** 1.3.9-17ubuntu3 0
        500 http://de.archive.ubuntu.com jaunty-updates/main Packages
        100 /var/lib/dpkg/status
     1.3.9-17ubuntu1 0
        500 http://de.archive.ubuntu.com jaunty/main Packages

SmokyMcPot (karl-trampe)
description: updated
affects: cups (Ubuntu) → foomatic-db (Ubuntu)
Changed in foomatic-db (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
affects: foomatic-db (Ubuntu) → foomatic-db-engine (Ubuntu)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fixed upstream in foomatic-db-engine BZR repositories: rev 241 in head and rev241 in 4.0.

Changed in foomatic-db-engine (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package foomatic-db-engine - 4.0.0-0ubuntu8

---------------
foomatic-db-engine (4.0.0-0ubuntu8) karmic; urgency=low

  * debian/patches/25_fix-driver-in-printer-xml-without-driver-xml.patch:
    If a printer XML entry has a driver in its driver list but for which
    there is no driver XML entry, this printer/driver combo was considered
    as producing a PPD because the driver is not in the list of drivers
    without command line prototype. This leads for example to non-working
    "Foomatic/Gutenprint" driver entries in the printer setup tools
    (LP: #373371).

 -- Till Kamppeter <email address hidden> Fri, 8 May 2009 12:47:49 +0200

Changed in foomatic-db-engine (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I propose this fix also for a SRU for Jaumty. debdiff attached (fixes also bug 361772), package uploaded to -proposed and waits for approval.

To reproduce:

lpinfo -m | grep -i 1020D

shows a "Foomatic/gutenprint" line for the Kyocera FS-1020D and trying to generate this PPD with

/usr/lib/cups/driver/foomatic cat foomatic:Kyocera-FS-1020D-gutenprint.ppd

leads to an error. After applying the fix

lpinfo -m | grep -i 1020D

does not show this wrong entry any more.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Is this a regression? It's quite an intrusive patch, and doesn't look obvious, so I wonder about the importance of this SRU.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Note that the SRU contains the fixes for two bugs. The patch for this bug looks bigger than it really is as I have also updated the comments according to the changes. There are only 3 or 4 code lines which got changed.

tags: added: regression-release
Revision history for this message
Odin Hørthe Omdal (velmont) wrote :

Is this bug getting fixed by that release? When will we see it?

It would be sad if our entire office can't print pages. So they start hatin'. But luckily it's only me and my boss who is testing Jaunty, the others in Intrepid. :-)

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted foomatic-db-engine into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in foomatic-db-engine (Ubuntu Jaunty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
SmokyMcPot (karl-trampe) wrote :

Works fine with foomatic-db-engine 4.0.0-0ubuntu6.1 from jaunty-proposed. SOLVED!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package foomatic-db-engine - 4.0.0-0ubuntu6.1

---------------
foomatic-db-engine (4.0.0-0ubuntu6.1) jaunty-proposed; urgency=low

  * debian/patches/25_fix-driver-in-printer-xml-without-driver-xml.patch:
    If a printer XML entry has a driver in its driver list but for which
    there is no driver XML entry, this printer/driver combo was considered
    as producing a PPD because the driver is not in the list of drivers
    without command line prototype. This leads for example to non-working
    "Foomatic/Gutenprint" driver entries in the printer setup tools
    (LP: #373371).

  * debian/patches/20_fix-jcl-options-as-members-of-composite-options.patch:
    Upstream fix in the PPD generator: In Foomatic PPDs JCL options were
    broken when they where member options of a composite options. In addition
    to these options not being correctly applied this made them also be
    interpreted as a PostScript options which in turn made foomatic-rip
    converting PDF jobs to PostScript. This made some printers suffering
    LP: #361772 which usually is worked around by the PDF printing workflow.

 -- Till Kamppeter <email address hidden> Fri, 8 May 2009 12:57:49 +0200

Changed in foomatic-db-engine (Ubuntu Jaunty):
status: Fix Committed → 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.