[Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
SJTheGreat06
Posts: 2
Joined: 2023-07-10 17:27
Location: India
XMMP/Jabber: zestyzapus@jabbers.one
Has thanked: 2 times

[Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#1 Post by SJTheGreat06 »

Description:
I encountered a problem while trying to add the Pipewire PPA to my Debian 12 (Bookworm) system with XFCE desktop environment. Whenever I execute the command `sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream`, I receive an `AttributeError` stating that a 'NoneType' object has no attribute 'people'. This error seems to be preventing the command from retrieving information from Launchpad (LP).

Troubleshooting Steps:
Before posting this issue, I have already followed the installation instructions carefully from the provided link and checked all available troubleshooting options from the Wiki page. Here are the troubleshooting options I have already tried:

[🗸] Followed all installation instructions carefully from here.
[🗸] Checked all troubleshoot options from here.

Reproduction Steps:
To reproduce the issue, simply execute the following command in your terminal:

Code: Select all

sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
Expected Outcome:
The expected behavior is that the specified PPA should be added successfully without any errors.

Image

I appreciate any assistance in resolving this issue. Thank you!

User avatar
sunrat
Site admin
Site admin
Posts: 7451
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 134 times
Been thanked: 665 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#2 Post by sunrat »

PPAs are for Ubuntu and not supported in Debian. If you need to install Pipewire, use the Debian repository; it comes as default with some desktop environments eg. Gnome, anyway.

I see you have posted an issue on Github. If you really must install from there, they are also much more likely to be able to help with your issue.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

CwF
Global Moderator
Global Moderator
Posts: 3163
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 63 times
Been thanked: 272 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#3 Post by CwF »

Is there something specific you want from the ppa that is not available in the official repository?

Simply install pipewire-audio. It will bring in its 13 dependencies and remove pulseudio. Works fine for XFCE.
Mottainai

SJTheGreat06
Posts: 2
Joined: 2023-07-10 17:27
Location: India
XMMP/Jabber: zestyzapus@jabbers.one
Has thanked: 2 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#4 Post by SJTheGreat06 »

CwF wrote: 2023-07-13 13:31 Is there something specific you want from the ppa that is not available in the official repository?

Simply install pipewire-audio. It will bring in its 13 dependencies and remove pulseudio. Works fine for XFCE.
Dear Sir,

I express my utmost gratitude for your prompt and invaluable response, which has effectively resolved my predicament. As a result, my systems are now functioning seamlessly with the implementation of Pipewire instead of PulseAudio. However, esteemed Sir, my primary concern revolves around the Bluetooth connectivity on my Debian 12 Device.

I have successfully established a connection between my Bluetooth Headphones and my Laptop, having meticulously configured all the prerequisites for Bluetooth activation on my device. Specifically, I have diligently installed bluez* and blueman on my XFCE Device. Alas, a significant hurdle persists when I attempt to utilize the output from my Bluetooth device, as opposed to my internal speakers.

Upon connecting my Bluetooth device, I am unable to locate the option to change the output device, nor do I find my headphones listed among the available audio output devices. Despite successfully establishing a wireless headphone connection without encountering any obstacles, the "Output Devices" section within the PulseAudio Plugin merely presents two options: "Speakers" and "Headphone (unplugged)."

Initially, I surmised that the issue stemmed from PulseAudio, as selecting the headphone audio profile consistently failed to yield the desired outcome. Consequently, I believed that installing Pipewire would rectify the situation; however, to my dismay, the problem persists unabated.

Hence, dear Sir, I humbly beseech your esteemed insights and guidance to overcome this predicament.

Your anticipated assistance is highly appreciated.

Thank you.

CwF
Global Moderator
Global Moderator
Posts: 3163
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 63 times
Been thanked: 272 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#5 Post by CwF »

SJTheGreat06 wrote: 2023-07-13 15:24 Your anticipated assistance is highly appreciated.
There are a few recent post on BT/Pulse/Pipewire that I should now touch on...
Bad news, it works for me! That kind of answer never helps much...

I have a few bluetooth adapters from years ago that have worked since stretch.

Code: Select all

Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
To down a whole flock variables in one shot I now got around to it.
Plugged into a host Debian, it works, and cleanly disables, and then passes to a virtual machine using virt-viewers menu. We can pull up the menu and if there are choices with poorly descriptive names, the menu choices are live updated and appear and disappear with device insertion.

I pass it to a amd64_xfce_bookworm vm that has been upgraded from stretch and used as a fully bare metal capable full featured base/backing. It consist of 1699 packages, 1.9GB compressed, and gets fatter when in use.

Upon pass post boot there is no response, which I expect. Invoking XFCE's Setting (Manager)>>Bluetooth Manager there is the immediate popup "Enable Automatically on login" yes/no. It said something like that...I said no. The bluetooth indicator icon was now present in the "Status Tray Plugin". Clicking on it gave me a menu and I paired some Orico Q20 headphones without issue.

This VM was converted to pipewire a week ago or so with the single package addition of pipewire-audio as stated, and it seems all former pulse style dialogs and options are still in place and functional. I am able to switch instances or all to bluetooth or default output and it is possible to direct a single mpv instance to the headphones and leave global system sound on default. At this time I have no program to test the mic on the headset, but could select the profile. I'll check on the mic once I have a need.

So, it works for me!

Code: Select all

$  dpkg --get-selections | grep blue
blueman						install
bluez						install
bluez-firmware					install
bluez-obexd					install
libbluetooth3:amd64				install
libspa-0.2-bluetooth:amd64			install

$  dpkg --get-selections | grep pulse
gstreamer1.0-pulseaudio:amd64			install
libpulse-mainloop-glib0:amd64			install
libpulse0:amd64					install
libpulsedsp:amd64				install
osspd-pulseaudio				install
pipewire-pulse					install
pulseaudio-utils				install
xfce4-pulseaudio-plugin:amd64			install

$  dpkg --get-selections | grep pipewire
libpipewire-0.3-0:amd64				install
libpipewire-0.3-modules:amd64			install
pipewire:amd64					install
pipewire-alsa:amd64				install
pipewire-audio					install
pipewire-bin					install
pipewire-pulse					install
Mottainai

Spinnekop
Posts: 5
Joined: 2023-07-12 21:13
Been thanked: 2 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#6 Post by Spinnekop »

@SJTheGreat06 - That has to be the politest post I have ever read in any forum ever!!

jmgibson1981
Posts: 355
Joined: 2015-06-07 14:38
Has thanked: 18 times
Been thanked: 49 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#7 Post by jmgibson1981 »

For pulse you needed the pulseaudio-module-bluetooth package. Maybe similar here? Or does pipewire do it natively?

User avatar
stevepusser
Posts: 13102
Joined: 2009-10-06 05:53
Has thanked: 54 times
Been thanked: 103 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#8 Post by stevepusser »

I'm also concerned about the misleading github and Ubuntu "pipewire-debian" PPA instructions, when the packages are clearly only compiled on Ubuntu platforms. They even have "for MX Linux or Buster", do this.
For MX Linux or Debian buster see this for which packages are to be insalled or upgraded before installing.
MX Linux packager and developer

User avatar
lospala
Posts: 116
Joined: 2023-05-31 08:32
Location: Buenoa Aires, Argentina
Has thanked: 13 times
Been thanked: 4 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#9 Post by lospala »

jmgibson1981 wrote: 2023-07-14 18:31 For pulse you needed the pulseaudio-module-bluetooth package. Maybe similar here? Or does pipewire do it natively?

to get Bluetooth working on pipe wire you must install libspa-0.2-bluetooth

Code: Select all

sudo apt install libspa-0.2-bluetooth
If not Wayland like Mate DE you must install

Code: Select all

sudo apt install libpipewire-0.3-modules-x11
Disorder consists of arranging certain elements so that they do not suggest known geometric shapes to the observer.

User avatar
stevepusser
Posts: 13102
Joined: 2009-10-06 05:53
Has thanked: 54 times
Been thanked: 103 times

Re: [Networking] Issue with adding Pipewire PPA: AttributeError when executing 'add-apt-repository'

#10 Post by stevepusser »

bookworm-backports also has a much newer pipewire-0.3.77, though I have been informed that the 0.3.78 just backported from Sid for MX 23 (bookworm-based) fixes yet another bug with the jack sound server.
MX Linux packager and developer

Post Reply