xpra icon
Bug tracker and wiki

Opened 6 weeks ago

Closed 6 weeks ago

#2857 closed defect (fixed)

win32 wndproc errors causing tray, opengl and clipboard problems

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 4.1
Component: platforms Version: 3.0.x
Keywords: Cc:

Description

Reported privately.

  • tray:
    2020-08-05 09:26:23,843 win32NotifyIcon: app_id=0, title='Xpra'
    2020-08-05 09:26:23,843 create_tray_window()
    2020-08-05 09:26:23,843 NotifyIconWndProc(657358, 36, 0, 420183257504) instance=None, message(36)=None
    Exception ignored on calling ctypes callback function: <function NotifyIconWndProc at 0x000001e4a6be3550>
    Traceback (most recent call last):
      File "E:\Xpra\trunk\src/xpra/platform/win32/win32_NotifyIcon.py", line 480, in NotifyIconWndProc
    ctypes.ArgumentError: argument 4: <class 'OverflowError'>: int too long to convert
    2020-08-05 09:26:23,843 NotifyIconWndProc(657358, 129, 0, 420183257456) instance=None, message(129)=None
    Exception ignored on calling ctypes callback function: <function NotifyIconWndProc at 0x000001e4a6be3550>
    Traceback (most recent call last):
      File "E:\Xpra\trunk\src/xpra/platform/win32/win32_NotifyIcon.py", line 480, in NotifyIconWndProc
    ctypes.ArgumentError: argument 4: <class 'OverflowError'>: int too long to convert
    
  • clipboard:
    Exception ignored on calling ctypes callback function: <bound method Win32Clipboard.wnd_proc of ClipboardProtocolHelperCore>
    Traceback (most recent call last):
      File "E:\Xpra\trunk\src/xpra/platform/win32/clipboard.py", line 256, in wnd_proc
    ctypes.ArgumentError: argument 4: <class 'OverflowError'>: int too long to convert
    Exception ignored on calling ctypes callback function: <bound method Win32Clipboard.wnd_proc of ClipboardProtocolHelperCore>
    Traceback (most recent call last):
      File "E:\Xpra\trunk\src/xpra/platform/win32/clipboard.py", line 256, in wnd_proc
    ctypes.ArgumentError: argument 4: <class 'OverflowError'>: int too long to convert
    2020-08-05 09:26:27,338 Error: cannot instantiate <class 'xpra.platform.win32.clipboard.Win32Clipboard'>
    Traceback (most recent call last):
      File "E:\Xpra\trunk\src/xpra/client/mixins/clipboard.py", line 219, in make_clipboard_helper
      File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_base.py", line 1268, in setup_clipboard_helper
      File "E:\Xpra\trunk\src/xpra/client/mixins/clipboard.py", line 315, in setup_clipboard_helper
      File "E:\Xpra\trunk\src/xpra/platform/win32/clipboard.py", line 228, in __init__
      File "E:\Xpra\trunk\src/xpra/platform/win32/clipboard.py", line 250, in init_window
    FileNotFoundError: [WinError 3] The system cannot find the path specified.
    2020-08-05 09:26:27,338 Warning: no clipboard support
    
  • opengl
    do_run_glcheck(.., False)
    get_gl_client_window_module()
    parse_padding_colors(None)=(0, 0, 0)
    increase_fraction(20, 1, 10)
    check_support() GetModuleHandleW()=0x400000
    check_support() RegisterClassExW()=0xc362
    Exception ignored on calling ctypes callback function: <function DefWndProc at 0x000001fe5f8b7af0>
    Traceback (most recent call last):
      File "E:\Xpra\trunk\src/xpra/platform/win32/gl_context.py", line 33, in DefWndProc
    ctypes.ArgumentError: argument 4: <class 'OverflowError'>: int too long to convert
    Exception ignored on calling ctypes callback function: <function DefWndProc at 0x000001fe5f8b7af0>
    Traceback (most recent call last):
      File "E:\Xpra\trunk\src/xpra/platform/win32/gl_context.py", line 33, in DefWndProc
    ctypes.ArgumentError: argument 4: <class 'OverflowError'>: int too long to convert
    check_support() CreateWindowExW()=0x0
    check_support(False)={'info': 'disabled: failed to create temporary window, The operation completed successfully.'}
    do_run_glcheck() opengl_props={'info': 'disabled: failed to create temporary window, The operation completed successfully.'}, gl_client_window_module=<module 'xpra.client.gl.gtk3.nativegl_client_window' from 'C:\\Program Files\\Xpra\\lib\\xpra\\client\\gl\\gtk3\\nativegl_client_window.pyc'>
    

Change History (1)

comment:1 Changed 6 weeks ago by Antoine Martin

Resolution: fixed
Status: newclosed

Should be fixed in r27085. TBC.

Note: See TracTickets for help on using tickets.