Bug 784377

Summary: [abrt] ibus-hangul-1.4.0-1.fc16: bus.py:61:__init__:TypeError: expected string or Unicode object, NoneType found
Product: [Fedora] Fedora Reporter: Edgardo Prado <pradoedgardo>
Component: ibus-hangulAssignee: Daiki Ueno <dueno>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: 306power, akshayvyas29, alessandromachado.vip, arifiauo, arikomagik, dueno, i18n-bugs, jwest81, kanade.sr, krysolov230, lee.eng.a, matiaspakua, mbastani_66, michele5ba, moicsgomz, oliver.steven, packpunk, philippovmi, pwu, rbozinos, reader, rtmetz92, scano78, shawn.p.huang, sheepdestroyer, sivlemx, tmcgov2000, twas6263, ulrich
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d76547fe5a2f5699dac39eb0936a8d19fd0f7b9f
Fixed In Version: ibus-hangul-1.4.0-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-08 22:50:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Edgardo Prado 2012-01-24 17:48:59 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        python /usr/share/ibus-hangul/setup/main.py
executable:     /usr/share/ibus-hangul/setup/main.py
kernel:         3.2.1-3.fc16.x86_64
reason:         bus.py:61:__init__:TypeError: expected string or Unicode object, NoneType found
time:           mar 24 ene 2012 14:48:18 ART
uid:            1000
username:       elpelado70

backtrace:
:bus.py:61:__init__:TypeError: expected string or Unicode object, NoneType found
:
:Traceback (most recent call last):
:  File "/usr/share/ibus-hangul/setup/main.py", line 197, in <module>
:    Setup().run()
:  File "/usr/share/ibus-hangul/setup/main.py", line 36, 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 0x2dca4b0 (PYIBusBus at 0x2a21d20)>

smolt_data:
:
:
:General
:=================================
:UUID: c9c29868-0ba6-4925-b561-54431c65cc28
:SO: Fedora release 16 (Verne)
:Nivel de ejecución por defecto: Unknown
:Idioma: es_ES.utf8
:Plataforma: x86_64
:BogoMIPS: 4588.73
:Fabricante de CPU: GenuineIntel
:Modelo de CPU: Pentium(R) Dual-Core CPU       T4500  @ 2.30GHz
:Paso del UCP: 10
:Familia de UCP: 6
:Número de Modelo de CPU: 23
:Número de CPUs: 2
:Velocidad del CPU: 2300
:Memoria del Sistema: 7888
:Intercambio (swap) del Sistema: 999
:Vendedor: Hewlett-Packard
:Sistema: HP 420 F.08
:Factor de forma: Notebook
:Kernel: 3.2.1-3.fc16.x86_64
:SELinux Habilitado: 1
:Política de SELinux: targeted
:SELinux Obligado: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Dispositivos
:=================================
:(32902:10816:4156:5414) pci, agpgart-intel, HOST/PCI, Mobile 4 Series Chipset Memory Controller Hub
:(4332:33078:4156:5414) pci, r8169, ETHERNET, RTL8101E/RTL8102E PCI Express Fast Ethernet controller
:(32902:10537:4156:5414) pci, ahci, STORAGE, ICH9M/M-E SATA AHCI Controller
:(32902:10521:4156:5414) pci, None, PCI/ISA, ICH9M LPC Interface Controller
:(32902:10564:0:0) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 3
:(6164:12432:4156:5203) pci, rt2800pci, NETWORK, RT3090 Wireless 802.11n 1T/1R PCIe
:(32902:10549:4156:5414) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #2
:(32902:9288:4156:5414) pci, None, PCI/PCI, 82801 Mobile PCI Bridge
:(32902:10553:4156:5414) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #6
:(32902:10550:4156:5414) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #3
:(32902:10554:4156:5414) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #1
:(32902:10556:4156:5414) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #2
:(32902:10818:4156:5414) pci, i915, VIDEO, Mobile 4 Series Chipset Integrated Graphics Controller
:(32902:10819:4156:5414) pci, None, VIDEO, Mobile 4 Series Chipset Integrated Graphics Controller
:(32902:10560:0:0) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 1
:(32902:10562:0:0) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 2
:(32902:10568:0:0) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 5
:(32902:10558:4156:5414) pci, snd_hda_intel, MULTIMEDIA, 82801I (ICH9 Family) HD Audio Controller
:(32902:10551:4156:5414) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #4
:(32902:10548:4156:5414) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #1
:(32902:10570:0:0) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 6
:(32902:10552:4156:5414) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #5
:
:
:Información relacionada con el sistema de archivos
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/sda6 / ext4 4096 4096 8948450 4035469 3945903 2244608 1873818 1873818
:/dev/sda3 WITHHELD fuseblk 4096 4096 76799999 26046327 26046327 104414684 104232526 104232526
:/dev/sda5 /boot ext4 1024 1024 202770 117546 107306 51200 50966 50966
:/dev/sda8 /home ext4 4096 4096 15520374 9047499 8270091 3891200 3876316 3876316
:

