DestroyWindow is missing?

I would expect this function to be invoked by sdl.DestroyWindow() but it does not exist. Also I did not find any informations about the window object in the sdl wiki so could it be that sdl's window is "just a pointer" so does not have any properties? But since go-sdl2's windows have methods could it be that those passive functions are turned into active functions on the window object? If this is the case what is the naming convention for transferring the function names of sdl2 into method names for go-sdl2?

Hi @Pixdigit, our convention for making a function into a method is usually we remove the type name of the object (e.g. in this case Window in SDL_DestroyWindow and then we just take whatever is left as the method name e.g. window.Destroy()). If you spot anything that you feel inconsistent, feel free to tell us and we'll have a look about it.

Ok thank you again. But generally a small guide on the differences between "pure" SDL and Go-SDL would be nice for starters.

Neither sdl.CreateTexture nor sdl.Texture.Create exist (I tested Createtexture, Create_texture and Create_Texture too). Or do these follow some other kind of pattern?

And while we are at it: Where is SDL.PIXELFORMAT_RGBA32?

Hi @Pixdigit,
You can create texture through renderer:
func (renderer *Renderer) CreateTexture(format uint32, access int, w int, h int) (*Texture, error)
SDL_PIXELFORMAT_RGBA32 and its variants were missing from the package. I just added them in the latest commit. Let me know if you can use them.
For future reference, you can take a look at https://godoc.org/github.com/veandco/go-sdl2 for an overview of the package's API.

Ok I will for close this issue. I did not know there was a documentation.
However I will post here if it worked.

Works now


Duplicate retriever search call

It seems there is a duplicate call to the retriever.search here that is not needed, and the first can be removed.  If so, perhaps we can remove lines 225-229.
Is my understanding correct? I just found this repo, so I may be missing something.
https://github.com/assafelovic/gpt-researcher/blob/0a0e4aed4731a41a51168f141cbf4039eb7fadb8/gpt_researcher/master/agent.py#L216-L244

Good catch @samialsheikh ! Must've been pushed with an unhandled merge. Just updated here: https://github.com/assafelovic/gpt-researcher/commit/c1274a86c2619b9fb0f3c6631a744df3f06acb27


Use canonicals for pages with query params

