Skip to content

White Screen without any error in log #533

@foxwhite25

Description

@foxwhite25

Platform: Windows 10
GPU: RTX 3070

[pywebview] Using WinForms / CEF

DevTools listening on ws://127.0.0.1:57615/devtools/browser/85493678-2244-4803-8397-82fe36350881
CEF window with uid master does not exist
[0418/164252.725:ERROR:CONSOLE(101)] "Uncaught (in promise) TypeError: Cannot read property 'url' of undefined", source: chrome-devtools://devtools/inspector.js (101)
[0418/164252.726:ERROR:CONSOLE(101)] "Uncaught (in promise) TypeError: Cannot read property 'url' of undefined", source: chrome-devtools://devtools/inspector.js (101)

This is all the log, if I switch to gui="gtk" it is also a white screen.

If I KeybordIntecept the script, it lands at

Process Process-1:
Traceback (most recent call last):
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "D:\PycharmProjects\bcml\venv\lib\site-packages\bcml\_server.py", line 18, in start_server
    httpd.serve_forever()
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\lib\socketserver.py", line 232, in serve_forever
    ready = selector.select(poll_interval)
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\lib\selectors.py", line 323, in select
    r, w, _ = self._select(self._readers, self._writers, [], timeout)
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\lib\selectors.py", line 314, in _select
    r, w, x = select.select(r, w, w, timeout)
KeyboardInterrupt
[CEF Python] ExceptHook: catched exception, will shutdown CEF

Traceback (most recent call last):
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\PycharmProjects\bcml\venv\Scripts\bcml-debug.exe\__main__.py", line 7, in <module>
    sys.exit(main_debug())
  File "D:\PycharmProjects\bcml\venv\lib\site-packages\bcml\__main__.py", line 155, in main_debug
    main(True)
  File "D:\PycharmProjects\bcml\venv\lib\site-packages\bcml\__main__.py", line 149, in main
    webview.start(gui=gui, debug=debug, http_server=True, func=_oneclick.process_arg)
  File "D:\PycharmProjects\bcml\venv\lib\site-packages\webview\__init__.py", line 140, in start
    guilib.create_window(windows[0])
  File "D:\PycharmProjects\bcml\venv\lib\site-packages\webview\platforms\winforms.py", line 519, in create_window
    thread.Join()
KeyboardInterrupt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions