Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#68518 - [avahi] avahi-discover: Python2 Python3 mixup ?

Attached to Project: Arch Linux
Opened by Marc Rechté (mrechte) - Tuesday, 03 November 2020, 16:21 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 21 April 2021, 11:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Running /usr/bin/avahi-discover produces errors like

Service data for service 'Freebox Server' of type '_http._tcp' in domain 'local' on 5.0:
Host Freebox-Server.local (, port 80, TXT data: []
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/dbus/", line 606, in msg_reply_handler
File "/usr/bin/avahi-discover", line 114, in service_resolved
self.update_label(interface, protocol, name, stype, domain, host, aprotocol, address, port, avahi.txt_array_to_string_array(txt))
File "/usr/bin/avahi-discover", line 242, in update_label
txts = txts.decode("utf-8")
AttributeError: 'str' object has no attribute 'decode'

This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 21 April 2021, 11:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.8+20+gd1e71b3-1
Comment by loqs (loqs) - Tuesday, 03 November 2020, 18:28 GMT
Upstream issue [1], Have you tried the fix from [2]?

Comment by mushotoku (mushotoku) - Saturday, 16 January 2021, 14:05 GMT
I can confirm that fixes this.