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
async def main_async(file_path: str): loop = asyncio.get_event_loop() async with aiomonitor.start_monitor(loop, hook_task_factory=True): # ....... any code
This exception is raised:
File "C:\<path>\venv\Lib\site-packages\aiohttp\web_runner.py", line 119, in start self._server = await loop.create_server( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "winloop\loop.pyx", line 1736, in create_server ValueError: reuse_port not supported by socket module
Exception in thread Thread-1 (_ui_main):
Traceback (most recent call last):
File "C:\<path>\Lib\threading.py", line 1038, in _bootstrap_innerself.run()
File "C:\<path>\Lib\threading.py", line 975, in runself._target(*self._args, **self._kwargs)
File "C:\<path>\Lib\site-packages\aiomonitor\monitor.py", line 546, in _ui_main
asyncio.run(self._ui_main_async())
File "C:\<path>\Lib\asyncio\runners.py", line 190, in runreturn runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\<path>\Lib\asyncio\runners.py", line 118, in runreturnself._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "winloop\loop.pyx", line 1520, in winloop.loop.Loop.run_until_complete
File "C:\<path>\Lib\site-packages\aiomonitor\monitor.py", line 574, in _ui_main_asyncawait webui_site.start()
File "C:\<path>\Lib\site-packages\aiohttp\web_runner.py", line 119, in startself._server =await loop.create_server(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "winloop\loop.pyx", line 1736, in create_serverValueError: reuse_port not supported by socket module
Python Version
$ Python 3.11.0
aiomonitor Version
Name: aiomonitorVersion: 0.7.1Summary: Adds monitor and Python REPL capabilities for asyncio applicationsHome-page: https://github.com/aio-libs/aiomonitorAuthor: Nikolay NovikAuthor-email: [email protected]License: Apache-2.0Location: C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packagesRequires: aioconsole, aiohttp, attrs, click, janus, jinja2, prompt-toolkit, telnetlib3, terminaltables, trafaret, typing-extensionsRequired-by:
OS
Windows 11 24H2 - Build 26100.2454
Additional context
No response
Code of Conduct
I agree to follow the aio-libs Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
When running this code:
async def main_async(file_path: str): loop = asyncio.get_event_loop() async with aiomonitor.start_monitor(loop, hook_task_factory=True): # ....... any code
This exception is raised:
File "C:\<path>\venv\Lib\site-packages\aiohttp\web_runner.py", line 119, in start self._server = await loop.create_server( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "winloop\loop.pyx", line 1736, in create_server ValueError: reuse_port not supported by socket module
To Reproduce
Expected behavior
Monitoring starts normally.
Logs/tracebacks
Python Version
$ Python 3.11.0
aiomonitor Version
OS
Windows 11 24H2 - Build 26100.2454
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: