[Desktop-packages] [Bug 1899349] Re: Jack_control in jackd2 1.9.14 will not accept char parameters
This bug was fixed in the package jackd2 - 1.9.14-0ubuntu3.1 --- jackd2 (1.9.14-0ubuntu3.1) groovy; urgency=medium * debian/patches/git_dbus_bytes.patch: - Fix jack_control handling of dbus bytes, thanks Len (lp: #1899349) -- Sebastien Bacher Wed, 14 Oct 2020 09:59:30 +0200 ** Changed in: jackd2 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jackd2 in Ubuntu. 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 Released 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 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [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 Desktop Packages, which is subscribed to jackd2 in Ubuntu. 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 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899349] Re: Jack_control in jackd2 1.9.14 will not accept char parameters
Sebastien, Example utility or not, this is something that is used by studio- controls for controlling Jack. Whether or not it was intended to be an example utility is irrellevant. If you don't have the time to fix this and upload, I'll do it. ** Changed in: jackd2 (Ubuntu) Importance: Low => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jackd2 in Ubuntu. 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 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899349] Re: Jack_control in jackd2 1.9.14 will not accept char parameters
Thank you for your bug report and patch, I'm going to upload that to the current Ubuntu serie, unsure it qualifies for a stable update though since it's only a fix to an example utility ** Changed in: jackd2 (Ubuntu) Importance: Undecided => Low ** Changed in: jackd2 (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jackd2 in Ubuntu. 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 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp