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)
Not sure if this will be helpful. I tried running the python script under pdb:
pdb /usr/share/ ibus/ui/ gtk/main. py ibus/ui/ gtk/main. py(30)< module> () python2. 6/pdb.py" , line 1296, in main _runscript( mainpyfile) python2. 6/pdb.py" , line 1215, in _runscript run(statement) python2. 6/bdb.py" , line 372, in run ibus/ui/ gtk/main. py", line 118, in <module> ibus/ui/ gtk/main. py", line 112, in main ibus/ui/ gtk/main. py", line 83, in launch_panel on().run( ) ibus/ui/ gtk/main. py", line 54, in __init__ self.__ bus) ibus/ui/ gtk/panel. py", line 73, in __init__ self.__ prefix, "share", "ibus") python2. 6/posixpath. py", line 67, in join python2. 6/posixpath. py(67)join( )
> /usr/share/
-> import os
(Pdb) continue
Traceback (most recent call last):
File "/usr/lib/
pdb.
File "/usr/lib/
self.
File "/usr/lib/
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "/usr/share/
main()
File "/usr/share/
launch_panel()
File "/usr/share/
UIApplicati
File "/usr/share/
self.__panel = panel.Panel(
File "/usr/share/
self.__data_dir = path.join(
File "/usr/lib/
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/
-> elif path == '' or path.endswith('/'):
(Pdb)