Thanks for the information. Yes, it's actually to do with there being a
non-ASCII UTF-8 encoded character.
We store an entry in the look-up table under this key:
'Brother MFC-7420 @ David Gersten\xe2\x80\x99s
Computer._ipp._tcp.local'
but end up trying to look it up using this key:
u'Brother MFC-7420 @ David Gersten\u2019s Computer'
The solution is to call encode('utf-8') on the key we are given by
Avahi.
Fixed upstream in f9d7a84420ff17de0d1ff4f1784dfaf751c27fe1.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716357
Title:
system-config-printer.py crashed with KeyError in _reply():
(dbus.String(u'hp psc 1310 series'), dbus.String(u'_ipp._tcp'),
dbus.String(u'local'))
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs