Backend does not have that model.

Expected Behavior
Don't have that error....
Actual Behavior

Steps to Reproduce
Generate.
Debug Logs
2024-08-30 01:46:31.934 [Init] === SwarmUI v<IP_ADDRESS> Starting at 2024-08-30 01:46:31 ===
2024-08-30 01:46:31.993 [Init] Prepping extension: SwarmUI.Builtin_ScorersExtension.ScorersExtension...
2024-08-30 01:46:32.000 [Init] Prepping extension: SwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
2024-08-30 01:46:32.001 [Init] Prepping extension: SwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
2024-08-30 01:46:32.001 [Init] Prepping extension: SwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
2024-08-30 01:46:32.002 [Init] Prepping extension: SwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
2024-08-30 01:46:32.002 [Init] Prepping extension: SwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
2024-08-30 01:46:32.046 [Init] Parsing command line...
2024-08-30 01:46:32.047 [Init] Loading settings file...
2024-08-30 01:46:32.066 [Init] Re-saving settings file...
2024-08-30 01:46:32.081 [Init] Applying command line settings...
2024-08-30 01:46:32.113 [Init] Prepping options...
2024-08-30 01:46:32.181 [Error] Failed to get git commit date: System.FormatException: The string 'fatal: detected dubious ownership in repository at 'C:/Users/ZeroCool22/Desktop/SwarmUI'
'C:/Users/ZeroCool22/Desktop/SwarmUI/.git' is owned by:
	'S-1-5-32-544'
but the current user is:
	'S-1-5-21-353915190-2478586258-3895337694-1001'
