-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Description
Describe the bug
When launching a visualization from OpenBB Terminal (e.g., equity charts), an error occurs when trying to open the WebView window using PyWry. The application fails to display visualizations and crashes silently, with several exceptions logged in the console.
This behavior is observed on Ubuntu 24.04, Python 3.12.
Command that caused the error
/equity/fundamental/load --symbol AAPL
/equity/fundamental/overview
Or any command that triggers a WebView chart.
Error traceback
Exception in callback Process.terminate()
handle: <Handle Process.terminate()>
Traceback (most recent call last):
File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib/python3.12/asyncio/subprocess.py", line 143, in terminate
self._transport.terminate()
File "/usr/lib/python3.12/asyncio/base_subprocess.py", line 149, in terminate
self._check_proc()
File "/usr/lib/python3.12/asyncio/base_subprocess.py", line 142, in _check_proc
raise ProcessLookupError()
ProcessLookupError
Exception in callback Process.kill()
handle: <Handle Process.kill()>
Traceback (most recent call last):
...
raise ProcessLookupError()
ProcessLookupError
Exception in thread Thread-6 (run):
Traceback (most recent call last):
File "/home/openbb/.venv/lib/python3.12/site-packages/pywry/core.py", line 349, in run_backend
await self.runner.stdin.drain()
...
ConnectionResetError: Connection lost
Expected behavior
WebView window should launch successfully and display the requested visualization (chart, table, dashboard).
Environment (please complete the following information):
- OS: Ubuntu 24.04
- Python version: 3.12
- OpenBB version:
4.4.4
- PyWry version:
0.6.2
- Installation method: pip
- Running in headless mode? No
✅ Steps to Reproduce
- Install OpenBB on Ubuntu 24.04
- Launch terminal and activate
.venv
- Navigate to
/equity/fundamental/
or another module that uses WebView - Run a visualization command
- Observe crash and exception tracebacks
Metadata
Metadata
Assignees
Labels
No labels