xpra icon
Bug tracker and wiki

Opened 2 months ago

Closed 5 weeks ago

#1517 closed defect (fixed)

cannot concatenate 'str' and 'tuple' objects

Reported by: Denis01 Owned by: Denis01
Priority: major Milestone: 2.1
Component: server Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

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

Attachments (2)

img1.jpg (101.5 KB) - added by Denis01 2 months ago.
img2.jpg (113.6 KB) - added by Denis01 2 months ago.

Download all attachments as: .zip

Change History (10)

Changed 2 months ago by Denis01

Attachment: img1.jpg added

comment:1 Changed 2 months ago by 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

Changed 2 months ago by Denis01

Attachment: img2.jpg added

comment:2 Changed 2 months ago by Antoine Martin

Component: androidserver
Description: modified (diff)
Milestone: 2.1
Owner: changed from Antoine Martin to Denis01

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.

comment:3 Changed 2 months ago by 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 ....

comment:4 Changed 2 months ago by Denis01

Resolution: fixed
Status: newclosed

Hello,
Excellent!
It is fixed!

comment:5 Changed 5 weeks ago by Antoine Martin

Summary: Error with open officecannot concatenate 'str' and 'tuple' objects

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

comment:6 Changed 5 weeks ago by DocMAX

Resolution: fixed
Status: closedreopened

comment:7 Changed 5 weeks ago by DocMAX

Still getting this error on xpra v2.0.2-r15657

comment:8 Changed 5 weeks ago by DocMAX

Resolution: fixed
Status: reopenedclosed

oh sorry... version is older...

Note: See TracTickets for help on using tickets.