autojack fails with "local variable 'drates' referenced before assignment"

Bug #1946268 reported by Erich Eickmeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
studio-controls (Ubuntu)
Fix Released
Critical
Len Ovens

Bug Description

Following upgrade to 2.2.5, opening studio-controls shows status is undetermined. Jack cannot be started, stop has no effect. Investigation of "systemctl --user status studio" shows autojack has failed.

Attempting to launch autojack shows the following, which looks identical to the output from systemctl:

$ autojack
starting up
install path: /usr
sending quit to any old autojack
old lock file found, killing old pid

Lock file created
logging started
Traceback (most recent call last):
  File "/usr/bin/autojack", line 1713, in <module>
    main()
  File "/usr/bin/autojack", line 1662, in main
    phones_check()
  File "/usr/bin/autojack", line 1498, in phones_check
    import_config("phones_check")
  File "/usr/bin/autojack", line 399, in import_config
    import_device_array()
  File "/usr/bin/autojack", line 240, in import_device_array
    get_dev_info(x)
  File "/usr/bin/autojack", line 138, in get_dev_info
    if len(drates):
UnboundLocalError: local variable 'drates' referenced before assignment

Setting importance to "Critical" since this involves a core component of Ubuntu Studio's audio subsystem just prior to final freeze.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: studio-controls 2.2.5-0ubuntu1
ProcVersionSignature: Ubuntu 5.13.0-16.16-lowlatency 5.13.13
Uname: Linux 5.13.0-16-lowlatency x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Oct 6 14:49:10 2021
InstallationDate: Installed on 2021-03-20 (199 days ago)
InstallationMedia: Ubuntu-Studio 21.04 "Hirsute Hippo" - Alpha amd64 (20210320)
PackageArchitecture: all
SourcePackage: studio-controls
UpgradeStatus: Upgraded to impish on 2021-06-13 (115 days ago)

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :
Changed in studio-controls (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package studio-controls - 2.2.6-0ubuntu1

---------------
studio-controls (2.2.6-0ubuntu1) impish; urgency=medium

  [ Erich Eickmeyer ]
  * New upstream bugfix release 2.2.6

  [ Len Ovens ]
  * Initialize variable (LP: #1946268)

 -- Erich Eickmeyer <email address hidden> Thu, 07 Oct 2021 08:25:05 -0700

Changed in studio-controls (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.