From ec7c0f73e8e90f92c3cdbe581d2b3a36f4cc3ccd Mon Sep 17 00:00:00 2001 From: Francesco Zoffoli Date: Sat, 10 Apr 2021 22:39:55 +0100 Subject: [PATCH] Removing `io_counters` from the ProcStatatistics `io_counters` is not always available (e.g. under Ubunutu 20 run in WSL), resulting in an exception being throw. See #1373 for a complete explanation of the issue. --- meshroom/core/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/core/stats.py b/meshroom/core/stats.py index 784319cd..4a3b9d11 100644 --- a/meshroom/core/stats.py +++ b/meshroom/core/stats.py @@ -163,7 +163,7 @@ class ProcStatistics: # 'memory_maps', 'status', # 'num_fds', # The number of file descriptors currently opened by this process (non cumulative) - N/A on Windows - 'io_counters', + # 'io_counters', # The number and bytes read/write by the process - N/A on some platforms 'num_ctx_switches', ]