Xpra: Ticket #2207: clipboard compressible data attributeerror

Unconfirmed report:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/net/protocol.py", line 356, in _write_format_thread_loop
    self._add_packet_to_queue(*gpc())
  File "/usr/lib/python2.7/dist-packages/xpra/net/protocol.py", line 368, in _add_packet_to_queue
    chunks = self.encode(packet)
  File "/usr/lib/python2.7/dist-packages/xpra/net/protocol.py", line 526, in encode
    item = item.compress()
  File "/usr/lib/python2.7/dist-packages/xpra/client/gtk_base/gtk_client_base.py", line 1238, in compress_clipboard
    return self.compressed_wrapper(v.datatype, v.data)
AttributeError: 'int' object has no attribute 'datatype'

Version 2.5-r21480

TODO: verify that the new callback code does compress the Compressible items (force it for testing).



Tue, 12 Mar 2019 12:11:53 GMT - Antoine Martin: status, description changed


Tue, 19 Mar 2019 04:11:53 GMT - Antoine Martin: status changed; resolution set

Minor improvements in r22119.

I am unable to reproduce the problem and since the version for which the problem was reported is older than r21742 (which uses a different closure code for registering the compressible data callback), I am reasonably confident that the problem is fixed.


Sat, 23 Jan 2021 05:45:03 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2207