cannot print a PDF file

Bug #861580 reported by Uqbar
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
okular (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've tried to print a PDF file from okular.
From CLI I get the following error:

----
$ okular zero.pdf
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: File o directory non esistente
QFileSystemWatcher: failed to add paths: /home/enzo/.config/ibus/bus
Il pacchetto "cupsys-common" non è disponibile.
Usare "dpkg --info" (= "dpkg-deb --info") per esaminare gli archivi e
"dpkg --contents" (= "dpkg-deb --contents") per elencarne il contenuto.
WARNING: configuration file not found
lpr: opzione non valida -- "r"
ProcessEx::execute: failed to launch
----

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cups 1.4.6-5ubuntu1.4
ProcVersionSignature: Ubuntu 2.6.38-11.48~ppa1-generic-pae-ck 2.6.38.8
Uname: Linux 2.6.38-11-generic-pae-ck i686
Architecture: i386
Date: Wed Sep 28 18:48:10 2011
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
Lpstat: device for SCX-4623-Series: usb://Samsung/SCX-4623%20Series
MachineType: System manufacturer System Product Name
Papersize: a4
PpdFiles: SCX-4623-Series: Samsung SCX-4623 Series
ProcEnviron:
 LANGUAGE=
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic-pae-ck root=UUID=62c91836-80b9-454b-82bf-1d3f51c08c85 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/10/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0701
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6X58D-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0701:bd05/10/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6X58D-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

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

For me this does not look like a bug in CUPS. It seems that Okular or a library which it uses is looking for a package named cupsys-common in your system. This package was renamed to cups-common already several years ago.

By the way, I can print from Okular in Oneiric. If you can print other files but not the file you are mentioning here, please attach the file which you cannot print.

Moving to Okular ...

affects: cups (Ubuntu) → okular (Ubuntu)
Revision history for this message
Uqbar (uqbar) wrote :

It seems it's not cups as per the cups/error_log file I attach here.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in okular (Ubuntu):
status: New → Confirmed
Revision history for this message
Petri Salmela (pesasa) wrote :

I had the same problem with Okular and Samsung CLX-3185FW. The reason of the failure was Samsung's own lpr, or symbolic link /usr/local/bin/lpr to be precise, which was installed from package samsungmfp-lpr. (Package from Samsung's site.) That lpr does not behave as it should.

The problem was resolved by either renaming the symbolic link or removing the package samsungmfp-lpr. That package does not contain anything else than that symbolic link, so the package should be safe to remove. When that symbolic link does not exist anymore, the correct lpr from cups-bsd is used. (/usr/local/bin/ is before /usr/bin/ in $PATH.)

Hence not a bug in Okular or Ubuntu.

Revision history for this message
MarianoAbsatz (el-baby) wrote :

Thanx a lot, Petri. I just solved my problem as you said.

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.