Public bug reported:

trying to set self-connect-mode (for example):
$ jack_control eps self-connect-mode e
gives:
--- engine param set "self-connect-mode" -> "e"
Traceback (most recent call last):
  File "/usr/bin/jack_control", line 400, in <module>
    main()
  File "/usr/bin/jack_control", line 283, in main
    configure_iface.SetParameterValue(['engine', param], 
python_type_to_jackdbus_type(value, type_char))
  File "/usr/bin/jack_control", line 46, in python_type_to_jackdbus_type
    return dbus.Byte(value);
TypeError: Expected a bytes or str of length 1, or an int in the range 0-255

This bug has been fixed upstream in commit ba28ffa

@@ -43,7 +43,7 @@ def python_type_to_jackdbus_type(value, type_char):
    if type_char == "b":
        return bool_convert(value);
    elif type_char == "y":
-        return dbus.Byte(value);
+        return dbus.Byte(ord(value));
    elif type_char == "i":
        return dbus.Int32(value)
    elif type_char == "u":

** Affects: jackd2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1899349

Title:
  Jack_control in jackd2 1.9.14 will not accept char parameters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jackd2/+bug/1899349/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to