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
When running on windows: python -m aiomonitor.cli, the following exception is thrown: ModuleNotFoundError: No module named 'fcntl'
To Reproduce
python -m aiomonitor.cli on Windows
Expected behavior
Console monitor shows up.
Logs/tracebacks
python -m aiomonitor.cli
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packages\aiomonitor\cli.py", line 5, in <module>from .telnet import TelnetClient
File "C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packages\aiomonitor\telnet.py", line 5, in <module>import fcntl
ModuleNotFoundError: No module named 'fcntl'
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
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:
Based on Windows not being present in CI and the only Trove classifier from the OS category is POSIX, I'd say that it was never intended to be supported. So this is not a bug but maybe a documentation opportunity, as there's not many places one can deduce the supported platforms from, it seems.
But if @achimnol were to be open to adding support (making this a feature request), you @TheRealMkadmi would have to send a PR with both fallbacks for non-POSIX environments and test coverage (pytest + CI matrix).
Describe the bug
When running on windows:
python -m aiomonitor.cli
, the following exception is thrown:ModuleNotFoundError: No module named 'fcntl'
To Reproduce
python -m aiomonitor.cli
on WindowsExpected behavior
Console monitor shows up.
Logs/tracebacks
Python Version
Python 3.11.0
aiomonitor Version
OS
Windows
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: