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
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
|
Details
Hello,
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 (192.168.42.253), port 80, TXT data: [] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 606, in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) 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' regards |
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
Wednesday, 21 April 2021, 11:03 GMT
Reason for closing: Fixed
Additional comments about closing: 0.8+20+gd1e71b3-1
[1] https://github.com/lathiat/avahi/issues/275
[2] https://github.com/lathiat/avahi/pull/282