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

win32 wndproc errors causing tray, opengl and clipboard problems #2857

Closed
totaam opened this issue Aug 9, 2020 · 3 comments
Closed

win32 wndproc errors causing tray, opengl and clipboard problems #2857

totaam opened this issue Aug 9, 2020 · 3 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 9, 2020

Issue migrated from trac ticket # 2857

component: platforms | priority: critical | resolution: fixed

2020-08-09 07:57:24: antoine created the issue


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

totaam commented Aug 9, 2020

2020-08-09 07:57:48: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 9, 2020

2020-08-09 07:57:48: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Aug 9, 2020

2020-08-09 07:57:48: antoine commented


Should be fixed in r27085. TBC.

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

No branches or pull requests

1 participant