#1033659 ibus-braille: Ibus-braille producing TypeError exception

Package:
ibus-braille
Source:
ibus-braille
Submitter:
Attila Hammer
Date:
2023-03-30 11:57:03 UTC
Severity:
normal
Tags:
#1033659#5
Date:
2023-03-29 15:14:34 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Ibus-braille after I launched in mate-terminal produce following traceback
error message:
"Traceback (most recent call last):
  File "/usr/share/ibus-braille/main.py", line 121, in <module>
    main()
  File "/usr/share/ibus-braille/main.py", line 118, in main
    launch_engine(exec_by_ibus)
  File "/usr/share/ibus-braille/main.py", line 78, in launch_engine
    IMApp(exec_by_ibus).run()
    ^^^^^^^^^^^^^^^^^^^
  File "/usr/share/ibus-braille/main.py", line 60, in __init__
    self.__factory = IBus.Factory.new(self.__bus.get_connection())
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Argument 0 does not allow None as a value"

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Simple launch mate-terminal, and launch ibus-braille command.

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

#1033659#10
Date:
2023-03-29 16:27:02 UTC
From:
To:
Hello,

Attila Hammer, le mer. 29 mars 2023 17:14:34 +0200, a ecrit:

Ok, it means it didn't get the ibus bus.

You need to start ibus-daemon before ibus-braille. I have forwarded the
issue (make ibus-braille explain what is happening) to upstream.

Samuel

#1033659#19
Date:
2023-03-29 18:15:53 UTC
From:
To:
Hi Samuel,


Many thanks the upstream report.

I readed this terminal command launch way with following pdf file:

http://www.cocofrix.com/includes/pdf/6%20IBus-Braille.pdf


If I understand previous right when I readed the manual, this manual not
describe ibus-daemon launching before ibus-braille command. I will try
it, because interesting me with hungarian Liblouis Braille input under
keyboard.


A question:

I surprised default ibus-daemon not running in X session for example the
Mate session?

I not remember now:

This daemon need running always after for example Mate session login, or
applications launch dinamically this daemon if need this?


Attila

#1033659#24
Date:
2023-03-29 19:05:20 UTC
From:
To:
I had the same thought. Can you please run this command:

dpkg-query -W ibus im-config

If both those packages are installed, ibus-daemon ought to be started
automatically at login.

#1033659#29
Date:
2023-03-30 08:32:14 UTC
From:
To:
@Samuel: I was about to propose that ibus is added to Depends, but saw
that you already did that. :)

https://salsa.debian.org/input-method-team/ibus-braille/-/commit/23c40f02

#1033659#34
Date:
2023-03-30 10:39:18 UTC
From:
To:
Hi Gunnar,


dpkg-query -W ibus im-config command shows me all packages are installed right.
Perhaps have problem my migrated config settings or DBus related environment variables. I fire up a VM and launch an ibus-setup command.

Attila

#1033659#39
Date:
2023-03-30 11:55:07 UTC
From:
To:
Yeah.. Do you have an ~/.xinputrc file? In that case you can safely
remove it.

rm ~/.xinputrc

Might make a difference.