Xpra: Ticket #2684: AttributeError: 'NoneType' object has no attribute 'input_bytecount'

"Xpra-Python3-x86_64_4.0-r25747\xpra_cmd" attach ssh://user@ip/20 --ssh="plink -ssh -agent" --modal-windows=no --title="@title@ on @hostname@/@server-display@"
2020-03-26 14:24:57,861 Warning: OpenGL probe failed: timeout
2020-03-26 14:24:58,985 Xpra GTK3 client version 4.0-r25747 64-bit
2020-03-26 14:24:58,987  running on Microsoft Windows 10
2020-03-26 14:24:59,083 Warning: failed to import opencv:
2020-03-26 14:24:59,083  No module named 'cv2'
2020-03-26 14:24:59,084  webcam forwarding is disabled
2020-03-26 14:25:00,795 GStreamer version 1.16.2 for Python 3.8.2 64-bit
2020-03-26 14:25:01,310 keyboard layout code 0x409
2020-03-26 14:25:01,311 identified as 'United States - English' : us
2020-03-26 14:25:02,255  keyboard settings: layout=us
2020-03-26 14:25:02,263  desktop size is 1600x900 with 1 screen:
2020-03-26 14:25:02,264   Default (423x238 mm - DPI: 96x96) workarea: 1600x860
2020-03-26 14:25:02,267     Generic PnP Monitor (309x174 mm - DPI: 131x131)
2020-03-26 14:25:08,247 enabled remote logging
2020-03-26 14:25:08,254 Xpra GTK3 X11 server version 3.0.8-r25722 64-bit
2020-03-26 14:25:08,258  running on Linux Ubuntu 16.04 xenial
2020-03-26 14:25:08,298 Attached to ip:22
2020-03-26 14:25:08,306  (press Control-C to detach)
(xpra_cmd:9596): Pango-WARNING **: 14:25:08.837: couldn't load font "Bitstream Vera Sans Not-Rotated 14.662109375", falling back to "Sans Not-Rotated 14.662109375", expect ugly output.
2020-03-26 14:25:09,891 UI thread is now blocked
2020-03-26 14:25:09,972 sound output using 'opus' audio codec
2020-03-26 14:25:10,318 UI thread is running again, resuming
2020-03-26 14:25:18,447 Warning: static gravity is not handled
2020-03-26 14:53:35,403 server is not responding, drawing spinners over the windows
2020-03-26 14:53:50,948 UI thread is now blocked
2020-03-26 14:53:56,822 The SSH process has terminated with exit code 1
2020-03-26 14:53:56,827  the command line used was:
2020-03-26 14:53:56,830  plink -ssh -agent -l user.ix -T ip sh -c 'xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/local/bin/xpra _proxy ":20";elif [ -x ~/.xpra/run-xpra ]; then ~/.xpra/run-xpra _proxy ":20";else echo "no run-xpra command found"; exit 1; fi'
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_tray_menu_base.py", line 454, in show_session_info_cb
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_tray_menu_base.py", line 315, in show_session_info
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_base.py", line 533, in show_session_info
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/session_info.py", line 467, in __init__
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/session_info.py", line 558, in populate_all
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/session_info.py", line 842, in populate_connection
AttributeError: 'NoneType' object has no attribute 'input_bytecount'
2020-03-26 14:53:56,865 UI thread is running again, resuming
2020-03-26 14:53:56,947 sound output stopping

Context: Connectivity went down by itself, and ^^^ this happened



Thu, 26 Mar 2020 14:22:22 GMT - Antoine Martin: status changed; resolution set

Fixed in r25793.


Sat, 23 Jan 2021 05:58:01 GMT - migration script:

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