We need to set up some canonical URLs for the pages where we use query params, so that these pages don't get indexed with every combination of query params known to mankind.
https://rishimohan.me/blog/nextjs-canonical-tag
We don't want google to treat them as separate URL. But we should align with Mette & co about how this should ideally be listed in Siteimprove.
We should avoid things like equinor.com/search?query= , equinor.com/search?query=e equinor.com/search?query=eq`. Also accordions add params to the URL like with the Fact page
We also use quite a lot of query params for campaign, we should also ask Mette & co for some insight here.
Acceptance criteria wip

Satisfy Google/Bing while still making SiteImprove useful

@wenche to expand on this issue

Also pay attention to how the queries are showing in the siteimprove. Today it's bloating the Siteimprove statistics.

@SvSven, isn't this fixed?

Don't think we ever set up anything with canonical tags, no.
I do recall we briefly discussed whether this was needed or not, but don't remember the outcome of that.

@fernandolucchesi to check if this is implemented

Should be ok now


Creating a proxy for a contract with solidity libraries fails from the Project class

Creating a proxy using zos-lib directly fails for a contract that requires Solidity libraries. When running createProxy for the first time for a contract, the Project class will attempt to deploy the logic contract, but will fail since it does not have its libraries linked.
await myProject.createProxy(MyContractWithLibs, { initArgs: [myArg] });

The error thrown is the following (thanks @jachai for the report):
TypeError: Cannot read property 'match' of undefined
    at getSolidityLibNames (/Users/jretina/Programming/PROPSProject/props-token-distribution/node_modules/zos-lib/src/utils/Bytecode.ts:23:35)
    at Object.hasUnlinkedVariables (/Users/jretina/Programming/PROPSProject/props-token-distribution/node_modules/zos-lib/src/utils/Bytecode.ts:29:10)
    at Object.buildDeploymentCallData (/Users/jretina/Programming/PROPSProject/props-token-distribution/node_modules/zos-lib/src/utils/ABIs.ts:24:7)
    at Object.<anonymous> (/Users/jretina/Programming/PROPSProject/props-token-distribution/node_modules/zos-lib/src/utils/Transactions.ts:93:112)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/jretina/Programming/PROPSProject/props-token-distribution/node_modules/zos-lib/lib/utils/Transactions.js:9:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

Note that this works when called from the CLI, since the NetworkController takes care of linking the library automatically. It first uploads all solidity libraries at uploadSolidityLibs:
https://github.com/zeppelinos/zos/blob/a7600c23fd6fc5630a78bd5096675631a666f192/packages/cli/src/models/network/NetworkController.ts#L202-L214
And then links them for each contract at:
https://github.com/zeppelinos/zos/blob/a7600c23fd6fc5630a78bd5096675631a666f192/packages/cli/src/models/network/NetworkController.ts#L242-L246
A workaround is to manually deploy the solidity library, and then link it to the contract instance before calling createProxy. Something along the lines of the following (untested):
MyLibrary = Contracts.getFromLocal("MyLibrary")
const lib = await this.project.setImplementation(MyLibrary, "MyLibrary");
MyContractWithLibs.link({ "MyLibrary": lib.address });
await myProject.createProxy(MyContractWithLibs, { initArgs: [myArg] });

As a permanent solution, we need to move this logic from the controller to the project class, while preserving the deployed libraries addresses in the controller and network files.

I'm having a similar issue after updating to 2.4.0.
Calling createProxy() fails.
contract = await project.createProxy(MyContract, {
      initMethod: 'initialize',
      initArgs: [
        owner,
        address_a,
        address_b,
        address_c,
        address_d
      ]
    });

     TypeError: Cannot read property 'toChecksumAddress' of undefined
      at Object.toAddress (node_modules/zos-lib/src/utils/Addresses.ts:12:21)
      at new ProxyAdmin (node_modules/zos-lib/src/proxy/ProxyAdmin.ts:39:20)
      at Function.<anonymous> (node_modules/zos-lib/src/proxy/ProxyAdmin.ts:34:12)
      at Generator.next (<anonymous>)
      at fulfilled (node_modules/zos-lib/lib/proxy/ProxyAdmin.js:4:58)
      at process._tickCallback (internal/process/next_tick.js:68:7)


Allow to control params from inside storybook

At the moment, it seems that parameters and query need to be hardcoded in the story. It would be great if this could be done from the panel.
If there is interest, I'm happy to provide a PR.

Hi 👋 thanks for opening an issue.
This has been requested a number of times, I would be happy to merge such a PR 🤘

Thanks! I'll most likely be able to get it done over the next days. My current approach would be:
In the add-on panel, above the event log, display the routePath and text fields for all routeParams and searchParams that are set in the story. Below them, have a text field with the actual current location, and with the stringified router state. Add buttons to:

Populate the location text field based on the routePath and the text fields for routeParams and searchParams
push or replace the location

The panel than would communicate via the event channel with the preview to push or replace accordingly.
Here's a sketch:

What do you think?

Having free text fields is nice while working on a component. I would also
consider the possibility to add or remove a search param. If you can do it,
you could also offer the possibility to add route params for sub routes or
descendant routes (inside a nested router).
Can you tell me why route & search params section don't have push/replace
buttons?
Another point would be to allow presets, so one can, with one click, switch
from one path to another. The idea would be to be able to test transitions
and animations, with ease.
For the UX we can consider different options :

Panel vertically splitted, logs on the left, controls of the right.
Tabs, logs and controls
Panel horizontally splitted, controls on the top, logs at the bottom
Any suggestion?

Le jeu. 15 déc. 2022 à 22:35, Daniel Bartholomae @.***>
a écrit :

Thanks! I'll most likely be able to get it done over the next days. My
current approach would be:
In the add-on panel, above the event log, display the routePath and text
fields for all routeParams and searchParams that are set in the story.
Below them, have a text field with the actual current location, and with
the stringified router state. Add buttons to:

Populate the location text field based on the routePath and the
text fields for routeParams and searchParams
push or replace the location

The panel than would communicate via the event channel with the preview to
push or replace accordingly.
Here's a sketch:
[image: sketch]
https://user-images.githubusercontent.com/3396992/207971866-1fe074ed-b428-491d-98fa-af00a6b42c98.png
What do you think?
—
Reply to this email directly, view it on GitHub
https://github.com/JesusTheHun/storybook-addon-react-router-v6/issues/14#issuecomment-1353737356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXCDWNWESH6D75BXCHQJTWNOFLJANCNFSM6AAAAAAS6TKHOA
.
You are receiving this because you commented.Message ID:
@.***
com>

If you can do it, you could also offer the possibility to add route params for sub routes or descendant routes (inside a nested router).

I might not get to nested routers in this first iteration :)

Can you tell me why route & search params section don't have push/replace buttons?

Seems the UI isn't self-explanatory yet: When you change the route or search param text fields, nothing happens yet. When you then click "populate location", it overwrites the content of the "Current location" text input. And only when you then press replace or push, does it actually change the location and rerender. This way, you can freely edit the "Current location" text box to achieve any kind of location you want, and the buttons and fields above it are just helpers to make that process easier.

Another point would be to allow presets, so one can, with one click, switch from one path to another.

Good idea! I think these would need to be configured in the params, so I would also leave that out for a first version, but it should be easy enough to add later.

For the UX we can consider different options : 1. Panel vertically splitted, logs on the left, controls of the right. 2. Tabs, logs and controls 3. Panel horizontally splitted, controls on the top, logs at the bottom 4. Any suggestion?

Vertical split sounds appealing. I'll check @storybook/components to see what is easily achievable.

I've experimented a bit this weekend, but am not that happy yet. I couldn't figure out why, but navigating to a new location leads to 3 navigation events being logged. Maybe it has to do with what happens in RouterLogger - I haven't fully understood the hook structure in there yet.
If you want to take a look, I would love some feedback around this bug. I would work on the functionality of how to create the new locations after these are solved.

To prevent various race conditions, RouterLogger make sure the storybook event have been receive and check the location key before logger anything, so the order is preserved.
To understand the reason you have 3 events logged, I suggest you track the re-renders.
Storybook can mount & unmount story components, leading to weird behavior sometimes.

Hi! Unfortunately, I don't think that I will be able to work on this in the forseeable future. I ran into trouble to untangle the way that the router was wrapped around the component and couldn't solve that after trying for a while. And now, the topic isn't top-of-mind for me and my team anymore.


Removal testimonial and security from the footer

Description

i have removed the testimonial and security from the footer as they were not being used from most of the pages i might have missed for some but main pages i have covered
I mentioned about this in the issue of my old pull request
Related Issues

Closes #

Type of PR

[ ] ()

Screenshots / videos (if applicable)

Checklist

[ ] I have gone through the contributing guide
[ ] I have updated my branch and synced it with project main branch before making this PR
[ ] I have performed a self-review of my code
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:

@varshith257 please review and merge this as only 4 hours are left


 I find my LocalLeader to be irritating to hit while typing, but enough other, unrelated bindings use it that I'm not comfortable changing it wholesale.

LGTM. Thanks for the patch! Happy to merge when you give the say so!

I think we're good!


Change Password Sample?

Could you add some simple examples on how to change passwords?
If they are different, I have 2 in mind.
Change MY Password (change password of the account you just connected with)
Change YOUR Password (change password of an account other than the one you logged in with)
Thanks,
Dan
https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.0/cicf-api/en/index.html#rest/users

Hi @DanRobinsonHPE,
Thank you for bringing up this enhancement request. We are working on this and this feature will be available from next release.


Add Tile function

Hi, I'm going to implement the postprocessing for the YOLOv4 model in the KotlinDL library, but it requires many different analogs of the NumPy functions.
Could you please add the analogue of the np.tile function?

This function is quite extensive. In essence, this is broadcasting with the creation of an array.
The difficulty is adding such a function to the api, can you give specific cases of using this function in the yolo model?

This  is a script which should be ported, looks like it involves broadcasting, due to expand_dims usage


[Usage]: ValueError: Model architectures ['Qwen2ForCausalLM'] failed to be inspected. Please check the logs for more details.

Your current environment
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.6 LTS (x86_64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.31

Python version: 3.11.10 (main, Oct  3 2024, 07:29:13) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.4.0-153-generic-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 3090
GPU 1: NVIDIA GeForce RTX 3090

Nvidia driver version: 530.41.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   43 bits physical, 48 bits virtual
CPU(s):                          64
On-line CPU(s) list:             0-63
Thread(s) per core:              2
Core(s) per socket:              32
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           49
Model name:                      AMD Ryzen Threadripper 3970X 32-Core Processor
Stepping:                        0
Frequency boost:                 enabled
CPU MHz:                         2589.433
CPU max MHz:                     3700.0000
CPU min MHz:                     2200.0000
BogoMIPS:                        7400.62
Virtualization:                  AMD-V
L1d cache:                       1 MiB
L1i cache:                       1 MiB
L2 cache:                        16 MiB
L3 cache:                        128 MiB
NUMA node0 CPU(s):               0-63
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Vulnerable
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, IBPB conditional, STIBP conditional, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.21.5
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] pyzmq==26.2.0
[pip3] torch==2.5.1
[pip3] torchvision==0.20.1
[pip3] transformers==4.46.1
[pip3] triton==3.1.0
[conda] blas                      1.0                         mkl
[conda] mkl                       2023.1.0         h213fc3f_46344
[conda] mkl-service               2.4.0           py311h5eee18b_1
[conda] mkl_fft                   1.3.10          py311h5eee18b_0
[conda] mkl_random                1.2.7           py311ha02d727_0
[conda] numpy                     1.26.4          py311h08b1b3b_0
[conda] numpy-base                1.26.4          py311hf175353_0
[conda] nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cuda-cupti-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-nvrtc-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-runtime-cu12  12.4.127                 pypi_0    pypi
[conda] nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cufft-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusolver-cu12      <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-ml-py              12.560.30                pypi_0    pypi
[conda] nvidia-nccl-cu12          2.21.5                   pypi_0    pypi
[conda] nvidia-nvjitlink-cu12     12.4.127                 pypi_0    pypi
[conda] nvidia-nvtx-cu12          12.4.127                 pypi_0    pypi
[conda] pyzmq                     26.2.0                   pypi_0    pypi
[conda] torch                     2.5.1                    pypi_0    pypi
[conda] torchvision               0.20.1                   pypi_0    pypi
[conda] transformers              4.46.1                   pypi_0    pypi
[conda] triton                    3.1.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.4.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    CPU Affinity    NUMA Affinity
GPU0     X      SYS     0-63            N/A
GPU1    SYS      X      0-63            N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

How would you like to use vllm
# Initialize the tokenizer
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct")

# Pass the default decoding hyperparameters of Qwen2.5-7B-Instruct
# max_tokens is for the maximum length for generation.
sampling_params = SamplingParams(temperature=0.7, top_p=0.8, repetition_penalty=1.05, max_tokens=512)

# Input the model name or path. Can be GPTQ or AWQ models.
llm = LLM(model="Qwen/Qwen2.5-7B-Instruct")

When I want to load the Qwen2.5-7B-Instruct, it seems fail. And get error: ValueError: Model architectures ['Qwen2ForCausalLM'] failed to be inspected. Please check the logs for more details.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Can you show the full logs?

export VLLM_USE_MODELSCOPE=True

Thx for reply.
The full logs are as following:
ERROR 11-29 06:51:24 registry.py:297] Error in inspecting model architecture 'Qwen2ForCausalLM'
ERROR 11-29 06:51:24 registry.py:297] Traceback (most recent call last):
ERROR 11-29 06:51:24 registry.py:297]   File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/model_executor/models/registry.py", line 468, in _run_in_subprocess
ERROR 11-29 06:51:24 registry.py:297]     returned.check_returncode()
ERROR 11-29 06:51:24 registry.py:297]   File "/envs/Anaconda3/envs/PRM/lib/python3.11/subprocess.py", line 502, in check_returncode
ERROR 11-29 06:51:24 registry.py:297]     raise CalledProcessError(self.returncode, self.args, self.stdout,
ERROR 11-29 06:51:24 registry.py:297] subprocess.CalledProcessError: Command '['/envs/Anaconda3/envs/PRM/bin/python', '-m', 'vllm.model_executor.models.registry']' returned non-zero exit status 1.
ERROR 11-29 06:51:24 registry.py:297]
ERROR 11-29 06:51:24 registry.py:297] The above exception was the direct cause of the following exception:
ERROR 11-29 06:51:24 registry.py:297]
ERROR 11-29 06:51:24 registry.py:297] Traceback (most recent call last):
ERROR 11-29 06:51:24 registry.py:297]   File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/model_executor/models/registry.py", line 295, in _try_inspect_model_cls
ERROR 11-29 06:51:24 registry.py:297]     return model.inspect_model_cls()
ERROR 11-29 06:51:24 registry.py:297]            ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 11-29 06:51:24 registry.py:297]   File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/model_executor/models/registry.py", line 257, in inspect_model_cls
ERROR 11-29 06:51:24 registry.py:297]     return _run_in_subprocess(
ERROR 11-29 06:51:24 registry.py:297]            ^^^^^^^^^^^^^^^^^^^
ERROR 11-29 06:51:24 registry.py:297]   File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/model_executor/models/registry.py", line 471, in _run_in_subprocess
ERROR 11-29 06:51:24 registry.py:297]     raise RuntimeError(f"Error raised in subprocess:\n"
ERROR 11-29 06:51:24 registry.py:297] RuntimeError: Error raised in subprocess:
ERROR 11-29 06:51:24 registry.py:297] Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp-a34b3233.so.1 library.
ERROR 11-29 06:51:24 registry.py:297]   Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
ERROR 11-29 06:51:24 registry.py:297]
Traceback (most recent call last):
  File "/test111.py", line 13, in <module>
    llm = LLM(model="/model/Qwen2.5-Math-7B-Instruct")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/utils.py", line 1028, in inner
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/entrypoints/llm.py", line 210, in __init__
    self.llm_engine = self.engine_class.from_engine_args(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 582, in from_engine_args
    engine_config = engine_args.create_engine_config()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/engine/arg_utils.py", line 959, in create_engine_config
    model_config = self.create_model_config()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/engine/arg_utils.py", line 891, in create_model_config
    return ModelConfig(
           ^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/config.py", line 251, in __init__
    self.multimodal_config = self._init_multimodal_config(
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/config.py", line 277, in _init_multimodal_config
    if ModelRegistry.is_multimodal_model(architectures):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/model_executor/models/registry.py", line 422, in is_multimodal_model
    return self.inspect_model_cls(architectures).supports_multimodal
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/model_executor/models/registry.py", line 391, in inspect_model_cls
    return self._raise_for_unsupported(architectures)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/envs/Anaconda3/envs/PRM/lib/python3.11/site-packages/vllm/model_executor/models/registry.py", line 348, in _raise_for_unsupported
    raise ValueError(
ValueError: Model architectures ['Qwen2ForCausalLM'] failed to be inspected. Please check the logs for more details.

And I use export VLLM_USE_MODELSCOPE=True but It doesn't seem to be working.

ERROR 11-29 06:51:24 registry.py:297] RuntimeError: Error raised in subprocess:
ERROR 11-29 06:51:24 registry.py:297] Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp-a34b3233.so.1 library.
ERROR 11-29 06:51:24 registry.py:297]   Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.

This shows that you need to update your numpy version.

It works! Thanks @DarkLight1337 !
But after I update my numpy to the newest version(2.1.3), it get some conflicts, which is
vllm 0.6.4.post1 requires numpy<2.0.0, but you have numpy 2.1.3 which is incompatible.

Though my code can run properly, Will this become a problem for the future? Do I need to downgrade the numpy version？

vllm-0.6.6.post2.dev4+g7af553ea does this with ALL models

Please open a new issue and provide more information.


Add impossibilty of forwarding parts of Effect

Since Effect has Events and Stores within it, people may assume they can Forward them, as they would regular Events and Stores. However, this behavior is not implied, and hence not supported.

I must apologize, I had to talk about this calmer; now I'm think that forwarding really should not cause an error, although in general forwarding to parts of effect is really not supported

@zerobias No hard feelings :) I also apologize if I somehow disrespected your contribution, I appreciate your hard work on this library. Also, I want to make it clear that I have only positive feelings about this library and would like to further participate in its improvement. So if you have any documentation related issues or some not-so-complicated bugs, I might help out


Pentadactyl always opens new child tabs in Tree Style Tab since updating to Fx44

Hello,
With the latest versions of both TST and Pentadactyl installed, every new tab is opened as a child tab of the current one. The only situation in which this is not the case is when opening several tabs with the same command, e.g. :tabopen google.com | duckduckgo.com
It also opens child tabs when using QuickMarks, and when using hints.
There is an identical bug for Vimperator, and there is an open issue on TST's Github here. Google Translate was somewhat helpful, but I am not sure if a solution has been found

Self translation.
By recent changes of TST, now the strategy was changed. Old TST opened new tabs as independent by default, and only intentionally attached tabs became children of the current tab. However, now new tabs with relatedToCurrent or referrerURI option are opened as children of the current tab, and only intentionally rejected tabs become independent tabs.

Vimperator's implementation of the "tabopen" command: https://github.com/vimperator/vimperator-labs/blob/master/common/content/tabs.js#L867
The code actually opens a new tab: https://github.com/vimperator/vimperator-labs/blob/master/common/content/liberator.js#L852

If Vimperator (and Pentadactly) opens a new tab via BrowserOpenTab() or something, they are tracked by TST and new tabs will be opened as independent at bottom of the tab bar. However, because Vimperator calls a lower API gBrowser.loadOneTab() with relatedToCurrent option, TST opens those tabs as children of the current tab.
So, there are some choices:

I make TST's condition more harder to open new tabs as children.
TST injects some codes into Vimperator's internal function to open new independent tabs.
Vimperator calls TST's API to open new independent tabs.

Currently I have no better idea about the 1st choice. The 3rd choice depends on Vimperator's author's will. The 2nd choice seems most realistic solution, but it is risky because such injection will be broken by future changes in Vimperator itself.
I need a cool idea for the 1st choice, because many other addons can have same compatibility issues like this.

I have this problem as well. What is the reason for this change in strategy?

I have this problem as well. What is the reason for this change in strategy?

Because I got many requests to open child tabs from other addons like this and I had to write special codes to inject API call for each addon again and again. Such injection is troublesome, because redefined functions can be broken easily from variables defined with const - they can't be accessed from other namespaces anymore, so I hoped that I reduce such dangerous codes from TST as possible as I can. I don't want to inject my custom codes into Vimperator's function.

After the commit https://github.com/piroor/treestyletab/commit/0bfedf7480e5dab008a5de2e52a96bcadc9a597f TST detects new "possibly child" tabs more strictly. It is the 1st solution I told at https://github.com/5digits/dactyl/issues/140#issuecomment-184127678 and I hope that it solves this problem.

Problem solved! This also opens up new potential Pentadactyl/Vimperator commands for hooking into TST and opening child tabs with a keyboard shortcut - say, ^t, perhaps.
Thank you piroor!

Working again for me too now.

And for me. Thanks!
@symmetryrtemmys  'ntnn' already wrote that, plugins/contrib/treestyletabs.js has a :tabchildopen along with many other useful commands. :-)

@symmetryrtemmys, issue resolved? Please close :)

@polyzen apologies! :)

@symmetryrtemmys None needed. :)
@polyzen seems to have gone on a spree and requested all possibly outdated issues to be closed.


Should not spawn a new daemon just for --help

I was just building Quarkus with mvnd when I just wanted to check the mvnd options so I ran mvnd --help in another terminal.
I was surprised that a new daemon was spawned (other one was busy building Quarkus) just to print help, which seems a bit inefficient.

It is doable, although not a priority for myself. Feel free to send a PR. BTW, -v/--version is a similar case.

I'll have a look, after #285 was merged.

I think the most practical solution would be to have a text, properties or whichever other kind of a resource in mvnd-common or in mvnd-client that would contain all the necessary data for -h. Parts of that data is already available in org/mvndaemon/mvnd/common/Environment.javadoc.properties and in org/mvndaemon/mvnd/common/OptionType.javadoc.properties which are both generated by DocMojo. So the DocMojo would have to be enhanced to record all the missing data, most notably the result of org.apache.commons.cli.HelpFormatter.printHelp(PrintWriter, int, String, String, Options, int, int, String, boolean) that we now call on the Daemon side https://github.com/mvndaemon/mvnd/blob/master/daemon/src/main/java/org/apache/maven/cli/MvndHelpFormatter.java#L57
BTW, this will make the client tightly coupled to a specific Maven version. There was some discussion in the past where @gnodet said that he'd prefer to move towards a setup where a single client executable can spawn daemons using several distinct Maven versions. @gnodet, what do you think about the current proposal?

Right, I'd rather try to keep mvnd as much independent of the exact maven version in order to ease the migration or ideally, make it work with multiple versions.
However, given we redefine the MavenDaemonCli to override the default CLI already, I think that part is definitely dependent on the exact maven implementation and any change in the option supported by maven would require a change in that class, so I don't see the caching of the formatted help output as a problem.

Right, I'd rather try to keep mvnd as much independent of the exact maven version in order to ease the migration or ideally, make it work with multiple versions.
However, given we redefine the MavenDaemonCli to override the default CLI already, I think that part is definitely dependent on the exact maven implementation and any change in the option supported by maven would require a change in that class, so I don't see the caching of the formatted help output as a problem.

I just wanted to open a similar ticket for --version ;-)


Re-add the cudnn and profiler cupy.cuda modules

They were deleted from the namespace with the cupy_backends change

I thought profiler was imported in __init__.py?
https://github.com/cupy/cupy/blob/e738ace716c6e099318ce102a693119c108b8d92/cupy/cuda/__init__.py#L19
And can't we do the same thing to cudnn?

This PR intends to make import cupy.cuda.cudnn possible which was working in v8.0.0b4.

There files have been removed from cupy/cuda in cupy_backends refactoring:
-cublas.pyx
-cudnn.pyx
-curand.pyx
-cusolver.pyx
-cusparse.pyx
-cutensor.pyx
-driver.pyx
-nvrtc.pyx
-profiler.pyx
-runtime.pyx

However providing wrapper (... import *) for all these sounds overkill. My idea is to only provide wrapper for these 3 modules:

documented namespaces (namespaces used in documented APIs): profiler, runtime
undocumented namespace, but often directly imported for historical reasons (Chainer): cudnn

pfnCI, test this please.

Jenkins CI test (for commit e738ace716c6e099318ce102a693119c108b8d92, target branch master) failed with status FAILURE.


Table: fix column label not visible in some condition.

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Make sure you are merging your commits to dev branch.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

fixed #1451 #1464

这个bug在1.2.3下依然存在，自己改重置边框颜色HEX值没效果。最后切换成rgba就好了。也不知道什么原因。


Max call stack size exceeded when template within SVG element

I'm submitting a bug report
<EMAIL_ADDRESS>Windows 10
Node v6.6.0
NPM v3.10.3
JSPM v0.16.45
Browsers

Chrome 53.0.2785.116
nwjs 0.17.3-sdk

Language:
TypeScript
Current behavior:
aurelia-logging-console.js:54 ERROR [app-router] RangeError: Maximum call stack size exceeded
    at ViewResources._invokeHook (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:1276:63)
    at ViewCompiler.compile (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2531:17)
    at ViewCompiler._compileElement (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2732:28)
    at ViewCompiler._compileNode (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2565:23)
    at ViewCompiler.compile (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2534:12)
    at ViewCompiler._compileElement (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2732:28)
    at ViewCompiler._compileNode (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2565:23)
    at ViewCompiler.compile (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2534:12)
    at ViewCompiler._compileElement (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2732:28)
    at ViewCompiler._compileNode (http://localhost:9000/jspm_packages/npm/aurelia-templating@1.1.0/aurelia-templating.js:2565:23)

graph.html
<template>
  <svg width="800" height="400" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
    <template replaceable part="contents">

    </template>
  </svg>
</template>

graph.ts
export class Graph {
}

index.html
<template>
  <require from="./graph"></require>

  <graph>
    <template replace-part="contents">
       <!--  I'm going to add my custom svg elements in here eventually -->
    </template>
  </graph>
</template>

If I comment out <template replaceable part="contents"></template> from within the svg element I no longer get the crash. Sometimes in chrome I'll even get "Aw, Snap!" and when I run in nwjs it normally takes down the whole app.

appears to occur with just a plain <template></template> within an svg too

My guess is that this is just a limitation of SVG. SVG is very strict. Can you create a simple reproduction that we can test out?

I'll get a demo together. There is a Polymer bug about the functionality being broken which has a link to an example which was apparently working at some point, although now doesn't due to DOMException: Only secure origins are allowed.

Occurs here:
https://gist.run/?id=c5e2cae39f9aec04e8d149a4026a4546

Some background on why they had issues in Polymer:

Template elements with a svg parent have the same namespaceURI (http://www.w3.org/2000/svg), so the browser doesn't implement HTMLTemplateElement. The bootstrap code in 0.5 basically transplanted all child nodes of any svg-namespaced template into a new html-namespaced template, and then inserted that node back in its place.

@EisenbergEffect I'm using aurelia-template-lint which tells me it's bad to combine if.bind and repeat.for on a single element. This issue seems to point out its definitely wrong, although everything is working fine as I've only been targeting electron where it seems to work.
However, now my app will also be targeting generic browsers and if I can't use template within svg what are my options?

<slot> still works within svg so rather than create further custom elements, my current workaround is:
@inlineView('<template><slot if.bind="condition"></slot></template>')
export class SvgIf {
  @bindable public condition: boolean = true;
}

Which can be used like:
<svg-if condition.bind="displayNote">
   <!-- conditional svg content -->
</svg-if>

Nasty but simple


Support HEAD request for the download specific crate route

Sending HEAD request to https://crates.io/api/v1/crates/serde/1.0.0/download is supported
it would be great supporting this too

I will send PR shortly


fix: demo( photo screen).

When you swipe to bottom, if you change direction (such as "」" gestures).
Now screen is already goback, After the trigger 'setParams' will throw an error.
I fixed, I hope I can help other coder.

@MonsterAnan Thank you for your fix!


[BUG] - Empty DatePicker doesn't accept 31 as day if no month is given.

NextUI Version
2.3.6
Describe the bug
When there is a datepicker with no value, it is not possible to start with the 31st of the month when inputting via keyboard. Instead, you have to first input a month with 31 days.
For a locale with a day-month-year date format this is unexpected behaviour.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Create a datepicker with no value and try to put in 31 as a day.
Expected behavior
I expect to be able to put in 31 as a day. When I then try to input a month with less than 31 days, the day field should be reset to null.
Screenshots or Videos

Operating System Version
macOS/Ubuntu
Browser
Chrome

This is probably a bug in react-aria that we use in our implementation. This is because there is always a date under the hood, even when the placeholder is displayed.
See: https://github.com/adobe/react-spectrum/issues/3256
The default is today's date, but you can also set it using the placeholderValue property.
import {CalendarDate} from '@internationalized/date';

<DatePicker
  label="Birth date"
  placeholderValue={new CalendarDate(2020, 12, 1)}
/>
```


