Comment 4 for bug 637671

Revision history for this message
gokul (dotgokul) wrote :

Not sure if this will be helpful. I tried running the python script under pdb:

pdb /usr/share/ibus/ui/gtk/main.py
> /usr/share/ibus/ui/gtk/main.py(30)<module>()
-> import os
(Pdb) continue
Traceback (most recent call last):
  File "/usr/lib/python2.6/pdb.py", line 1296, in main
    pdb._runscript(mainpyfile)
  File "/usr/lib/python2.6/pdb.py", line 1215, in _runscript
    self.run(statement)
  File "/usr/lib/python2.6/bdb.py", line 372, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "/usr/share/ibus/ui/gtk/main.py", line 118, in <module>
    main()
  File "/usr/share/ibus/ui/gtk/main.py", line 112, in main
    launch_panel()
  File "/usr/share/ibus/ui/gtk/main.py", line 83, in launch_panel
    UIApplication().run()
  File "/usr/share/ibus/ui/gtk/main.py", line 54, in __init__
    self.__panel = panel.Panel(self.__bus)
  File "/usr/share/ibus/ui/gtk/panel.py", line 73, in __init__
    self.__data_dir = path.join(self.__prefix, "share", "ibus")
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/lib/python2.6/posixpath.py(67)join()
-> elif path == '' or path.endswith('/'):
(Pdb)