Bug 1807223 - pychromecast-4.1.1 Depends upon python-zeroconf-0.24
Summary: pychromecast-4.1.1 Depends upon python-zeroconf-0.24
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pychromecast
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-25 20:48 UTC by zborgerd
Modified: 2020-03-16 15:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-16 15:10:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description zborgerd 2020-02-25 20:48:19 UTC
Description of problem:

The pychromecast-4.1.1 package (recently updated in FC31 updates) depends upon python-zeroconf-0.24.  Current FC31 version is 0.23.  See new requirement here:

https://github.com/balloob/pychromecast/pull/338


How reproducible:

Every time.


Steps to Reproduce:
1. I use mkchromecast for casting audio.  It depends upon pychromecast.  I used the official Fedora python3-chromecast and python3-zeroconf packages.
2. Start a session to cast.
3. See errors below.

Actual results:

Exception in thread zeroconf-ServiceBrowser__googlecast._tcp.local.:
Traceback (most recent call last):
  File "/usr/lib64/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/site-packages/zeroconf.py", line 1423, in run
    handler(self.zc)
  File "/usr/lib/python3.7/site-packages/zeroconf.py", line 1363, in <lambda>
    zeroconf=zeroconf, service_type=self.type, name=name, state_change=state_change
  File "/usr/lib/python3.7/site-packages/zeroconf.py", line 1250, in fire
    h(**kwargs)
  File "/usr/lib/python3.7/site-packages/zeroconf.py", line 1335, in on_change
    listener.add_service(*args)
  File "/usr/lib/python3.7/site-packages/pychromecast/discovery.py", line 70, in add_service
    addresses = service.parsed_addresses()
AttributeError: 'ServiceInfo' object has no attribute 'parsed_addresses'

Expected results:

No errors.

Additional info:

Downgrading the python3-chromecast package resolves the problem.  Alternately, python3-zeroconf should be updated to 0.24 to add the missing attribute of parsed_addresses.

Comment 1 Fedora Update System 2020-03-08 17:04:36 UTC
FEDORA-2020-d7da5b840c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d7da5b840c

Comment 2 Fedora Update System 2020-03-09 02:14:43 UTC
python-zeroconf-0.24.5-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d7da5b840c

Comment 3 zborgerd 2020-03-09 02:47:43 UTC
The test package "python-zeroconf-0.24.5-1.fc31" resolves the issues.  Thank you.

Comment 4 Fedora Update System 2020-03-16 15:10:36 UTC
python-zeroconf-0.24.5-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.