Question - Can I add these field in below shipping method

@sbodak - Question - Can I add these fields below shipping method (in shipping tab)? what changes do I need to do for this?

@pravinagham Yes, you can do it very easily.
Check one of the previous Issue https://github.com/sbodak/magento2-checkout-custom-form/issues/1#issuecomment-378705065


Obtain the current thread index rather than the id

I enjoy parlay so much that I want to integrate it with my own linear memory allocator. For that to work, I need a function like tbb::this_task_arena::current_thread_index() that returns the thread index $\in[0, \text{maxConcurrency})$. I browsed parlay's source code but didn't find an equivalent. For now I just compile parlay with tbb but would like to know if the native thread pool can help achieve the goal.:)

If you're only using one scheduler (the default), then you can use parlay::worker_id(). If you're using multiple schedulers, worker id's will be non-unique (each scheduler will have their own workers numbered 0 through num_workers), and instead there is parlay::internal::get_thread_id(), which will give a unique integer up to the number of threads total across all schedulers.
Feel free to try these, however, do note that they are still experimental features and subject to change in the future, which is why we don't currently advertise them in the documentation.


StandaloneSearchBox does not accept wrapped inputs

StandaloneSearchBox does not create the google.maps.places.SearchBox in the same way SearchBox does. As far as I see it StandaloneSearchBox accpects the input to be a direct child, SearchBox allows it to be wrapped in other elements like divs.
I would propose to adjust the behavior of  StandaloneSearchBox to allow wrapped inputs. This would allow for better styling control. I can open a PR if you wish.

