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

cannot concatenate 'str' and 'tuple' objects #1517

Closed
totaam opened this issue May 14, 2017 · 19 comments
Closed

cannot concatenate 'str' and 'tuple' objects #1517

totaam opened this issue May 14, 2017 · 19 comments

Comments

@totaam
Copy link
Collaborator

totaam commented May 14, 2017

Issue migrated from trac ticket # 1517

component: server | priority: major | resolution: fixed

2017-05-14 18:34:37: Denis01 created the issue


Hello,

  • HTML client
  • Centos7.3
  • xpra proxy version 2.1-15785 64-bit
  • OpenOffice 5.2

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
@totaam
Copy link
Collaborator Author

totaam commented May 14, 2017

2017-05-14 20:17:29: Denis01 uploaded file img1.jpg (101.5 KiB)

img1.jpg

@totaam
Copy link
Collaborator Author

totaam commented May 14, 2017

2017-05-14 20:26:00: Denis01 commented


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

@totaam
Copy link
Collaborator Author

totaam commented May 14, 2017

2017-05-14 20:34:07: Denis01 uploaded file img2.jpg (113.6 KiB)

img2.jpg

@totaam
Copy link
Collaborator Author

totaam commented May 15, 2017

2017-05-15 04:36:58: antoine changed owner from antoine to Denis01

@totaam
Copy link
Collaborator Author

totaam commented May 15, 2017

2017-05-15 04:36:58: antoine changed component from android to server

@totaam
Copy link
Collaborator Author

totaam commented May 15, 2017

2017-05-15 04:36:58: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented May 15, 2017

2017-05-15 04:36:58: antoine commented


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.

@totaam
Copy link
Collaborator Author

totaam commented May 15, 2017

2017-05-15 11:39:01: Denis01 commented


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

@totaam
Copy link
Collaborator Author

totaam commented May 16, 2017

2017-05-16 15:15:10: Denis01 changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented May 16, 2017

2017-05-16 15:15:10: Denis01 set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented May 16, 2017

2017-05-16 15:15:10: Denis01 commented


Hello,
Excellent!
It is fixed!

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 18:51:51: antoine changed title from Error with open office to cannot concatenate 'str' and 'tuple' objects

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 18:51:51: antoine commented


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

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 19:01:55: DocMAX changed status from closed to reopened

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 19:01:55: DocMAX removed resolution (was fixed)

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 19:02:43: DocMAX commented


Still getting this error on xpra v2.0.2-15657

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 19:03:23: DocMAX changed status from reopened to closed

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 19:03:23: DocMAX set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Jun 13, 2017

2017-06-13 19:03:23: DocMAX commented


oh sorry... version is older...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant