[abrt] policycoreutils-devel: __init__.py:62:__getattr__:AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: ...
Version-Release number of selected component:
policycoreutils-devel-2.3-7.1.fc21
Additional info:
reporter: libreport-2.2.3
cmdline: /usr/bin/python -Es /usr/bin/sepolicy gui
executable: /usr/bin/sepolicy
kernel: 3.16.3-300.fc21.x86_64
runlevel: N 5
type: Python
uid: 1000
Truncated backtrace:
__init__.py:62:__getattr__:AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
Traceback (most recent call last):
File "/usr/bin/sepolicy", line 644, in <module>
args.func(args)
File "/usr/bin/sepolicy", line 289, in gui_run
import sepolicy.gui
File "/usr/lib64/python2.7/site-packages/sepolicy/gui.py", line 32, in <module>
from sepolicy.sedbus import SELinuxDBus
File "/usr/lib64/python2.7/site-packages/sepolicy/sedbus.py", line 5, in <module>
from slip.dbus import polkit
File "/usr/lib/python2.7/site-packages/slip/dbus/__init__.py", line 8, in <module>
from . import service
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 32, in <module>
from .._wrappers import _gobject as GObject
File "/usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py", line 53, in <module>
setattr(_self, what, getattr(_mod, what))
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 62, in __getattr__
raise AttributeError(_static_binding_error)
AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
Local variables in innermost frame:
self: <module 'gobject' (built-in)>
name: 'MainLoop'
(In reply to Orion Poplawski from comment #4)
> It seems a bit of overkill and a waste of everyone's resources to file so
> many individual bugs for what is likely all related issues.
I messed up.
I am sorry about that.
This is likely the same as bug #1194235, closing.
(In reply to Fedor Butikov from comment #7)
> Crashes when tried to install 'Рабочая среда MATE'
This seems to be a different issue than the one we're dealing with here.
*** This bug has been marked as a duplicate of bug 1194235 ***