xfprint can't use cups printers

Bug #472656 reported by totty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfprint4
Won't Fix
Medium
xfprint4 (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Binary package hint: xfprint4

There seems to be a settings mixup related to xfprint4. It is impossible to use cups printers. Symptoms are:

totty@Kapitaen:~$ xfprint4-manager

** (xfprint4-manager:12363): WARNING **: xfprint: XfPrint/system is not set
totty@Kapitaen:~$ xfprint4

** (xfprint4:12364): WARNING **: Unable to load printing system module cups_plugin.so

There is no XfPrint/system setting but an unused

totty@Kapitaen:~$ xfconf-query -c xfprint -l
/printing-system
totty@Kapitaen:~$ xfconf-query -c xfprint -p /printing-system
cups_plugin.so

Cheers, Torsten

ProblemType: Bug
Architecture: i386
Date: Tue Nov 3 13:02:29 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: xfprint4 4.6.1-1ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: xfprint4
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
In , Charetjc-f (charetjc-f) wrote :

Problem:

When I run xfprint4-manager, the window is empty and I can only access Quit and About from the print manager's menubar.

The cups webpage interface shows the printer is installed and most applications print fine.

I would like to use xfprint4-manager to verify documents sent to the printer for applications that don't print fine instead of the tedious cups webpage interface.

Steps to reproduce:

1. n/a. I just login as nonroot user, start X, run xfprint4-manager from the Accessories menu.

System info:

Gentoo Linux
Xfce 4.6.0
Cups 1.3.9
Xfprint 4.6.0 (with cups_plugin.so compiled and installed)

Steps to troubleshoot:

1. recompiled xfprint with debugging enabled.
2. run xfprint-settings from terminal

$ xfprint-settings
DBG[printing-system.c:79] load_printing_system(): trying to load printing system module /usr/lib/xfce4/xfprint-plugins/bsdlpr_plugin.so
DBG[printing-system.c:171] load_printing_system(): printing system module loaded
DBG[printing-system.c:79] load_printing_system(): trying to load printing system module /usr/lib/xfce4/xfprint-plugins/cups_plugin.so
DBG[printing-system.c:171] load_printing_system(): printing system module loaded

3. looks good. run xfprint4-manager from terminal

$ xfprint4-manager
** (xfprint4-manager:6698): WARNING **: xfprint: XfPrint/system is not set

4. open Settings Editor. XfPrint/system not found, but printing-system is set to cups_plugin.so.

Is it possible that some parts of xfprint were not completely converted to xfconf? In commit r27696 of xfce-commit mailing list, warning messages for "XfPrint/system" were replaced with warning messages for "printing-system".

Revision history for this message
totty (tsadowski-gmx) wrote :
Revision history for this message
totty (tsadowski-gmx) wrote :
Revision history for this message
In , Charlie Kravetz (cjkgeek) wrote :

This bug has also been reported on Ubuntu Launchpad as:
https://bugs.launchpad.net/bugs/474656

From the launchpad report:

There seems to be a settings mixup related to xfprint4. It is impossible to use cups printers. Symptoms are:

totty@Kapitaen:~$ xfprint4-manager

** (xfprint4-manager:12363): WARNING **: xfprint: XfPrint/system is not set
totty@Kapitaen:~$ xfprint4

** (xfprint4:12364): WARNING **: Unable to load printing system module cups_plugin.so

There is no XfPrint/system setting but an unused

totty@Kapitaen:~$ xfconf-query -c xfprint -l
/printing-system
totty@Kapitaen:~$ xfconf-query -c xfprint -p /printing-system
cups_plugin.so

Cheers, Torsten

ProblemType: Bug
Architecture: i386
Date: Tue Nov 3 13:02:29 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: xfprint4 4.6.1-1ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: xfprint4
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.

Thanks for taking the time to report this bug in the upstream bug tracking system this is a tremendous help. Launchpad has the ability to watch lots of upstream bug trackers and this can be done by following the procedure documented at https://wiki.ubuntu.com/Bugs/Watches. I've added the bug watch for this bug report.

Thanks for taking the time to make Ubuntu better!

Changed in xfprint4 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
In , Z-dia-b (z-dia-b) wrote :

I am using xfprint 4.6.1 with Zenwalk 6.2, a Slackware based distro.

xfprint-settings shows the cups system selected and the following error:

(xfprint-settings:3258): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed

But:

$ xfprint4-manager
** (xfprint4-manager:2109): WARNING **: xfprint: XfPrint/system is not set

and still:

$ xfprint4
** (xfprint4:2150): WARNING **: Unable to load printing system module cups_plugin.so

My cups.so is here:

$ locate cups_plugin.so
/usr/lib/xfce4/xfprint-plugins/cups_plugin.so

$ ldd /usr/lib/xfce4/xfprint-plugins/cups_plugin.so | grep notfound

No lib missing.

Gentoo forums say that xfprint can't find the correct channel ... but I am no expert in this.

I would set priority to 'high'. No mousepad printing ...

Revision history for this message
In , Charetjc-f (charetjc-f) wrote :

Here's a system update:

System info:------------------------------------

Gentoo Linux
Xfce 4.6.2
Cups 1.4.4
Xfprint 4.6.1-r1 (with cups_plugin.so compiled and installed)

Changes to Problem:-----------------------------

1. at shell prompt, run xfprint4-manager, warning appears:
  "** (xfprint4-manager:7056): WARNING **: Unable to load printing system module cups_plugin.so"

2. Printer Manager window appears and displays my printer and that the printer is 'Idle'.

3. If I remove paper from the printer, and print a test page from Mousepad, the Printer Manager shows my printer is 'Processing', and returns to 'Idle' even though there's an error (printer reports no paper).

------------------------------------------------
From my end, I see some progress. I am confused how xfprint4-manager can list and track my printer without loading the cups_plugin.so.

Use case:---------------------------------------
When I filed this bug, I believe my interest was in using xfprint4-manager to modify the default settings of my printer.
Typically I use OpenOffice, Inkscape, Evince, etc to change printer settings before I print. However, these changes seemed to become the default after printing, and I wanted to reset my default settings without printing another document.

Work around:------------------------------------
I've been using CUPS admin through my web-browser to restore printer settings. The web interface seems overkill, imho, but until xfprint4-manager can replace it, it gets me by.

Revision history for this message
In , Landry-o (landry-o) wrote :

Created attachment 3318
Fix

The attached patch fixes the issue by querying the proper xfconf property to know which type of backend to use, and remove the extra trailing comma which made the warning message shown regardless of backend loading result (also reported in http://bugzilla.xfce.org/show_bug.cgi?id=6089)

Changed in xfprint4 (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Lionel Le Folgoc (mrpouit)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfprint4 - 4.6.1-3

---------------
xfprint4 (4.6.1-3) unstable; urgency=low

  [ Lionel Le Folgoc ]
  * debian/patches:
    - 06_fix-xfconf-backend-key.patch: added, fix a typo in the name of the
      xfconf key retrieved to know the printing backend. lp: #472656

  [ Yves-Alexis Perez ]
  * debian/rules:
    - use debhelper 9 hardening support
    - use multiarch paths.
  * debian/compat bumped to 9.
  * debian/control:
    - update debhelper build-dep to 9 for hardening support.
    - add dpkg-dev 1.16.1 for hardening support.
    - drop hardening-includes build-dep.
    - add a Pre-Depends: ${misc:Pre-Depends} for multi-arch support.

 -- Lionel Le Folgoc <email address hidden> Mon, 23 Jan 2012 18:04:50 +0100

Changed in xfprint4 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , Robby Workman (rworkman) wrote :

Product EOL (End-of-life)

Changed in xfprint4:
importance: Unknown → Medium
status: Unknown → Won't Fix
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.