#499 closed defect (fixed)
old servers error out with 0.11.x clients
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 0.12 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
The problem comes from the newer bencoders, which do not send dictionary keys in a specific order (pointless since python will immediately stick them in a dict which loses the order), solutions:
- restore dict order (yuk)
- apply patch attached to old branches (which will not be applied by distros since they're stuck on broken versions...)
The error shows up in the server log as:
Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 575, in do_read_parse_thread_loop File "/usr/lib64/python2.7/site-packages/xpra/bencode.py", line 72, in bdecode File "/usr/lib64/python2.7/site-packages/xpra/bencode.py", line 45, in decode_list File "/usr/lib64/python2.7/site-packages/xpra/bencode.py", line 55, in decode_dict ValueError connection lost: gibberish received: 'l5:hellod16:...
Attachments (1)
Change History (4)
Changed 7 years ago by
Attachment: | bencode.patch added |
---|
comment:1 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/499
Note: See
TracTickets for help on using
tickets.
this fixes the old servers