@jkettmann a PR definitely works! Please open!


When reindexing on this datadir I found the following log:
632091ms th_a       db_management.cpp:67          reindex              ] Reindexing terminated due to gap:  Block 143557 does not exist!
632091ms th_a       db_management.cpp:81          reindex              ] Dropped 50 blocks from after the gap
632091ms th_a       db_management.cpp:93          reindex              ] Done reindexing, elapsed time: 93.87607500000000016 sec
[New Thread 0x7ffff63e0700 (LWP 17741)]
632294ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140737324648192

Apparently we somehow never got block 143557.

Moving discussion to #428


Nuke: adding Reformat to baking mov plugin

Brief description
Reformat node is definable in settings
Description
Reformat node is disabled by default and needs to be activated.
Testing notes:

Start nuke in your testing workfile, make sure it is more than fullHD resolution
Enable project_settings/nuke/publish/ExtractReviewDataMov/outputs/baking/reformat_node_add
make sure your Extract review preset is not having reformat to fullHD resolution (project_settings/global/publish/ExtractReview/profiles/0/outputs/h264/width or height is set to 0)
publish render write
notice that extracted review mp4 is fullHD resolution rather then the original workfile resolution

Task linked: OP-2739 Nuke - Add Reformat node for baked Mov

It is working well. The only thing is that the node graph is a bit messy after publishing


Changes for ATC 8.0.1 release

This PR is not related to any issues. It includes all the changes required for a release

Which Traffic Control components are affected by this PR?

Traffic Ops
Traffic Router
Traffic Portal
Version

What is the best way to verify this PR?

N/A
If this is a bugfix, which Traffic Control versions contained the bug?

N/A
PR submission checklist

[ ] This PR has tests
[ ] This PR has documentation
[x] This PR has a CHANGELOG.md entry
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Everything that depends on TO seems to be failing, probably from this (from the Go Vet run:
 # github.com/apache/trafficcontrol/v8/traffic_ops/traffic_ops_golang/deliveryservice/servers
Error: traffic_ops/traffic_ops_golang/deliveryservice/servers/servers.go:770:20: undefined: api.Info
# github.com/apache/trafficcontrol/v8/traffic_ops/traffic_ops_golang/deliveryservice/servers
# [github.com/apache/trafficcontrol/v8/traffic_ops/traffic_ops_golang/deliveryservice/servers]
Error: vet: traffic_ops/traffic_ops_golang/deliveryservice/servers/servers.go:770:20: undefined: api.Info


Add ability to regenerate invoices.

This adds a button that regenerates an invoice and a button that takes you to the invoice preview to the admin invoice detail page:

A few gotchas - after the invoice is created, the invoice generation uses the contents of Invoice.customer when generating the html - so any changes made to the order (e.g. updating the vat number or billing notes) won't appear on the invoice. I can change that - but then updating an Order will overwrite any changes that could have been made to Invoice.customer. @malemburg / @sm6xmm - let me know what behaviour would be most useful for you.

Since the purpose of the regeneration is to be able to make changes to the address or billing notes, please don't use the existing details for generating the updated invoice. Please also make sure that the invoice number does not change.
Ideally, only the PDF generation of the invoice should be retriggered based on changes made to the invoice data in the admin. Having invoices regenerated from orders gives us even more flexibility, but needs to be done carefully, since the Invoice object itself should not change as a result.

Looking at the code, it seems that it actually works the way I described, so I'll merge this now.

Right - the way it works now, it is the data from the Invoice that's going to be used for invoice regeneration. Let me know if you run into any issues while using the functionality and I'll revisit this.


Okta: Email After 30-day Expiration email

Problem statement
We need to send a reminder email to users 30-day after expiration.
What you need to know

Comms Plan
...

Acceptance criteria

[ ] Send an email to users after 30-day expiration

To do

[ ] ...

@chris-kuryak this is probably work for next sprint?

@chris-kuryak @TaneaY I'm good with what we have now in the communications plan doc! This ticket was written with the AC to send it, but obviously that's not a me task. So maybe we close this and make a new one for that for next sprint?

@chris-kuryak @audreykwr sounds good when will support receive the list of user not yet migrated for send out. I would like to schedule on 12/21 by 5pm for 12/22 8am EST send out just need the recipients. Thank you!

@TaneaY here is the list: link
Sorry I missed the cutoff on this! I forgot about EST.
It is totally okay if this doesn't go out tomorrow morning or even tomorrow at all. It can wait until Tues Dec 26 if necessary.

Email sent, closing.


Injection of array with Facts into POJO rules throws exception when not String

Arrays in POJO rules can only be injected with String Facts. This is clearly a bug that should be resolved.

Support for injection of arrays and non-List collections was removed in order to keep things simple. However, Lists were retained and will be injected in POJO rules when type-matching Facts exist.


Update Schedule for RBC Workshop + Speaker info

Hi CUSEC! We've had some updates to the RBC Workshop + Speaker. Our speaker's last name was spelled wrong ;) Please see below. What do you think?

Workshop updates.

current:
12:15 PM - 01:15 PM | Workshop by RBC
Analyzing a day in my Spotify life with technology

to be updated to:
12:15 PM - 01:15 PM | Andrew Briggs - Technical Lead at RBC
Practicing Architecture by analyzing a day in my Spotify life. Please read GitHub repo prior to Workshop!

Speaker updates:

current:
05:30 PM06:00 PM | Alexandra Cactus

