Pylance can find neither gym nor tensorflow

Environment data

Language Server version: 2020.12.2
OS and version: Ubuntu 20.04 (Remote access via Windows 10 - Build 19041.423)
Python version (& distribution if applicable, e.g. Anaconda): 3.8.5 native/system

Expected behaviour
Importing gym and tensorflow should enable the Pylance autocompletion.
Actual behaviour
Pylance can't seem to find gym or tensorflow, even though both are installed.

Logs
[Info  - 9:32:28 AM] Pylance language server 2020.12.2 (pyright 6feebac9) starting
[Info  - 9:32:28 AM] Server root directory: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist
[Info  - 9:32:28 AM] No configuration file found.
[Info  - 9:32:28 AM] Setting pythonPath for service "examples": "/usr/bin/python3"
Search paths found for configured python interpreter:
  /opt/ros/noetic/lib/python3/dist-packages
  /usr/lib/python3.8
  /usr/lib/python3.8/lib-dynload
  /home/jlange/.local/lib/python3.8/site-packages
  /usr/local/lib/python3.8/dist-packages
  /usr/lib/python3/dist-packages
[Error - 9:32:28 AM] stubPath /home/jlange/projects/examples/typings is not a valid directory.
[Info  - 9:32:28 AM] Assuming Python version 3.8
[Info  - 9:32:28 AM] Assuming Python platform Linux
[Info  - 9:32:28 AM] Searching for source files
[Info  - 9:32:28 AM] Found 2 source files
[Info  - 9:32:28 AM] Background analysis(1) root directory: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist
[Info  - 9:32:28 AM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (15ms)
[BG(1)] parsing: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/3/builtins.pyi [fs read 2ms] (109ms)
[BG(1)] binding: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/3/builtins.pyi (40ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: getSemanticTokens
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (1ms)
Background analysis message: resumeAnalysis
IntelliCode model /home/jlange/.vscode-server/extensions/visualstudioexptteam.vscodeintellicode-1.2.10/cache/E61945A9A512ED5E1A3EE3F1A2365B88F8FE_E4E9EADA96734F01970E616FAB2FAC19
Loading ONNX runtime...
Loaded ONNX runtime. Creating IntelliCode session...
2021-01-06 09:32:29.137589276 [I:onnxruntime:, inference_session.cc:174 ConstructorCommon] Creating and using per session threadpools since use_per_session_threads_ is true
2021-01-06 09:32:29.143017110 [I:onnxruntime:, inference_session.cc:840 Initialize] Initializing session.
2021-01-06 09:32:29.143034040 [I:onnxruntime:, inference_session.cc:865 Initialize] Adding default CPU execution provider.
2021-01-06 09:32:29.144229391 [I:onnxruntime:, reshape_fusion.cc:37 ApplyImpl] Total fused reshape node count: 0
2021-01-06 09:32:29.144656781 [I:onnxruntime:, reshape_fusion.cc:37 ApplyImpl] Total fused reshape node count: 0
2021-01-06 09:32:29.147242853 [V:onnxruntime:, inference_session.cc:679 TransformGraph] Node placements
2021-01-06 09:32:29.147251533 [V:onnxruntime:, inference_session.cc:681 TransformGraph] All nodes have been placed on [CPUExecutionProvider].
2021-01-06 09:32:29.147278223 [V:onnxruntime:, session_state.cc:71 CreateGraphInfo] SaveMLValueNameIndexMapping
2021-01-06 09:32:29.147317873 [V:onnxruntime:, session_state.cc:116 CreateGraphInfo] Done saving OrtValue mappings.
2021-01-06 09:32:29.148091824 [I:onnxruntime:, finalize_session_state.cc:173 SaveInitializedTensors] Saving initialized tensors.
2021-01-06 09:32:29.158528191 [I:onnxruntime:, finalize_session_state.cc:225 SaveInitializedTensors] Done saving initialized tensors
2021-01-06 09:32:29.161306373 [I:onnxruntime:, inference_session.cc:954 Initialize] Session successfully initialized.
Created IntelliCode session.
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (2ms)
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens
[FG] parsing: /home/jlange/projects/examples/gym/import_example.py (18ms)
[FG] parsing: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/3/builtins.pyi [fs read 2ms] (112ms)
[FG] binding: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/3/builtins.pyi (37ms)
[FG] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:1 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:1 [found 96 items] (6ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 1 ms, Memory increase: 85 KB.
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] parsing: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/2and3/_typeshed/__init__.pyi [fs read 3ms] (20ms)
[BG(1)] binding: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/2and3/_typeshed/__init__.pyi (2ms)
[BG(1)] parsing: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/third_party/2and3/typing_extensions.pyi [fs read 0ms] (6ms)
[BG(1)] binding: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/third_party/2and3/typing_extensions.pyi (1ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:2 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:2 [found 13 items] (3ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 3 ms, Memory increase: -1185 KB.
[BG(1)] parsing: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/3/typing.pyi [fs read 0ms] (43ms)
[BG(1)] binding: /home/jlange/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.2/dist/typeshed-fallback/stdlib/3/typing.pyi (12ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:3 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:3 [found 6 items] (4ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 1 ms, Memory increase: 21 KB.
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (1ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:8 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (2ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:8 [found 74 items] (7ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 0 ms, Memory increase: 23 KB.
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:9 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (2ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:9 [found 2 items] (6ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 0 ms, Memory increase: 14 KB.
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (4ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:10 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:2:10 [found 1 items] (4ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 0 ms, Memory increase: 15 KB.
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (2ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (1ms)
Background analysis message: resumeAnalysis
[FG] parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens
[FG] parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:1 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:1 [found 96 items] (6ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 1 ms, Memory increase: 16 KB.
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (7ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (8ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:2 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:2 [found 13 items] (3ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 0 ms, Memory increase: 16 KB.
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /home/jlange/projects/examples/gym/import_example.py (3ms)
[FG] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   parsing: /home/jlange/projects/examples/gym/import_example.py (6ms)
[BG(1)]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (7ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: resumeAnalysis
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   parsing: /home/jlange/projects/examples/gym/import_example.py (5ms)
[BG(1)]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (6ms)
Background analysis message: resumeAnalysis
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:10 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (6ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:10 [found 19 items] (12ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 0 ms, Memory increase: 17 KB.
Background analysis message: getSemanticTokens
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:11 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (5ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:11 [found 9 items] (11ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 1 ms, Memory increase: 17 KB.
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:12 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (5ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:12 [found 8 items] (12ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 0 ms, Memory increase: 16 KB.
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (5ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (5ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (1ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (7ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /home/jlange/projects/examples/gym/import_example.py (2ms)
[FG] binding: /home/jlange/projects/examples/gym/import_example.py (1ms)
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:19 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:19 [found 74 items] (4ms)
IntelliCode: current invocation did not produce any meaningful tokens.
Time taken to get recommendations: 1 ms, Memory increase: 18 KB.
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:20 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:20 [found null items] (1ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:22 ...
[FG]   parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG]   binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
[FG] completion at /home/jlange/projects/examples/gym/import_example.py:3:22 [found null items] (2ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens
[BG(1)] parsing: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: analyze
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py ...
[BG(1)]   checking: /home/jlange/projects/examples/gym/import_example.py (0ms)
[BG(1)] analyzing: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /home/jlange/projects/examples/gym/import_example.py (1ms)
[FG] binding: /home/jlange/projects/examples/gym/import_example.py (0ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange

Code Snippet / Additional information
#!/usr/bin/env python3

import gym
import tensorflow as tf

Search paths from log:
Search paths found for configured python interpreter:
  /opt/ros/noetic/lib/python3/dist-packages
  /usr/lib/python3.8
  /usr/lib/python3.8/lib-dynload
  /home/jlange/.local/lib/python3.8/site-packages
  /usr/local/lib/python3.8/dist-packages
  /usr/lib/python3/dist-packages

Proof of installation
pip
pip3 freeze | grep gym
gym==0.18.0

pip3 freeze | grep tensorflow
tensorflow==2.4.0
tensorflow-estimator==2.4.0

Local
ls /home/jlange/.local/lib/python3.8/site-packages | grep gym
gym
gym-0.18.0.dist-info

ls /home/jlange/.local/lib/python3.8/site-packages | grep tensorflow
tensorflow
tensorflow-2.4.0.dist-info
tensorflow_estimator
tensorflow_estimator-2.4.0.dist-info

Global
ls /usr/local/lib/python3.8/dist-packages | grep gym
gym
gym-0.18.0.dist-info

I just realized, while Pylance won't find gym, it happily finds inner packages:

This might be related to #801.

I just realized, while Pylance won't find gym, it happily finds inner packages:

This might be related to #801.

The above cases will work in the next version; jumping to each of them work.

This issue has been fixed in version 2021.2.4, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202124-24-february-2021

Awesome, thank you! 🎉


Changelog for each release since 0.9.0 is incorrect

Each changelog since the 0.9.0 release seems to have the entire history of changes, not just the changes pertaining to that release.

https://github.com/goreleaser/goreleaser/issues/817 and https://github.com/goreleaser/goreleaser/issues/990 are relevant

Have manually edited the offending releases so that they are no longer inaccurate.  That’s not a long-term solution though.  Will see if creating a new minor release fixes the issue (I suspect it won’t, but worth seeing if it does before trying anything else).

Had a look at the tags visually via GitKraken and can’t see anything untoward.  I think this is a bug we can live with for now, as there may be a fix in the next months on GoReleaser.  Will keep this issue open in the meantime.

Workaround until this issue is fixed is manually to edit each release after it has been created.

This fixed itself when I created the next minor release (0.10.0 🙂


Add ci run_ scripts needed for build infra

These run_* scripts are needed by the build infra team and bring the cuvs project in line with the rest of RAPIDS

If the goal of this PR is consistency with the rest of RAPIDS, I think the pytests script should be named run_cuvs_pytests.sh.
As most other projects do:

raft example: https://github.com/rapidsai/raft/tree/branch-24.12/ci
cudf example: https://github.com/rapidsai/cudf/tree/branch-24.12/ci
cuml example: https://github.com/rapidsai/cuml/tree/branch-24.12/ci

Giving you a ci-codeowners approval so you don't have to request another review, but I do think you should make that change.

Happy to do so, I was copying kvikio ( https://github.com/rapidsai/kvikio/blob/branch-24.12/ci/run_pytests.sh ) which also only has a single python package. But we can rename now in expection that cuvs will have multiple packages

/merge


announce availability of Hellweg in the cloud

A browser-based GUI is now available for open beta testing of Hellweg in the cloud:
https://beta.sirepo.com/hellweg
Improve the repository documentation, including a link to the beta testing site.
Add a reference to Sirepo/Hellweg on the beta test home page at https://beta.sirepo.com
Add a reference to Sirepo/Hellweg on the USPAS resources page, http://uspas.fnal.gov/materials/materials-downloads.shtml

1st item is completed. The repository README has been updated.

Please, add that Hellweg was initially developed in the RF laboratory of National Research Nuclear University "MEPhI" and put a link: http://rflab.mephi.ru/en/

Mods to repo README completed per request.
2nd item is also completed.


Parsing context-free grammar with smart interplay between lexer and parser

I'd like to parse inputs like
equations 3
a=7
b=a*c
c=exp(-1)

which are generated by a context-sensitive grammar (because of the 3 giving the number of equations to follow).
Is there a way to parse such a grammar using an interplay between lexer and parser in Lark, preferably in a "fast" way, e.g. using LARL.
Early kind of works but is painfully - and understandibly - slow and needs to be painstakingly tweaked to most of the time yield the desired parse tree from the ambiguous grammar.

The example might not have been the best but there are instances where without knowing the number of ... (this extends to other "blocks" than equations) you cannot reliably determine where the next block starts.


建议增加流媒体解锁测试

如下图, 在测速的同时检测流媒体解锁情况, 或者单独添加流媒体检测功能

这个是什么脚本？

On Tue, 8 Mar 2022 at 10:25 PM Revee @.***> wrote:

这个是什么脚本？
—
Reply to this email directly, view it on GitHub
https://github.com/tindy2013/stairspeedtest-reborn/issues/148#issuecomment-1061833263,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP27P5BGQFCARIEJZD6J2PDU65PO3ANCNFSM5ND3YK7A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.

yes

求链接


WIP: refactor(Effects): Remove runEffects and StateUpdates, add NgModule

AKA the release where I delete most of this library.
In @ngrx/effects v1, providers were created dynamically via runEffects(...effects: Type | Type[]). However, the providers generated this way were not statically analyzable and so they would not work with the offline compiler.
I'm looking for comments on the new, offline compiler friendly API:
import { Injectable, OnDestroy } from '@angular/core';
import { Subscription } from 'rxjs/Subscription';
import { Store } from '@ngrx/store';
import { Effect, mergeEffects, Actions } from '@ngrx/effects';

@Injectable()
export class AuthEffects implements OnDestroy {
  subscription: Subscription;

  constructor(private actions: Actions, store: Store<T>) {
    this.subscription = mergeEffects(this).subscribe(store);
  }

  @Effect() login$ = this.actions$
    .ofType('login')
    .mergeMap(...)

  ngOnDestroy() {
    this.subscription.unsubscribe();
  }
}

Note: services in RC5 are automatically instantiated if they implement the OnDestroy interface. This has the added benefit of automatically starting / stopping effects dynamically, like during routing.
This has been published with the @beta tag. Get it with npm install @ngrx/effects@beta
Also in this release is the new release structure outlined in ngrx/core#4
cc @fxck @btroncone @robwormald

LGTM 👍
You know I was fond of previous API but it's time has come. 😄

Yeah, looks good to me. What I would like to see in README:

where has update$.state gone to and how to get it back when you need it
whether ngOnDestroy is required and how to instantiate the effect without it(when you want your effects to run always and everywhere)

as a side note:

since ofType presumably accepts multiple actions, how about naming it ofTypes instead
while you are at it, can we get that end, terminate, finish operator? I know there's https://github.com/ReactiveX/rxjs/blob/master/src/operator/ignoreElements.ts but that name, ugh.

I think this is good. The previous implementation was a bit too much.

You know I was fond of previous API but it's time has come. :smile:

It should be easy enough for users to reproduce the previous experience:
@Injectable()
export class BaseEffects implements OnDestroy {
  subscription: Subscription;

  constructor(private actions: Actions, store: Store<T>) {
    this.subscription = mergeEffects(this).subscribe(store);
  }

  ngOnDestroy() {
    this.subscription.unsubscribe();
  }
}

@Injectable()
export class AuthEffects extends BaseEffects {

  @Effect() login$ = this.actions$
    .ofType('login')
    .mergeMap(...)

}

The downside with this is when we need to inject more providers in the constructor.
What about creating an OnSubscribe interface and letting effect classes implementing it instead of initializing in constructors:
export interface OnSubscribe<T>() {
  onSubscribe(actions: Actions, store: Store<T>): void;
}

@Injectable()
export class BaseEffects implements OnSubscribe, OnDestroy {
  actions$: Actions;
  subscription: Subscription;

  onSubscribe(actions: Actions, store: Store<T>): void {
    this.actions$ = actions; // or inject in constructor
    this.subscription = mergeEffects(this).subscribe(store);
  }

  ngOnDestroy() {
    this.subscription.unsubscribe();
  }
}

@Injectable()
export class AuthEffects extends BaseEffects {

  @Effect() login$ = this.actions$
    .ofType('login')
    .mergeMap(...)

}

Yet another option to not rely on constructor in base class for acquiring the action$ source, is making effects, functions:
  @Effect() login$ = actions$ => actions$
    .ofType('login')
    .mergeMap(...)

WDYT?

while you are at it, can we get that end, terminate, finish operator?

I'd prefer configuring the decorator:
@Effect(/* dispatch: boolean = true */ false) login$ = actions$ => actions$
    .ofType('login')
    .do(...)

☝ that looks reasonable.

where has update$.state gone to and how to get it back when you need it

Recreating the updates stream is pretty straightforward and makes it more clear how to apply selectors in effects:
actions$
  .ofType('login')
  .withLatestFrom(store$)
  .map(([ action, state ]) => ({ action, state }))

whether ngOnDestroy is required and how to instantiate the effect without it(when you want your effects to run always and everywhere)

Yes, as of today if you want your service to be automatically instantiated it must implement the OnDestroy interface.

What about creating an OnSubscribe interface and letting effect classes implementing it instead of initializing in constructors:

I don't think this is technically possible yet.

I'd prefer configuring the decorator:

Yeah, configuring the decorator like that seems like a reasonable improvement of the API. I think I'd prefer it this way to leave room for future configuration options:
@Effect({ dispatch: false }) login$ = this.actions$

since ofType presumably accepts multiple actions, how about naming it ofTypes instead

I'm following what they are doing in redux-observable. See redux-observable/redux-observable#95

Recreating the updates stream is pretty straightforward and makes it more clear how to apply selectors in effects:

yes, and it's gonna be a source of confusion nevertheless, that's why it better be mentioned in readme

I've tried @ngrx/effects@beta in my app and it works great!  Only minimal changes to get it to work.  I'm even getting access to the store and pulling out a value with something like:
  @Effect() redirectAfterLogin$ = this.actions$
    .ofType(AuthActions.REDIRECT_AFTER_LOGIN)
    .withLatestFrom(this.store.let(appSelectors.getAuthRedirectUrl()))
    .do(([action, url]) => router.navigateByUrl.next(url))
    .mapTo(this.authActions.resetRedirectAfterLogin())

withLatestFrom() is amazing :)
Great work!

Due to the new version of Effects, I tried to see if I could inject the Router into my Effects Class and I'm getting this error: zone.js:461Unhandled Promise rejection: Bootstrap at least one component before injecting Router..  So I'm still having to use the RouterPatch hack.
Any thoughts on this?

@meenie can you make a plunker with this issue?

Problems with this proposed API:

Not currently possible to inject services that require the application to have been bootstrapped
Creating the effects subscription in the constructor makes the effects service harder to test
Requiring developers to implement the OnDestroy interface is confusing

I'll try to address these issues with a new API sometime early this week.

@Effect({ dispatch: false }) login$ = this.actions$

I really like this approach ☝ 👍

Is there any way to unit test an effect? I want to find a way to send an action to my effect. In the current version there is the sendAction function.


HTTP: implement NTML/Kerberos/Spnego support

Gatling 2 tried to support NTLM/Kerberos/Spnego and exposed what was available in AsyncHttpClient.
Making things clear: this part of AHC has never tested against a real NTLM platform as none of the successive committers could get their hands on such Windows enterprise environment.
Discussions on the community mailing list show that some people were able to get something running with considerable amount of hacks.
In Gatling 3, NTML support is removed.
It will be re-introduced if us from GatlingCorp can get our hands on such environment. If you're a company with such environment and in dire need of NTLM support, consider sponsoring.

somebody can you help us please!

@turgayh If you're interested in contracting with us and sponsoring the implementation of this feature, please reach out at<EMAIL_ADDRESS>

Unlikely to be ever implemented, given those authentication schemes are now legacy in favor of SAML and OIDC.


RabbitMQ used by default in 0.9.5, even if not configured.

In 0.9.5 a new minimal API project that references WolverineFX.RabbitMq, calling UseWolverine() will try to connect to RabbitMQ and throw even though it's not configured.
This minimal program
using Wolverine;
var builder = WebApplication.CreateBuilder(args);

builder.Host.UseWolverine();

var app = builder.Build();
app.Run();

Results in the following exception
RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable
 ---> System.AggregateException: One or more errors occurred. (Connection failed)
 ---> RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
   at RabbitMQ.Client.Impl.TcpClientAdapter.ConnectAsync(String host, Int32 port)
   at RabbitMQ.Client.Impl.TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout)
   at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)
   --- End of inner exception stack trace ---
   at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)
   at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingAddressFamily(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan timeout, AddressFamily family)
   at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingIPv4(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan timeout)
   at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)
   at RabbitMQ.Client.Framing.Impl.IProtocolExtensions.CreateFrameHandler(IProtocol protocol, AmqpTcpEndpoint endpoint, ArrayPool`1 pool, Func`2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)
   at RabbitMQ.Client.ConnectionFactory.CreateFrameHandler(AmqpTcpEndpoint endpoint)
   at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)
   --- End of inner exception stack trace ---
   at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)
   at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints)
   at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)
   --- End of inner exception stack trace ---
   at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)
   at RabbitMQ.Client.ConnectionFactory.CreateConnection(String clientProvidedName)
   at RabbitMQ.Client.ConnectionFactory.CreateConnection()
   at Wolverine.RabbitMQ.Internal.RabbitMqTransport.BuildConnection()
   at Wolverine.RabbitMQ.Internal.RabbitMqTransport.ConnectAsync(IWolverineRuntime runtime)
   at Wolverine.Transports.BrokerTransport`1.InitializeAsync(IWolverineRuntime runtime)
   at Wolverine.Runtime.WolverineRuntime.startMessagingTransportsAsync()
   at Wolverine.Runtime.WolverineRuntime.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Program.<Main>$(String[] args) in C:\Projects\Spikes\Wolverine095\test\Program.cs:line 8

The csproj file contains
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net7.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="WolverineFx" Version="0.9.5" />
    <PackageReference Include="WolverineFx.RabbitMQ" Version="0.9.5" />
  </ItemGroup>

</Project>

The error occurs only if WolverineFx.RabbitMQ is referenced directly. It doesn't occur if the package is referenced indirectly through another project in the solution.

Ugh, gotcha. Easy fix at least, thanks for taking the time to write this up.


chore: skiapp to 0.0.99

chore: Promote skiapp to version 0.0.99

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add better error support

For now, when there are errors, most of the time the application just crash.

I add some return code in the main method of interop class, moreover the action can't be disabled if there has been an error see. e6a5db3585b3cf0d5b97cee4d8324e187abbca43


reverse oai proxy

reverse proxy support, like what is done in taverns, agnai or something else, btw this is a matter of a couple of lines of code, unless of course the official openai library is used and not request requests

This job is still in llm_kira


Move open source registry to top-level side-bar navigation

This topic was moved under 'open source' because it confused users looking for the Enterprise products (DTR). This should no longer be a problem, so we should be able to move it back for easier discovery.
Also rephrased some TOC titles, and changed a page-title.

@usha-mandya @justincormack ptal

@thaJeztah The overview page states Docker Registry is open source. Wondering if it makes sense to retain it under Open source?

engine and cli are also open source, so not sure we need to make the distinction. Open to suggestions though: perhaps @justincormack has thoughts on this

Please do not do this.


Settings Panel created and made fully functional

All the 4 features of the Settings Panel are now fully functional. However, the appearance of the Panel doesn't look good.

There are some problems with this Settings Panel for which I need help.

The moment one clicks Font Style menu, the menu gets enlarged due to a few font styles having a very long name. I have tried making the menu uniform by enlarging the Settings width. However, the changes weren't very pleasing.
The Font list gets appended every time one clicks on the 'Font Style' menu (i.e. After 'Z' fonts, fonts starting with 'A' gets added below).
I have tried adding 'removeEventListener('click',function)'. However this removes the click event even before the user selects the font style.
Also, suggest the changes you would like to see in the appearance of the Panel.

Hey @vinaysrivastava273. This is amazing work. Do not focus too much on appearance right now as there's a lot of of things going on here. Let's try to make everything functional and then we can maybe raise another issue on design.
As far as the problems you're facing, I analysed your code briefly and shall address each of them point wise below.

For Fonts style menu enlargement, try using width: 100%; for #fonts in your index.css and see if it works.
The second issue can be solved by using a simple if statement . In /src/font_list.js the for-loop where you're appending options (line 17), should be inside an if-statement. The if-statement should check something like select.children.length < 1024. This should prevent your options from getting appended every time the user clicks on Font Styles menu.
As far as appearance is concerned, as I said earlier, it's okay if you don't focus too much on it right now and skip this part if you want to.
The Unexpected token is a bit weird. JSON file seems okay. The way you're handling it also seems fine. I think we can ignore it for now as it does not break anything.
The settings revert back to initial state across various sessions because you're not using persistent storage. The JavaScript variables that you're using to store data remains active only in your current session and gets reloaded every time you reload the page. Luckily we do have a persistent storage at our disposal. Cookies! We have already used cookies for storing user's name (See /src/index.js). We can also do that for color and font.

Try these and post here if there's any more issues.
Great work so far. Kudos! :smile:

Hey @sudo-rgorai , I have made all the required changes to Settings panel. Kindly check them and suggest if you want any further changes. Learnt quite a lot of things in this single issue. 😄


Revise bundle list status

In gitlab by @MJochim on Sep 7, 2016, 13:46
raphywink and I have already devised something to replace the "bundle list status". I will describe it here soon.

In gitlab by @MJochim on Nov 15, 2016, 19:56
What is now called 'bundle list status' should be called 'bundle list archive label'.
Do not forget to change the _status suffix in the folder names and rewrite existing databases.

In gitlab by @MJochim on Nov 16, 2016, 11:36
done as per d02f5874617575992ed5b0afe77fcc153b8b5df9
the existing databases have been rewritten manually.


Anonymous submissions

Some curators may feel uncomfortable being associated with their submissions, or change their minds about ones they've submitted before. Users should have the option to keep their privacy. In order for anonymity to be possible, some changes have to be made:

Bots stop including name of uploader in channel announcements (#fpfss-curation-feed). A simple removal of the "by " part of the message would suffice

For new submissions:

Username/ID isn't recorded, set it to belong to a bot (or just none and consider it "orphaned")
Don't subscribe uploader to notifications, regardless of user settings (#fpfss-notifications)

For existing submissions:

Button that lets you "orphan" a submission
Deletes uploader's comments
Removes uploader from subscribed notifications (#fpfss-notifications)

For everywhere else

Same applies for Flashfreeze and submission updates (don't set "Updated by", or set it to a bot/blank)
Maybe a user setting that lets you submit anonymously by default?

In the past, when uploads were handled through Discord, curation submissions could've become anonymous, either by the user:
A) Deleting their account
B) Deleting the message from the submission channels (which was not allowed, but there was no stopping it)
C) Submitting a curation to unstable.life without leaving a message
Now with FPFSS, anonymous uploads aren't possible. Users also (currently) don't have the option to register using an email address. While a throwaway Discord account could potentially do the job, Discord usually immediately blocks accounts until verified, especially when using disposable email services, so it can be a bit challenging.

Use a discord throwaway, making emails is not an issue when you have so many big emal providers available. This is way too much work for a very niche use-case. If you intend to stay anonymous just on FPFSS, you don't need to do anything else, the site does not see any of your discord details.


Implement caching for Estimators and Transformers

Closes #844.

Changes proposed in this pull request:
We are implementing caching at three levels of a meta-analysis:

High-level (or estimator-level): caches _fit()
Mid-level (or transformer-level): caches _transform()
Low-level (or modeled activation (ma)-level): caches _get_ma_map()

The most typical use case will be at lower levels, given that it is very common to recompute the same MA maps when working with the same database (e.g., Neurosynth).
Transformer, at the mid-level, will benefit as well from caching.
At the estimator level, caching was implemented just for the sake of completeness. We currently recommend saving the MetaResult object to a pickle file and loading it again if will be reused. This reduces the large overhead that comes from hashing a whole NiMARE database object.

This shows the performance at memory level 1 (caching only _fit()). With memory level 2 (caching _fit() and _transform()) the performance was the same. However, at memory level 3 (caching _fit(), _transform(), and _get_ma_map()) I saw a minimal decrease in the performance but still better than no caching.

I tested the hierarchy inverted:
Memory level 1: caching _get_ma_map().
Memory level 2: caching _get_ma_map(), _transform().
Memory level 3: caching _get_ma_map(), _transform(), and _fit().
However, the performance at level 1 with caching was worse than no caching, probably because the computation in _get_ma_map() is not that expensive.


How do I compile using the Makefile?

Kinda confused on how to compile the source code.

Note: I am on linux.

make


Placing items in pedestals

Describe the bug (Required)
When placing item in pedestal while not having items in secondary hands, item swith to secondary hands first, then to pedestal with another right click
To Reproduce (Required unless not known)
Steps to reproduce the behavior:

set yourself in survival mode
empty your secondary hand
get item to place on the pedestal in your main hand
right click

Log output/error (via. Hastebin)
no error
Expected behavior (Required)
maybe the pedestal should only be affected by the main hand ?
Screenshots
https://clips.twitch.tv/InexpensiveBovineLouseVoteNay
Versions:(check log if you don't know)

Forge Version: 31.1.18
MC Version: 1.15.2
Mod Version: 1.5.18

I don't understand?

Never mind figured it out.


php_beautifier [error] Token doesn't exist

I get this error when trying to format PHP in some files (not all)
CodeFormatter

Format error:
May 15 19:45:-1 php_beautifier [error] Token doesn't exist

Sublime: ST3
OS: Win7
Plugin: v2.4.1 I believe.

This is the code in particular that is causing the error:
while ($i <= 1):
	$html .= 'text';
endwhile;

I get the same using the alternative namespace syntax
namespace Space {
  ...
}

Works properly with namespace Space;

Same error here, not sure of the cause in my file (not using alternative namespace syntax). Let me know what debug info I can provide.

Just found my error, it was improper nesting of my class functions (an extra closing brace } in a function).

CodeFormatter updated to version 3.0.0
Maybe your problems solved
See Release Notes

Thanks @akalongman I'll give it a try when the update gets pushed to packagecontrol.io


Fixed PHP error "Uncaught TypeError: count()" with newer macOS versions - done

There are couple of users who reported issues with PHP in this thread https://github.com/kelaberetiv/TagUI/issues/1136
Raising an issue to check on this, which might be an OS-wide change for new macOS version 12 (Monterey)

I'm running 10.15.7 now on my Mac laptop

If you are a Mac user and you are experiencing issues related to PHP, please do share here!

Issue also popping up elsewhere -
Node-RED - https://github.com/open-rpa/node-red-contrib-tagui/issues/6
Python rpa package - https://github.com/tebelorg/RPA-Python/issues/335
Root cause seems to be PHP being removed from macOS Monterey release -
https://www.techgenyz.com/2021/06/18/macos-12-monterey-update-built-in-php
Solution for now is to install PHP manually, until this can be automated (I don't think so need password to run homebrew) or co-packaged. Below will install Homebrew package manager for macOS and then install PHP which TagUI requires to run.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install php

Good! Thanks for the solution.
Everything works except a strange flow causes an error.
the flow is emailsearch3.tag https://github.com/lookang/TagUI/blob/main/login/emailsearch3.tag
output error is
PHP Warning:  Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
PHP Warning:  Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
Warning: Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
Warning: Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
PHP Warning:  Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
PHP Warning:  Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
Warning: Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
Warning: Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
PHP Warning:  Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
Warning: Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
PHP Warning:  Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
Warning: Undefined array key 2 in /Users/lookang/Desktop/tagui/src/tagui_parse.php on line 1123
ERROR - automation aborted due to above

Thanks @lookang for catching this bug! As debugged on the Zoom call, above error is introduced in newer Mac when PHP has to be manually installed. In newer PHP versions, there is stricter error handling and above warning message will be shown. The solution that we applied just now on the call is now in TagUI v6.101. You can skip the update because the fix is the same as what we did on your laptop just now.

Adding on additional input that Tommi from aito.ai runs into below error message when running TagUI on Mac newer PHP -
PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /Users/tommi/Code/tagui/src/tagui_parse.php:35

The offending line of code is below (line 35 in tagui_parse.php), this probably needs changing to work with newer PHP -
if (@count($repo_data[$repo_count]) == 0) die("ERROR - empty row found in " . 'tagui_local.csv' . "\n");

running TagUI on Mac newer PHP

Versions for the above were:
TagUI: v6.101
MacOS: Monterey 12.0.1 (21A559)
PHP: PHP 8.1.0 (cli) (built: Nov 28 2021 01:44:44)

Adding on additional input that Tommi from aito.ai runs into below error message when running TagUI on Mac newer PHP -
PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /Users/tommi/Code/tagui/src/tagui_parse.php:35

The offending line of code is below (line 35 in tagui_parse.php), this probably needs changing to work with newer PHP -
if (@count($repo_data[$repo_count]) == 0) die("ERROR - empty row found in " . 'tagui_local.csv' . "\n");

Did you change the above line. I am also facing this issue on a Mac Mini M1 Monterey.

Hi @delegate-it that line has not been changed yet, I'll have to upgrade my Mac some time soon, before testing on PHP 8.
In the meantime, can you try deleting or moving away any .csv file in the folder of your RPA .tag file? This will avoid running the execution through that line of code. Sorry for the inconvenience! I'm hesitant to upgrade my Mac for time being, in case there is unexpected downtime for work.

Hi @delegate-it that line has not been changed yet, I'll have to upgrade my Mac some time soon, before testing on PHP 8.
In the meantime, can you try deleting or moving away any .csv file in the folder of your RPA .tag file? This will avoid running the execution through that line of code. Sorry for the inconvenience! I'm hesitant to upgrade my Mac for time being, in case there is unexpected downtime for work.

Hi @delegate-it that line has not been changed yet, I'll have to upgrade my Mac some time soon, before testing on PHP 8.
In the meantime, can you try deleting or moving away any .csv file in the folder of your RPA .tag file? This will avoid running the execution through that line of code. Sorry for the inconvenience! I'm hesitant to upgrade my Mac for time being, in case there is unexpected downtime for work.

Thank you Ken. I will do the above and will let you know.

Thanks @delegate-it I hope to upgrade my Mac and be able to test this new PHP version in February, when I've cleared up some committed deliveries and not that worried of downtime after upgrading to new Mac version.

I am having the same error on my Mac OS monterey v12.1
✘ philipyeo@Philips-MBP  ~  tagui ~/tagui/flows/samples/1_google.tag
PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /Users/philipyeo/TagUI/src/tagui_parse.php:35
Stack trace:
#0 {main}
thrown in /Users/philipyeo/TagUI/src/tagui_parse.php on line 35
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /Users/philipyeo/TagUI/src/tagui_parse.php:35
Stack trace:
#0 {main}
thrown in /Users/philipyeo/TagUI/src/tagui_parse.php on line 35
ERROR - automation aborted due to above

Hi @philyeo thanks for adding on your inputs!
Can you type the following in your terminal and let me know what comes back?
I'm holding off upgrading my Mac to replicate this, in case it brings unexpected downtime for work.
But I'll try to see if I can install PHP separately to try to fix this issue. I suspect issue due to newer PHP, after users have to install PHP on their own, when newer Mac removed PHP from the OS.
php -v

Hi @philyeo thanks for adding on your inputs!
Can you type the following in your terminal and let me know what comes back?
I'm holding off upgrading my Mac to replicate this, in case it brings unexpected downtime for work.
But I'll try to see if I can install PHP separately to try to fix this issue. I suspect issue due to newer PHP, after users have to install PHP on their own, when newer Mac removed PHP from the OS.
php -v

Thanks for your response @kensoh
its v8.1.1

I also have this problem with new install of tagui on Mac Monterey with php v8.1.1
For example
$ tagui ~/.tagui/flows/samples/1_google.tag
PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /Users/echalmer/.tagui/src/tagui_parse.php:35
Stack trace:
#0 {main}
  thrown in /Users/echalmer/.tagui/src/tagui_parse.php on line 35

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /Users/echalmer/.tagui/src/tagui_parse.php:35
Stack trace:
#0 {main}
  thrown in /Users/echalmer/.tagui/src/tagui_parse.php on line 35
ERROR - automation aborted due to above

I was able to get past the error by replacing every instance of @count($ with @count((array)$ in tagui_parse.php

Thanks @philyeo and @ewan-chalmers for your inputs and solution! I'm looking into this now and will see if using @ewan-chalmers's solution directly is ok to commit to master. Ideally, I hope the fix will be out today, or latest tomorrow.

Thanks @philyeo and @ewan-chalmers for your inputs and solution! I'm looking into this now and will see if using @ewan-chalmers's solution directly is ok to commit to master. Ideally, I hope the fix will be out today, or latest tomorrow.

I followed @ewan-chalmers's solution and it worked but I have another issue which is
philipyeo@Philips-MBP  ~/TagUI   master ±  tagui ~/tagui/flows/samples/1_google.tag
/usr/local/bin/tagui: line 410: /usr/local/bin/casperjs: No such file or directory
I noticed that you had another ticket with the same issue raised by someone else.

Thanks Guys! This is now fixed in v6.106. Note that newer MacOS users will still need to run below lines to install PHP -
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install php

If you are using TagUI v6.46 and above, you can get this update with tagui update command or MS Word plug-in Update TagUI button. If not, you can get TagUI v6.46 from this installation page before performing the update. For list of changes since TagUI v6.46 release in mid-June 2021, visit this link (also found at TagUI installation page).

OK, got rid of the tagui dir which i actually git clone and just donwloaded the copy from https://github.com/kelaberetiv/TagUI/releases/download/v6.46.0/TagUI_macOS.zip
unpack and update. than ran google sample and it worked!

Oh great, thanks Philip! Also copying @tonnitommi on this fix.
Thanks to @ewan-chalmers on your solution. This seems to be the recommended way by other PHP users as well, and I have applied this (array) casting fix to 4 files in TagUI codebase. tagui_parse.php, tagui_report.php. transpose.php, translate.php.

I am running macOS Monterey Version 12.3.1 and I am having similar issues as above people.
When I ran php -v it returned the following:
PHP 8.1.4 (cli) (built: Mar 18 2022 09:32:37) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.4, Copyright (c) Zend Technologies
with Zend OPcache v8.1.4, Copyright (c), by Zend Technologies
shoptelligence@Shoptelligences-MacBook-Pro ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
I also installed Homebrew but I can't get my path to work to see the "tagui" file folder on my desktop.
Please walk me through this in human speak as I am not a developer and I've been put into a QA role with no terminal experience and I am learning from square one.
To me it looks like it is not referencing TagUI or recognizing it although I've attempted to download it through terminal. Also, I have a % and not a $ before my code prompt (not sure if that matters). Again, I have 0 clue what I am doing and your videos do not walk through setting up the Mac terminal. I followed the instructions and can't get it to work.

Hi @kriskcandy, see if the following works for you?
I'm copying @ruthtxh, I've left AI Singapore, she is continuing on the project and can support you further.

Follow the setup instructions here for Mac. Be sure to change your_tagui_path to your actual location where you unzipped TagUI - https://tagui.readthedocs.io/en/latest/setup.html#macos-linux

After following above steps, type tagui update to grab the latest version of TagUI, which would fix the issue with the PHP error message

Closing since this change has made its way into the latest packaged release.

I am getting an error on Mac OS Monterey

@strategyideas can you type php -v to see what is your PHP version? May need to use an older PHP version as workaround -
RPA:~ kensoh$ php -v
PHP 8.1.1 (cli) (built: Jan  8 2022 08:29:30) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.1, Copyright (c) Zend Technologies
with Zend OPcache v8.1.1, Copyright (c), by Zend Technologies

user1@MAC Desktop% tagui 2.tag

// 2.tag
echo `ssss`

PHP Warning:  file_get_contents(tagui_chrome.in): Failed to open stream: No such file or directory in /Users/user1/tagui/src/tagui_chrome.php on line 34
env: python: No such file or directory
PHP Deprecated:  Creation of dynamic property WebSocket\Client::$options is deprecated in /Users/user1/tagui/src/ws/Client.php on line 25
Its did's work, why? Please...
version:

tagui v6.110
macOS 12.7.5
PHP 8.3.9 (cli) (built: Jul  5 2024 01:30:03) (NTS)
Python 3.9.13


Add a "No data to show" message to <Table> component when there is no data

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

For example, if a user logs in to their dashboard and has no data to show on a table, the table should display a message on the center of it that says something like "No data to show".
Examples 🌈

Image taken from the following StackOverflow question: https://stackoverflow.com/questions/56963989/is-it-possible-to-disable-the-theader-of-an-empty-table-in-ant-design
Motivation 🔦

Currently implementing a dashboard with Material UI and the user can either have data or have no data at all to show in the table and at the moment noticed that when there's no data to show in the table, it just literally shows an empty space.

That is out of scope for a basic table. You might want to look into the upcoming DataGrid. Otherwise this is fairly straightforward to implement in your application code.

We have a customization demo with the default illustration of Ant Design at https://material-ui.com/components/data-grid/rendering/#no-rows-overlay. Usually, Material Design data table displays a simple text message when it's empty. We will add a component in the core in the future if we find the need for something similar, but nothing is planned in this direction.

We have a customization demo with the default illustration of Ant Design at https://material-ui.com/components/data-grid/rendering/#no-rows-overlay. Usually, Material Design data tables display a simple text message when it's empty. Typography+sx are enough for this.
We could add a component in the core in the future if we find the need for an illustration, but nothing is planned in this direction.

@oliviertassinari the link is broken. Could you provide the correct link again? 🙏

@oliviertassinari so the solution would be adding a custom component to inside TableBody ?
wouldn't we then get a DOM validation error that we can not have a div inside table tag ?

We have a customization demo with the default illustration of Ant Design at https://material-ui.com/components/data-grid/rendering/#no-rows-overlay. Usually, Material Design data tables display a simple text message when it's empty. Typography+sx are enough for this.
We could add a component in the core in the future if we find the need for an illustration, but nothing is planned in this direction.

@oliviertassinari the link is broken. Could you provide the correct link again? 🙏

https://mui.com/x/react-data-grid/components/#no-rows-overlay

````{emptyRows` === 0 && (

no records found

)}```
this will work

Remove spaces to avoid the error "Whitespace text nodes cannot appear as a child of <tr>"
{data.length === 0 && (<TableRow><TableCell colSpan={6}>no records found</TableCell></TableRow>)}


test: CircleCI to Github Actions migration.

Migrated external splunk tests from CircleCI to GitHub actions.
Combined existing separate workflows of executing unit, matrix and doc tests in one (build-test-release).
Merged pre-commit, review-secrets and review-dog-misspell in one (build-test-release).
Removed backup files (.bak) from pytest_splunk_addon.
Added compliance-dependencies, compliance-scanner, semgrep and snyk stages.
Added license in the required files and added .licenserc.yaml to ignore some files for the same.
Updated CLA.yaml with agreements.yaml.
Replicated publish stage as per UCC-repo(addonfactory-ucc-generator).

:tada: This PR is included in version 1.10.0 :tada:
The release is available on:

v1.10.0
GitHub release

Your semantic-release bot :package::rocket:


Ubuntu 20.04 WSL installation 0x8007023e error code

Windows:
OS Name:                   Microsoft Windows 10 Pro Insider Preview
OS Version:                10.0.19608 N/A Build 19608
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Product ID:                00330-80836-74436-AA949
Original Install Date:     25.04.2020, 00:35:07
System Boot Time:          03.06.2020, 09:36:07
System Manufacturer:       ASUSTeK COMPUTER INC.
System Model:              VivoBook_ASUSLaptop X512FL_R564FL
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 142 Stepping 12 GenuineIntel ~1600 Mhz
BIOS Version:              American Megatrends Inc. X512FL.204, 08.04.2019

Ubunutu 20.04 startup error:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007023e
Error: 0x8007023e
Press any key to continue...

STATUS_VIRTUAL_DISK_LIMITATION                                 ntstatus.h
The requested operation could not be completed due to a
virtual disk system limitation.  Virtual hard disk files
must be uncompressed and unencrypted and must not be
sparse.
Hyper-V doesn't currently support VHD's that are in compressed or encrypted folders.

This is not a problem of STATUS_VIRTUAL_DISK_LIMITATION since:
Ubuntu (%USERPROFILE%\AppData\Local\Packages\CanonicalGroupLimited\LocalState) folder is niether compressed nor encrypted as per Windows Advanced properties.

this is really too much to ignore that windows can't be a dev environment THANK YOU WINDOWS FOR MAKING IT NEVER BUGSFREE

I am also facing this issue, no workaround. Any solutions?

Nothing so far :/

Any news on this? For whatever reason microsoft store states I can launch the OS, and it gets "installed" onto my system (as in I can uninstall it via add/remove programs), yet when I attempt to launch the terminal popup states: 0x8007023e {Application Error}. My Canonical folder isn't compressed nor encrypted either. I think I've actually made things worse by trying to fix it. I ran into this issue before and decided to uninstall Ubuntu 20.04, re-installation led me to where i am now. Even an windows update downgrade didnt fix the issue (simply removed the 2 most recent windows updates) -_-

I am also facing this issue, no workaround. Any solutions?

At the same time this issue also affected my previous docker installations, and tried both with Docker Desktop <IP_ADDRESS> and Docker Desktop <IP_ADDRESS>; but both returned different errors.
Docker Desktop <IP_ADDRESS> error:
System.InvalidOperationException:
Failed to deploy distro docker-desktop to C:\Users\Beatriz Salvado\AppData\Local\Docker\wsl\distro: exit code: -1
 stdout: {Application Error}

The exception s (0x
 stderr:
   at Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:line 119
   at Docker.Engines.WSL2.WSL2Provisioning.<DeployDistroAsync>d__17.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 169
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.Engines.WSL2.WSL2Provisioning.<ProvisionAsync>d__8.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 78
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.Engines.WSL2.LinuxWSL2Engine.<DoStartAsync>d__24.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.ApiServices.StateMachines.TaskExtensions.<WrapAsyncInCancellationException>d__0.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:line 29
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 67
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92

Docker Desktop <IP_ADDRESS> error:
Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Generic failure
at New-Switch, <No file>: line 121
at <ScriptBlock>, <No file>: line 411
   at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
   at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 92
   at Docker.Actions.<>c__DisplayClass19_0.<Start>b__0() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 74
   at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

Go to windows Features disable every single Hyper-V / Virtualization feature (Hyper-V, platform Hyper-V, Containers...wsl...etc) then reboot. After rebooting re-activate your WSL only

I am also facing this issue, no workaround. Any solutions?

At the same time this issue also affected my previous docker installations, and tried both with Docker Desktop <IP_ADDRESS> and Docker Desktop <IP_ADDRESS>; but both returned different errors.
Docker Desktop <IP_ADDRESS> error:
System.InvalidOperationException:
Failed to deploy distro docker-desktop to C:\Users\Beatriz Salvado\AppData\Local\Docker\wsl\distro: exit code: -1
 stdout: {Application Error}

The exception s (0x
 stderr:
   at Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:line 119
   at Docker.Engines.WSL2.WSL2Provisioning.<DeployDistroAsync>d__17.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 169
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.Engines.WSL2.WSL2Provisioning.<ProvisionAsync>d__8.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 78
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.Engines.WSL2.LinuxWSL2Engine.<DoStartAsync>d__24.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.ApiServices.StateMachines.TaskExtensions.<WrapAsyncInCancellationException>d__0.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:line 29
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 67
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92

Docker Desktop <IP_ADDRESS> error:
Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Generic failure
at New-Switch, <No file>: line 121
at <ScriptBlock>, <No file>: line 411
   at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
   at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 92
   at Docker.Actions.<>c__DisplayClass19_0.<Start>b__0() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 74
   at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

Go to windows Features disable every single Hyper-V / Virtualization feature (Hyper-V, platform Hyper-V, Containers...wsl...etc) then reboot. After rebooting re-activate your WSL only and once again reboot. The error appears to be a conflict between the Hyper-V & wsl 2.
If you don't want to use the WSL 2 you can just pass the fellowing command on you PowerShell as Administrator
wsl --set-default-version 1
And you will downgrade to wsl 1

Yes! This solved the problem. Having both Hyper-V and WSL features On will run into a conflict. Now I have only WSL feature on and wsl2 is up and running. Thank you very much @kmmizouri

Right. This is inconvenient. I need Hyper-V. Looks like I'll need to stick to WSL1 until Microsoft finds a solution for this bug.  Of Oracle can get VirtualBox to work alongside Hyper-V then I really hope that Microsoft can make WSL2 work alongside Hyper-V too.

@Myron-S Hey, as I mentioned in my previous comment, it is not a workaround but it is the solution itself, the error is due to the conflict between the Hyper-V feature & WSL2 Feature. And there is probably (from System Architecture perspective) no solution for now for this (it costs too much money).

In trying to troubleshoot, now the Windows Sandbox is broken too.  :-(  Fault reported to the Feedback Hub.
At least VirtualBox is still working.

Can you please show me the following commands output:
Wsl -v

 wsl --list --verbose

@Myron-S

Microsoft Windows [Version 10.0.19042.685]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\{Redacted}>wsl -v
Invalid command line option: -v
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments for running Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --
        Pass the remaining command line as is.

Options:
    --distribution, -d <Distro>
        Run the specified distribution.

    --user, -u <UserName>
        Run as the specified user.

Arguments for managing Windows Subsystem for Linux:

    --export <Distro> <FileName>
        Exports the distribution to a tar file.
        The filename can be - for standard output.

    --import <Distro> <InstallLocation> <FileName> [Options]
        Imports the specified tar file as a new distribution.
        The filename can be - for standard input.

        Options:
            --version <Version>
                Specifies the version to use for the new distribution.

    --list, -l [Options]
        Lists distributions.

        Options:
            --all
                List all distributions, including distributions that are currently
                being installed or uninstalled.

            --running
                List only distributions that are currently running.

            --quiet, -q
                Only show distribution names.

            --verbose, -v
                Show detailed information about all distributions.

    --set-default, -s <Distro>
        Sets the distribution as the default.

    --set-default-version <Version>
        Changes the default install version for new distributions.

    --set-version <Distro> <Version>
        Changes the version of the specified distribution.

    --shutdown
        Immediately terminates all running distributions and the WSL 2 lightweight utility virtual machine.

    --terminate, -t <Distro>
        Terminates the specified distribution.

    --unregister <Distro>
        Unregisters the distribution.

    --help
        Display usage information.

C:\Users\{Redacted}>wsl --list --verbose
  NAME      STATE           VERSION
* Ubuntu    Stopped         1

C:\Users\{Redacted}>

If I try and change the version to 2, and I have updated the kernel.  Stripped the WSL and VM features out and put them back in.
Right now ....
C:\Users\{Redacted}>wsl --list --verbose
  NAME      STATE           VERSION
* Ubuntu    Stopped         1

C:\Users\{Redacted}>wsl --set-version Ubuntu 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
{Application Error}
The exception s (0x
C:\Users\mts>wsl --list --verbose
  NAME      STATE           VERSION
* Ubuntu    Stopped         1

C:\Users\{Redacted}>

@kmmizouri

It's not better.  In my attempt at removing and replacing the features, making sure updates are reapplied at each step now the Windows Sandbox feature is broken.  See: https://aka.ms/AAaktan
Even broke Hyper-V's network virtual switch broke.  See: https://aka.ms/AAaktaq
I do have a PC here, lower spec, updates match the main PC where Hyper-V, the sandbox and WSL are working.
Below is from the other laptop.
Microsoft Windows [Version 10.0.19042.685]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\{redacted}>wsl --list --verbose
  NAME      STATE           VERSION
* Ubuntu    Stopped         2
  Legacy    Stopped         1

C:\Users\{redacted}>wsl
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 4.19.128-microsoft-standard x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Thu Dec 10 15:13:40 GMT 2020

  System load:  0.37               Processes:             8
  Usage of /:   0.5% of 250.98GB   Users logged in:       0
  Memory usage: 1%                 IPv4 address for eth0: <IP_ADDRESS>
  Swap usage:   0%

0 updates can be installed immediately.
0 of these updates are security updates.

The list of available updates is more than a week old.
To check for new updates run: sudo apt update

This message is shown once a day. To disable it please create the
/home/myron/.hushlogin file.
myron@Narada:/mnt/c/Users/Myron$ logout

C:\Users\{redacted}>wsl -v
Invalid command line option: -v
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments for running Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --
        Pass the remaining command line as is.

Options:
    --distribution, -d <Distro>
        Run the specified distribution.

    --user, -u <UserName>
        Run as the specified user.

Arguments for managing Windows Subsystem for Linux:

    --export <Distro> <FileName>
        Exports the distribution to a tar file.
        The filename can be - for standard output.

    --import <Distro> <InstallLocation> <FileName> [Options]
        Imports the specified tar file as a new distribution.
        The filename can be - for standard input.

        Options:
            --version <Version>
                Specifies the version to use for the new distribution.

    --list, -l [Options]
        Lists distributions.

        Options:
            --all
                List all distributions, including distributions that are currently
                being installed or uninstalled.

            --running
                List only distributions that are currently running.

            --quiet, -q
                Only show distribution names.

            --verbose, -v
                Show detailed information about all distributions.

    --set-default, -s <Distro>
        Sets the distribution as the default.

    --set-default-version <Version>
        Changes the default install version for new distributions.

    --set-version <Distro> <Version>
        Changes the version of the specified distribution.

    --shutdown
        Immediately terminates all running distributions and the WSL 2 lightweight utility virtual machine.

    --terminate, -t <Distro>
        Terminates the specified distribution.

    --unregister <Distro>
        Unregisters the distribution.

    --help
        Display usage information.

C:\Users\{redacted}>

What gives?  Why one broken and the other not?  Anyone know?
@kmmizouri

@Myron-S can you please show me you windows features list

Sure.
> Get-WindowsOptionalFeature -Online | ? State -eq Enabled

FeatureName : Printing-PrintToPDFServices-Features
State       : Enabled

FeatureName : Printing-XPSServices-Features
State       : Enabled

FeatureName : SearchEngine-Client-Package
State       : Enabled

FeatureName : MSRDC-Infrastructure
State       : Enabled

FeatureName : TelnetClient
State       : Enabled

FeatureName : TFTP
State       : Enabled

FeatureName : TIFFIFilter
State       : Enabled

FeatureName : LegacyComponents
State       : Enabled

FeatureName : DirectPlay
State       : Enabled

FeatureName : Printing-Foundation-Features
State       : Enabled

FeatureName : Printing-Foundation-InternetPrinting-Client
State       : Enabled

FeatureName : SimpleTCP
State       : Enabled

FeatureName : NetFx4-AdvSrvs
State       : Enabled

FeatureName : WCF-Services45
State       : Enabled

FeatureName : WCF-TCP-PortSharing45
State       : Enabled

FeatureName : NetFx3
State       : Enabled

FeatureName : MediaPlayback
State       : Enabled

FeatureName : WindowsMediaPlayer
State       : Enabled

FeatureName : SmbDirect
State       : Enabled

FeatureName : Internet-Explorer-Optional-amd64
State       : Enabled

FeatureName : SMB1Protocol
State       : Enabled

FeatureName : SMB1Protocol-Client
State       : Enabled

FeatureName : MicrosoftWindowsPowerShellV2Root
State       : Enabled

FeatureName : MicrosoftWindowsPowerShellV2
State       : Enabled

FeatureName : ServicesForNFS-ClientOnly
State       : Enabled

FeatureName : ClientForNFS-Infrastructure
State       : Enabled

FeatureName : NFS-Administration
State       : Enabled

FeatureName : Microsoft-Windows-Subsystem-Linux
State       : Enabled

FeatureName : HypervisorPlatform
State       : Enabled

FeatureName : VirtualMachinePlatform
State       : Enabled

FeatureName : Containers-DisposableClientVM
State       : Enabled

FeatureName : Microsoft-Hyper-V-All
State       : Enabled

FeatureName : Microsoft-Hyper-V
State       : Enabled

FeatureName : Microsoft-Hyper-V-Tools-All
State       : Enabled

FeatureName : Microsoft-Hyper-V-Management-PowerShell
State       : Enabled

FeatureName : Microsoft-Hyper-V-Hypervisor
State       : Enabled

FeatureName : Microsoft-Hyper-V-Services
State       : Enabled

FeatureName : Microsoft-Hyper-V-Management-Clients
State       : Enabled

FeatureName : Containers
State       : Enabled

@kmmizouri

Go to windows Features disable every single Hyper-V / Virtualization feature (Hyper-V, platform Hyper-V, Containers...wsl...etc) then reboot. After rebooting re-activate your WSL only and once again reboot. The error appears to be a conflict between the Hyper-V & wsl 2.
If you don't want to use the WSL 2 you can just pass the fellowing command on you PowerShell as Administrator
wsl --set-default-version 1
And you will downgrade to wsl 1

You should disable the Hyper-V..containers...etc and do as I mentioned here. It is normal that it crashes because as I early in the comments it's a functional conflict between the Hyper-V and the Wsl2.
@Myron-S

That is what I did, but the problem did not go away without the Hyper-V feature installed.

No you didn't @Myron-S 😅

@Myron-S contact me on my E-mail:
<EMAIL_ADDRESS>

I'll e-mail later, but just for now I'll take some time to compare the two Windows 10 Pro installations.  Features installed are identical.  One machine works.  Virtual Box, Hyper-V and WSL2.  I've successfully fired up VB, HV and Ubuntu.  Unfortunately that laptop is the slower less capable laptop.
I'll put-up with WSL1 for now on the more capable machine as I do require Hyper-V and VirtualBox to work together as well as a Linux Distro.

Ah drat. I've accidentally fixed the issue without removing any features, but unfortunately I've messed up recording all my investigation notes as I was trying to find out where the actual fault(s) lie. I'm going to leave this issue now. I don't want to mess up my production laptop. I don't dispute that your method works.  I just some how fix the issue another way.  I just don't know what step(s) make it work.
I guess Microsoft can work on this bug if they so desire.

I could use an answer here

I could use an answer here

I could use an answer here
PS C:\windows\system32> Get-WindowsOptionalFeature -Online | ? State -eq Enabled

FeatureName : Printing-PrintToPDFServices-Features
State       : Enabled

FeatureName : Printing-XPSServices-Features
State       : Enabled

FeatureName : TelnetClient
State       : Enabled

FeatureName : TFTP
State       : Enabled

FeatureName : NetFx3
State       : Enabled

FeatureName : WCF-Services45
State       : Enabled

FeatureName : WCF-TCP-PortSharing45
State       : Enabled

FeatureName : MediaPlayback
State       : Enabled

FeatureName : WindowsMediaPlayer
State       : Enabled

FeatureName : SmbDirect
State       : Enabled

FeatureName : Internet-Explorer-Optional-amd64
State       : Enabled

FeatureName : MicrosoftWindowsPowerShellV2Root
State       : Enabled

FeatureName : MicrosoftWindowsPowerShellV2
State       : Enabled

FeatureName : SearchEngine-Client-Package
State       : Enabled

FeatureName : MSRDC-Infrastructure
State       : Enabled

FeatureName : WorkFolders-Client
State       : Enabled

FeatureName : Printing-Foundation-Features
State       : Enabled

FeatureName : FaxServicesClientPackage
State       : Enabled

FeatureName : Printing-Foundation-InternetPrinting-Client
State       : Enabled

FeatureName : Microsoft-Windows-Subsystem-Linux
State       : Enabled

FeatureName : VirtualMachinePlatform
State       : Enabled

FeatureName : Microsoft-Windows-NetFx3-OC-Package
State       : Enabled

FeatureName : Microsoft-Windows-NetFx4-US-OC-Package
State       : Enabled

FeatureName : Microsoft-Windows-Client-EmbeddedExp-Package
State       : Enabled

FeatureName : Microsoft-Windows-NetFx3-WCF-OC-Package
State       : Enabled

FeatureName : Microsoft-Windows-NetFx4-WCF-US-OC-Package
State       : Enabled

FeatureName : Windows-Defender-ApplicationGuard
State       : Enabled

FeatureName : NetFx4-AdvSrvs
State       : Enabled

FeatureName : NetFx4Extended-ASPNET45
State       : Enabled

FeatureName : Containers
State       : Enabled

PS C:\windows\system32> wsl --set-version Ubuntu 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
{Application Error}
The exception s (0x
PS C:\windows\system32>

Try this one
https://github.com/microsoft/WSL/issues/5323#issuecomment-742601073

I could use an answer here
PS C:\windows\system32> Get-WindowsOptionalFeature -Online | ? State -eq Enabled

FeatureName : Printing-PrintToPDFServices-Features
State       : Enabled

FeatureName : Printing-XPSServices-Features
State       : Enabled

FeatureName : TelnetClient
State       : Enabled

FeatureName : TFTP
State       : Enabled

FeatureName : NetFx3
State       : Enabled

FeatureName : WCF-Services45
State       : Enabled

FeatureName : WCF-TCP-PortSharing45
State       : Enabled

FeatureName : MediaPlayback
State       : Enabled

FeatureName : WindowsMediaPlayer
State       : Enabled

FeatureName : SmbDirect
State       : Enabled

FeatureName : Internet-Explorer-Optional-amd64
State       : Enabled

FeatureName : MicrosoftWindowsPowerShellV2Root
State       : Enabled

FeatureName : MicrosoftWindowsPowerShellV2
State       : Enabled

FeatureName : SearchEngine-Client-Package
State       : Enabled

FeatureName : MSRDC-Infrastructure
State       : Enabled

FeatureName : WorkFolders-Client
State       : Enabled

FeatureName : Printing-Foundation-Features
State       : Enabled

FeatureName : FaxServicesClientPackage
State       : Enabled

FeatureName : Printing-Foundation-InternetPrinting-Client
State       : Enabled

FeatureName : Microsoft-Windows-Subsystem-Linux
State       : Enabled

FeatureName : VirtualMachinePlatform
State       : Enabled

FeatureName : Microsoft-Windows-NetFx3-OC-Package
State       : Enabled

FeatureName : Microsoft-Windows-NetFx4-US-OC-Package
State       : Enabled

FeatureName : Microsoft-Windows-Client-EmbeddedExp-Package
State       : Enabled

FeatureName : Microsoft-Windows-NetFx3-WCF-OC-Package
State       : Enabled

FeatureName : Microsoft-Windows-NetFx4-WCF-US-OC-Package
State       : Enabled

FeatureName : Windows-Defender-ApplicationGuard
State       : Enabled

FeatureName : NetFx4-AdvSrvs
State       : Enabled

FeatureName : NetFx4Extended-ASPNET45
State       : Enabled

FeatureName : Containers
State       : Enabled

PS C:\windows\system32> wsl --set-version Ubuntu 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
{Application Error}
The exception s (0x
PS C:\windows\system32>

Try this one
https://github.com/microsoft/WSL/issues/5323#issuecomment-742601073

Thanks. This made  my day - just set wsl v1 as the default :-)