On Tue, Jun 20, 2006 at 04:37:55PM -0400, Norman Ramsey wrote:
> Package: avahi-discover
> Version: 0.6.10-1
> Severity: important
> 
> I tried to run avahi-discover to find services on my new Mac OSX Tiger box.
> Unfortunately, the Mac seems to use unhappy Unicode characters in the
> description of services, resulting in these error messages (and the services
> not being seen).
> 
> A suggested fix would be to catch the exception and display raw UTF-8.
> 
>   : [EMAIL PROTECTED] 10148 ; avahi-discover
>   A new main_window has been created
>   Browsing domain 'local' on -1.-1 ...
>   Browsing for services of type '_sftp-ssh._tcp' in domain 'local' on 2.0 ...
>   Browsing for services of type '_ssh._tcp' in domain 'local' on 2.0 ...
>   Browsing for services of type '_workstation._tcp' in domain 'local' on 2.0 
> ...
>   Exception exceptions.UnicodeEncodeError: <exceptions.UnicodeEncodeError
>   instance at 0xb70189cc> in
>   'dbus_bindings._GIL_safe_cmessage_function_handler' ignored Exception
>   exceptions.UnicodeEncodeError: <exceptions.UnicodeEncodeError instance at
>   0xb70186ec> in 'dbus_bindings._GIL_safe_cmessage_function_handler' ignored
>   Exception exceptions.UnicodeEncodeError: <exceptions.UnicodeEncodeError
>   instance at 0xb701862c> in
>   'dbus_bindings._GIL_safe_cmessage_function_handler' ignored Found service
>   'curlycoat [00:13:d4:7e:fe:5b]' of type '_workstation._tcp' in domain
>   'local' on 2.0.  : [EMAIL PROTECTED] 10157 ; 

Just talked to avahi upstream. The last avahi does validate if services are
valid UTF-8 (and dbus will kick you of the bus if it isn't anyway). So the data
avahi-discovery gets should be valid UTF-8..

It would be interesting to see which service name causes this.  Could you send 
the output of avahi-browse -a? 

  Sjoerd
-- 
Philogyny recapitulates erogeny; erogeny recapitulates philogyny.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to