Xpra: Ticket #2732: src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed AttributeError: 'NoneType' object has no attribute 'encode'

"Xpra-Python3-x86_64_4.0-r26124\xpra_cmd" attach ssh://user@ip/50 --ssh="plink -ssh -agent" --modal-windows=no --title="@title@ on @hostname@/@server-display@" --opengl=no
2020-04-17 11:17:35,680 Xpra GTK3 client version 4.0-r26124 64-bit
2020-04-17 11:17:35,684  running on Microsoft Windows 10
2020-04-17 11:17:35,772 Warning: failed to import opencv:
2020-04-17 11:17:35,772  No module named 'cv2'
2020-04-17 11:17:35,772  webcam forwarding is disabled
2020-04-17 11:17:36,896 GStreamer version 1.16.2 for Python 3.8.2 64-bit
2020-04-17 11:17:37,180 keyboard layout code 0x409
2020-04-17 11:17:37,180 identified as 'United States - English' : us
2020-04-17 11:17:37,935  keyboard settings: layout=us
2020-04-17 11:17:37,939  desktop size is 4160x1440 with 1 screen:
2020-04-17 11:17:37,939   Default (1100x381 mm - DPI: 96x96) workarea: 4160x1400
2020-04-17 11:17:37,939     Generic PnP Monitor 1600x900 at 0x534 (309x174 mm - DPI: 131x131) workarea: 1600x860
2020-04-17 11:17:37,939     C32JG5x 2560x1440 at 1600x0 (697x392 mm - DPI: 93x93) workarea: 2560x1400
2020-04-17 11:17:43,990 enabled remote logging
2020-04-17 11:17:43,998 Xpra GTK3 X11 server version 3.0.8-r25889 64-bit
2020-04-17 11:17:44,002  running on Linux Ubuntu 16.04 xenial
2020-04-17 11:17:46,464 UI thread is running again, resuming
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/start_new_command.py", line 137, in command_changed
AttributeError: 'NoneType' object has no attribute 'encode'
2020-04-17 11:20:25,274 server is not responding, drawing spinners over the windows


Fri, 17 Apr 2020 15:40:06 GMT - Antoine Martin: owner changed

Does r26137 fix things? (r26139 may be needed too)


Wed, 22 Apr 2020 13:48:17 GMT - Antoine Martin: status changed; resolution set

Does r26137 fix things? (r26139 may be needed too)

I assume it did, 3.0.10 will include those two fixes.


Wed, 22 Apr 2020 13:54:34 GMT - stdedos:

Apologies - I get so disoriented with the TrayIcon/CSC things, it's hard to be more robust in taking care of my tickets.

I didn't have exact replication steps either, and stacktrace seemed explicit enough to be reported.

I don't seem to be able to trigger it again.


Sat, 23 Jan 2021 05:59:16 GMT - migration script:

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