Ticket #3105 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

can't receive file over zeroconf

Reported by: anonymous Owned by: sb
Priority: high Milestone: 0.12
Component: link-local messaging Version: hg
Severity: normal Keywords:
Cc: Blocked By:
OS: Blocking:

Description

both machines run gajim svn 8065 on the machine that receives the file, after i accept the transfer, i get

Traceback (most recent call last):
  File "/usr/share/gajim/src/dialogs.py", line 897, in on_dialog_response
    self.response_ok[0](dialog, *self.response_ok[1:])
  File "/usr/share/gajim/src/filetransfers_window.py", line 333, in on_ok
    self._start_receive(file_path, account, contact, file_props)
  File "/usr/share/gajim/src/filetransfers_window.py", line 281, in _start_receive
    gajim.connections[account].send_file_approval(file_props)
  File "/usr/share/gajim/src/common/zeroconf/connection_handlers_zeroconf.py", line 306, in send_file_approval
    self.connection.send(iq)
  File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 649, in send
    P2PClient(None, item['address'], item['port'], self, [(stanza, is_message)], to)
  File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 124, in __init__
    conn = P2PConnection('', _sock, host, port, self._caller, self.on_connect, self)
  File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 283, in __init__
    self.do_connect()
  File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 354, in do_connect
    self.disconnect()
  File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 440, in disconnect
    self._owner.on_disconnect()
  File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 202, in on_disconnect
    if self.conn_holder.number_of_awaiting_messages.has_key(self.fd):
AttributeError: P2PClient instance has no attribute 'fd'

no tb on the machine that sends the file. transfer doesn't work.

Attachments

Change History

Changed 3 years ago by anonymous

seems like this happened because the /var partition on the machine that sent the file was full. after i freed some space, it worked again.

Changed 3 years ago by asterix

  • status changed from new to closed
  • resolution set to worksforme

ok, so I close it cause reading the code there is no reason that self.fd is not set, really

Add/Change #3105 (can't receive file over zeroconf)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Next status will be 'needinfo'
 
Note: See TracTickets for help on using tickets.