Comment 1 Daiki Ueno 2012-01-25 02:03:03 UTC
I guess this is simply because ibus-daemon is not running on your system, though I agree with that ibus-setup-hangul should not abort on that case since it is now installed under /usr/bin instead of /usr/libexec.

Could you confirm this?

Comment 2 sheepdestroyer 2012-01-25 04:41:43 UTC
clicked on "ibus hangul preference" in the preferences menu

Package: ibus-hangul-1.4.0-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 3 michele5ba 2012-01-25 10:03:21 UTC
opened the launcher from the shell

Package: ibus-hangul-1.4.0-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 4 SacKana 2012-01-27 14:04:26 UTC
Just launching 

Package: ibus-hangul-1.4.0-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 5 Manish Raj 2012-01-27 19:00:19 UTC
I just launched it and it crashed.

Package: ibus-hangul-1.4.0-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 6 Manish Raj 2012-01-27 19:15:57 UTC
(In reply to comment #1)
> I guess this is simply because ibus-daemon is not running on your system,
> though I agree with that ibus-setup-hangul should not abort on that case since
> it is now installed under /usr/bin instead of /usr/libexec.
> 
> Could you confirm this?

Yes the path of ibus-setup-hangul is /usr/bin/ibus-setup-hangul .

My system language is set to English(US). If I am launching ibus-setup-hangul from terminal it crashes if ibus-daemon is not running.

Terminal output :

[manish@D9L412M1 ~]$ ibus-setup-hangul
Traceback (most recent call last):
  File "/usr/share/ibus-hangul/setup/main.py", line 197, in <module>
    Setup().run()
  File "/usr/share/ibus-hangul/setup/main.py", line 36, 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


If I manually start the ibus-daemon and then launch the ibus-setup-hangul, it doesn't crashes.

Below is the terminal output of ibus-daemon :

[manish@D9L412M1 ~]$ ibus-daemon
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:he:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:sk:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:cs:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:lo:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:ug:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:uz:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:ko:romaja since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:ko:han2 since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:be:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:kk:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:hr:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:ru:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:ar:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:cmc:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:ka:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:hy:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:ua:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:el:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:my:kbd since its rank is lower than 0
** (ibus-engine-m17n:2055): WARNING **: skipped m17n:sr:kbd since its rank is lower than 0

Comment 7 Javier Villanueva 2012-01-28 10:10:55 UTC
When I want to open this program

Package: ibus-hangul-1.4.0-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 8 krysolov230 2012-01-28 11:53:21 UTC
Нажал на значок запуска приложения IBus Hangul Preferences (кстати, оно не имеет своей картинки).

Package: ibus-hangul-1.4.0-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 9 tmcgov2000 2012-01-29 05:11:00 UTC
Clicked to start application

Package: ibus-hangul-1.4.0-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 10 Daiki Ueno 2012-01-30 00:54:33 UTC
Thanks for the confirmation.  Patch sent to the upstream:
https://github.com/choehwanjin/ibus-hangul/pull/5

Comment 11 Fedora Update System 2012-01-31 07:46:36 UTC
ibus-hangul-1.4.0-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ibus-hangul-1.4.0-2.fc16

Comment 12 Fedora Update System 2012-01-31 07:46:46 UTC
ibus-hangul-1.4.0-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ibus-hangul-1.4.0-2.fc15

Comment 13 Fedora Update System 2012-01-31 21:54:31 UTC
Package ibus-hangul-1.4.0-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-hangul-1.4.0-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1048/ibus-hangul-1.4.0-2.fc16
then log in and leave karma (feedback).

Comment 14 Maxim Philippov 2012-02-01 22:36:57 UTC
Just started IBus Hangul Preferences through item in Applications menu. 

Turns out Bus constructor (defined in bus.py) is not ready for None return 
value from get_address (defined in common.py as a foreign function from 
libibus-1.0.so.0).


Package: ibus-hangul-1.4.0-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 15 mbastani_66 2012-02-05 22:07:56 UTC
Just clicked on IBus Hangul Preferences in Application menu to see what it is!

Package: ibus-hangul-1.4.0-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 16 Fedora Update System 2012-02-08 22:50:48 UTC
ibus-hangul-1.4.0-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2012-02-08 22:58:41 UTC
ibus-hangul-1.4.0-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.