Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: [abrt] ibus-1.3.99.20110817-4.fc15: bus.py:61:__init__:TypeError: expected string or Unicode object, NoneType found
https://bugzilla.redhat.com/show_bug.cgi?id=739257
Summary: [abrt] ibus-1.3.99.20110817-4.fc15: bus.py:61:__init__:TypeError: expected string or Unicode object, NoneType found Product: Fedora Version: 15 Platform: x86_64 OS/Version: Unspecified Status: NEW Status Whiteboard: abrt_hash:d76547fe5a2f5699dac39eb0936a8d19fd0f7b9f Severity: unspecified Priority: unspecified Component: ibus AssignedTo: tfujiwar@redhat.com ReportedBy: htl10@users.sourceforge.net QAContact: extras-qa@fedoraproject.org CC: tfujiwar@redhat.com, i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com Classification: Fedora Story Points: --- Type: ---
abrt version: 2.0.3 architecture: x86_64 cmdline: comment: restarting ibus component: ibus executable: /usr/share/ibus/ui/gtk/main.py kernel: 2.6.35.14-95.fc14.x86_64 os_release: Fedora release 15 (Lovelock) package: ibus-1.3.99.20110817-4.fc15 reason: bus.py:61:__init__:TypeError: expected string or Unicode object, NoneType found time: Fri Sep 16 23:44:10 2011 uid: 500 username: Hin-Tak
backtrace: :bus.py:61:__init__:TypeError: expected string or Unicode object, NoneType found : :Traceback (most recent call last): : File "/usr/share/ibus/ui/gtk/main.py", line 132, in <module> : main() : File "/usr/share/ibus/ui/gtk/main.py", line 127, in main : launch_panel(replace) : File "/usr/share/ibus/ui/gtk/main.py", line 94, in launch_panel : UIApplication(replace).run() : File "/usr/share/ibus/ui/gtk/main.py", line 43, in __init__ : self.__bus = ibus.Bus() : File "/usr/lib/python2.7/site-packages/ibus/bus.py", line 61, in __init__ : self.__dbusconn = dbus.connection.Connection(common.get_address()) :TypeError: expected string or Unicode object, NoneType found : :Local variables in innermost frame: :self: <Bus object at 0x1a18640 (PYIBusBus at 0x136e160)>
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(htl10@users.sourc | |eforge.net)
--- Comment #1 from fujiwara tfujiwar@redhat.com 2011-09-28 21:09:40 EDT --- (In reply to comment #0)
comment: restarting ibus
How do you restart the ibus? ibus needs the $DISPLAY and the dbus session so it would not work if you used ssh. Also it would be good to update ibus. # yum install ibus
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
Hin-Tak Leung htl10@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(htl10@users.sourc | |eforge.net) |
--- Comment #2 from Hin-Tak Leung htl10@users.sourceforge.net 2011-09-29 00:14:36 EDT --- (In reply to comment #1)
(In reply to comment #0)
comment: restarting ibus
How do you restart the ibus? ibus needs the $DISPLAY and the dbus session so it would not work if you used ssh.
right-click on the ibus icon on the top right (in the "sys notification" area?) in gnome 3 fallback mode. There is an option there. So that should have $DISPLAY and dbus session?
Also it would be good to update ibus. # yum install ibus
I keep my system fairly up to date... yum -y upgrade a few times a week.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(htl10@users.sourc | |eforge.net)
--- Comment #3 from fujiwara tfujiwar@redhat.com 2011-09-29 01:12:19 EDT --- (In reply to comment #2)
right-click on the ibus icon on the top right (in the "sys notification" area?) in gnome 3 fallback mode. There is an option there. So that should have $DISPLAY and dbus session?
Yes, right.
I keep my system fairly up to date... yum -y upgrade a few times a week.
OK, I cannot reproduce your problem. Do you still see your problem?
How about running the following script?
% cat a.py
import ibus print ibus.common.get_address()
% ps -ef | grep ibus-daemon % python a.py
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
Hin-Tak Leung htl10@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(htl10@users.sourc | |eforge.net) |
--- Comment #4 from Hin-Tak Leung htl10@users.sourceforge.net 2011-09-29 18:15:27 EDT --- (In reply to comment #3)
$ cat > a.py import ibus print ibus.common.get_address() [Hin-Tak@localhost]$ ps -ef | grep ibus-daemon Hin-Tak 2729 2082 0 00:46 ? 00:08:01 /usr/bin/ibus-daemon -r --xim Hin-Tak 31180 4567 0 23:13 pts/2 00:00:00 grep --color=auto ibus-daemon [Hin-Tak@localhost]$ python a.py unix:abstract=/tmp/dbus-6muLFxQO,guid=140b28ffe74c92aaad148fc64e83b211
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(htl10@users.sourc | |eforge.net)
--- Comment #5 from fujiwara tfujiwar@redhat.com 2011-09-29 21:13:00 EDT --- (In reply to comment #4)
[Hin-Tak@localhost]$ python a.py unix:abstract=/tmp/dbus-6muLFxQO,guid=140b28ffe74c92aaad148fc64e83b211
Hmm.., it seems ibus.common.get_address() can get the address but when you restart ibus-daemon, ibus.common.get_address() failed to get it from your back trace.
Do you still see your problem?
Do you see the same error when you run ibus-daemon by manual?
1. Right click on the ibus panel status icon and choose "Quit". 2. Run ibus-daemon on your terminal. % ibus-daemon -r --xim --verbose 3. Right click on the ibus panel status icon and choose "Restart".
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
--- Comment #6 from fujiwara tfujiwar@redhat.com 2011-11-07 02:09:17 EST --- Are you still able to reproduce your problem?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WORKSFORME Flag|needinfo?(htl10@users.sourc | |eforge.net) | Last Closed| |2011-12-30 02:07:03
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739257
--- Comment #7 from Hin-Tak Leung htl10@users.sourceforge.net 2011-12-31 19:14:01 EST --- Sorry for not responding - it would appeared that I got the reminder the few days before upgrading to f16, and it got put away. Anway, ibus seems to be working alright now on f16.
i18n-bugs@lists.fedoraproject.org