to be updated to:
05:30 PM06:00 PM | Alex Catus - Fullstack Developer at RBC
Initiation to RxJs, a love story. GitHub demo available here!

On it! Thanks for letting us know :smile:

On it! Thanks for letting us know :smile:


Just needed to find a way to contact you and say this.

@h3farooqi thats odd, let me fix that.

same thing for me actually when clicking the discord here https://runelite.net/plugin-hub/show/quest-voiceover

fixed in here, its now pending release.


add miqExpression::Target equality

Equality is only planned for use in tests
Implement == so we can use expect(x).to eq(other) / x == other in rspec tests.

Not sure about eql? (or rather I think it's incomplete).  According to the Ruby docs - https://ruby-doc.org/core-3.0.3/Object.html#method-i-eql-3F:

The eql? method returns true if obj and other refer to the same hash key. This is used by Hash to test members for equality. For any pair of objects where eql? returns true, the hash value of both objects must be equal. So any subclass that overrides eql? should also override hash appropriately.

Based on that if you are implementing eql?, then you should also implement hash.  I think you can do something like
    def hash
      [column, model, associations].hash
    end

Then .eql? can use hash directly:
    def eql?(other)
      hash == other.hash
    end

update:

implemented hash
changed from eql? to eq? since that is the method we will be using

update:

Use alias == eq? instead of alias :== :eq?.

eq? is not really a thing in Ruby, so I don't think we should add it. There's just ==, eql?, and equal? (and ===, but that's different).  Rspec has an eq matcher because they can't have a matcher named == since that's an operator, and the eq matcher calls ==, so eq? will never actually be called anywhere.
I think remove the eq? and just drive it as == and we are good to go

update:

dropped eq
updated tests to properly test casting

update:

rebased master
squashed the fixup commit (via the browser to delete a unneeded commend)


swift build command fails with syntax error

Hi There!
I'm having trouble building MongoKitten via swift build, when I run the command, I get a bunch of errors similar to the following, all appearing to come from code in MongoCryptoEssentials.
/Users/Harry/Documents/Code/Libraries/MongoKitten/Sources/MongoCryptoEssentials/BlockMode.swift:21:71: error: @escaping attribute only applies to function types
    static func makeEncryptionIterator(iv: [UInt8], cipherOperation: @escaping CipherBlockOperation, inputGenerator: AnyIterator<[UInt8]>) -> AnyIterator<[UInt8]>

As far as I can tell, I'm executing the proper version of Swift:
swiftenv which swift
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-08-18-a.xctoolchain/usr/bin/swift

Have you run into this problem before? Am I doing something wrong?

Ah, scratch that:
Specifying the path of the binary and running build that way seemed to work. So this must be an issue with swiftenv or the way I've set it up.
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-08-18-a.xctoolchain/usr/bin/swift build


client stop sending data under presure testing?

Hello, I meet a strange problem causing the client stop sending packets when doing my program's presure testing.
the client side send 5760 bytes by lsquic_stream_write in on_write callback，the engine didn't schedule send packets out？the connection becomes not tickable.
2022-08-26 10:27:42.192 [DEBUG] engine: send_packets_out: sent 0 packets
Detail:
connection=3086627034087193389 quic engine can write
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 0 (unacked_all: 0); cwnd: 5840
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_can_schedule: 1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: created packet 347876
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: created packet 347876; flags: version=0, nonce=0, conn_id=1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_packet_scheduled: replenish tokens: 10
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_packet_scheduled: tokens: 9
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: generated STREAM frame: stream 0, offset: 497767170, size: 1440, fin: 0
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 1472 (unacked_all: 0); cwnd: 5840
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_can_schedule: 1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: created packet 347877
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: created packet 347877; flags: version=0, nonce=0, conn_id=1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_packet_scheduled: tokens: 8
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: generated STREAM frame: stream 0, offset: 497768610, size: 1440, fin: 0
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 2944 (unacked_all: 0); cwnd: 5840
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_can_schedule: 1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: created packet 347878
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: created packet 347878; flags: version=0, nonce=0, conn_id=1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_packet_scheduled: tokens: 7
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: generated STREAM frame: stream 0, offset: 497770050, size: 1440, fin: 0
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 4416 (unacked_all: 0); cwnd: 5840
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_can_schedule: 1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: created packet 347879
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: created packet 347879; flags: version=0, nonce=0, conn_id=1
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_packet_scheduled: tokens: 6
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: generated STREAM frame: stream 0, offset: 497771490, size: 1440, fin: 0
2022-08-26 10:27:42.191 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 5888 (unacked_all: 0); cwnd: 5840
connection=3086627034087193389 write 5760 bytes to quic engine
2022-08-26 10:27:42.192 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 5888 (unacked_all: 0); cwnd: 5840
2022-08-26 10:27:42.192 [DEBUG] engine: incref conn 2D7BE210EFE6D52A, 'H' -> 'HO'
2022-08-26 10:27:42.192 [DEBUG] engine: incref conn 2D7BE210EFE6D52A, 'HO' -> 'HOK'
2022-08-26 10:27:42.192 [DEBUG] engine: batched all outgoing packets for full conn 2D7BE210EFE6D52A
2022-08-26 10:27:42.192 [DEBUG] engine: decref conn 2D7BE210EFE6D52A, 'HOK' -> 'HK'
2022-08-26 10:27:42.192 [DEBUG] engine: send_packets_out: sent 0 packets
2022-08-26 10:27:42.192 [DEBUG] engine: decref conn 2D7BE210EFE6D52A, 'HK' -> 'H'
2022-08-26 10:27:42.192 [DEBUG] [QUIC:2D7BE210EFE6D52A] conn: not tickable
2022-08-26 10:27:42.192 [DEBUG] engine: incref conn 2D7BE210EFE6D52A, 'H' -> 'HA'
2022-08-26 10:27:42.192 [DEBUG] engine: next advisory tick is 192275 usec away: conn 2D7BE210EFE6D52A: PACK_TOL

And after this, it didn't send out packets any more, until the connection was closed by 'no progress timeout'.
I didn't find out the how it happen after reading the code.

Another strange thing, sometimes the pacer's next_sched  wents wrong?
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709551252 usec from now
Detail:
connection=3086627034087193389 quic engine can write
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 13248 (unacked_all: 13248); cwnd: 16436
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_can_schedule: 1
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: created packet 346799
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: created packet 346799; flags: version=0, nonce=0, conn_id=1
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: making up: 1; app limited; 0
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709551252 usec from now
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: generated STREAM frame: stream 0, offset: 496232491, size: 1439, fin: 0
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 14720 (unacked_all: 13248); cwnd: 16436
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_can_schedule: 1
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: created packet 346800
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: created packet 346800; flags: version=0, nonce=0, conn_id=1
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: making up: 1; app limited; 0
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709551527 usec from now
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: generated STREAM frame: stream 0, offset: 496233930, size: 1439, fin: 0
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 16192 (unacked_all: 13248); cwnd: 16436
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: lsquic_pacer_can_schedule: 1
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: created packet 346801
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: created packet 346801; flags: version=0, nonce=0, conn_id=1
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: making up: 0; app limited; 0
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 186 usec from now
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] event: generated STREAM frame: stream 0, offset: 496235369, size: 1439, fin: 0
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] sendctl: send_ctl_can_send: n_out: 17664 (unacked_all: 13248); cwnd: 16436
connection=3086627034087193389 write 4317 bytes to quic engine

after filter the log, it seems to be frequent. maybe it is related to stop sending packets?
2022-08-26 10:27:40.039 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 47 usec from now
2022-08-26 10:27:40.039 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 322 usec from now
2022-08-26 10:27:40.040 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 597 usec from now
2022-08-26 10:27:40.041 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 275 usec from now
2022-08-26 10:27:40.041 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 550 usec from now
2022-08-26 10:27:40.041 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 825 usec from now
2022-08-26 10:27:40.041 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 1100 usec from now
2022-08-26 10:27:40.044 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 275 usec from now
2022-08-26 10:27:40.044 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 550 usec from now
2022-08-26 10:27:40.044 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 825 usec from now
2022-08-26 10:27:40.044 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 1100 usec from now
2022-08-26 10:27:40.047 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709549873 usec from now
2022-08-26 10:27:40.047 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709550148 usec from now
2022-08-26 10:27:40.047 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709550423 usec from now
2022-08-26 10:27:40.047 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709550698 usec from now
2022-08-26 10:27:40.048 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709549490 usec from now
2022-08-26 10:27:40.048 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 275 usec from now
2022-08-26 10:27:40.049 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 550 usec from now
2022-08-26 10:27:40.049 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 825 usec from now
2022-08-26 10:27:40.049 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 1100 usec from now
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709551252 usec from now
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to<PHONE_NUMBER>3709551527 usec from now
2022-08-26 10:27:40.050 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 186 usec from now
2022-08-26 10:27:40.055 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 220 usec from now
2022-08-26 10:27:40.055 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 440 usec from now
2022-08-26 10:27:40.115 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 297 usec from now
2022-08-26 10:27:40.124 [DEBUG] [QUIC:2D7BE210EFE6D52A] pacer: next_sched is set to 297 usec from now

and this is my code
// push data to buffer
int send_data_to_buffer(const char* data, size_t data_len) {
  LogDebug("connection=%" PRIu64 " write %zu bytes to buffer", connid_, data_len);
  if (data_len != 0) {
    if (wantwrite_ == false) {
      LogDebug("connection=%" PRIu64 " set wantwrite=1", connid_);
      lsquic_stream_wantwrite(stream_, 1);
      wantwrite_ = true;
    }
  }

  out_buffer_.Append(data, data_len);
  return 0;
}

