Xpra: Ticket #1517: cannot concatenate 'str' and 'tuple' objects

Hello,

Error occurs (session is stopped. Browser gets back to authorisation login screen) then open the dropbox menus( Upper file menu or right button click) and moving mouse pointer inside the menu. But it is possible to reconnect to the session again. No lost of information

2017-05-14 13:12:33,588 Error: error in network packet write/format
2017-05-14 13:12:33,588  cannot concatenate 'str' and 'tuple' objects
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 292, in _write_format_thread_loop
    self._add_packet_to_queue(*gpc())
  File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 308, in _add_packet_to_queue
    self._add_chunks_to_queue(chunks, start_send_cb, end_send_cb)
  File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 346, in _add_chunks_to_queue
    header_and_data = pack_header(proto_flags, level, index, payload_size) + data
TypeError: cannot concatenate 'str' and 'tuple' objects


Sun, 14 May 2017 19:17:29 GMT - Denis01: attachment set


Sun, 14 May 2017 19:26:00 GMT - Denis01:

In the attached file (img1.jpg) how it looks like. And some corrections of the text for problem's description (as it is not clear enouth)

Error occurs when a dropbox menu is open (file menu on the top of the screen or right button mouse click menu inside Office document) and mouse pointer is moving across the items in the list. Firstly the sreen is frosen (mouse pointer doesn't move) and then some wainting time (as in the attached file) and then system moves to login page. But it is possible to recconect to the session again. No lost of information Error from log file

2017-05-14 13:12:33,588 Error: error in network packet write/format
2017-05-14 13:12:33,588 cannot concatenate 'str' and 'tuple' objects
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 292, in _write_format_thread_loop
self._add_packet_to_queue(*gpc())
File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 308, in _add_packet_to_queue
self._add_chunks_to_queue(chunks, start_send_cb, end_send_cb)
File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 346, in _add_chunks_to_queue
header_and_data = pack_header(proto_flags, level, index, payload_size) + data
TypeError: cannot concatenate 'str' and 'tuple' objects

Sun, 14 May 2017 19:34:07 GMT - Denis01: attachment set


Mon, 15 May 2017 03:36:58 GMT - Antoine Martin: owner, component, description changed; milestone set

dropbox is a company providing cloud services, you mean "drop-down" menu. FYI: AFAICT, centos 7.3 provides libreoffice 5.0, not 5.2, and openoffice is not provided by default, their latest version is 4.1.3

This is fixed in r15851. Please close if that works for you.


Mon, 15 May 2017 10:39:00 GMT - Denis01:

Thanks! but even can't test for now. As the problem with ports appeared again. Can't start xpra with direct command from terminal..... Rebooted server several times.. but nothing helped. The strange thing that session is created, port is closed and in /run/user/guid/xpra/ only 2 folders (Pulse and Xpra) created and not 4 as usual. I would very appreciate if you could log to my server to see youself ....


Tue, 16 May 2017 14:15:09 GMT - Denis01: status changed; resolution set

Hello, Excellent! It is fixed!


Tue, 13 Jun 2017 17:51:50 GMT - Antoine Martin: summary changed

(changing ticket title since this has nothing to do whatsoever with openoffice)


Tue, 13 Jun 2017 18:01:54 GMT - DocMAX: status changed; resolution deleted


Tue, 13 Jun 2017 18:02:43 GMT - DocMAX:

Still getting this error on xpra v2.0.2-r15657


Tue, 13 Jun 2017 18:03:23 GMT - DocMAX: status changed; resolution set

oh sorry... version is older...


Sat, 23 Jan 2021 05:26:28 GMT - migration script:

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