[Bug 27554] telepathy-butterfly crashed with gaierror in query()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 12 16:28:16 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27554

Jonny Lamb <jonny.lamb at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|butterfly                   |papyon

--- Comment #2 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2010-04-12 07:28:16 PDT ---
I came across a similar traceback recently:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/butterfly/connection.py", line 161, in
Connect
    self._msn_client.login(*self._account)
  File "/usr/lib/pymodules/python2.6/papyon/client.py", line 256, in login
    self._transport.establish_connection()
  File "/usr/lib/pymodules/python2.6/papyon/transport.py", line 253, in
establish_connection
    self._transport.open()
  File "/usr/lib/pymodules/python2.6/papyon/gnet/io/iochannel.py", line 141, in
open
    self._open(self._host, self._port)
  File "/usr/lib/pymodules/python2.6/papyon/gnet/io/iochannel.py", line 90, in
_open
    resolver.query(host, (self.__open, host, port))
  File "/usr/lib/pymodules/python2.6/papyon/gnet/resolver.py", line 58, in
query
    result = socket.getaddrinfo(host, None, socket.AF_INET, socket.SOCK_STREAM)
gaierror: [Errno -5] No address associated with hostname

I wrote a patch for butterfly to catch this exception and signal a network
error[0], but actually I think this is a papyon bug and if it's fixed in papyon
in both of these cases then it'll magically fix both bugs.

0.
http://git.collabora.co.uk/?p=user/jonny/telepathy-butterfly.git;a=commitdiff;h=9e870de38

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list