// when on_write callback, write data in buffer to stream
int on_stream_writable_wrapper() {
  LogDebug("connection=%" PRIu64 " quic engine can write", connid_);
  ssize_t nwrite = lsquic_stream_write(stream_, out_buffer_.BeginPtr(), out_buffer_.Datalen());
  if (nwrite < 0) {
    LogError("connection=%" PRIu64 " lsquic_stream_write failed,retcode=%zd", connid_, nwrite);
    return -1;
  }
  LogDebug("connection=%" PRIu64 " write %zd bytes to quic engine", connid_, nwrite);

  out_buffer_.ForwardBegin(nwrite);
  out_buffer_.Recycle();

  if (out_buffer_.Datalen() == 0) {
    LogDebug("connection=%" PRIu64 " write all bytes=%zd done,flush stream", connid_, nwrite);
    lsquic_stream_flush(stream_);
    LogDebug("connection=%" PRIu64 " write all bytes=%zd done,set wantwrite=0", connid_, nwrite);
    if (wantwrite_ == true) {
      LogDebug("connection=%" PRIu64 " set wantwrite=0", connid_);
      lsquic_stream_wantwrite(stream_, 0);
      wantwrite_ = false;
    }
  }
  return 0;
}

My test scenario is that the client sends one-way to the server, the client stop sending after a while.
if the server send something to client timely, it runs ok. the client can keep sending packets....


Command seen stuck  when tried to execute  -H tcp://containerIP:2375 between Nodes

I am adding this new issue based on the prior discussions I had with Stefan Scherer.
Problem Description:
When I was trying to run the swarm demo as instructed in the link "https://stefanscherer.github.io/build-your-local-windows-docker-swarm/" and I got stuck in one of the steps, mainly when I tried to fetch the token from swarm manger from a node (window node), docker-swarm-join script was seen stuck for sometime and exited with error. Later I found that docker -H tcp://<IP_ADDRESS>:2375 is not working when I tried it from my worker node. But I am able to run this command from my real machine, and the manager node vm is returning me the token. With this token, i am able to join the swarm from all nodes created. I am not sure why I can't use this command from the VMs, I believe vms can see each other on the network that is why I am able to join swarm, and was able to run a service on nodes, right?.
Also, I ran the portainer application using the script given in the sample to view the swarm, but I was not able to view it using the browser using http://<IP_ADDRESS>:9000/ . Browser says it can't find the server. Even I couldn't connect it from my real machine
This is how the docker service is registered currently
.dockerd.exe --run-service -H npipe:// -H <IP_ADDRESS>:2375 -G docker --label os=windows
My host machine is Windows 10 1607. We are using oracle virtual box with docker-windows base image from Windows2016 server trial version. There is corporate proxy which we had already set and we can pull images and we had set the DNS same as our corporate DNS.
Pinging between the nodes was only enabled after I set the ICMP. Even disabling the firewall or writing inbound and outbound rule is not helping us.

Thanks for the details. I'm AFK for some days so it will take some time for a closer look.
So you use the swarm-mode subfolder to build the nodes?

Actually I have used "swarm-demo" subfolder.

Hm, strange. Is that a proxy (<IP_ADDRESS>) in between?

Yes you are right, that is a proxy.

So you have to skip the proxy to let the docker cli talk to the local VM directly.
Are there environment variables HTTP_PROXY and/or HTTPS_PROXY set in your terminal?
PowerShell: ls env:HTTP*
cmd: set HTTP

Hi Stefan,
I unset the proxy and found  docker -H tcp:// info working. Thanks for your support.
But Docker might need these proxy as I working behind the corporate proxy.  In Windows 10 we can configure the Docker Environment using the CLI -Settings Tabs. How can we set the same in the nodes we have created?

Good news that it works now.
Well, you have to add a provision script to set these variables during the creation of the VM's.
Create a new script in swarm-mode/scripts/set-proxy.ps1 with eg.
setx /M HTTP_PROXY https://yourproxyip:port
setx /M HTTPS_PROXY https://yourproxyip:port
restart-service docker

and add this to the swarm-mode/Vagrantfile as additional provision step.
   config.vm.provision "shell", path: "scripts/set-proxy.ps1"

I have had already used a power shell script and added it in the  vagrant script and used it to provision the nodes and that is how I had set the proxy and I was able to pull the images in docker after that.
But now we are un-setting the proxy variables in the node right? So after that we may not be able to pull the images.

Hm, it seems difficult. The global system environment variable is needed for the Docker service.
In the user terminal window you have to unset the environment variable to talk to the Docker endpoint.
I don't know if that works on Windows as well, but try to set NO_PROXY environment variable to something like localhost,<IP_ADDRESS>/8,<IP_ADDRESS>/24.

Closing due to inactivity.


gcomapiprocessor: CanonicalHeaderKey for X-Scope-OrgID

I think there should be a test for this change, to ensure it fixes the issue, but I won't block this from being merged

Thanks @jpkrohling. Adding a test should be straight forward I think, I'll look into it today.

@jpkrohling I added a test case for this and it passes. I don't know that this proves it will fix the issue because the existing test cases (w/o canonical header key) don't fail like we see at runtime.

// Extract X-Scope-OrgID
key := http.CanonicalHeaderKey(orgID)

https://pkg.go.dev/net/http#CanonicalHeaderKey
The canonicalization converts the first letter and any letter following a hyphen to upper case; the rest are converted to lowercase.

So that will convert X-Scope-OrgID to X-Scope-Orgid based on my reading @jpkrohling @rlankfo
We see 500s in Dev for every request - can this be changed / rolled-back?

// Extract X-Scope-OrgID

key := http.CanonicalHeaderKey(orgID)

https://pkg.go.dev/net/http#CanonicalHeaderKey

The canonicalization converts the first letter and any letter following a hyphen to upper case; the rest are converted to lowercase.

So that will convert X-Scope-OrgID to X-Scope-Orgid based on my reading @jpkrohling @rlankfo
We see 500s in Dev for every request - can this be changed / rolled-back?

This can be reverted but to be clear it didn't introduce the 500s in dev. These have been ongoing for a while since the faro collector is configured to send data to the otel collector (otlp-gateway-v2) instead of the otlp-gateway.


Custom Annotation support

We need custom annotation support so that we can annotate the application where we want this chaos to be executed. currently, it supports default litmus annotation, which you can ignore via annotationCheck: 'false' we want a custom annotation support, which could reference it while putting an experiment, this way we can solve for the use case, where the application will participate in chaos or ignore it.

Fixed by https://github.com/litmuschaos/chaos-operator/pull/177


Exception Name: NSInvalidArgumentException

I'm getting this error with version 1.4.9, it comes right after I click "ALLOW" for the network.

Exception Name: NSInvalidArgumentException
Description: **\* -[__NSArrayM insertObject:atIndex:]: object cannot be nil
User Info: (null)

0   CoreFoundation                      0x00007fff8351c7bb **exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff97c89a2a objc_exception_throw + 48
2   CoreFoundation                      0x00007fff834386ad -[__NSArrayM insertObject:atIndex:] + 1389
3   AppKit                              0x00007fff81100ad4 -[NSMenu insertItem:atIndex:] + 614
4   libawt_lwawt.dylib                  0x0000000128b0f389 addMenuItem + 185
5   libawt_lwawt.dylib                  0x0000000128b0ecf6 -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
6   libawt_lwawt.dylib                  0x0000000128b0ef1b __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1 + 159
7   JavaNativeFoundation                0x0000000119ebef3a +[JNFRunLoop _performCopiedBlock:] + 17
8   Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
9   CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 17
10  CoreFoundation                      0x00007fff83494907 **CFRunLoopDoSources0 + 423
11  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
12  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
13  HIToolbox                           0x00007fff82a33f6c RunCurrentEventLoopInMode + 240
14  HIToolbox                           0x00007fff82a33ca9 ReceiveNextEventCommon + 184
15  HIToolbox                           0x00007fff82a33bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
16  AppKit                              0x00007fff8112a5f5 _DPSNextEvent + 1093
17  AppKit                              0x00007fff8183a8eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
18  AppKit                              0x00007fff8111efbd -[NSApplication run] + 926
19  libglass.dylib                      0x000000011af8654c -[GlassApplication runLoop:] + 1836
20  Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
21  CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 17
22  CoreFoundation                      0x00007fff8349498c __CFRunLoopDoSources0 + 556
23  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
24  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
25  libjli.dylib                        0x00000001000db8fd CreateExecutionEnvironment + 871
26  libjli.dylib                        0x00000001000d7624 JLI_Launch + 1952
27  JavaApplicationStub                 0x0000000100006cf4 -[Launcher launch] + 836
28  JavaApplicationStub                 0x0000000100007381 launcher_main + 625
29  JavaApplicationStub                 0x00000001000074f2 main + 34
30  JavaApplicationStub                 0x0000000100001154 start + 52

Other information:
java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
JRE is included
I tried both compiling and building a new install pkg with install4j and then I download the 1.4.9 version and tried it straight from github, both get the same error.
If I run it using the ./asciidocfx or javaFX version from the target directory, I get:

Exception Name: NSInvalidArgumentException
Description: **\* -[__NSArrayM insertObject:atIndex:]: object cannot be nil
User Info: (null)

