You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025 Jan 18, 06:41 (🦋) /equity/price/ $ historical --symbol SPY --start_date 2024-01-01 --provider yfinance
2025 Jan 18, 06:41 (🦋) /equity/price/ $ Exception in callback Process.terminate()
handle: <Handle Process.terminate()>
Traceback (most recent call last):
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/subprocess.py", line 140, in terminate
self._transport.terminate()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/base_subprocess.py", line 149, in terminate
self._check_proc()eturn to previous menu [e] exit the program [cmd -h] see usage and available options Price (cmd/menu) Documentation
File "/home/pbz/micromamba/envs/obb/lib/python3.10/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):
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/subprocess.py", line 143, in kill
self._transport.kill()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/base_subprocess.py", line 153, in kill
self._check_proc()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/base_subprocess.py", line 142, in _check_proc
raise ProcessLookupError()
ProcessLookupError
Exception in thread Thread-3 (run):
Traceback (most recent call last):
File "/home/pbz/micromamba/envs/obb/lib/python3.10/site-packages/pywry/core.py", line 349, in run_backend
await self.runner.stdin.drain()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/streams.py", line 371, in drain
await self._protocol._drain_helper()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pbz/micromamba/envs/obb/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/pbz/micromamba/envs/obb/lib/python3.10/site-packages/pywry/core.py", line 384, in run
asyncio.run(self.run_backend())
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/site-packages/pywry/core.py", line 358, in run_backend
await self.run_backend()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/site-packages/pywry/core.py", line 339, in run_backend
await self.runner.stdin.drain()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/streams.py", line 371, in drain
await self._protocol._drain_helper()
File "/home/pbz/micromamba/envs/obb/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
Desktop (please complete the following information):
OS: NixOS 24.11
Python version: 3.10
Additional context
Installed from source using micromamba for env creation and installed via python dev_install.py -e --cli.
The text was updated successfully, but these errors were encountered:
I would look into it myself, but I don't get any promising lead from the traceback - I would not even know where to begin, probably starting from the pywry dependency? Regarding Linux-specific components: Yes, Rust and Webkitgtk are both installed system-wide.
CLI is not really suitable for VMs or Docker.
Thanks for mentioning. Just to be clear, I am not running this in a VM or Docker.
Describe the bug
Python traceback after CLI command from quickstart.
To Reproduce
Screenshots
Desktop (please complete the following information):
Additional context
Installed from source using
micromamba
for env creation and installed viapython dev_install.py -e --cli
.The text was updated successfully, but these errors were encountered: