WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: system-config-printer doesn't start  (Read 6481 times)

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: system-config-printer doesn't start
« Reply #15 on: January 27, 2016, 08:44:53 AM »
Hope it is okay to revive a dormant thread! I am at the same point as Onyarian. After loading printer-driver-gutenprint and system-config-printer-gnome, I get the following:
Code: [Select]
$ system-config-printer
ERROR:root:Could not find any typelib for Gdk
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 32, in <module>
    from gi.repository import Gdk
ImportError: cannot import name Gdk
I installed python-gtk2 to no avail.
Since it seemed to play a role in this thread:
Code: [Select]
$ ls -l /usr/bin/python*
lrwxrwxrwx 1 root root       9 Jan 27 13:59 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root       9 Jan 27 14:26 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3156448 Jun 22  2015 /usr/bin/python2.7
lrwxrwxrwx 1 root root      18 Jan 27 14:04 /usr/bin/python3 -> /usr/bin/python3.4
-rwxr-xr-x 1 root root 3802224 Jun 19  2015 /usr/bin/python3.4
lrwxrwxrwx 1 root root      35 Jan 27 14:04 /usr/bin/python3.4m -> /tmp/tcloop/lxde/usr/bin/python3.4m
lrwxrwxrwx 1 root root      10 Jan 27 14:04 /usr/bin/python3m -> python3.4m

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: system-config-printer doesn't start
« Reply #16 on: January 27, 2016, 09:40:59 AM »
Progress made after a lot of fruitless searching: it seems that gir1.2-gtk-3.0 is needed. Can somebody verify? (Onyarian?)
The following DBus-related error message seems harmless but may need additional attention when it comes to saving credentials on network printers.
Code: [Select]
** (system-config-printer.py:29303): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ERROR:root:Could not find any typelib for GnomeKeyring
« Last Edit: January 27, 2016, 09:58:21 AM by sm8ps »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: system-config-printer doesn't start
« Reply #17 on: January 27, 2016, 10:23:00 AM »
I just removed those dependencies from system-config-printer since you said in another thread the package does not exist.  How did you import it?

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: system-config-printer doesn't start
« Reply #18 on: January 27, 2016, 10:26:29 AM »
Thanks for checking back, Jason! The package is system-config-printer-gnome which imports fine. The remark about the package system-config-printer was simply to point out the issue but it was not an obstacle.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: system-config-printer doesn't start
« Reply #19 on: January 27, 2016, 12:11:40 PM »
Ok, the dep gir1.2-gtk-3.0 has been added back to system-config-printer.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: system-config-printer doesn't start
« Reply #20 on: January 28, 2016, 05:45:43 AM »
I am a bit confused about the difference between system-config-printer{-gnome}. Nevertheless, would you please add gir1.2-gtk-3.0 as dependency of system-config-printer-gnome? At present only the following packages get included.
Code: [Select]
gir1.2-gdkpixbuf-2.0
gir1.2-glib-2.0
gir1.2-notify-0.7
gir1.2-packagekitglib-1.0

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: system-config-printer doesn't start
« Reply #21 on: January 28, 2016, 10:09:32 AM »
Ok, added.