[Python-modules-team] Bug#965250: python3-pychromecast: pychromecast 7 breaks mkchromecast and pluseaudio-dlna

Stefan Rücker stefan.debian.bts at gmail.com
Sat Jul 18 07:59:12 BST 2020


Package: python3-pychromecast
Version: 7.1.1-1
Severity: normal

See as well bug here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965249

Also tried pulseaudio-dlna
When trying to select a chromecast device following error occurs:

stefan at mars:~$ pulseaudio-dlna
07-18 08:52:09 pulseaudio_dlna.application                    INFO     Using
version: 0.6.0
07-18 08:52:09 pulseaudio_dlna.application                    INFO     Binding
to *:8080
07-18 08:52:09 pulseaudio_dlna.application                    INFO     Encoder
settings:
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AVConvAacEncoder available="False" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AVConvFlacEncoder available="False">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AVConvL16Encoder available="False" sample-rate="44100" channels="2">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AVConvMp3Encoder available="False" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AVConvOggEncoder available="False" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AVConvOpusEncoder available="False" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AVConvWavEncoder available="False">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FFMpegAacEncoder available="True" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FFMpegFlacEncoder available="True">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FFMpegL16Encoder available="True" sample-rate="44100" channels="2">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FFMpegMp3Encoder available="True" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FFMpegOggEncoder available="True" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FFMpegOpusEncoder available="True" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FFMpegWavEncoder available="True">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FaacAacEncoder available="False" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FlacFlacEncoder available="True">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<LameMp3Encoder available="True" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<NullEncoder available="True">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<OggencOggEncoder available="True" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<OpusencOpusEncoder available="True" bit-rate="192">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<SoxL16Encoder available="True" sample-rate="44100" channels="2">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<SoxWavEncoder available="True">
07-18 08:52:09 pulseaudio_dlna.application                    INFO     Codec
settings:
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<AacCodec enabled="True" priority="12" mime_type="audio/aac" backend="generic">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<FlacCodec enabled="True" priority="9" mime_type="audio/flac"
backend="generic">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<L16Codec enabled="True" priority="1" mime_type="audio/L16" backend="generic">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<Mp3Codec enabled="True" priority="18" mime_type="audio/mp3" backend="generic">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<OggCodec enabled="True" priority="6" mime_type="audio/ogg" backend="generic">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<OpusCodec enabled="True" priority="3" mime_type="audio/opus"
backend="generic">
07-18 08:52:09 pulseaudio_dlna.application                    INFO
<WavCodec enabled="True" priority="15" mime_type="audio/wav" backend="generic">
07-18 08:52:09 pulseaudio_dlna.plugins.chromecast             INFO
ChromecastPlugin.discover()
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO     Module
"module-dbus-protocol" already loaded.
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO     Probing
for $PULSE_DBUS_SERVER unsuccessful.
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO     Probing
for /run/pulse/dbus-socket unsuccessful.
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO     Probing
for $XDG_RUNTIME_DIR successful (unix:path=/run/user/1000/pulse/dbus-socket).
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO     Probing
for org.PulseAudio.ServerLookup1 successful
(unix:path=/run/user/1000/pulse/dbus-socket).
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO     Found
the following pulseaudio server addresses: unix:path=/run/user/1000/pulse/dbus-
socket
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO
Connecting to pulseaudio on "unix:path=/run/user/1000/pulse/dbus-socket" ...
07-18 08:52:09 pychromecast                                   INFO     Querying
device status
07-18 08:52:09 pychromecast                                   INFO     Querying
device status
07-18 08:52:09 pychromecast                                   INFO     Querying
device status
07-18 08:52:09 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "KD-43X8305C (Chromecast)".
07-18 08:52:10 pychromecast                                   INFO     Querying
device status
07-18 08:52:10 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "STR-DN1060 (Chromecast)".
07-18 08:52:10 pychromecast                                   INFO     Querying
device status
07-18 08:52:10 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "SRS-ZR7-K (Chromecast)".
07-18 08:52:10 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "SRS-ZR7-B (Chromecast)".
07-18 08:52:10 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "Standardgruppe (Chromecast)".
07-18 08:52:11 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "SRS-ZR7-B (DLNA)".
07-18 08:52:11 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "SRS-ZR7-K (DLNA)".
07-18 08:52:11 pulseaudio_dlna.pulseaudio                     INFO     Added
the device "STR-DN1060 (DLNA)".
07-18 08:52:17 pulseaudio_dlna.discover                       INFO
SSDPDiscover.search()
07-18 08:52:20 pulseaudio_dlna.pulseaudio                     INFO
on_device_updated "/org/pulseaudio/core1/sink18"
07-18 08:52:21 pulseaudio_dlna.pulseaudio                     INFO
_async_handle_sink_update /org/pulseaudio/core1/sink18
07-18 08:52:21 pulseaudio_dlna.pulseaudio                     INFO
Instructing the device "Standardgruppe (Chromecast)" to play ...
07-18 08:52:21 pychromecast                                   INFO     Querying
device status
Traceback (most recent call last):
  File "/usr/lib/python3/dist-
packages/pulseaudio_dlna/plugins/chromecast/renderer.py", line 74, in play
    chromecast = self._create_pychromecast()
  File "/usr/lib/python3/dist-
packages/pulseaudio_dlna/plugins/chromecast/renderer.py", line 66, in
_create_pychromecast
    chromecast = pychromecast._get_chromecast_from_host(
  File "/usr/lib/python3/dist-packages/pychromecast/__init__.py", line 53, in
get_chromecast_from_host
    return Chromecast(
  File "/usr/lib/python3/dist-packages/pychromecast/__init__.py", line 298, in
__init__
    dev_status = get_device_status(self.host, services, zconf)
  File "/usr/lib/python3/dist-packages/pychromecast/dial.py", line 75, in
get_device_status
    status = _get_status(host, services, zconf,
"/setup/eureka_info?options=detail")
  File "/usr/lib/python3/dist-packages/pychromecast/dial.py", line 41, in
_get_status
    for service in services.copy():
AttributeError: 'NoneType' object has no attribute 'copy'



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pychromecast depends on:
ii  python3           3.8.2-3
ii  python3-protobuf  3.12.3-2
ii  python3-requests  2.23.0+dfsg-2
ii  python3-zeroconf  0.26.1-1

python3-pychromecast recommends no packages.

python3-pychromecast suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list