system-config-printer-kde tool won't start on Kubuntu 11.04

Bug #776224 reported by bigbrovar
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
kdeadmin (Ubuntu)
Confirmed
Undecided
Unassigned
system-config-printer-kde (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kdeadmin

 after setting up a network printer via ipp. everything worked fine. But when I decided to setup another printer I get this error dialog box http://i.imgur.com/XYyub.png the printer configuration tool has stopped working ever since. when I try starting it from terminal I get this error
system-config-printer-kde
Error: "/var/tmp/kdecache-bigbrovar" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-bigbrovar" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-bigbrovar" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-bigbrovar" is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Error: "/tmp/ksocket-bigbrovar" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-bigbrovar" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-bigbrovar" is owned by uid 1000 instead of uid 0.
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-bigbrovar" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-bigbrovar" is owned by uid 1000 instead of uid 0.
Traceback (most recent call last):
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 445, in on_tvMainList_cursor_changed
    self.fillPrinterTab(name)
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 1267, in fillPrinterTab
    self.fillPrinterOptions(name, editablePPD)
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 1311, in fillPrinterOptions
    ppd.markDefaults()
AttributeError: 'bool' object has no attribute 'markDefaults'
kcmshell(2015)/python (plugin): Error while running factory function for Python plugin: "system-config-printer-kde/system-config-printer-kde.py"
Traceback (most recent call last):
  File "<string>", line 18, in kpythonpluginfactory_bridge
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 4398, in CreatePlugin
    kcm = u.makeui(component_data, widget_parent)
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 374, in makeui
    self.populateList(start_printer, change_ppd)
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 657, in populateList
    self.on_tvMainList_cursor_changed()
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 445, in on_tvMainList_cursor_changed
    self.fillPrinterTab(name)
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 1267, in fillPrinterTab
    self.fillPrinterOptions(name, editablePPD)
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 1311, in fillPrinterOptions
    ppd.markDefaults()
AttributeError: 'bool' object has no attribute 'markDefaults'
kcmshell(2015)/python (plugin): Failed to import module
kcmshell(2015)/kcontrol KCModuleLoader::loadModule: This module has no valid entry symbol at all. The reason could be that it's still using K_EXPORT_COMPONENT_FACTORY with a custom X-KDE-FactoryName which is not supported anymore

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: system-config-printer-kde 4:4.6.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: wl
Architecture: i386
Date: Tue May 3 10:16:03 2011
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release i386 (20110427)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB
 LANG=en_GB.UTF-8
 LC_MESSAGES=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: kdeadmin
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
bigbrovar (bigbrovar) wrote :
Revision history for this message
Martin Ellis (martiell) wrote :

I had this problem. Same idea: after setting up a printer, the System Settings module no longer works.

It seems repeatable: I purged all the cups* packages (which removed the printer I'd just set up). The Printer Configuration module worked again, and I was able to set up the printer again. Once I'd done that, the Printer Configuration module stopped working again.

Revision history for this message
Martin Ellis (martiell) wrote :

Oops. Obviously, I meant to say that I reinstalled the packages that I purged immediately after purging them.

Revision history for this message
bigbrovar (bigbrovar) wrote :

This sucks honestly it sucks. Its about over a week now since I filed this bug not a comment. not a word from anyone. (invalid, incomplete, comfirmed, anything) if this was the first time I would be filing a bug on Kubuntu and it would would just be left hanging as to its status it would not be this sad and frustrating. But if someone blogs about how sucky things are with Kubuntu he would seem to get more attention with everyone asking why he did not file a bug.. I was directed here from IRC, I did what I could. as frustrating as this can be (I use my computer for work) I did not complain I filed a bug added as many information as I could, and At least one person confirmed it on his system (to show am not insane!!!)

Right now I had to resort to using the web frontend for cups which is very limited. what else am I to do? I am at the office now just tiring my head out on how to rename a printer something I can quite figure out to do with the web front-end for cups.

I guess this is the price of free software, but really it should not be this way. Bugs happens in every software. Its how we react to it that matters. My know how is limited. But I know there are people who are smarter than me who sees this issue and turn the other cheek.

Its just makes me lose confidence in the whole bug reporting process.

Revision history for this message
Paul Moir (paul-moir) wrote :

I'm afflicted by the same bug. I've reverted to the maverick package for the time being. You can download it here:
http://packages.ubuntu.com/maverick/system-config-printer-kde

Then tell apt to pin it to prevent updating. To do this, create a file in /etc/apt/preferences.d/ called (say) system-config-printer-kde, and put in it:

Package: system-config-printer-kde
Pin: version 4:4.5.*
Pin-Priority: 900

With free software, at least you have the option of having it fixed even if you don't know how to fix it yourself!

Revision history for this message
bigbrovar (bigbrovar) wrote : Re: [Bug 776224] Re: system-config-printer-kde tool won't start on Kubuntu 11.04

I just result to using the gnome frontend to cups which works better anyway
and has few gnome deps (thanks to oxygen gtk for integration) the painful
thing is how many of us non programmers are encouraged to always file bugs,
and when we do it is completely ignored. I have learnt my lesson though.
On Jun 4, 2011 11:30 PM, "Paul Moir" <email address hidden> wrote:
> I'm afflicted by the same bug. I've reverted to the maverick package for
the time being. You can download it here:
> http://packages.ubuntu.com/maverick/system-config-printer-kde
>
> Then tell apt to pin it to prevent updating. To do this, create a file in
/etc/apt/preferences.d/ called (say) system-config-printer-kde, and put in
it:
>
> Package: system-config-printer-kde
> Pin: version 4:4.5.*
> Pin-Priority: 900
>
> With free software, at least you have the option of having it fixed even
> if you don't know how to fix it yourself!
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/776224
>
> Title:
> system-config-printer-kde tool won't start on Kubuntu 11.04
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/kdeadmin/+bug/776224/+subscribe

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

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

Changed in kdeadmin (Ubuntu):
status: New → Confirmed
Revision history for this message
pegranka (peterb-zeta) wrote :

This bug also occurs with Kubuntu 11.10 (Oneiric). The same work-around "fixes" the problem - install system-config-printer-kde from Maverick (currently version 4.5.5), and pin to this version.

Revision history for this message
Scott Kitterman (kitterman) wrote :

kdeadmin is the correct package for this bug.

Changed in system-config-printer-kde (Ubuntu):
status: New → Invalid
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.