Bug 959107 - [abrt] ibus-anthy-1.4.99.20121006-1.fc18: module.py:89:get_interfaces_for_object:RuntimeError: sys.path must be a list of directory names
Summary: [abrt] ibus-anthy-1.4.99.20121006-1.fc18: module.py:89:get_interfaces_for_obj...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-anthy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f98cea3556005bd0c05cb8e3cef...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-03 07:31 UTC by Timofey Kupriyanovich
Modified: 2013-05-07 03:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-07 03:29:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.49 KB, text/plain)
2013-05-03 07:32 UTC, Timofey Kupriyanovich
no flags Details
File: core_backtrace (841 bytes, text/plain)
2013-05-03 07:32 UTC, Timofey Kupriyanovich
no flags Details
File: environ (1.10 KB, text/plain)
2013-05-03 07:32 UTC, Timofey Kupriyanovich
no flags Details

Description Timofey Kupriyanovich 2013-05-03 07:31:39 UTC
Version-Release number of selected component:
ibus-anthy-1.4.99.20121006-1.fc18

Additional info:
cmdline:        /usr/bin/python /usr/share/ibus-anthy/engine/main.py --xml
dso_list:       pygobject3-base-3.4.2-6.fc18.x86_64
executable:     /usr/share/ibus-anthy/engine/main.py
kernel:         3.6.10-4.fc18.x86_64
uid:            1000
ureports_counter: 1

Truncated backtrace:
module.py:89:get_interfaces_for_object:RuntimeError: sys.path must be a list of directory names

Traceback (most recent call last):
  File "/usr/share/ibus-anthy/engine/main.py", line 33, in <module>
    import factory
  File "/usr/share/ibus-anthy/engine/factory.py", line 29, in <module>
    import engine
  File "/usr/share/ibus-anthy/engine/engine.py", line 41, in <module>
    from gi.repository import Gtk
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 244, in _load
    overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 49, in <module>
    class Widget(Gtk.Widget):
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 164, in __getattr__
    interfaces = tuple(interface for interface in get_interfaces_for_object(info)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 89, in get_interfaces_for_object
    module = __import__('gi.repository.%s' % namespace, fromlist=[name])
RuntimeError: sys.path must be a list of directory names

Local variables in innermost frame:
name: 'Buildable'
object_info: <ObjectInfo object (Widget) at 0x0x945440>
interfaces: [<class 'gi.repository.Atk.ImplementorIface'>]
namespace: 'Gtk'
module: <gi.module.DynamicModule 'Atk' from '/usr/lib64/girepository-1.0/Atk-1.0.typelib'>
interface_info: <InterfaceInfo object (Buildable) at 0x0x9454d0>

Comment 1 Timofey Kupriyanovich 2013-05-03 07:32:03 UTC
Created attachment 743071 [details]
File: backtrace

Comment 2 Timofey Kupriyanovich 2013-05-03 07:32:05 UTC
Created attachment 743072 [details]
File: core_backtrace

Comment 3 Timofey Kupriyanovich 2013-05-03 07:32:08 UTC
Created attachment 743073 [details]
File: environ

Comment 4 fujiwara 2013-05-07 03:29:12 UTC
(In reply to comment #0)
>   File "/usr/share/ibus-anthy/engine/engine.py", line 41, in <module>
>     from gi.repository import Gtk

I don't think your problem is ibus-anthy.
You will see the same problem with that line above.

% cat a.py
from gi.repository import Gtk
% python a.py


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