To add an exception for this directory, call:

	git config --global --add safe.directory C:/Users/ZeroCool22/Desktop/SwarmUI' was not recognized as a valid DateTime. There is an unknown word starting at index '0'.
   at System.DateTimeParse.Parse(ReadOnlySpan`1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles, TimeSpan& offset)
   at System.DateTimeOffset.Parse(String input)
   at SwarmUI.Core.Program.<>c.<<Main>b__22_4>d.MoveNext() in C:\Users\ZeroCool22\Desktop\SwarmUI\src\Core\Program.cs:line 165
2024-08-30 01:46:32.233 [Error] Internal error in async task: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at SwarmUI.Core.Program.<>c.<<Main>b__22_3>d.MoveNext()
--- End of stack trace from previous location ---
   at SwarmUI.Utils.Utilities.<>c__DisplayClass42_0.<<RunCheckedTask>b__0>d.MoveNext() in C:\Users\ZeroCool22\Desktop\SwarmUI\src\Utils\Utilities.cs:line 474
2024-08-30 01:46:32.253 [Init] Loading models list...
2024-08-30 01:46:32.261 [Init] CPU Cores: 24 | RAM: 31.91 GiB total, 23.62 GiB available
2024-08-30 01:46:32.261 [Init] GPU 0: NVIDIA GeForce RTX 4070 Ti SUPER | Temp 28C | Util 3% GPU, 0% Memory | VRAM 15.99 GiB total, 15.34 GiB free, 358.00 MiB used
2024-08-30 01:46:32.289 [Init] Loading backends...
2024-08-30 01:46:32.290 [Init] Loading backends from file...
2024-08-30 01:46:32.292 [Init] Prepping API...
2024-08-30 01:46:32.293 [Init] Initializing backend #0 - ComfyUI Self-Starting...
2024-08-30 01:46:32.294 [Init] Prepping webserver...
2024-08-30 01:46:32.296 [Init] Backend request handler loop ready...
2024-08-30 01:46:32.513 [Init] Scan for web extensions...
2024-08-30 01:46:32.515 [Init] Readying extensions for launch...
2024-08-30 01:46:32.515 [Init] Launching server...
2024-08-30 01:46:32.516 [Init] Starting webserver on http://localhost:7801
2024-08-30 01:46:32.566 [Init] Program is running.
2024-08-30 01:46:33.066 [Init] Launch web browser...
2024-08-30 01:46:33.281 [Init] Self-Start ComfyUI-0 on port 7821 is loading...
2024-08-30 01:46:34.154 [Info] Creating new admin session 'local' for ::1
2024-08-30 01:46:38.440 [Init] Self-Start ComfyUI-0 on port 7821 started.
2024-08-30 01:46:41.601 [Info] User local requested 1 image with model 'flux1-dev-Q8_0.gguf'...
2024-08-30 01:46:41.607 [Warning] [BackendHandler] No backends match the request! Cannot generate anything. Backends refused for the following reason(s):
- Request requires model 'flux1-dev-Q8_0.gguf' but the backend does not have that model
2024-08-30 01:46:41.608 [Error] [BackendHandler] Backend request #1 failed: No backends match the settings of the request given! Backends refused for the following reason(s):
- Request requires model 'flux1-dev-Q8_0.gguf' but the backend does not have that model
2024-08-30 01:51:54.955 [Info] Creating new admin session 'local' for ::1

Other
No response

that's a backbone-only model, it needs to be in (YourModelRoot)/diffusion_models (folder previously named unet)
Also note the git warning in your log, you have something wonked with windows account ownership

that's a backbone-only model, it needs to be in (YourModelRoot)/diffusion_models (folder previously named unet)
Also note the git warning in your log, you have something wonked with windows account ownership

02:07:20.070 [Info] User local requested 1 image with model 'flux1-dev-Q8_0.gguf'...
02:07:22.155 [Warning] [ComfyUI-0/STDERR] Traceback (most recent call last):
02:07:22.156 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 317, in execute
02:07:22.156 [Warning] [ComfyUI-0/STDERR]     output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
02:07:22.156 [Warning] [ComfyUI-0/STDERR]                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.157 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 192, in get_output_data
02:07:22.157 [Warning] [ComfyUI-0/STDERR]     return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
02:07:22.157 [Warning] [ComfyUI-0/STDERR]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.158 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list
02:07:22.158 [Warning] [ComfyUI-0/STDERR]     process_inputs(input_dict, i)
02:07:22.158 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs
02:07:22.159 [Warning] [ComfyUI-0/STDERR]     results.append(getattr(obj, func)(**inputs))
02:07:22.159 [Warning] [ComfyUI-0/STDERR]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.159 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 539, in load_checkpoint
02:07:22.160 [Warning] [ComfyUI-0/STDERR]     out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
02:07:22.160 [Warning] [ComfyUI-0/STDERR]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.160 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\comfy\sd.py", line 524, in load_checkpoint_guess_config
02:07:22.161 [Warning] [ComfyUI-0/STDERR]     sd = comfy.utils.load_torch_file(ckpt_path)
02:07:22.161 [Warning] [ComfyUI-0/STDERR]          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.161 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\comfy\utils.py", line 43, in load_torch_file
02:07:22.162 [Warning] [ComfyUI-0/STDERR]     pl_sd = torch.load(ckpt, map_location=device, pickle_module=comfy.checkpoint_pickle)
02:07:22.162 [Warning] [ComfyUI-0/STDERR]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.162 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\serialization.py", line 1040, in load
02:07:22.163 [Warning] [ComfyUI-0/STDERR]     return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
02:07:22.163 [Warning] [ComfyUI-0/STDERR]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.164 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\serialization.py", line 1262, in _legacy_load
02:07:22.164 [Warning] [ComfyUI-0/STDERR]     magic_number = pickle_module.load(f, **pickle_load_args)
02:07:22.164 [Warning] [ComfyUI-0/STDERR]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:07:22.164 [Warning] [ComfyUI-0/STDERR] _pickle.UnpicklingError: invalid load key, '\x03'.
02:07:22.165 [Warning] [ComfyUI-0/STDERR]
02:07:22.238 [Error] [BackendHandler] backend #0 failed to load model with error: ComfyUI execution error: invalid load key, '\x03'.
02:07:22.239 [Warning] [BackendHandler] backend #0 failed to load model flux1-dev-Q8_0.gguf
02:07:23.106 [Warning] [BackendHandler] All backends failed to load the model! Cannot generate anything.
02:07:23.106 [Error] [BackendHandler] Backend request #1 failed: All available backends failed to load the model.
02:07:23.107 [Error] [BackendHandler] Backend request #1 failed: All available backends failed to load the model.

I did what you suggested here: https://github.com/mcmonkeyprojects/SwarmUI/issues/212

But still same error.
2024-08-30 02:35:50.240 [Init] === SwarmUI v<IP_ADDRESS> Starting at 2024-08-30 02:35:50 ===
2024-08-30 02:35:50.287 [Init] Prepping extension: SwarmUI.Builtin_ScorersExtension.ScorersExtension...
2024-08-30 02:35:50.295 [Init] Prepping extension: SwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
2024-08-30 02:35:50.295 [Init] Prepping extension: SwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
2024-08-30 02:35:50.296 [Init] Prepping extension: SwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
2024-08-30 02:35:50.296 [Init] Prepping extension: SwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
2024-08-30 02:35:50.297 [Init] Prepping extension: SwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
2024-08-30 02:35:50.344 [Init] Parsing command line...
2024-08-30 02:35:50.345 [Init] Loading settings file...
2024-08-30 02:35:50.364 [Init] Re-saving settings file...
2024-08-30 02:35:50.380 [Init] Applying command line settings...
2024-08-30 02:35:50.411 [Init] Prepping options...
2024-08-30 02:35:50.556 [Init] Loading models list...
2024-08-30 02:35:50.578 [Init] CPU Cores: 24 | RAM: 31.91 GiB total, 24.63 GiB available
2024-08-30 02:35:50.578 [Init] GPU 0: NVIDIA GeForce RTX 4070 Ti SUPER | Temp 29C | Util 1% GPU, 0% Memory | VRAM 15.99 GiB total, 15.36 GiB free, 332.00 MiB used
2024-08-30 02:35:50.598 [Init] Loading backends...
2024-08-30 02:35:50.599 [Init] Loading backends from file...
2024-08-30 02:35:50.601 [Init] Prepping API...
2024-08-30 02:35:50.601 [Init] Initializing backend #0 - ComfyUI Self-Starting...
2024-08-30 02:35:50.603 [Init] Prepping webserver...
2024-08-30 02:35:50.605 [Init] Backend request handler loop ready...
2024-08-30 02:35:50.846 [Init] Scan for web extensions...
2024-08-30 02:35:50.850 [Init] Readying extensions for launch...
2024-08-30 02:35:50.851 [Init] Launching server...
2024-08-30 02:35:50.851 [Init] Starting webserver on http://localhost:7801
2024-08-30 02:35:51.307 [Init] Current git commit marked as date 2024-08-30 00:54:24
2024-08-30 02:35:51.346 [Init] Swarm is up to date! You have version <IP_ADDRESS>, and 0.9.2-Beta is the latest.
2024-08-30 02:35:51.346 [Init] Program is running.
2024-08-30 02:35:51.662 [Init] Self-Start ComfyUI-0 on port 7821 is loading...
2024-08-30 02:35:51.860 [Init] Launch web browser...
2024-08-30 02:35:53.657 [Info] Creating new admin session 'local' for <IP_ADDRESS>
2024-08-30 02:36:00.373 [Init] Self-Start ComfyUI-0 on port 7821 started.
2024-08-30 02:36:25.879 [Info] User local requested 1 image with model 'flux1-dev-Q8_0.gguf'...
2024-08-30 02:36:27.952 [Warning] [ComfyUI-0/STDERR] Traceback (most recent call last):
2024-08-30 02:36:27.953 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 317, in execute
2024-08-30 02:36:27.953 [Warning] [ComfyUI-0/STDERR]     output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
2024-08-30 02:36:27.953 [Warning] [ComfyUI-0/STDERR]                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.953 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 192, in get_output_data
2024-08-30 02:36:27.954 [Warning] [ComfyUI-0/STDERR]     return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
2024-08-30 02:36:27.954 [Warning] [ComfyUI-0/STDERR]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.954 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list
2024-08-30 02:36:27.954 [Warning] [ComfyUI-0/STDERR]     process_inputs(input_dict, i)
2024-08-30 02:36:27.955 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs
2024-08-30 02:36:27.955 [Warning] [ComfyUI-0/STDERR]     results.append(getattr(obj, func)(**inputs))
2024-08-30 02:36:27.955 [Warning] [ComfyUI-0/STDERR]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.955 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 539, in load_checkpoint
2024-08-30 02:36:27.955 [Warning] [ComfyUI-0/STDERR]     out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
2024-08-30 02:36:27.956 [Warning] [ComfyUI-0/STDERR]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.956 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\comfy\sd.py", line 524, in load_checkpoint_guess_config
2024-08-30 02:36:27.956 [Warning] [ComfyUI-0/STDERR]     sd = comfy.utils.load_torch_file(ckpt_path)
2024-08-30 02:36:27.956 [Warning] [ComfyUI-0/STDERR]          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.957 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\comfy\utils.py", line 43, in load_torch_file
2024-08-30 02:36:27.957 [Warning] [ComfyUI-0/STDERR]     pl_sd = torch.load(ckpt, map_location=device, pickle_module=comfy.checkpoint_pickle)
2024-08-30 02:36:27.957 [Warning] [ComfyUI-0/STDERR]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.957 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\serialization.py", line 1040, in load
2024-08-30 02:36:27.958 [Warning] [ComfyUI-0/STDERR]     return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
2024-08-30 02:36:27.958 [Warning] [ComfyUI-0/STDERR]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.958 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\serialization.py", line 1262, in _legacy_load
2024-08-30 02:36:27.958 [Warning] [ComfyUI-0/STDERR]     magic_number = pickle_module.load(f, **pickle_load_args)
2024-08-30 02:36:27.959 [Warning] [ComfyUI-0/STDERR]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-30 02:36:27.959 [Warning] [ComfyUI-0/STDERR] _pickle.UnpicklingError: invalid load key, '\x03'.
2024-08-30 02:36:27.959 [Warning] [ComfyUI-0/STDERR]
2024-08-30 02:36:28.041 [Error] [BackendHandler] backend #0 failed to load model with error: ComfyUI execution error: invalid load key, '\x03'.
2024-08-30 02:36:28.042 [Warning] [BackendHandler] backend #0 failed to load model flux1-dev-Q8_0.gguf
2024-08-30 02:36:28.907 [Warning] [BackendHandler] All backends failed to load the model! Cannot generate anything.
2024-08-30 02:36:28.908 [Error] [BackendHandler] Backend request #1 failed: All available backends failed to load the model.
2024-08-30 02:36:28.908 [Error] [BackendHandler] Backend request #1 failed: All available backends failed to load the model.

Go to Utilities -> Reset All Metadata
It looks like that didn't get properly recognized as a gguf model for some reason. Usually happens from Swarm being outdated when you first add the model.

Go to Utilities -> Reset All Metadata
It looks like that didn't get properly recognized as a gguf model for some reason. Usually happens from Swarm being outdated when you first add the model.

Thx.

Did a fresh install of Swarmui, dropped a gguf file in models/diffusion_models, but I still get this error:
13:19:52.752 [Init] === SwarmUI v<IP_ADDRESS> Starting at 2024-09-11 13:19:52 ===
13:19:52.780 [Init] Prepping extension: SwarmUI.Builtin_ScorersExtension.ScorersExtension...
13:19:52.785 [Init] Prepping extension: SwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
13:19:52.786 [Init] Prepping extension: SwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
13:19:52.786 [Init] Prepping extension: SwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
13:19:52.786 [Init] Prepping extension: SwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
13:19:52.787 [Init] Prepping extension: SwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
13:19:52.813 [Init] Parsing command line...
13:19:52.813 [Init] Loading settings file...
13:19:52.831 [Init] Re-saving settings file...
13:19:52.846 [Init] Applying command line settings...
13:19:52.865 [Init] Prepping options...
13:19:52.879 [Init] Current git commit marked as date 2024-09-09 07:43:55
13:19:52.947 [Init] CPU Cores: 24 | RAM: 63.91 GiB total, 54.47 GiB available
13:19:52.947 [Init] GPU 0: NVIDIA GeForce RTX 3090 Ti | Temp 46C | Util 4% GPU, 1% Memory | VRAM 23.99 GiB total, 22.08 GiB free, 1.67 GiB used
13:19:52.967 [Init] Loading models list...
13:19:53.091 [Init] Loading backends...
13:19:53.092 [Init] Loading backends from file...
13:19:53.094 [Init] Prepping API...
13:19:53.095 [Init] Initializing backend #0 - ComfyUI Self-Starting...
13:19:53.095 [Init] Prepping webserver...
13:19:53.098 [Init] Backend request handler loop ready...
13:19:53.200 [Init] Scan for web extensions...
13:19:53.201 [Init] Readying extensions for launch...
13:19:53.202 [Init] Launching server...
13:19:53.202 [Init] Starting webserver on http://localhost:7801
13:19:53.362 [Init] Swarm is up to date! You have version <IP_ADDRESS>, and 0.9.2-Beta is the latest.
13:19:53.362 [Init] Program is running.
13:19:53.871 [Init] Launch web browser...
13:19:54.132 [Info] Creating new admin session 'local' for ::1
13:19:54.583 [Init] Self-Start ComfyUI-0 on port 7821 is loading...
13:19:58.735 [Init] Self-Start ComfyUI-0 on port 7821 started.
13:20:13.555 [Info] User local requested 1 image with model 'flux1-dev-Q8_0_in_diffusion_models.gguf'...
13:20:15.819 [Warning] [ComfyUI-0/STDERR] Traceback (most recent call last):
13:20:15.819 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 323, in execute
13:20:15.820 [Warning] [ComfyUI-0/STDERR]     output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
13:20:15.820 [Warning] [ComfyUI-0/STDERR]                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13:20:15.821 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 198, in get_output_data
13:20:15.821 [Warning] [ComfyUI-0/STDERR]     return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
13:20:15.822 [Warning] [ComfyUI-0/STDERR]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13:20:15.822 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list
13:20:15.822 [Warning] [ComfyUI-0/STDERR]     process_inputs(input_dict, i)
13:20:15.823 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs
13:20:15.823 [Warning] [ComfyUI-0/STDERR]     results.append(getattr(obj, func)(**inputs))
13:20:15.823 [Warning] [ComfyUI-0/STDERR]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13:20:15.824 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 924, in load_clip
13:20:15.824 [Warning] [ComfyUI-0/STDERR]     clip = comfy.sd.load_clip(ckpt_paths=[clip_path1, clip_path2], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type)
13:20:15.825 [Warning] [ComfyUI-0/STDERR]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13:20:15.825 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\ComfyUI\comfy\sd.py", line 406, in load_clip
13:20:15.825 [Warning] [ComfyUI-0/STDERR]     clip_data.append(comfy.utils.load_torch_file(p, safe_load=True))
13:20:15.826 [Warning] [ComfyUI-0/STDERR]                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13:20:15.826 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\ComfyUI\comfy\utils.py", line 34, in load_torch_file
13:20:15.826 [Warning] [ComfyUI-0/STDERR]     sd = safetensors.torch.load_file(ckpt, device=device.type)
13:20:15.827 [Warning] [ComfyUI-0/STDERR]          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13:20:15.827 [Warning] [ComfyUI-0/STDERR]   File "H:\SD\Swarmui\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\safetensors\torch.py", line 313, in load_file
13:20:15.827 [Warning] [ComfyUI-0/STDERR]     with safe_open(filename, framework="pt", device=device) as f:
13:20:15.828 [Warning] [ComfyUI-0/STDERR]          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13:20:15.828 [Warning] [ComfyUI-0/STDERR] safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer
13:20:15.828 [Warning] [ComfyUI-0/STDERR]
13:20:15.910 [Error] [BackendHandler] backend #0 failed to load model with error: ComfyUI execution error: Error while deserializing header: MetadataIncompleteBuffer
13:20:15.910 [Warning] [BackendHandler] backend #0 failed to load model flux1-dev-Q8_0_in_diffusion_models.gguf
13:20:16.583 [Warning] [BackendHandler] All backends failed to load the model! Cannot generate anything.
13:20:16.584 [Error] [BackendHandler] Backend request #1 failed: All available backends failed to load the model.
13:20:16.585 [Error] [BackendHandler] Backend request #1 failed: All available backends failed to load the model.
Any idea what I could be doing wrong? I also can't load unet models which work fine in comfy. Tried all kinds of different paths, edited the Metadata of the model, did a Utilities > Reset All Metadata and I still get this error.
Must be something simple but I don't know what to try now.

I think your (Swarm)/Models/clip/t5xxl_enconly.safetensors or clip_l file is corrupt somehow? If you close swarm, delete those files, and relaunch swarm and run again, it will autodownload those files and hopefully work then.
If that doesn't fix it, please open your own separate issue (rather than continuing to hijack this other one), and post the link generated by Server->Logs->Pastebin

I tried everything but couldn't generate images using the gguf model.

I tried everything but couldn't generate images using the gguf model.我尝试了一切，但无法使用 gguf 模型生成图像。

I found this: SwarmUI Model Support Documentation.
To use a GGUF model, you need to do the following: Click the ☰ hamburger menu on a model, then select Edit Metadata, and set the Architecture to Flux.Dev.

I tried everything but couldn't generate images using the gguf model.

Wow, awesome! SwarmUI supports Lora for use on gguf


How to write multiple queries?

How do I write multiple queries in query(), or chain method?
A general use case is to get aggregate - count with the query -- common use case for pagination
query MyQuery {
  table(limit: 10, offset: 20, where: {field: {_eq: 5}}) {
    id
  }
  tableAggregate(where: {field: {_eq: 5}}) {
    aggregate {
      count
    }
  }
}

the problem here is that

I can't write where, limit, offset in normal query function.
and i cant write multiple queries in chain method where i can write where condition.

It should be documented again :')


manual mode drawing

Hello,
sometimes i need to draw manually small parts of  the track without autorouting feature because there is not track at all on the map.
it could be nice to have an icon on which we can disable or enable autorouting .
thanks

Hi @ryu80,
Indeed it would be a nice feature to have, we already have #68 issue open for that actually :). You can upvote it if you wish so that we can see which features are the nost valued ones!
Thanks,


Can you apply your code for feature embedding visualization?

Does a  point mean an audio file in the plot? I met some problems in drawing the feature embedding visualization.

Thanks for your interest in our work.
Each point corresponds to the embedding of the speech feature of one audio file. We used tSNE visualization. Could you explain more about the problems you encounter?

I find a code in https://musicinformationretrieval.com/pca.html. In this code, one audio file can genetate numerous points.It seems that the feature vector of one frame can generate a  point. It confused me.

In our work, we first extract LFCC features for audio files. We then feed the LFCC feature to the deep network and output the embedding. What we visualized in our paper is the dimensionally reduced embedding.

Thang you for your reply! I found out what the problem was.


[Error] [il2cpp-init.cpp:296] Failed to detect any game version. If you sure that cheat has updated for current game version, and you downloaded the correct one.

[Debug] [PatternScanner.cpp:247] Module F:\GenshinImpact\Genshin Impact game\UnityPlayer.dll bound 0x00007FFCB8F00000-0x00007FFCBB4BB000.
[Debug] [PatternScanner.cpp:345] Please wait validating checksum.....
[Debug] [PatternScanner.cpp:350] Current checksum: a36dc2c9e8de390e | Valid checksum: 28bb4e1dab81e6d1
[Debug] [PatternScanner.cpp:353] Checksum is not valid!
[Info] [il2cpp-init.cpp:234] Failed to detect version: OSRELWin4.0.1.
[Debug] [PatternScanner.cpp:345] Please wait validating checksum.....
[Debug] [PatternScanner.cpp:350] Current checksum: a36dc2c9e8de390e | Valid checksum: 55b08b696732ad10
[Debug] [PatternScanner.cpp:353] Checksum is not valid!
[Info] [il2cpp-init.cpp:234] Failed to detect version: CNRELWin4.0.1.
[Error] [il2cpp-init.cpp:296] Failed to detect any game version. If you sure that cheat has updated for current game version, and you downloaded the correct one.
[Info] [il2cpp-init.cpp:267] Select the version (enter number), from list below:
[Info] [il2cpp-init.cpp:271] [0] NONE
[Info] [il2cpp-init.cpp:271] [1] GLOBAL
[Info] [il2cpp-init.cpp:271] [2] CHINA

1


Update doc example

Part of #730.
cc @sdroege @EPashkin

Updated.

@GuillaumeGomez Thanks

Removed the unneeded connect_delete.

For me this PR ready for merge.
@GuillaumeGomez, thanks

Yes, go ahead :)


Incompatibility with windows: module 'os' has no attribute 'EX_NOINPUT'

Hi there,
I'm trying to run this on windows and get this error on the commands:
vladiate
vladiate vlads
vladiate mymain.py
C:path\to\project> vladiate
Could not find any vladfile! Ensure file ends in '.py' and see --help for available options.
Traceback (most recent call last):
  File "c:\users\scollier\appdata\local\programs\python\python36-32\Lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\scollier\appdata\local\programs\python\python36-32\Lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\scollier\Envs\virtualenv\Scripts\vladiate.exe\__main__.py", line 9, in <module>
  File "c:\users\scollier\envs\virtualenv\lib\site-packages\vladiate\main.py", line 173, in main
    return os.EX_NOINPUT
AttributeError: module 'os' has no attribute 'EX_NOINPUT'

This seems to all stem from: https://github.com/di/vladiate/blob/master/vladiate/main.py:main()
All the os.EX_*  values are UNIX only.
def main():
    arguments = parse_args()
    logger = logs.logger

    if arguments.show_version:
        print("Vladiate %s" % (get_distribution('vladiate').version, ))
        return os.EX_OK

    vladfile = find_vladfile(arguments.vladfile)
    if not vladfile:
        logger.error(
            "Could not find any vladfile! Ensure file ends in '.py' and see "
            "--help for available options."
        )
        return os.EX_NOINPUT

    docstring, vlads = load_vladfile(vladfile)

    if arguments.list_commands:
        logger.info("Available vlads:")
        for name in vlads:
            logger.info("    " + name)
        return os.EX_OK

    if not vlads:
        logger.error("No vlad class found!")
        return os.EX_NOINPUT

    # make sure specified vlad exists
    if arguments.vlads:
        missing = set(arguments.vlads) - set(vlads.keys())
        if missing:
            logger.error("Unknown vlad(s): %s\n" % (", ".join(missing)))
            return os.EX_UNAVAILABLE
        else:
            names = set(arguments.vlads) & set(vlads.keys())
            vlad_classes = [vlads[n] for n in names]
    else:
        vlad_classes = vlads.values()

    # validate all the vlads, and collect the validations for a good exit
    # return code
    if arguments.processes == 1:
        for vlad in vlad_classes:
            vlad(source=vlad.source).validate()

    else:
        proc_pool = Pool(
            arguments.processes
            if arguments.processes <= len(vlad_classes)
            else len(vlad_classes)
        )
        proc_pool.map(_vladiate, vlad_classes)
        try:
            if not result_queue.get_nowait():
                return os.EX_DATAERR
        except Empty:
            pass
        return os.EX_OK

Would you be able to change this to a more windows-friendly return value?

Thanks for the report @stefanjcollier!
I'm not very familiar with Windows -- do you happen to know what would be the 'right' values to return here on that platform? Does Windows even have a notion of exit codes?

I'm honestly not sure myself, however I'm just about to do a PR that will mimic the UNIX ones (but not use the missing attributes). If a wiser person comes along they can point it out. :smile:

Yup, I think it'd be totally fine to define some constants like:
EX_OK = 0
EX_DATAERR = 65
EX_NOINPUT = 66
os.EX_UNAVAILABLE = 69

And use those instead. Thanks!

I thought it would be best to keep the os.EX_* attributes. Just in case they are different for non obvious systems like Red Hat or other UNIX distros.

Check it out for yourself:
https://github.com/di/vladiate/pull/49

This is fixed in v 0.0.20.


Update manifests and doc for v0.23.1

Docs/manifest updates to include references to new image

/lgtm

/retest

/retest


redesign of attached wallet page

It's unclear how exactly to improve it, but some of the feedback I've received is people expecting to see logos for specific wallets rather than the protocol name.

What if we keep the current page the same for manual/advanced setup, and we add an additional wizard page where the user can chose specific wallets by name/logo and then run a guided setup that ultimately ends up setting one or more attached wallet?
If we make a setup specific to the wallet providers we can, for example, use their apis to grab ln-addresses when we can't generate a scoped receiver nwc tokens or at least tell the user exactly what we need and link to relevant documentation.

I like the idea of wizard skip/"bypass" to just see a wall of wallets. Good idea.

What if we keep the current page the same for manual/advanced setup, and we add an additional wizard page where the user can chose specific wallets by name/logo and then run a guided setup that ultimately ends up setting one or more attached wallet?
If we make a setup specific to the wallet providers we can, for example, use their apis to grab ln-addresses when we can't generate a scoped receiver nwc tokens or at least tell the user exactly what we need and link to relevant documentation.

I had the following in mind which I think is similar but differs in detail. The major difference is wallets vs protocols:

We only show wallets (currently: LNbits, Blink, LND, CLN, phoenixd), no protocols (currently: NWC, LNURL, WebLN[^1]) when you visit /settings/wallets

[^1]: I am not sure if LNC is a protocol or a wallet. Afaik, it can only be used with LND so maybe it should be part of LND's configuration for sending anyway?
Stackers want to attach wallets, not protocols. They aren't necessarily aware what protocols their wallets support. It has happened multiple times that stackers thought their wallet is not supported because it wasn't shown even though their wallet supports lightning addresses.
This means we need to show as many wallets as possible so stackers can find their wallet. We can probably limit ourselves to the most popular ones first and add any other wallet on request.
I think that we mixed wallets with protocols is becoming a problem. It was a good idea to start with protocols to cover as many wallets as possible at once but we then added "wallets" that are actually wallets. We now need to consider the difference between wallets and protocols in our UI and code.

If you click on a wallet, a wallet wizard will start

Wallet wizards include specific guides. A wallet wizard only configures this wallet, not any other "wallet". So if a wallet supports NWC and lightning addresses, this will configure NWC and lightning address only for this wallet.
The reason for this is that it would again be confusing if you configure Blink but then another "wallet" is also suddenly configured if you entered your Blink lightning address and finish the wizard. Additionally, another (real) wallet could also add a lightning address. Should we then show two separate "lightning address wallets"? I don't think so.
That's also another reason why we shouldn't show protocols as wallets since multiple wallets can implement the same protocol. At that point, it becomes clear that protocols aren't wallets and not distinguishing between them in the UI and code becomes messy.

If a user cannot find a wallet they have, they will be shown available protocols and can suggest us to add their wallet to the first page

Here we can show protocols again. These protocols can be configured multiple times and will each create a new wallet. So instead of actually configuring a protocol, it's more like you create a new wallet for that protocol first and then configure that custom/unknown wallet. I think that's how we meant to use protocols as wallets.
They can then name this wallet and also suggest to us to add it to the first page.

On a side note, I started to mess with the wallet page a bit. I noticed the badges are in the way of logos and they don't make it easy to get an overview of send vs recv wallets anyway. This is why I created #1506 but I realized that we could show icons instead of badges for send+recv. These icons can then also be used instead of the status indicator to show separate status for send vs recv.
Here's my first draft for wallets with logos:

Unfortunately, the phoenixd SVG does not contain the name. The name is rendered as text on their page. Need to add the name manually in some way.

I agree with all your points, and I've been thinking further about how to design and implement the wizard system only from a UX and Dev perspective.
I find the current wallet attachment modular system quite effective, so I’ve been thinking how we could adopt a similar approach for wizards. The idea would be to allow stackers to express their guides into wizards, with minimal programming knowledge, while keeping the system flexible. Here’s what I’ve come up with so far:
The  modules would be exactly like wallet attachments, with some key differences:
1, authors:    same as with  zaps for guides, we could reward creators with sats if their wallet wizard is used.
2. markdown field type:  to support long-form text, images, etc.. To present detailed instructions and point users precisely to where to find the values.
3. multi-step flow: instead of a single fields field, to not overwhelm the user with too much info all at once, we break the flow into multiple steps, each step with its  fields.
4. async functions for fields arrays:  instead of a static array, we use an async function that returns an array of fields. So we can run code between steps to simplify some processes for the user when possible (e.g., using provider APIs to fetch data as needed). Each step would have access to values from previous steps, to transform data as needed.
5. final step for attachments and status: the last step would handle attachments and output the final status.
Using this "fantasy" wizard system, I’ve converted this Coinos guide as an example:
(The final step is in pseudo-code, but should be able to use the current wallet attachment system)
export const name = 'coinos'
export const authors = ['supratic']
export const icon = 'https://coinos.io/icons/logo.svg'
export const description = '[Coinos](https://coinos.io/) wallet'

export const steps = {
  SignUp: async (steps, wallets) => [
    {
      name: 'Sign Up',
      type: 'markdown',
      value: `
            Create a Coinos account on https://Coinos.io/register, fyi... it's KYC free,
            so no question asked on signup apart username and password.
            You can have it fully anonymous, clicking on the 🎲 and it will generate a random username for you.
            Make sure your password is secure.
        `
    }
  ],
  NWC: async (steps, wallets) => [
    {
      name: 'Get NWC',
      type: 'markdown',
      value: `
            Once you have your<EMAIL_ADDRESS>account...
            ![image](https://imgprxy.stacker.news/R1tVUU8XIXA5s0rqoL6d3x4syJDnq4r_BXgdqvDGfyM/rs:fit:1920:1080/aHR0cHM6Ly9tLnN0YWNrZXIubmV3cy81MzMxMQ)
            ... expand the details.
            ![image](https://imgprxy.stacker.news/G9oqobqhSGEt37-sq7LStJqtJ880QSEYCEX8aD-sdig/rs:fit:1920:1080/aHR0cHM6Ly9tLnN0YWNrZXIubmV3cy81MzMxMw)
            Then copy the Nostr Wallet Connect url and paste it below
        `
    },
    {
      name: 'nwcAddr',
      label: 'Input the NWC url',
      type: 'text',
      placeholder: 'nostr+walletconnect://...',
      autoComplete: 'off'
    }
  ],
  lnAddress: async (steps, wallets) => [
    {
      name: 'Get LN Address',
      type: 'markdown',
      value: `
            Once you have your<EMAIL_ADDRESS>account...
            ![image](https://imgprxy.stacker.news/R1tVUU8XIXA5s0rqoL6d3x4syJDnq4r_BXgdqvDGfyM/rs:fit:1920:1080/aHR0cHM6Ly9tLnN0YWNrZXIubmV3cy81MzMxMQ)
            ... expand the details.
            ![image](hhttps://imgprxy.stacker.news/jnrYBUi4dmYkO4SpDuJcc6Ww9D7GfIHTN_o8nuKvCn0/rs:fit:1600:900/aHR0cHM6Ly9tLnN0YWNrZXIubmV3cy81MzMxMg)
            Then copy that lightning address and paste it below.
        `
    },
    {
      name: 'lnAddr',
      label: 'Input the Lightning Address',
      type: 'text',
      placeholder<EMAIL_ADDRESS>      autoComplete: 'off'
    }
  ],
  Connecting: async (steps, wallets) => {
    try {
      await wallets.connect(
        'nwc', // connector
        { // fields
          nwcUrl: steps.NWC.nwcAddr
        },
        'coinos' // label
      )
      await wallets.connect(
        'lightning-address', // connector
        { // fields
          address: steps.lnAddress.lnAddr
        },
        'coinos' // label
      )
      return {
        name: 'Connected!',
        type: 'markdown',
        value: `
            You have successfully connected your Coinos wallet!
        `
      }
    } catch (e) {
      return {
        name: 'Error',
        type: 'markdown',
        value: `
            There was an error connecting your Coinos wallet. Please try again.

            Error: ${e.message}
          `
      }
    }
  }
}

I am not sure if LNC is a protocol or a wallet. Afaik, it can only be used with LND so maybe it should be part of LND's configuration for sending anyway? ↩

I think there is some grey area in this distinction.
LNC is a protocol, but if there was  an LNCHub.io provider that gives out LNC tokens, in that case  LNCHub.io would be considered as wallet and would have its wizard with a guide to tell the user how to signup and get the relevant LNC tokens.
Another case is Blink, it is a wallet, but also  a proprietary protocol, since it has its own graphql apis, so we should implement it both as an attachment and as a wizard.
Imo we should keep the wallet attachment nomenclature for everything that needs to have a specific protocol code, being it proprietary (blink) or a public standard (LNC, NWC). And then add wallet providers with their own wizards.
This distinction would look like this

provider
attachment

Coinos
NWC, lnaddress

Blink
Blink

AlbyHub
NWC

Voltage
CLN, LND, LNC

and so on.
If a provider supports more than one attachment for the same thing (ie. voltage), we can have a step in the wizard with a <select> field, to let the user pick one.


feat: add rocky image for rc

Why
we will build products images based on rockylinux
How

add 2 new jenkinsfile to produce dockerfile
add dockerfiles to this repo because its public to curl
add validation for rocky images

/lgtm

please move to https://github.com/PingCAP-QE/artifacts

/lgtm

/lgtm

/unhold

/merge


Malformed notification fix.

If ActivationType == "protocol" and there are no Actions, the toast will be malformed and will display improperly. (ie: Title = AppID, Message = "New notification")

closed for additional testing


Release to nuget.org?

Hi, do you have any plans to release this project as a nuget on nuget.org?

It is already there! 😅 https://www.nuget.org/packages/BccCode.Tripletex.Client
I do not know why I did not see it the other day, sorry for creating this issue


Stereo branch

@snosov1
Created the new stereo module with its specific files.

That looks fine to me. Just, please, fix the warnings, so it builds ok.
@vpisarev Vadim, what about you? Also, do we want to support the C functions and structures, like CvStereoBinaryBMState?

@MMp131316, thanks for the PR! Looks good! Please, remove
void filterSpeckles( InputOutputArray img, double newVal,
int maxSpeckleSize, double maxDiff,
InputOutputArray buf = noArray() );
Rect getValidDisparityROI( Rect roi1, Rect roi2,
int minDisparity, int numberOfDisparities,
int SADWindowSize );
void validateDisparity( InputOutputArray disparity, InputArray cost,
int minDisparity, int numberOfDisparities,
int disp12MaxDisp = 1 );
since they are present in calib3d. Also, add calib3d as dependency for the stereo module.

ok Best regards,
Muresan Mircea Paul
 On Tuesday, June 16, 2015 3:27 PM, Vadim Pisarevsky<EMAIL_ADDRESS>wrote:

@MMp131316, thanks for the PR! Looks good! Please, remove
void filterSpeckles( InputOutputArray img, double newVal,
int maxSpeckleSize, double maxDiff,
InputOutputArray buf = noArray() );Rect getValidDisparityROI( Rect roi1, Rect roi2,
int minDisparity, int numberOfDisparities,
int SADWindowSize );void validateDisparity( InputOutputArray disparity, InputArray cost,
int minDisparity, int numberOfDisparities,
int disp12MaxDisp = 1 );since they are present in calib3d. Also, add calib3d as dependency for the stereo module.—
Reply to this email directly or view it on GitHub.

@vpisarev Hello Vadim, I have done the what you have asked

:+1:


Add a SelectionWithDataIterator trait that allows should_unpack_leaf to return Option<Data>

[x] I agree to follow the project's code of conduct.
[x] I added an entry to rstar/CHANGELOG.md if knowledge of this change could be valuable to users.

This is useful for things like ray intersections, where you want to return the time of impact in order to find the closest object.

I'm going to try and get this PR merged over the next few days. A consensus on what the change should look like would be helpful.

@expenses please provide an example explaining the intended usage of this API.

@rmanoka happy to do this, I'm not sure where in the repo I should put this example though.
What I'm doing is that I have a triangle type like so:
pub struct Triangle {
    pub a: Vec3,
    pub b: Vec3,
    pub c: Vec3,
}

impl rstar::RTreeObject for Triangle {
    type Envelope = rstar::AABB<[f32; 3]>;
    ...

along with an an RTree as part of the data for a 3d model:
pub struct Model {
    pub acceleration_tree: rstar::RTree<Triangle>,
    ...
}

Then as a selection function I have a Ray:
pub struct Ray {
    pub origin: Vec3,
    pub direction: Vec3,

}

impl rstar::SelectionFunctionWithData<Triangle, f32> for Ray {
    fn should_unpack_parent(&self, envelope: &rstar::AABB<[f32; 3]>) -> bool {
        let bounding_box = BoundingBox::new(envelope.lower().into(), envelope.upper().into());
        self.bounding_box_intersection(bounding_box).is_some()
    }

    fn should_unpack_leaf(&self, triangle: &Triangle) -> Option<f32> {
        self.triangle_intersection(triangle)
    }
}

The f32 here being the time-to-impact.
This means that I can find out which model the ray hits first:
let ray = ...

let first_hit = models.iter()
    .filter_map(|model|
        model.acceleration_tree.locate_with_selection_function_with_data(ray)
            .map(|time_to_impact| (model.id, time_to_impact))
    )
    .min_by(|(_, toi_a), (_, toi_b)| toi_a.partial_cmp(toi_b).unwrap_or(std::cmp::Ordering::Equal))
    .map(|(model_id, _) model_id);

The above was written in this comment and won't compile, but you get the idea.

@expenses Thanks for the example;  that makes the use-case clear.  As discussed in this thread, I wonder if this could be done with the locate_with_selection_function:
let time_to_impact = acceleration_tree.locate_with_selection_function(&ray)
    .map(|triangle| ray.triangle_intersection(triangle));

You would have to adjust the impl SelectionFunction to work on reference: &Ray; the should_unpack_parent would remain the same, and should_unpack_leaf could always return true (which is the default impl. anyway).  Also, if Ray::triangle_intersection returns Option<f64>, then you would have to use filter_map.
It seems like extra functionality to return data in unpack_leaf can instead be done via a map or filter_map on the iterator obtained from the existing locate_with_selection_function.  Am I missing something?

It seems like extra functionality to return data in unpack_leaf can instead be done via a map or filter_map on the iterator obtained from the existing locate_with_selection_function. Am I missing something?

Nope, don't think so! That's indeed something that could work. I think I'll close this PR then.


Batch decoding tasks for decoding. Optionally use pyarrow.serialize

This is an optimization that helps in case of a small row sizes and decoders running in a process pool.
When bundled, a decoder returns multiple rows in a single queued message and we potentially save tens of thousands of small message passed cross process boundaries.

Codecov Report

Merging #185 into master will increase coverage by 0.44%.
The diff coverage is 93.57%.

@@            Coverage Diff             @@
##           master     #185      +/-   ##
==========================================
+ Coverage   81.68%   82.13%   +0.44%
==========================================
  Files          65       66       +1
  Lines        3462     3543      +81
  Branches      528      539      +11
==========================================
+ Hits         2828     2910      +82
- Misses        536      537       +1
+ Partials       98       96       -2

Impacted Files
Coverage Δ

petastorm/benchmark/cli.py
0% <0%> (ø)
:arrow_up:

petastorm/reader_impl/pyarrow_serializer.py
100% <100%> (ø)

petastorm/reader_impl/row_group_decoder.py
100% <100%> (ø)
:arrow_up:

petastorm/workers_pool/process_pool.py
92.05% <100%> (+1.8%)
:arrow_up:

petastorm/benchmark/throughput.py
86.36% <100%> (+1.51%)
:arrow_up:

petastorm/reader_impl/same_thread_executor.py
100% <100%> (ø)
:arrow_up:

petastorm/codecs.py
77.77% <72.72%> (-0.58%)
:arrow_down:

petastorm/reader_impl/worker_loop.py
95.2% <94.23%> (-1.4%)
:arrow_down:

petastorm/reader_impl/reader_v2.py
90.06% <95.83%> (+0.87%)
:arrow_up:

petastorm/reader_impl/shuffling_buffer.py
87.5% <95.83%> (+2.2%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 675348d...1922b50. Read the comment docs.

Please hold on with review. Found couple of serious logical bugs.


MudSelects dropdown is appearing in the top left of the screen.

Bug type
Component
Component name
MudSelect
What happened?
In my application I have several MudSelect components. No matter where they are in the application, the drop down is appearing in the top left corner of the page. This also occurs when I have one in the middle of a page.
I have tried setting the Anchor, but it still appears in the wrong place. I have checked that I don't have any CSS set anywhere. I am stumped!
I have the following stylesheets in the _Layout

<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />

<link href="css/site.css" rel="stylesheet" />

<link href="Elcomponent_MpcManager.styles.css" rel="stylesheet" />

<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />

<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />

<link href="/css/font-awesome/css/all.min.css" rel="stylesheet" />

<link href="/css/font-awesome/css/fontawesome.min.css" rel="stylesheet" />

I have the following scripts in the _Layout:

Here is the MudSelect
<MudSelect T="string" Variant="Variant.Outlined"            Margin="Margin.Dense"            AnchorOrigin="Origin.BottomCenter"            @bind-Value="@SelectedFilter"            Class="ml-3 mr-3 mt-3"                     Clearable="true"            MultiSelection="false"            Adornment="Adornment.End"<EMAIL_ADDRESS>          SelectedValuesChanged="@((value) => SetFilter(value))"            Placeholder="Select filter">     <MudSelectItem T="string" Value="@("Meters")">Meters</MudSelectItem>     <MudSelectItem T="string" Value="@("Locations")">Locations</MudSelectItem>     <MudSelectItem T="string" Value="@("Buildings")">Buildings</MudSelectItem> </MudSelect>
In this image it shows one of the MudSelects in a NavMenu.

**************************************************************************************************************
**************************************************************************************************************
**************************************************************************************************************
In this image, it shows the dropdown of the MudSelect appearing in the top left of the page, rather than beneath the MudSelect.

Expected behavior
The dropdown of the MudSelect should appear where the Anchor is specified, e.g. Bottom Center.
Reproduction link
https://try.mudblazor.com/snippet/QOGQEMbkBjoBvJZI
Reproduction steps
This bug does not have a trigger, it is based on some kind of conflict in the styling. It appears normal in the snippet.
Relevant log output
N/A

Version (bug)
6.0.11
Version (working)
N/A
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Make sure you only have a single MudPopoverProvider in your project.

Try adding the TransformOrigin="Origin...." to see if that makes a difference.

In my case there were two MudThemeProvider in my project.


Remove old naming

@shans @dstockwell I think this is it. Now we can expose the animation constructor, but I will do that in a different patch.

lgtm

Would you mind checking if our demos are borken now too? Doug points out they'll already be busted because the deprecation warning turns into an error 90 days out.

FYI some of the Web Animation demos are broken on Chrome Canary at the moment, it's best to test on beta or earlier until the fix lands (https://codereview.chromium.org/1196163003).


visual differentiation (background color, custom css etc)

to visually differentiate "prod" vs "qa" lenses

Could you elaborate the issue? What do you mean by prod and qa lenses?

like if you have two pharos cluster - it is easy to accidentally use wrong lens because they look the same

did it again (used wrong lens)

New issue for tracking this is https://github.com/lensapp/lens/issues/5287


Dataframe update

Codecov Report

Merging #82 into master will decrease coverage by 0.31%.
The diff coverage is 98.9%.

@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
- Coverage   96.13%   95.81%   -0.32%
==========================================
  Files          15       15
  Lines        1733     1794      +61
==========================================
+ Hits         1666     1719      +53
- Misses         67       75       +8

Impacted Files
Coverage Δ

streamz/tests/test_dataframes.py
96.89% <100%> (-0.04%)
:arrow_down:

streamz/dataframe.py
92.85% <98.46%> (-2.18%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cdcb005...ffcc052. Read the comment docs.


Update unity-scripting-upgrade.md

Fix the wrong indent on the sample codes.

@rumaniel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Cursor is not shown on Pinput tap after completion.

Describe the bug
Cursor is not shown on Pinput tap after completion.
To display the cursor, a backspace needs to be made after Pinput tap.
To Reproduce
Steps to reproduce the behavior:

Complete the Pinput
The keyboard is dismissed
Click on the Pinput -> Keyboard reappears but there is no cursor shown
Tap "back" on the keyboard
The cursor is now shown on the last PinItem

Screenshots
https://github.com/Tkko/Flutter_Pinput/assets/18703480/59725d3e-50fe-4dfd-8ca6-ad2233ecdb12
Pinput version
3.0.1
Smartphone

Device: iPhone 15 Pro
OS: 17.0.3

any updates or workarounds here? @MrLepage did you find a solution for this?

You can use the Pinput.builder and implement a custom pins where you show the cursor anytime you want.


Pinhole model support in C API for mrcal_rectified_system

See here
I just stumbled over this while embedding mrcal rectification map calculation into some C++ code.  I had previously used rectified_system with a pinhole model in the python api.
Do you have a timeline for when you might add this support?
Or perhaps you have some advice about an easier workaround than just using the python API?

Hello. This is very low priority for me since pinhole rectification is strictly worse than latlon rectification in every way: https://mrcal.secretsauce.net/stereo.html
If you need this, you should implement it! It wouldn't be that difficult, and I would appreciate the contribution. Port the relevant logic in mrcal._rectified_system_python() to the C mrcal_rectified_system() function. There already exists a test that makes sure that the not-yet-written port is correct: test-rectification-maps.py.
Thanks!

Ah, I suppose I need to undo this behavior in stereo.py:
https://github.com/dkogan/mrcal/blob/71c89c4e9f268a0f4fb950325e7d551986a281ec/mrcal/stereo.py#L511

So I have it implemented, and test-stereo.py and test-rectification-maps.py are now passing.
The primary issue is how to replace the root-finding provided by numpy with something in c. I found this as a possible solution: . It's BSD licensed and only two files (for the c implementation), so it seems to me to be a reasonable solution to include the files directly in mrcal, but that's up to you to decide.
I found another issue when working on this: there are missing docstring files that are referenced in mrcal-pywrap.c that don't exist in the repo:
measurement_index_points_triangulated
num_measurements_points_triangulated
decode_observation_indices_points_triangulated
I just commented those out to move forward, but I thought you should know.

akonneker @.***> writes:

So I have it implemented, and test-stereo.py and
test-rectification-maps.py are now passing.

Cool!

The primary issue is how to replace the root-finding provided by numpy
with something in c. I found this as a possible solution: . It's BSD
licensed and only two files (for the c implementation), so it seems to
me to be a reasonable solution to include the files directly in mrcal,
but that's up to you to decide.

Solving a quartic should be a standard-enough thing that we shouldn't
need to pull in any weird libraries. My suggestion would be to

Look at the code to understand what it does and why it does it. Maybe
we don't NEED to solve the quartic? It has been a while, so I don't
remember all the details, but I think this is intended to compute the
rectified image dimensions from pixels_per_deg. For pinhole
rectification this is poorly-defined: the pixel resolution changes
dramatically across the image. So maybe we can formulate this in a
slightly different way that doesn't need a quartic solve?

How do other toolkits do this? Do they simply let the user give them
the rectified image size, and call it done?

If we really must solve the quartic, and there's no way to simplify
the problem, let's use libdogleg. This is what mrcal is already using
to solve the calibration problem and a few other auxillary things.
It's intended to solve big, sparse least-squares problems, but we can
use it here to solve a dense least-squares problem with one parameter
(the argument of the quartic) and one measurement (the value of the
quartic at that argument). I think that should work. Sample usages:
https://github.com/dkogan/libdogleg/blob/c971ea43088d286a3683c1039b9a85f761f7df15/sample.c#L302C48-L303C41
https://github.com/dkogan/mrcal/blob/71c89c4e9f268a0f4fb950325e7d551986a281ec/mrcal.c#L3238

I found another issue when working on this: there are missing
docstring files that are referenced in mrcal-pywrap.c that don't exist
in the repo: measurement_index_points_triangulated
num_measurements_points_triangulated
decode_observation_indices_points_triangulated

Yeah. This is one of the many things that will eventually end up in
mrcal 3.0. It's nowhere near done, and the missing docstrings are a part
of that.

I just commented those out to move forward, but I thought you should
know.

That's ok for now. Once you have a workable patch we'll need to figure
out what to do. That could be you using the current mrcal git (which
would include your code), or maybe I should release mrcal 2.5 at some
point that will include the stuff that's done.

Hi. Are you still trying to do this? Do you need help?

Sorry for the delayed response. My quick hack satisfied my initial need and I've been pretty busy at work since then. I'll come back to this in another week or so when things slow down.


Added motor support and images + Example code

Idea is to have the motors be animated and have sound in the future.

Made changes to:

tkgpio.py

Added Class TkMotor()
Updated default_setup dictionary
Reformatted to Intellij coding convention (I couldn't help this, Pycharm just does this)

motor_example.py

Added example for setting up a motor

.gitignore

.idea/.DS_Store (Its an OSx thing)

Hello,
I was in the process of writing code to animate the motor based on speed from the pin state (float 0-1). It would just flash between the off and rotate state, having a background and foreground image is definitely a better way to go. I agree that there should be animation. I just didn't include it in this commit, as I was having a problem updating the pictures because it would lag the application. I will probably use multi-threading for that.
Brief background:
I just graduated from college a couple months ago and I actually saw a news article about this project and brought it up to my robotics professor. One of the things we worked on in Robotics, was building a car/robot that could navigate a maze without getting stuck. I told my professor that I would build him homework assignments using this project.
So in my case I would be using the motor as wheels, so I'll add multiple types of motors that look different. I want to be able to design an example that looks similar to the robot we made. Which brings me to another thought I had. I was thinking about adding another parameter for image rotation so there wouldn't be the need to add the same motor pictures 4 times. This is not necessary but would be nice.
I know some graphic design people that could definitely help with animation of motors/design. I don't know if you're using the images from Fritzing but I can have new motors designed.
#The formula used
def flashMotor(self, isForward, speed):
        """
        This function waits for 0.1 / x
        :param isForward: True or False, displays a certain picture
        :param speed: Speed is pin.state -  Higher number = faster flashes
        :return: Nothing
        """
        if (0.1 / speed) > 1:
            sleep(1)
        else:
            sleep(0.1 / speed)

        self._change_widget_image("off")

I will change this, but the basic idea is to use the pin.state value to set the speed of the animation.
Things I will change:

Shelf the sound idea.
Change the parameters for the TkMotor class to include those parameters.
I will remove the pin validation on line 489. Because I was using a list I tried to take into account the fact that someone might not pass a list and just an int, but your comment on using parameters instead is a better idea.

My thoughts on the validation issue(s):

I think that there needs to be validation. One of these types of validation is to make sure that the pin is available, I made the mistake yesterday using GPIO pin 20, Which is obviously a ground pin and my motor code wouldn't work at all. My suggestion would be to implement a pinout map for the Raspberry pi (JSON or some serialized object like a dictionary). In addition to this, have an operations mode in the base class that could be changed for other devices like Arduino or Raspberry pi hats that offer extra GPIO pins (If someone down the road wanted to pull/push that code).
If an invalid pin was used I would throw something along the lines of raise Exception("INVALID GPIO PIN: Pin {PIN_X} is {Dict[PIN_X]["pin_description"]}").  Maybe MockFactory already does this, I don't know.
Things like validation for whether or not GPIO pin(s) are set to a HIGH/LOW state would border on tedious, as complex hardware like a LiDar, Daisychained Pis, etc are in constantly changing states.
Validation for whether or not a pin is already in use would be helpful. I'm thinking a print() warning message is suitable for this.
I think the base class should handle the bulk of verification.

I will start work on these changes, I want to make sure you are okay with my thought process first though.

I just graduated from college a couple months ago and I actually saw a news article about this project and brought it up to my robotics professor. One of the things we worked on in Robotics, was building a car/robot that could navigate a maze without getting stuck. I told my professor that I would build him homework assignments using this project.

Cool! I'm very glad my humble library is being useful for other people. By the way, is this the news article you saw?

I know some graphic design people that could definitely help with animation of motors/design. I don't know if you're using the images from Fritzing but I can have new motors designed.

Thanks for the suggestion, but I'm drawing the images myself. That way I can keep the style consistent and avoid copyright issues. But I definitely get some inspiration from Fritzing. You can use placeholder images for now, and I will update them after the merge.

I just didn't include it in this commit, as I was having a problem updating the pictures because it would lag the application. I will probably use multi-threading for that.

All UI code must run on the main thread, actually. And don't underestimate the power of pillow + tkinter. TkLCD can render a new image (with the rectangles and characters) many times per second without impacting the performance.
Also this code
        if (0.1 / speed) > 1:
            sleep(1)
        else:
            sleep(0.1 / speed)

would freeze the UI, which would be a bad idea. That is why I use tkinter's loop and run the user's main function on a thread – check TkCircuit's run method. My _update_outputs calls all components every 10ms, and they refresh only if necessary.

EDIT: Having a base motor (Background) and multiple attachments for the motor (like a wheel or fan picture) is a much better route.

I think using a discrete set of rotation states would not be good for slow speeds. We should just have a base fan/wheel image and rotate it according to an instance variable for the current angle. This StackOverflow example uses TKCanvas + pillow, and it works great. We can combine that with a code like TkLED's update, which changes the image saturation according to the PWM value.

I was thinking about adding another parameter for image rotation so there wouldn't be the need to add the same motor pictures 4 times.

Exactly. We can load+cache 1 fan/wheel image and use pillow/canvas to render it, just like TkLED.

EDIT: I have since checked and done error testing of my own and I can say that MockFactory does a very good job of validation of pins. I am still trying to get familiar with your code.

MockFactory is the magic behind tkgpio, allowing me to easily hijack gpiozero's APIs and map it to tkinter. But I didn't dive deep enough to check their validation logic. Anyway, let's leave that for another time and focus on new components / features for now.

I've implemented the motor component myself, using the same idea from StackOverflow. Check the analog_control.py example.


Coredata Tests Need Device Data

I think we need to create device data and all of the dependent entries that go with devices (profile, addressable, etc) for the coredata tests. Here's the use case:
By default in the core-data service the "MetaDataCheck" flag is set to false. When set to true, this flag causes core-data to call core-metadata in order to validate that the device Id/Name exists in the database. If it does not exist, a 404 is returned.
When the flag is set to its default (false) and I run the event tests from the core-data collection, I get 78 pass, 0 fail.
When the flag is set to true and I do the same, I get 48 pass, 7 fail. This is because there isn't any device data specified in the DataDumps/coredata folder that I can use to populate the database. Thus every call to core-metadata is returning "not found".
https://github.com/edgexfoundry/blackbox-testing/tree/master/bin/postman-test/DataDumps/coredata

they should be different test cases, and we need to verify all of them:

"MetaDataCheck" flag is false and some dependent profiles do not exist, and test can pass with appropriate data returned
"MetaDataCheck" flag is true and some dependent profiles do not exist, and test can pass with expected 404 status code

If we create all the dependent entries, we can't verify the behavior of "MetaDataCheck" flag
Thus, I suggest to modify the test script, instead of creating data

@tsconn23
if want to test different configuration ,may have below solutions :
1.add another config file at edgex-go/cmd/core-data/re , but need redeploy service
or
2.add api for modify configuration
I think use api is more useful

@weichou1229 Do you use Consul when running the blackbox tests? If so, you can go into the Consul UI and change settings then restart the given service. I agree that whatever we decide on should eventually be automated or point and click.

so , when auto test running , it's should use Consul api to change setting , then restart the service .

Move this issue to edgex-taf #17


Temporarily add personal details to E&D export

Context
This is a temporary adjustment of the E&D export to include personal details of candidates so that the user researchers on the Impact Squad can contact candidates for interviews.
Because this is a large export we decided not to go through the rails console as we have done previously. This means we will need to release this change, take a download, and then revert the changes.
Changes proposed in this pull request
I've added name, email address, phone number, and whether or not they are happy to be contacted. Consent to be contacted  comes from the application_feedback table. We thought it might be worth being aware of those candidates who would prefer not to be contacted.
Guidance to review
Are there data security reasons why this is a really bad idea? Is there a better way?
Link to Trello card
https://trello.com/c/pUUyeFDN/84-adding-contact-details-to-ed-data-extract (This is on the Impact Squad board)
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

I'll merge this then create a separate PR for reverting the changes so that we can have it ready to go once we've taken the export.


Compatible with Angular 2?

Does this plugin work with Angular2?
Image never loads. Am I doing something wrong?
main.ts
if (application.android) {
application.onLaunch = function (intent) {
console.log('in  launch');
imageCache.initialize();
};
}
Component:
import {registerElement} from "nativescript-angular/element-registry";
registerElement("WebImage", () => require("nativescript-web-image-cache").WebImage);
<WebImage stretch="fill"               src="http://nprock.rmrdevelopment.com/content/testmessage.jpg">              </WebImage>

Hi @shanermr, I believe you are trying on Android as you don't need to start on iOS.
fresco needs to be started before your bootstrap. so add before that, like so:
if (application.android) {
    application.onLaunch = function (intent) {
        imageCache.initialize();
    };
}

nativeScriptBootstrap(yourApp,[]);

He already copied in that he initializes in mail.ts?
I am experiencing the same problem.

@leocaseiro life saver! I had it below my nativeScriptBootstrap line. Moved it directly below my import lines and working as expected.

@shanermr  Do you just require the application module in the following way:
var applicationModule = require("application");

Yep
var application = require("application");
var imageCache = require("nativescript-web-image-cache");
if (application.android) {     application.onLaunch = function (intent) {         console.log('in  launch');         imageCache.initialize();     }; }
nativeScriptBootstrap(AppComponent,

Thanks a lot to both of you!
It works like a charm! ;)


Adds <IP_ADDRESS> release notes

Signed-off-by: Robert Downs<EMAIL_ADDRESS>Issue #, if available:
https://github.com/opensearch-project/index-management/issues/277
Description of changes:
Adds release notes for <IP_ADDRESS>
CheckList:

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #293 (b8f0b52) into main (7d5d2fb) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #293      +/-   ##
============================================
- Coverage     76.30%   76.24%   -0.07%
+ Complexity     2046     2043       -3
============================================
  Files           262      262
  Lines         11848    11848
  Branches       1887     1887
============================================
- Hits           9041     9033       -8
- Misses         1783     1789       +6
- Partials       1024     1026       +2

Impacted Files
Coverage Δ

...nt/indexstatemanagement/model/destination/Chime.kt
40.90% <0.00%> (-13.64%)
:arrow_down:

...gement/transform/model/ContinuousTransformStats.kt
65.38% <0.00%> (-3.85%)
:arrow_down:

...anagement/indexstatemanagement/model/Transition.kt
64.78% <0.00%> (-2.82%)
:arrow_down:

...ensearch/indexmanagement/rollup/model/ISMRollup.kt
92.98% <0.00%> (-1.76%)
:arrow_down:

...nt/rollup/action/stop/TransportStopRollupAction.kt
70.93% <0.00%> (-1.17%)
:arrow_down:

.../rollup/action/start/TransportStartRollupAction.kt
66.27% <0.00%> (-1.17%)
:arrow_down:

...earch/indexmanagement/transform/model/Transform.kt
84.34% <0.00%> (-0.87%)
:arrow_down:

...management/indexstatemanagement/MetadataService.kt
61.15% <0.00%> (-0.83%)
:arrow_down:

.../opensearch/indexmanagement/rollup/model/Rollup.kt
83.96% <0.00%> (-0.48%)
:arrow_down:

...earch/indexmanagement/transform/TransformRunner.kt
86.42% <0.00%> (+0.71%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d5d2fb...b8f0b52. Read the comment docs.


Getting error "Cannot find JsonApiReader or JsonApiFormat type class"

Just found that with Scala version 2.12.3, I'm stilling having the issue (https://github.com/qvantel/jsonapi-scala/issues/11).
Is there anything wrong with my code? or does it fully support scala 2.12 yet? :)
Thanks.
build.sbt
scalaVersion := "2.12.3"
libraryDependencies ++= Seq(
  "com.qvantel" %% "jsonapi-scala-core" % "5.1.2",
  "io.spray" %%  "spray-json" % "1.3.3"
)

Welcome to Scala 2.12.3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_131).
Type in expressions for evaluation. Or try :help.

scala> :paste
// Entering paste mode (ctrl-D to finish)

import _root_.spray.json.DefaultJsonProtocol._
import com.qvantel.jsonapi._

implicit val apiRoot: ApiRoot = ApiRoot(None)

@jsonApiResource final case class Employee(id: String, name: String)
@jsonApiResource final case class Company(id: String, name: String, employees: ToMany[Employee])

val acme = Company("1", "acme", ToMany.loaded(Seq(Employee("1", "number one 1"))))

val json = rawOne(acme)
val parsed = readOne[Company](json, Set("employees"))

acme == parsed // true

// Exiting paste mode, now interpreting.

<console>:19: error: could not find implicit value for evidence parameter of type com.qvantel.jsonapi.Identifiable[Employee]
       val acme = Company("1", "acme", ToMany.loaded(Seq(Employee("1", "number one 1"))))
                                                    ^
<console>:22: error: Cannot find JsonApiReader or JsonApiFormat type class for Company
       val parsed = readOne[Company](json, Set("employees"))

You need to add macro paradise plugin for it to work. Another thing I've forgotten to mention in the readme I guess :(
When using the console from the project (so the macro paradise is added) it works
sbt:jsonapi-scala> ++2.12.3
[info] Setting Scala version to 2.12.3 on 3 projects.
[info] Excluded 2 projects, run ++ 2.12.3 -v for more details.
[info] Reapplying settings...
[info] Set current project to jsonapi-scala (in build file:/Users/ahuttunen/code/jsonapi-scala/)
sbt:jsonapi-scala> core/console

... bunch of stuff compiling

Welcome to Scala 2.12.3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_112).
Type in expressions for evaluation. Or try :help.

scala> :paste
// Entering paste mode (ctrl-D to finish)

import _root_.spray.json.DefaultJsonProtocol._
import com.qvantel.jsonapi._

implicit val apiRoot: ApiRoot = ApiRoot(None)

@jsonApiResource final case class Employee(id: String, name: String)
@jsonApiResource final case class Company(id: String, name: String, employees: ToMany[Employee])

val acme = Company("1", "acme", ToMany.loaded(Seq(Employee("1", "number one 1"))))

val json = rawOne(acme)
val parsed = readOne[Company](json, Set("employees"))

acme == parsed // true

// Exiting paste mode, now interpreting.

import _root_.spray.json.DefaultJsonProtocol._
import com.qvantel.jsonapi._
apiRoot: com.qvantel.jsonapi.ApiRoot = ApiRoot(None)
defined class Employee
defined object Employee
defined class Company
defined object Company
acme: Company = Company(1,acme,Loaded(List(Employee(1,number one 1))))
json: spray.json.JsObject = {"data":{"attributes":{"name":"acme"},"relationships":{"employees":{"data":[{"type":"employees","id":"1"}],"links":{"related":"/companies/1/employees"}}},"links":{"self":"/companies/1"},"id":"1","type":"companies"},"included":[{"type":"employees","attributes":{"name":"number one 1"},"id":"1","links":{"self":"/employees/1"}}]}
parsed: Company = Company(1,acme,Loaded(List(...

So try adding this to your build.sbt
resolvers += Resolver.sonatypeRepo("releases")
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)

Made a simple example repo showing this.
https://github.com/Doikor/jsonapi-scala-example
I will update the readme on this repo also.


Create Modal: always show Port Index for host ports

@gkleiman reports that the Ports section should not let the user specify a Port value unless we are in Docker/BRIDGE mode.
In a nutshell, this is because – unless the user explicitly sets requirePorts: true , what we are in fact specifying here is a servicePort – which does not meet the current expectations.
In fact, from the docs:

In this example, we specify three randomly assigned host ports which would then be available to our command via the environment variables $PORT0, $PORT1 and $PORT2. Marathon will also randomly assign three service posts in addition to these three host ports.

So in the Host Networking case it would be a lot less confusing to the users if we simply disabled editing the port value altogether, and simply asked the user "how many ports do you need".
The proposed solution then should look like this for anything but Docker/BRIDGE mode:

cc @leemunroe @aquamatthias

:+1:

@pierlo-upitup nit: I think the text should be "Configure your application to listen on $PORT0..."

cc @air

The current modal (which shows the port number, not the env variable index) is still very useful if requirePorts is set to true.

From a UX pov I think it would be worth adding a paragraph below For more advanced port configuration options, including service ports, use JSON Mode. with "use JSON Mode" toggling to JSON.

cc'ing @sargun as he had some good feedback on this UI