Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2016 12:26:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211755] print/system-config-printer fails to launch of FreeBSD 10.3
Message-ID:  <bug-211755-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211755

            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@FreeBSD.org
          Reporter: pipfstarrd@opmbx.org
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@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 rig=
ht
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 ver=
sion
gets loaded.
  from gi.repository import Gdk
/usr/local/lib/python2.7/site-packages/gi/overrides/Gtk.py:50: RuntimeWarni=
ng:
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 ver=
sion
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", l=
ine
2205, in <module>
    main(show_jobs)
  File "/usr/local/share/system-config-printer/system-config-printer.py", l=
ine
2179, in main
    mainwindow =3D GUI()
  File "/usr/local/share/system-config-printer/system-config-printer.py", l=
ine
220, in __init__
    self.unlock_button =3D Gtk.LockButton ()
  File "/usr/local/lib/python2.7/site-packages/gi/overrides/__init__.py", l=
ine
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=20=20=20=20
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

~> python -V
Python 2.7.12

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211755-13>