Bug 211755 - print/system-config-printer fails to launch on FreeBSD 10.3
Summary: print/system-config-printer fails to launch on FreeBSD 10.3
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-11 12:26 UTC by pipfstarrd
Modified: 2018-03-07 15:43 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pipfstarrd 2016-08-11 12:26:36 UTC
system-config-printer fails to launch due to some gtk issues

Here is the traceback:

~> system-config-printer
/usr/local/share/system-config-printer/system-config-printer.py:31: PyGIWarning: Polkit was imported without specifying a version first. Use gi.require_version('Polkit', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Polkit
/usr/local/share/system-config-printer/system-config-printer.py:35: PyGIWarning: GdkPixbuf was imported without specifying a version first. Use gi.require_version('GdkPixbuf', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import GdkPixbuf
/usr/local/share/system-config-printer/system-config-printer.py:37: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gdk
/usr/local/lib/python2.7/site-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail.  As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)
/usr/local/share/system-config-printer/system-config-printer.py:38: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/local/share/system-config-printer/jobviewer.py:28: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
^[[ATraceback (most recent call last):
  File "/usr/local/share/system-config-printer/system-config-printer.py", line 2205, in <module>
    main(show_jobs)
  File "/usr/local/share/system-config-printer/system-config-printer.py", line 2179, in main
    mainwindow = GUI()
  File "/usr/local/share/system-config-printer/system-config-printer.py", line 220, in __init__
    self.unlock_button = Gtk.LockButton ()
  File "/usr/local/lib/python2.7/site-packages/gi/overrides/__init__.py", line 39, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/local/lib/python2.7/site-packages/gi/module.py", line 137, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.Gtk' object has no attribute 'LockButton'

~> uname -a
FreeBSD equestria 10.3-RELEASE-p4 FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

~> python -V
Python 2.7.12
Comment 1 w.schwarzenfeld freebsd_triage 2018-03-07 15:43:00 UTC
In meantime there were some changes (versions,...). Is this still a problem?