[Bug 211755] print/system-config-printer fails to launch of FreeBSD 10.3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 11 12:26:36 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211755

            Bug ID: 211755
           Summary: print/system-config-printer  fails to launch of
                    FreeBSD 10.3
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome at FreeBSD.org
          Reporter: pipfstarrd at opmbx.org
          Assignee: gnome at FreeBSD.org
             Flags: maintainer-feedback?(gnome at FreeBSD.org)

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 at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

~> python -V
Python 2.7.12

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list