Public bug reported:

Package: jack (4~git20260104.869341b-1)
Also affects: patchance, python3-jack-client

Summary:
The "jack" package (CD ripper, universe/sound) installs a Python
module at /usr/lib/python3/dist-packages/jack/__init__.py. This
shadows the jack.py provided by python3-jack-client
(/usr/lib/python3/dist-packages/jack.py), which is the actual
JACK Audio Connection Kit binding.

When both packages are installed, `import jack` in Python resolves
to the CD ripper module, which has no `Client` or `JackOpenError`
attributes. Patchance (the default patchbay manager in Ubuntu
Studio) crashes on startup with:

  AttributeError: module 'jack' has no attribute 'Client'

Steps to reproduce:
1. sudo apt install jack        (CD ripper)
2. sudo apt install patchance   (or already installed)
3. Start JACK server (jackd -d alsa &)
4. Run: patchance
5. Observe crash.

Workaround:
sudo apt remove jack

Suggestion:
- Add a Conflicts: or Breaks: relationship between "jack" and
  "python3-jack-client" in the packaging.
- Alternatively, the CD ripper could install its Python module
  under a different name (e.g. "jack_ripper") to avoid the
  namespace collision.

System: Ubuntu Studio 26.04 (resolute), amd64

** Affects: jack (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: jackd patchance python3-jack-client

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

Title:
  patchance crashes with jack (cd ripper)

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to