0   CoreFoundation                      0x00007fff8351c7bb **exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff97c89a2a objc_exception_throw + 48
2   CoreFoundation                      0x00007fff834386ad -[__NSArrayM insertObject:atIndex:] + 1389
3   AppKit                              0x00007fff81100ad4 -[NSMenu insertItem:atIndex:] + 614
4   libawt_lwawt.dylib                  0x000000012e345389 addMenuItem + 185
5   libawt_lwawt.dylib                  0x000000012e344cf6 -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
6   libawt_lwawt.dylib                  0x000000012e344f1b __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1 + 159
7   JavaNativeFoundation                0x0000000102bf1f3a +[JNFRunLoop _performCopiedBlock:] + 17
8   Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
9   CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 17
10  CoreFoundation                      0x00007fff83494907 **CFRunLoopDoSources0 + 423
11  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
12  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
13  HIToolbox                           0x00007fff82a33f6c RunCurrentEventLoopInMode + 240
14  HIToolbox                           0x00007fff82a33da1 ReceiveNextEventCommon + 432
15  HIToolbox                           0x00007fff82a33bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
16  AppKit                              0x00007fff8112a5f5 _DPSNextEvent + 1093
17  AppKit                              0x00007fff8183a8eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
18  AppKit                              0x00007fff8111efbd -[NSApplication run] + 926
19  libglass.dylib                      0x000000011e2a354c -[GlassApplication runLoop:] + 1836
20  Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
21  CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 17
22  CoreFoundation                      0x00007fff8349498c __CFRunLoopDoSources0 + 556
23  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
24  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
25  java                                0x0000000102af5465 CreateExecutionEnvironment + 871
26  java                                0x0000000102af118c JLI_Launch + 1952
27  java                                0x0000000102af74c2 main + 101
28  java                                0x0000000102af09e4 start + 52
29  ???                                 0x000000000000000c 0x0 + 12

Using command line to run the javaFX in the target bin:

$ ./asciidocfx
   #                 #   #      #                #####  #   #
  # #    ####   ###          ####   ###    ###   #       # #
 #   #  ###    #     #   #  #   #  #   #  #      ####     #
 #####    ###  #     #   #  #   #  #   #  #      #       # #
 #   #  ####    ###  #   #   ####   ###    ###   #      #   #
 ============================================================
 :: Asciidoc FX ::     (v1.4.9)

 Website: http://asciidocfx.com

2016-09-22 19:29:00.534 java[36580:660240] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode.
29915 [AWT-AppKit] INFO  c.k.service.ui.FileBrowseService - File browser relisted for /Users/scott/Documents/ASCII-EJ
[Fatal Error] autoidx-kimber.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] autoidx-kosek.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] common.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] entities.ent:16:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] l10n.dtd:1:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] l10n.xml:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] targetdatabase.dtd:4:3: The markup in the document preceding the root element must be well-formed.

I change the
vmoptions.txt to set headless to true

# Enter one VM parameter per line

-Duser.language=en
-Duser.country=US
-Dfile.encoding=UTF-8
-Xmx1024M
-XX:+UseG1GC
-Djava.awt.headless=true

and got:

Exception Name: NSInvalidArgumentException
Description: **\* -[__NSArrayM insertObject:atIndex:]: object cannot be nil
User Info: (null)

0   CoreFoundation                      0x00007fff8351c7bb **exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff97c89a2a objc_exception_throw + 48
2   CoreFoundation                      0x00007fff834386ad -[__NSArrayM insertObject:atIndex:] + 1389
3   AppKit                              0x00007fff81100ad4 -[NSMenu insertItem:atIndex:] + 614
4   libawt_lwawt.dylib                  0x0000000135bc0389 addMenuItem + 185
5   libawt_lwawt.dylib                  0x0000000135bbfcf6 -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
6   libawt_lwawt.dylib                  0x0000000135bbff1b __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1 + 159
7   JavaNativeFoundation                0x0000000115c4df3a +[JNFRunLoop _performCopiedBlock:] + 17
8   Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
9   CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 17
10  CoreFoundation                      0x00007fff83494907 **CFRunLoopDoSources0 + 423
11  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
12  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
13  HIToolbox                           0x00007fff82a33f6c RunCurrentEventLoopInMode + 240
14  HIToolbox                           0x00007fff82a33ca9 ReceiveNextEventCommon + 184
15  HIToolbox                           0x00007fff82a33bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
16  AppKit                              0x00007fff8112a5f5 _DPSNextEvent + 1093
17  AppKit                              0x00007fff8183a8eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
18  AppKit                              0x00007fff8111efbd -[NSApplication run] + 926
19  libglass.dylib                      0x000000012920754c -[GlassApplication runLoop:] + 1836
20  Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
21  CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 17
22  CoreFoundation                      0x00007fff8349498c __CFRunLoopDoSources0 + 556
23  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
24  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
25  java                                0x000000010da59465 CreateExecutionEnvironment + 871
26  java                                0x000000010da5518c JLI_Launch + 1952
27  java                                0x000000010da5b4c2 main + 101
28  java                                0x000000010da549e4 start + 52
29  ???                                 0x000000000000000c 0x0 + 12

Using the target asciidocfx to run javaFX in target bin:

./asciidocfx
   #                 #   #      #                #####  #   #
  # #    ####   ###          ####   ###    ###   #       # #
 #   #  ###    #     #   #  #   #  #   #  #      ####     #
 #####    ###  #     #   #  #   #  #   #  #      #       # #
 #   #  ####    ###  #   #   ####   ###    ###   #      #   #
 ============================================================
 :: Asciidoc FX ::     (v1.4.9)

 Website: http://asciidocfx.com

2016-09-22 19:34:30.429 java[37149:671876] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode.
27899 [AWT-AppKit] INFO  c.k.service.ui.FileBrowseService - File browser relisted for /Users/scott/Documents/ASCII-EJ
[Fatal Error] autoidx-kimber.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] autoidx-kosek.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] common.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] entities.ent:16:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] l10n.dtd:1:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] l10n.xml:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] targetdatabase.dtd:4:3: The markup in the document preceding the root element must be well-formed

Ideas, I'm able to compile and test for you if you want to work through these errors and I can upload the new zip and dmg for you if you want me to.

Dear @gearboxscott Thank you for reporting the issue. I don't know its reason but it may be caused by new JRE version 1.8.0_102. Which JRE version do you use with AsciidocFX ?
If you use bundled JRE (1.8.0_102), can you try JRE 1.8.0_92 ?

Dear @rahmanusta, I have switch with 1.8.0_92 and recompiled, run it and got the following error:
[~/Downloads/AsciidocFX-1.4.9/target/appassembler/bin] ruby-2.3.0 $ ./asciidocfx                                                                              126 ↵
   #                 #   #      #                #####  #   #
  # #    ####   ###          ####   ###    ###   #       # #
 #   #  ###    #     #   #  #   #  #   #  #      ####     #
 #####    ###  #     #   #  #   #  #   #  #      #       # #
 #   #  ####    ###  #   #   ####   ###    ###   #      #   #
 ============================================================
 :: Asciidoc FX ::     (v1.4.9)

 Website: http://asciidocfx.com

7977 [JavaFX Application Thread] INFO  c.k.service.ui.FileBrowseService - File browser relisted for /Users/scott/Documents/ASCII-EJ
[Fatal Error] autoidx-kimber.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] autoidx-kosek.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] common.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] entities.ent:16:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] l10n.dtd:1:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] l10n.xml:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] targetdatabase.dtd:4:3: The markup in the document preceding the root element must be well-formed.

and in the app crash dialog that pops up:
Exception Name: NSInvalidArgumentException
Description: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
User Info: (null)

0   CoreFoundation                      0x00007fff8351c7bb __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff97c89a2a objc_exception_throw + 48
2   CoreFoundation                      0x00007fff834386ad -[__NSArrayM insertObject:atIndex:] + 1389
3   AppKit                              0x00007fff81100ad4 -[NSMenu insertItem:atIndex:] + 614
4   libawt_lwawt.dylib                  0x0000000127a89389 addMenuItem + 185
5   libawt_lwawt.dylib                  0x0000000127a88cf6 -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
6   libawt_lwawt.dylib                  0x0000000127a88f1b __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1 + 159
7   JavaNativeFoundation                0x0000000112af55f5 +[JNFRunLoop _performCopiedBlock:] + 20
8   Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
9   CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
10  CoreFoundation                      0x00007fff83494907 __CFRunLoopDoSources0 + 423
11  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
12  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
13  HIToolbox                           0x00007fff82a33f6c RunCurrentEventLoopInMode + 240
14  HIToolbox                           0x00007fff82a33ca9 ReceiveNextEventCommon + 184
15  HIToolbox                           0x00007fff82a33bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
16  AppKit                              0x00007fff8112a5f5 _DPSNextEvent + 1093
17  AppKit                              0x00007fff8183a8eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
18  AppKit                              0x00007fff8111efbd -[NSApplication run] + 926
19  libglass.dylib                      0x000000011504954c -[GlassApplication runLoop:] + 1836
20  Foundation                          0x00007fff84efef2a __NSThreadPerformPerform + 326
21  CoreFoundation                      0x00007fff834b3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
22  CoreFoundation                      0x00007fff8349498c __CFRunLoopDoSources0 + 556
23  CoreFoundation                      0x00007fff83493e76 __CFRunLoopRun + 934
24  CoreFoundation                      0x00007fff83493874 CFRunLoopRunSpecific + 420
25  java                                0x00000001088ec465 CreateExecutionEnvironment + 871
26  java                                0x00000001088e818c JLI_Launch + 1952
27  java                                0x00000001088ee4c2 main + 101
28  java                                0x00000001088e79e4 start + 52
29  ???                                 0x000000000000000c 0x0 + 12

What do you think?
Scott

Dear @gearboxscott which version was working and which version breaks from start

Hi @rahmanusta, I have download a bunch of them back to 1.3.6, skiping the 1.3.7 release candidates.  They all seem to product the error.  The program still works and I seem to have all the functionality.   What would you like to try?

Hi @ingokegel I set it but install4j doesn't remove old installation files, especially on Mac users. What can be reason? Thanks.

