← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1978736] [NEW] Studio Controls stuck on "Adding Bridges" with "'int' object is not subscriptable"

 

Public bug reported:

Studio Controls is hanging at the "Adding Bridges" phase.  (Unrelated to
bug #1952949, which is resolved.)

I am running Studio Controls version 2.3.4 on Ubuntu 22.04 LTS.  Kernel
version is Linux 5.15.0-37-lowlatency x86_64.

I can start JACK fine from Qjackctl, but I was using Studio Controls
because it adds Pulse bridges.  For a while this was failing
intermittently.  Now it is failing every time.

Here is the output from ~/.log/autojack.log:

  2022-06-14 17:26:31,641 - AutoJack - INFO - Autojack started: logging started
  2022-06-14 17:26:35,646 - AutoJack - DEBUG - Checking for phones plugged in
  2022-06-14 17:26:36,191 - AutoJack - DEBUG - Checking phones device: PCH
  2022-06-14 17:26:36,191 - AutoJack - DEBUG - Checking for phones with internal device
  2022-06-14 17:26:36,193 - AutoJack - DEBUG - amixer command: /usr/bin/amixer -D hw:PCH cget iface=CARD,name='Headphone Jack'
  2022-06-14 17:26:36,196 - AutoJack - DEBUG - amixer line: numid=16,iface=CARD,name='Headphone Jack'
    ; type=BOOLEAN,access=r-------,values=1
  2022-06-14 17:26:36,196 - AutoJack - DEBUG - amixer line: values=off
  2022-06-14 17:26:36,196 - AutoJack - DEBUG - Changing Headphone to plugged in = False
  2022-06-14 17:26:36,196 - AutoJack - DEBUG - Headphone port: PCH,0,0-out:playback_1
  2022-06-14 17:26:36,198 - AutoJack - DEBUG - got signal - args: start
  2022-06-14 17:26:36,198 - AutoJack - INFO - Got start signal.
  2022-06-14 17:26:36,198 - AutoJack - INFO - Running: config_start()
  2022-06-14 17:26:36,737 - AutoJack - DEBUG - phone port set to: PCH,0,0-out:playback_1
  2022-06-14 17:26:38,739 - AutoJack - DEBUG - Running: config_start jack stat
  2022-06-14 17:26:38,739 - AutoJack - INFO - Running: config_start after jack_stat
  2022-06-14 17:26:38,742 - AutoJack - DEBUG - Pulseaudio: 
  2022-06-14 17:26:39,745 - AutoJack - DEBUG - Pulseaudio: 
  2022-06-14 17:26:42,801 - AutoJack - DEBUG - Kill old Procs: 
  2022-06-14 17:26:42,807 - AutoJack - DEBUG - JACK is True restart pulse: /org/freedesktop/systemd1/job/1312
  2022-06-14 17:26:42,808 - AutoJack - DEBUG - JACK is True start up jack
  2022-06-14 17:26:43,079 - AutoJack - DEBUG - remove jackdbus_detect: 
  2022-06-14 17:26:43,079 - AutoJack - DEBUG - Found previous jack config removing
  2022-06-14 17:26:43,093 - AutoJack - DEBUG - JACK driver set to: alsa
  2022-06-14 17:26:43,494 - AutoJack - DEBUG - JACK device set to: USB,0,0
  2022-06-14 17:26:44,497 - AutoJack - DEBUG - JACK rate/period/nperiods set to: 48000/512/2
  2022-06-14 17:26:47,628 - AutoJack - DEBUG - JACK started
  2022-06-14 17:26:50,631 - AutoJack - DEBUG - create jack client
  2022-06-14 17:26:50,658 - AutoJack - DEBUG - jack client created
  2022-06-14 17:26:51,695 - AutoJack - DEBUG - Pulseaudio: 24
  2022-06-14 17:26:52,729 - AutoJack - DEBUG - Pulseaudio: 25
  2022-06-14 17:26:53,732 - AutoJack - DEBUG - remove module-udev-detect: 
  2022-06-14 17:26:54,735 - AutoJack - DEBUG - remove module-alsa-card: 
  2022-06-14 17:26:55,735 - AutoJack - DEBUG - updating extra devices
  2022-06-14 17:26:56,782 - AutoJack - DEBUG - checking: PCH,0,0 channel counts: 100 100 card: 0
  2022-06-14 17:26:56,782 - AutoJack - DEBUG - Start slave: PCH,0,0
  2022-06-14 17:26:57,322 - AutoJack - ERROR - Exception in handler for D-Bus signal:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/dbus/connection.py", line 232, in maybe_handle_message
      self._handler(*args, **kwargs)
    File "/usr/bin/autojack", line 1739, in ses_cb_command
      config_start()
    File "/usr/bin/autojack", line 819, in config_start
      extra_devices()
    File "/usr/bin/autojack", line 142, in extra_devices
      start_slave(fullname)
    File "/usr/bin/autojack", line 1364, in start_slave
      dsr = sub_db['frame']['rate']
  TypeError: 'int' object is not subscriptable
  2022-06-14 17:26:57,323 - AutoJack - DEBUG - Connection changed
  2022-06-14 17:26:57,323 - AutoJack - DEBUG - moving connections from system:playback_1 to none
  2022-06-14 17:26:57,324 - AutoJack - DEBUG - Jack port: none not found

** Affects: studio-controls (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Studio Controls stuck on "Adding Bridges" with "'int' object is not
  subscriptable"

Status in studio-controls package in Ubuntu:
  New

Bug description:
  Studio Controls is hanging at the "Adding Bridges" phase.  (Unrelated
  to bug #1952949, which is resolved.)

  I am running Studio Controls version 2.3.4 on Ubuntu 22.04 LTS.
  Kernel version is Linux 5.15.0-37-lowlatency x86_64.

  I can start JACK fine from Qjackctl, but I was using Studio Controls
  because it adds Pulse bridges.  For a while this was failing
  intermittently.  Now it is failing every time.

  Here is the output from ~/.log/autojack.log:

    2022-06-14 17:26:31,641 - AutoJack - INFO - Autojack started: logging started
    2022-06-14 17:26:35,646 - AutoJack - DEBUG - Checking for phones plugged in
    2022-06-14 17:26:36,191 - AutoJack - DEBUG - Checking phones device: PCH
    2022-06-14 17:26:36,191 - AutoJack - DEBUG - Checking for phones with internal device
    2022-06-14 17:26:36,193 - AutoJack - DEBUG - amixer command: /usr/bin/amixer -D hw:PCH cget iface=CARD,name='Headphone Jack'
    2022-06-14 17:26:36,196 - AutoJack - DEBUG - amixer line: numid=16,iface=CARD,name='Headphone Jack'
      ; type=BOOLEAN,access=r-------,values=1
    2022-06-14 17:26:36,196 - AutoJack - DEBUG - amixer line: values=off
    2022-06-14 17:26:36,196 - AutoJack - DEBUG - Changing Headphone to plugged in = False
    2022-06-14 17:26:36,196 - AutoJack - DEBUG - Headphone port: PCH,0,0-out:playback_1
    2022-06-14 17:26:36,198 - AutoJack - DEBUG - got signal - args: start
    2022-06-14 17:26:36,198 - AutoJack - INFO - Got start signal.
    2022-06-14 17:26:36,198 - AutoJack - INFO - Running: config_start()
    2022-06-14 17:26:36,737 - AutoJack - DEBUG - phone port set to: PCH,0,0-out:playback_1
    2022-06-14 17:26:38,739 - AutoJack - DEBUG - Running: config_start jack stat
    2022-06-14 17:26:38,739 - AutoJack - INFO - Running: config_start after jack_stat
    2022-06-14 17:26:38,742 - AutoJack - DEBUG - Pulseaudio: 
    2022-06-14 17:26:39,745 - AutoJack - DEBUG - Pulseaudio: 
    2022-06-14 17:26:42,801 - AutoJack - DEBUG - Kill old Procs: 
    2022-06-14 17:26:42,807 - AutoJack - DEBUG - JACK is True restart pulse: /org/freedesktop/systemd1/job/1312
    2022-06-14 17:26:42,808 - AutoJack - DEBUG - JACK is True start up jack
    2022-06-14 17:26:43,079 - AutoJack - DEBUG - remove jackdbus_detect: 
    2022-06-14 17:26:43,079 - AutoJack - DEBUG - Found previous jack config removing
    2022-06-14 17:26:43,093 - AutoJack - DEBUG - JACK driver set to: alsa
    2022-06-14 17:26:43,494 - AutoJack - DEBUG - JACK device set to: USB,0,0
    2022-06-14 17:26:44,497 - AutoJack - DEBUG - JACK rate/period/nperiods set to: 48000/512/2
    2022-06-14 17:26:47,628 - AutoJack - DEBUG - JACK started
    2022-06-14 17:26:50,631 - AutoJack - DEBUG - create jack client
    2022-06-14 17:26:50,658 - AutoJack - DEBUG - jack client created
    2022-06-14 17:26:51,695 - AutoJack - DEBUG - Pulseaudio: 24
    2022-06-14 17:26:52,729 - AutoJack - DEBUG - Pulseaudio: 25
    2022-06-14 17:26:53,732 - AutoJack - DEBUG - remove module-udev-detect: 
    2022-06-14 17:26:54,735 - AutoJack - DEBUG - remove module-alsa-card: 
    2022-06-14 17:26:55,735 - AutoJack - DEBUG - updating extra devices
    2022-06-14 17:26:56,782 - AutoJack - DEBUG - checking: PCH,0,0 channel counts: 100 100 card: 0
    2022-06-14 17:26:56,782 - AutoJack - DEBUG - Start slave: PCH,0,0
    2022-06-14 17:26:57,322 - AutoJack - ERROR - Exception in handler for D-Bus signal:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/dbus/connection.py", line 232, in maybe_handle_message
        self._handler(*args, **kwargs)
      File "/usr/bin/autojack", line 1739, in ses_cb_command
        config_start()
      File "/usr/bin/autojack", line 819, in config_start
        extra_devices()
      File "/usr/bin/autojack", line 142, in extra_devices
        start_slave(fullname)
      File "/usr/bin/autojack", line 1364, in start_slave
        dsr = sub_db['frame']['rate']
    TypeError: 'int' object is not subscriptable
    2022-06-14 17:26:57,323 - AutoJack - DEBUG - Connection changed
    2022-06-14 17:26:57,323 - AutoJack - DEBUG - moving connections from system:playback_1 to none
    2022-06-14 17:26:57,324 - AutoJack - DEBUG - Jack port: none not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/studio-controls/+bug/1978736/+subscriptions



Follow ups