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

next in thread | previous in thread | raw e-mail | index | archive | help
pipfstarrd@opmbx.org has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o=
rg:
Bug 211755: print/system-config-printer  fails to launch of FreeBSD 10.3
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211755



--- Description ---
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



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