Bug 1144673 - [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: ...
Summary: [abrt] policycoreutils-devel: __init__.py:62:__getattr__:AttributeError: When...
Keywords:
Status: CLOSED DUPLICATE of bug 1194235
Alias: None
Product: Fedora
Classification: Fedora
Component: python-slip
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:d80d272407c16ccbbea46b446e8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-20 08:04 UTC by Moez Roy
Modified: 2015-05-13 18:35 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-13 18:35:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.49 KB, text/plain)
2014-09-20 08:04 UTC, Moez Roy
no flags Details
File: dso_list (189 bytes, text/plain)
2014-09-20 08:04 UTC, Moez Roy
no flags Details
File: environ (1.08 KB, text/plain)
2014-09-20 08:04 UTC, Moez Roy
no flags Details

Description Moez Roy 2014-09-20 08:04:42 UTC
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'

Comment 1 Moez Roy 2014-09-20 08:04:44 UTC
Created attachment 939482 [details]
File: backtrace

Comment 2 Moez Roy 2014-09-20 08:04:44 UTC
Created attachment 939483 [details]
File: dso_list

Comment 3 Moez Roy 2014-09-20 08:04:45 UTC
Created attachment 939484 [details]
File: environ

Comment 4 Orion Poplawski 2014-09-20 21:55:03 UTC
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.

Comment 5 Moez Roy 2014-09-21 20:49:30 UTC
(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.

Comment 6 Lukas Slebodnik 2015-01-06 12:12:30 UTC
Is there any progress with this ticket?

The command "sepolicy gui" failed duet to this bug.

Comment 7 Fedor Butikov 2015-03-27 09:48:03 UTC
Crashes when tried to install 'Рабочая среда MATE'

Comment 8 Nils Philippsen 2015-05-13 18:35:19 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.