← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1899349] Re: Jack_control in jackd2 1.9.14 will not accept char parameters

 

Sebastien,

My apologies, I saw you uploaded. Pretty sure this will be accepted for
the Groovy cycle since we're not at final freeze yet.

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

Title:
  Jack_control in jackd2 1.9.14 will not accept char parameters

Status in jackd2 package in Ubuntu:
  Fix Committed

Bug description:
  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":

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


References