Bug 22667 - Не передаются файлы по jabber
: Не передаются файлы по jabber
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/gajim)
: unstable
: x86 Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2010-01-02 20:11 by
Modified: 2010-01-03 00:07 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-01-02 20:11:30
Traceback (most recent call last):
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 497, in
_process_events
    return IdleQueue._process_events(self, fd, flags)
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 367, in
_process_events
    obj.pollin()
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 405, in pollin
    self._do_receive()
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 585, in
_do_receive
    self._on_receive(received)
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 597, in
_on_receive
    self.on_receive(data)
  File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 445, in
dispatch
    handler['func'](session, stanza)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 586, in
_siResultCB
    self.send_socks5_info(file_props, fast = True)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 206, in
send_socks5_info
    sha_str, self._result_socks5_sid, file_props['sid'])
  File "/usr/share/gajim/src/common/socks5.py", line 82, in start_listener
    self.listener.bind()
  File "/usr/share/gajim/src/common/socks5.py", line 817, in bind
    self._serv = socket.socket(*ai[:3])
  File "/usr/lib/python2.6/socket.py", line 182, in __init__
    _sock = _realsocket(family, type, proto)
error: [Errno 97] Семейство адресов не поддерживается протоколом
------- Comment #1 From 2010-01-02 21:52:03 -------
Воспроизвёл.

Почему-то getaddrinfo возвращает в том числе AF_INET6, с которым потом
невозможно создать сокет. Попробую понять, кто здесь неправ.
------- Comment #2 From 2010-01-03 00:07:59 -------
gajim-0.13.1-alt2 -> sisyphus:

* Sat Jan 02 2010 Alexander Myltsev <avm@altlinux> 0.13.1-alt2

- socks5.py: catch EAFNOSUPPORT errors (closes #22667).