Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clipboard compressible data attributeerror #2207

Closed
totaam opened this issue Mar 12, 2019 · 5 comments
Closed

clipboard compressible data attributeerror #2207

totaam opened this issue Mar 12, 2019 · 5 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Mar 12, 2019

Issue migrated from trac ticket # 2207

component: clipboard | priority: blocker | resolution: fixed

2019-03-12 12:10:17: antoine created the issue


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).

@totaam
Copy link
Collaborator Author

totaam commented Mar 12, 2019

2019-03-12 12:11:54: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Mar 12, 2019

2019-03-12 12:11:54: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Mar 19, 2019

2019-03-19 04:11:53: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Mar 19, 2019

2019-03-19 04:11:53: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Mar 19, 2019

2019-03-19 04:11:53: antoine commented


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.

@totaam totaam closed this as completed Mar 19, 2019
@totaam totaam added the v2.4.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant