← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1946268] Re: autojack fails with "local variable 'drates' referenced before assignment"

 

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 <eeickmeyer@xxxxxxxxxx>  Thu, 07 Oct 2021 08:25:05
-0700

** Changed in: studio-controls (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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/1946268

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

Status in studio-controls package in Ubuntu:
  Fix Released

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)

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



References