mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
dfc5480620
Summary: Currently running `edenfsctl top` will crash on Windows: ``` Traceback (most recent call last): File "C:\Python38\Lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Python38\Lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\tools\eden\bin\edenfsctl.exe\__main__.py", line 3, in <module> File "C:\tools\eden\bin\edenfsctl.exe\eden\fs\cli\main.py", line 2253, in zipapp_main File "C:\tools\eden\bin\edenfsctl.exe\eden\fs\cli\main.py", line 2236, in main File "C:\Python38\Lib\asyncio\runners.py", line 43, in run return loop.run_until_complete(main) File "C:\Python38\Lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File "C:\tools\eden\bin\edenfsctl.exe\eden\fs\cli\main.py", line 2212, in async_main File "C:\tools\eden\bin\edenfsctl.exe\eden\fs\cli\main.py", line 1059, in run File "C:\tools\eden\bin\edenfsctl.exe\eden\fs\cli\top.py", line 395, in __init__ File "C:\Python38\Lib\curses\__init__.py", line 13, in <module> from _curses import * ModuleNotFoundError: No module named '_curses' ``` This diff will let it prints an error message. Reviewed By: xavierd Differential Revision: D28207330 fbshipit-source-id: a465fe5941b469f4a1ef964f1d4dc8a593639e7c |
||
---|---|---|
.. | ||
benchharness | ||
benchmarks | ||
cli | ||
cli_rs | ||
config | ||
docs | ||
fuse | ||
inodes | ||
journal | ||
model | ||
monitor | ||
nfs | ||
notifications | ||
prjfs | ||
py | ||
rocksdb | ||
scripts | ||
service | ||
sqlite | ||
store | ||
takeover | ||
telemetry | ||
testharness | ||
third-party | ||
utils | ||
CMakeLists.txt |