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 |
||
---|---|---|
.. | ||
doctor | ||
test | ||
trace | ||
__init__.py | ||
buck.py | ||
CMakeLists.txt | ||
cmd_util.py | ||
config.py | ||
configinterpolator.py | ||
configutil.py | ||
daemon_util.py | ||
daemon.py | ||
debug_posix.py | ||
debug_windows.py | ||
debug.py | ||
filesystem.py | ||
fsck.py | ||
hg_util.py | ||
logfile.py | ||
main.py | ||
mtab.py | ||
overlay.py | ||
prefetch_profile.py | ||
prefetch.py | ||
prjfs.py | ||
proc_utils_win.py | ||
proc_utils.py | ||
rage.py | ||
redirect.py | ||
stats_print.py | ||
stats.py | ||
subcmd.py | ||
systemd_service.py | ||
systemd.py | ||
tabulate.py | ||
telemetry.py | ||
top.py | ||
trace_cmd.py | ||
trace.py | ||
ui.py | ||
util.py | ||
version.py | ||
win_ui.py |