@rahmanusta An "Uninstall previous installation" action in the installer removes all previously installed files

@ingokegel I have already this action on my configuration file https://github.com/asciidocfx/AsciidocFX/blob/master/asciidocfx.install4j What am I missing with that?
Thank you

Please have a look the the file AsciidocFX.app/Contents/Resources/app/.install4j/installation.log, it contains further details on which files are uninstalled and if there are any errors.

Hi @ingokegel ,
Here is the installation.txt  file of install4j
At first glass, I have found one error about javax.script.ScriptException: AppleScript engine not found in the log
[ERROR] com.install4j.runtime.beans.actions.UninstallPreviousAction [ID 317]: javax.script.ScriptException: AppleScript engine not found
javax.script.ScriptException: AppleScript engine not found
	at com.install4j.runtime.installer.helper.AppleScriptHelper.executeWithReturnValue(AppleScriptHelper.java:50)
	at com.install4j.runtime.installer.helper.AppleScriptHelper.getRecords(AppleScriptHelper.java:21)
	at com.install4j.runtime.installer.platform.macos.MacProcessHelper.addGuiProcesses(MacProcessHelper.java:104)
	at com.install4j.runtime.installer.platform.macos.MacProcessHelper.getRunningProcesses(MacProcessHelper.java:81)
	at com.install4j.runtime.installer.helper.RunningProcessChecker$RunningProcessThread.run(RunningProcessChecker.java:329)
[INFO] com.install4j.runtime.beans.actions.UninstallPreviousAction [ID 317]: checking running processes ok
       getting previous installation id
       starting uninstaller
[ERROR] com.install4j.runtime.installer.helper.launching.LaunchHelper: return value is 1

Additionally, I have seen that the previous AFX jar is not removed from /Applications/AsciidocFX.app/Contents/java/app/lib

Hey @ingokegel, as I mentioned we have this problem on Mac OS X, it doesn't remove old installation and it duplicates jar files and it breaks the software. Hakan attached the installation log and image above. What is missing here in AsciidocFX?

OK, the uninstaller fails, so I would need to see the file AsciidocFX.app/Contents/Resources/app/.install4j/uninstallPrevious.log

It's empty @ingokegel

OK, I see now. This is a single bundle installer and the "Uninstall previous" action has no effect there, because there is no uninstaller. It should delete the old bundle and I've scheduled this for 7.0. As a workaround, you can add a "Delete files and directories" action for the directory ${installer:sys.contentDir} after the "Uninstall previous installation" action. Make sure to set the condition expression on the action to Util.isMacOS().

@ingokegel I did your suggestion but it  yet didn't remove installation directory https://github.com/asciidocfx/AsciidocFX/blob/master/asciidocfx.install4j#L243-L260

What is the corresponding output for this action in installation.log?

@ozlerhakan ?

after installing 1.5.4, the previous jar still exists in the corresponding directory. I have this error in the log file
[ERROR] com.install4j.runtime.beans.actions.UninstallPreviousAction [ID 317]: return value is 1

@ozlerhakan we add an action after UninstallPreviousAction to remove installation directory with another action, what is all the log ?

Here is the latest installation.txt file. @rahmanusta @ingokegel

According to this log the entire directory /Applications/AsciidocFX.app/Contents/Resources/app was sucessfully deleted. What is the path of the JAR file that has not been deleted?


Fixing newton openssh issue breaking repo jobs

The artifact builds in the late stages are failing during
an aio build with rpc-openstack/newton on xenial.  This is
due to the lxc cache prep failing to install the
openssh-server package due to missing random/urandom devices.

Although more issues need taken care of involving trusty, this takes care of the artifact job cache/openssh issues when tested.


Mirror of nginx ingress

Recently nginx ingress moved it's image repo from us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller to k8s.gcr.io/ingress-nginx/controller(https://github.com/kubernetes/ingress-nginx/commit/8102fff242cfe2499779a75facc9679814b77b0c). Do we have mirror for the new repo?
I know there is mirror gcr.azk8s.cn/google-containers for k8s.gcr.io, but k8s.gcr.io/ingress-nginx/controller is not available now.

the exact address is as following gcr.azk8s.cn/google_containers/ingress-nginx/nginx, it looks like we don't support sha256 tag image pulling, do you know the exact version of ingress-nginx/nginx image, I tried to use latest, while it's not found:
$ sudo docker pull gcr.azk8s.cn/google_containers/ingress-nginx/nginx:v20200812-g0673e5e17@sha256:3bafc6840f2477c05eb029580fa8ecf4bd33b0f0765e3cd9cc82ad91f817ccf3
Error response from daemon: received unexpected HTTP status: 500 Internal Server Error
$ sudo docker pull gcr.azk8s.cn/google_containers/ingress-nginx/nginx
Using default tag: latest

Error response from daemon: manifest for gcr.azk8s.cn/google_containers/ingress-nginx/nginx:latest not found

also I cannot find the original nginx image from https://console.cloud.google.com/gcr/images/google_containers/US

The image is k8s.gcr.io/ingress-nginx/controller:v0.35.0:
  Normal  Scheduled  <unknown>  default-scheduler                           Successfully assigned default/test to aks-nodepool1-44093457-vmss000006
  Normal  Pulling    3m32s      kubelet, aks-nodepool1-44093457-vmss000006  Pulling image "k8s.gcr.io/ingress-nginx/controller:v0.35.0"
  Normal  Pulled     3m22s      kubelet, aks-nodepool1-44093457-vmss000006  Successfully pulled image "k8s.gcr.io/ingress-nginx/controller:v0.35.0"
  Normal  Created    3m7s       kubelet, aks-nodepool1-44093457-vmss000006  Created container test
  Normal  Started    3m6s       kubelet, aks-nodepool1-44093457-vmss000006  Started container test

The image I tried in 21v: gcr.azk8s.cn/google-containers/ingress-nginx/controller:v0.35.0:
  Normal   Scheduled  45s                default-scheduler                           Successfully assigned default/test to aks-nodepool1-54704948-vmss000002
  Normal   Pulling    27s (x2 over 43s)  kubelet, aks-nodepool1-54704948-vmss000002  Pulling image "gcr.azk8s.cn/google-containers/ingress-nginx/controller:v0.35.0"
  Warning  Failed     25s (x2 over 41s)  kubelet, aks-nodepool1-54704948-vmss000002  Failed to pull image "gcr.azk8s.cn/google-containers/ingress-nginx/controller:v0.35.0": rpc error: code = Unknown desc = Error response from daemon: manifest for gcr.azk8s.cn/google-containers/ingress-nginx/controller:v0.35.0 not found: manifest unknown: manifest unknown
  Warning  Failed     25s (x2 over 41s)  kubelet, aks-nodepool1-54704948-vmss000002  Error: ErrImagePull
  Normal   BackOff    12s (x2 over 40s)  kubelet, aks-nodepool1-54704948-vmss000002  Back-off pulling image "gcr.azk8s.cn/google-containers/ingress-nginx/controller:v0.35.0"
  Warning  Failed     12s (x2 over 40s)  kubelet, aks-nodepool1-54704948-vmss000002  Error: ImagePullBackOff

gcr.azk8s.cn/google_containers/ingress-nginx/nginx:v0.35.0 does not work also.

so now k8s.gcr.io is not identical to gcr.io/google_containers, I think that's issue, need to set up a new proxy k8sgcr.azk8s.cn to get image from  k8s.gcr.io

Do you mean there will be a mirror for k8s.gcr.io soon?


Creating a mask for specific region of interest inside an image

Hi,
I have some images of legs where I have drawn ROI around specific muscles. Is there a way that I can create a mask of that specific region using  pyradiomics. Will appreciate help.
Thank you very much
Abhi

@abhinandanbatra, PyRadiomics is not intended for the creation of ROIs, only analyzing regions defined using masks. If you want to create segmentations, you can checkout 3D Slicer or similar programs (3D Slicer also has a radiomics module that allows applying PyRadiomics directly from Slicer)


Define database constraints when data is deleted

Decide on how we want to handle cases when a User (or any other entry that is a foreign key) is deleted. E.g.

Set all FK references to NULL
Cascade deletions
Prevent deletions from occurring

Add these constraints to the database models.
Migrate the database.
Test deletions.
Add options on the frontend to delete data.

Future plan for handling foreign key (FK) deletions

Determine how to handle cases when a user (or any other entry that is a foreign key) is deleted:

Set all FK references to NULL: Allows orphaned records.
Cascade deletions: Automatically delete all dependent records.
Prevent deletions: Disallow deletion if dependent records exist.

Database model updates: Modify the database models to include the chosen constraint (e.g. ondelete="SET NULL", ondelete="CASCADE", or restrict deletions).

Database migration: Create and apply a database migration to implement the new constraints.

Testing: Test the deletion scenarios to ensure the constraints work as expected - verify that dependent records are correctly handled (set to NULL, cascaded, or prevent deletion).

Frontend integration:

Add options on the frontend to allow users to delete data (e.g. drawers can delete their own drawings in Guessing Gallery page).
Ensure proper user feedback for successful and failed deletion attempts.


Fix CI build failure on branch-0.7

What is this PR for?
CI build is failing on branch-0.7. This PR cherry-pick some necessary commits from
https://github.com/apache/zeppelin/pull/2003
https://github.com/apache/zeppelin/pull/2081
and a commit (3ae8760) fixes changes made by https://github.com/apache/zeppelin/pull/2071 for branch-0.7.
What type of PR is it?
Hot Fix
Todos

[ ] - Make CI green

How should this be tested?
See if CI becomes green
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Now CI became green.
Merge to branch-0.7 as a hotfix.