Failed to start DreamBooth training: INFO prepare tokenizer

/usr/local/lib/python3.10/dist-packages/transformers/utils/generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  _torch_pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/transformers/utils/generic.py:309: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  _torch_pytree._register_pytree_node(
The following values were not passed to `accelerate launch` and had defaults used instead:
	`--num_processes` was set to a value of `1`
	`--num_machines` was set to a value of `1`
	`--mixed_precision` was set to a value of `'no'`
	`--dynamo_backend` was set to a value of `'no'`
To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
/usr/local/lib/python3.10/dist-packages/transformers/utils/generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  _torch_pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/transformers/utils/generic.py:309: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  _torch_pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
2024-04-02 11:31:44.035836: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-04-02 11:31:44.035892: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-04-02 11:31:44.037362: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-04-02 11:31:45.899812: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
2024-04-02 11:31:47 INFO     prepare tokenizer

... and then, after a copule of minutes, the process terminates.
I'm using a Google Colab.  Not a ready notebook prepared by someone, but rather my own :) I just need to access to free GPU.
I install sd-scripts by these two commands:
!git clone https://github.com/kohya-ss/sd-scripts.git
%cd sd-scripts
!git checkout v0.8.5
!pip install --use-pep517 --upgrade -r requirements.txt
%cd ..

The result

Cloning into 'sd-scripts'...
remote: Enumerating objects: 6262, done.
remote: Counting objects: 100% (3063/3063), done.
remote: Compressing objects: 100% (485/485), done.
remote: Total 6262 (delta 2819), reused 2666 (delta 2577), pack-reused 3199
Receiving objects: 100% (6262/6262), 9.38 MiB | 4.65 MiB/s, done.
Resolving deltas: 100% (4455/4455), done.
Updating files: 100% (103/103), done.
/content/sd-scripts
Note: switching to 'v0.8.5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 6b1520a Merge pull request #1187 from kohya-ss/fix-timeemb
Obtaining file:///content/sd-scripts (from -r requirements.txt (line 35))
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting accelerate==0.25.0 (from -r requirements.txt (line 1))
  Downloading accelerate-0.25.0-py3-none-any.whl (265 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 265.7/265.7 kB 2.6 MB/s eta 0:00:00
Collecting transformers==4.36.2 (from -r requirements.txt (line 2))
  Downloading transformers-4.36.2-py3-none-any.whl (8.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.2/8.2 MB 29.9 MB/s eta 0:00:00
Collecting diffusers[torch]==0.25.0 (from -r requirements.txt (line 3))
  Downloading diffusers-0.25.0-py3-none-any.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 50.9 MB/s eta 0:00:00
Collecting ftfy==6.1.1 (from -r requirements.txt (line 4))
  Downloading ftfy-6.1.1-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 kB 7.6 MB/s eta 0:00:00
Collecting opencv-python==<IP_ADDRESS> (from -r requirements.txt (line 6))
  Downloading opencv_python-<IP_ADDRESS>-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 MB 9.7 MB/s eta 0:00:00
Collecting einops==0.7.0 (from -r requirements.txt (line 7))
  Downloading einops-0.7.0-py3-none-any.whl (44 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.6/44.6 kB 5.7 MB/s eta 0:00:00
Collecting pytorch-lightning==1.9.0 (from -r requirements.txt (line 8))
  Downloading pytorch_lightning-1.9.0-py3-none-any.whl (825 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 825.8/825.8 kB 67.1 MB/s eta 0:00:00
Collecting tensorboard==2.10.1 (from -r requirements.txt (line 10))
  Downloading tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.9/5.9 MB 101.7 MB/s eta 0:00:00
Requirement already satisfied: safetensors==0.4.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 11)) (0.4.2)
Requirement already satisfied: altair==4.2.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 13)) (4.2.2)
Collecting easygui==0.98.3 (from -r requirements.txt (line 14))
  Downloading easygui-0.98.3-py2.py3-none-any.whl (92 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.7/92.7 kB 12.0 MB/s eta 0:00:00
Requirement already satisfied: toml==0.10.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 15)) (0.10.2)
Collecting voluptuous==0.13.1 (from -r requirements.txt (line 16))
  Downloading voluptuous-0.13.1-py3-none-any.whl (29 kB)
Collecting huggingface-hub==0.20.1 (from -r requirements.txt (line 17))
  Downloading huggingface_hub-0.20.1-py3-none-any.whl (330 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 330.1/330.1 kB 37.5 MB/s eta 0:00:00
Collecting open-clip-torch==2.20.0 (from -r requirements.txt (line 31))
  Downloading open_clip_torch-2.20.0-py3-none-any.whl (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 81.1 MB/s eta 0:00:00
Collecting rich==13.7.0 (from -r requirements.txt (line 33))
  Downloading rich-13.7.0-py3-none-any.whl (240 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.6/240.6 kB 27.1 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from accelerate==0.25.0->-r requirements.txt (line 1)) (1.25.2)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from accelerate==0.25.0->-r requirements.txt (line 1)) (24.0)
Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from accelerate==0.25.0->-r requirements.txt (line 1)) (5.9.5)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from accelerate==0.25.0->-r requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: torch>=1.10.0 in /usr/local/lib/python3.10/dist-packages (from accelerate==0.25.0->-r requirements.txt (line 1)) (2.2.1+cu121)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers==4.36.2->-r requirements.txt (line 2)) (3.13.3)
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers==4.36.2->-r requirements.txt (line 2)) (2023.12.25)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers==4.36.2->-r requirements.txt (line 2)) (2.31.0)
Requirement already satisfied: tokenizers<0.19,>=0.14 in /usr/local/lib/python3.10/dist-packages (from transformers==4.36.2->-r requirements.txt (line 2)) (0.15.2)
Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/dist-packages (from transformers==4.36.2->-r requirements.txt (line 2)) (4.66.2)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.10/dist-packages (from diffusers[torch]==0.25.0->-r requirements.txt (line 3)) (7.1.0)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from diffusers[torch]==0.25.0->-r requirements.txt (line 3)) (9.4.0)
Requirement already satisfied: wcwidth>=0.2.5 in /usr/local/lib/python3.10/dist-packages (from ftfy==6.1.1->-r requirements.txt (line 4)) (0.2.13)
Requirement already satisfied: fsspec[http]>2021.06.0 in /usr/local/lib/python3.10/dist-packages (from pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (2023.6.0)
Collecting torchmetrics>=0.7.0 (from pytorch-lightning==1.9.0->-r requirements.txt (line 8))
  Downloading torchmetrics-1.3.2-py3-none-any.whl (841 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 841.5/841.5 kB 66.8 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=4.0.0 in /usr/local/lib/python3.10/dist-packages (from pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (4.10.0)
Collecting lightning-utilities>=0.4.2 (from pytorch-lightning==1.9.0->-r requirements.txt (line 8))
  Downloading lightning_utilities-0.11.2-py3-none-any.whl (26 kB)
Requirement already satisfied: absl-py>=0.4 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.10.1->-r requirements.txt (line 10)) (1.4.0)
Requirement already satisfied: grpcio>=1.24.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.10.1->-r requirements.txt (line 10)) (1.62.1)
Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.10.1->-r requirements.txt (line 10)) (2.27.0)
Collecting google-auth-oauthlib<0.5,>=0.4.1 (from tensorboard==2.10.1->-r requirements.txt (line 10))
  Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.10.1->-r requirements.txt (line 10)) (3.6)
Collecting protobuf<3.20,>=3.9.2 (from tensorboard==2.10.1->-r requirements.txt (line 10))
  Downloading protobuf-3.19.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 71.2 MB/s eta 0:00:00
Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.10.1->-r requirements.txt (line 10)) (67.7.2)
Collecting tensorboard-data-server<0.7.0,>=0.6.0 (from tensorboard==2.10.1->-r requirements.txt (line 10))
  Downloading tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 109.9 MB/s eta 0:00:00
Collecting tensorboard-plugin-wit>=1.6.0 (from tensorboard==2.10.1->-r requirements.txt (line 10))
  Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.3/781.3 kB 64.5 MB/s eta 0:00:00
Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.10.1->-r requirements.txt (line 10)) (3.0.1)
Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.10.1->-r requirements.txt (line 10)) (0.43.0)
Requirement already satisfied: entrypoints in /usr/local/lib/python3.10/dist-packages (from altair==4.2.2->-r requirements.txt (line 13)) (0.4)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from altair==4.2.2->-r requirements.txt (line 13)) (3.1.3)
Requirement already satisfied: jsonschema>=3.0 in /usr/local/lib/python3.10/dist-packages (from altair==4.2.2->-r requirements.txt (line 13)) (4.19.2)
Requirement already satisfied: pandas>=0.18 in /usr/local/lib/python3.10/dist-packages (from altair==4.2.2->-r requirements.txt (line 13)) (1.5.3)
Requirement already satisfied: toolz in /usr/local/lib/python3.10/dist-packages (from altair==4.2.2->-r requirements.txt (line 13)) (0.12.1)
Requirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from open-clip-torch==2.20.0->-r requirements.txt (line 31)) (0.17.1+cu121)
Requirement already satisfied: sentencepiece in /usr/local/lib/python3.10/dist-packages (from open-clip-torch==2.20.0->-r requirements.txt (line 31)) (0.1.99)
Collecting timm (from open-clip-torch==2.20.0->-r requirements.txt (line 31))
  Downloading timm-0.9.16-py3-none-any.whl (2.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 80.8 MB/s eta 0:00:00
Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.10/dist-packages (from rich==13.7.0->-r requirements.txt (line 33)) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/dist-packages (from rich==13.7.0->-r requirements.txt (line 33)) (2.16.1)
Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in /usr/local/lib/python3.10/dist-packages (from fsspec[http]>2021.06.0->pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (3.9.3)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard==2.10.1->-r requirements.txt (line 10)) (5.3.3)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard==2.10.1->-r requirements.txt (line 10)) (0.4.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard==2.10.1->-r requirements.txt (line 10)) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.10.1->-r requirements.txt (line 10)) (1.4.1)
Requirement already satisfied: attrs>=22.2.0 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair==4.2.2->-r requirements.txt (line 13)) (23.2.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair==4.2.2->-r requirements.txt (line 13)) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair==4.2.2->-r requirements.txt (line 13)) (0.34.0)
Requirement already satisfied: rpds-py>=0.7.1 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair==4.2.2->-r requirements.txt (line 13)) (0.18.0)
Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py>=2.2.0->rich==13.7.0->-r requirements.txt (line 33)) (0.1.2)
Requirement already satisfied: python-dateutil>=2.8.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=0.18->altair==4.2.2->-r requirements.txt (line 13)) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=0.18->altair==4.2.2->-r requirements.txt (line 13)) (2023.4)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.36.2->-r requirements.txt (line 2)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.36.2->-r requirements.txt (line 2)) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.36.2->-r requirements.txt (line 2)) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.36.2->-r requirements.txt (line 2)) (2024.2.2)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1)) (1.12)
Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1)) (3.2.1)
Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 65.9 MB/s eta 0:00:00
Collecting nvidia-cuda-runtime-cu12==12.1.105 (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 823.6/823.6 kB 69.4 MB/s eta 0:00:00
Collecting nvidia-cuda-cupti-cu12==12.1.105 (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.1/14.1 MB 62.7 MB/s eta 0:00:00
Collecting nvidia-cudnn-cu12==<IP_ADDRESS> (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cudnn_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (731.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 731.7/731.7 MB 2.3 MB/s eta 0:00:00
Collecting nvidia-cublas-cu12==<IP_ADDRESS> (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cublas_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (410.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 410.6/410.6 MB 1.9 MB/s eta 0:00:00
Collecting nvidia-cufft-cu12==<IP_ADDRESS> (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cufft_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (121.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.6/121.6 MB 8.3 MB/s eta 0:00:00
Collecting nvidia-curand-cu12==<IP_ADDRESS> (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_curand_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (56.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.5/56.5 MB 15.2 MB/s eta 0:00:00
Collecting nvidia-cusolver-cu12==<IP_ADDRESS> (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cusolver_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (124.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 MB 8.4 MB/s eta 0:00:00
Collecting nvidia-cusparse-cu12==<IP_ADDRESS> (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_cusparse_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (196.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 196.0/196.0 MB 6.3 MB/s eta 0:00:00
Collecting nvidia-nccl-cu12==2.19.3 (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_nccl_cu12-2.19.3-py3-none-manylinux1_x86_64.whl (166.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 166.0/166.0 MB 6.0 MB/s eta 0:00:00
Collecting nvidia-nvtx-cu12==12.1.105 (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.1/99.1 kB 13.8 MB/s eta 0:00:00
Requirement already satisfied: triton==2.2.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1)) (2.2.0)
Collecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==<IP_ADDRESS>->torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1))
  Downloading nvidia_nvjitlink_cu12-12.4.99-py3-none-manylinux2014_x86_64.whl (21.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.1/21.1 MB 80.6 MB/s eta 0:00:00
Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from werkzeug>=1.0.1->tensorboard==2.10.1->-r requirements.txt (line 10)) (2.1.5)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata->diffusers[torch]==0.25.0->-r requirements.txt (line 3)) (3.18.1)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (1.3.1)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (1.9.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning==1.9.0->-r requirements.txt (line 8)) (4.0.3)
Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.10.1->-r requirements.txt (line 10)) (0.6.0)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.8.1->pandas>=0.18->altair==4.2.2->-r requirements.txt (line 13)) (1.16.0)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.10.1->-r requirements.txt (line 10)) (3.2.2)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.10.0->accelerate==0.25.0->-r requirements.txt (line 1)) (1.3.0)
Building wheels for collected packages: library
  Building editable for library (pyproject.toml) ... done
  Created wheel for library: filename=library-0.0.0-0.editable-py3-none-any.whl size=6603 sha256=448d33b9bb012b9283a6752a6cc4159fc01942e00b942e316fa7f209c0bca63a
  Stored in directory: /tmp/pip-ephem-wheel-cache-hg9u044h/wheels/aa/ec/1c/603d2be168c98844a99288d554a1e0bbd6073e086d79578e30
Successfully built library
Installing collected packages: voluptuous, tensorboard-plugin-wit, library, easygui, tensorboard-data-server, protobuf, opencv-python, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, lightning-utilities, ftfy, einops, rich, nvidia-cusparse-cu12, nvidia-cudnn-cu12, huggingface-hub, nvidia-cusolver-cu12, google-auth-oauthlib, diffusers, transformers, tensorboard, torchmetrics, accelerate, timm, pytorch-lightning, open-clip-torch
  Attempting uninstall: tensorboard-data-server
    Found existing installation: tensorboard-data-server 0.7.2
    Uninstalling tensorboard-data-server-0.7.2:
      Successfully uninstalled tensorboard-data-server-0.7.2
  Attempting uninstall: protobuf
    Found existing installation: protobuf 3.20.3
    Uninstalling protobuf-3.20.3:
      Successfully uninstalled protobuf-3.20.3
  Attempting uninstall: opencv-python
    Found existing installation: opencv-python <IP_ADDRESS>
    Uninstalling opencv-python-<IP_ADDRESS>:
      Successfully uninstalled opencv-python-<IP_ADDRESS>
  Attempting uninstall: rich
    Found existing installation: rich 13.7.1
    Uninstalling rich-13.7.1:
      Successfully uninstalled rich-13.7.1
  Attempting uninstall: huggingface-hub
    Found existing installation: huggingface-hub 0.20.3
    Uninstalling huggingface-hub-0.20.3:
      Successfully uninstalled huggingface-hub-0.20.3
  Attempting uninstall: google-auth-oauthlib
    Found existing installation: google-auth-oauthlib 1.2.0
    Uninstalling google-auth-oauthlib-1.2.0:
      Successfully uninstalled google-auth-oauthlib-1.2.0
  Attempting uninstall: transformers
    Found existing installation: transformers 4.38.2
    Uninstalling transformers-4.38.2:
      Successfully uninstalled transformers-4.38.2
  Attempting uninstall: tensorboard
    Found existing installation: tensorboard 2.15.2
    Uninstalling tensorboard-2.15.2:
      Successfully uninstalled tensorboard-2.15.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pandas-gbq 0.19.2 requires google-auth-oauthlib>=0.7.0, but you have google-auth-oauthlib 0.4.6 which is incompatible.
tensorflow 2.15.0 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.19.6 which is incompatible.
tensorflow 2.15.0 requires tensorboard<2.16,>=2.15, but you have tensorboard 2.10.1 which is incompatible.
tensorflow-datasets 4.9.4 requires protobuf>=3.20, but you have protobuf 3.19.6 which is incompatible.
tensorflow-metadata 1.14.0 requires protobuf<4.21,>=3.20.3, but you have protobuf 3.19.6 which is incompatible.
Successfully installed accelerate-0.25.0 diffusers-0.25.0 easygui-0.98.3 einops-0.7.0 ftfy-6.1.1 google-auth-oauthlib-0.4.6 huggingface-hub-0.20.1 library-0.0.0 lightning-utilities-0.11.2 nvidia-cublas-cu12-<IP_ADDRESS> nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-<IP_ADDRESS> nvidia-cufft-cu12-<IP_ADDRESS> nvidia-curand-cu12-<IP_ADDRESS> nvidia-cusolver-cu12-<IP_ADDRESS> nvidia-cusparse-cu12-<IP_ADDRESS> nvidia-nccl-cu12-2.19.3 nvidia-nvjitlink-cu12-12.4.99 nvidia-nvtx-cu12-12.1.105 open-clip-torch-2.20.0 opencv-python-<IP_ADDRESS> protobuf-3.19.6 pytorch-lightning-1.9.0 rich-13.7.0 tensorboard-2.10.1 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 timm-0.9.16 torchmetrics-1.3.2 transformers-4.36.2 voluptuous-0.13.1

WARNING: The following packages were previously imported in this runtime:
  [google,huggingface_hub]
You must restart the runtime in order to use newly installed versions.

%pip install 'protobuf==3.20.3' 'google-auth-oauthlib>=0.7.0' 'tensorboard<2.16,>=2.15'

The result
Collecting protobuf==3.20.3
  Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 6.5 MB/s eta 0:00:00
Collecting google-auth-oauthlib>=0.7.0
  Downloading google_auth_oauthlib-1.2.0-py2.py3-none-any.whl (24 kB)
Collecting tensorboard<2.16,>=2.15
  Downloading tensorboard-2.15.2-py3-none-any.whl (5.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 21.6 MB/s eta 0:00:00
Requirement already satisfied: google-auth>=2.15.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib>=0.7.0) (2.27.0)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib>=0.7.0) (1.4.1)
Requirement already satisfied: absl-py>=0.4 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (1.4.0)
Requirement already satisfied: grpcio>=1.48.2 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (1.62.1)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (3.6)
Requirement already satisfied: numpy>=1.12.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (1.25.2)
Requirement already satisfied: requests<3,>=2.21.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (2.31.0)
Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (67.7.2)
Requirement already satisfied: six>1.9 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (1.16.0)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard<2.16,>=2.15)
  Downloading tensorboard_data_server-0.7.2-py3-none-manylinux_2_31_x86_64.whl (6.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 46.9 MB/s eta 0:00:00
Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.16,>=2.15) (3.0.1)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth>=2.15.0->google-auth-oauthlib>=0.7.0) (5.3.3)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth>=2.15.0->google-auth-oauthlib>=0.7.0) (0.4.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth>=2.15.0->google-auth-oauthlib>=0.7.0) (4.9)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.21.0->tensorboard<2.16,>=2.15) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.21.0->tensorboard<2.16,>=2.15) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.21.0->tensorboard<2.16,>=2.15) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.21.0->tensorboard<2.16,>=2.15) (2024.2.2)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib>=0.7.0) (3.2.2)
Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from werkzeug>=1.0.1->tensorboard<2.16,>=2.15) (2.1.5)
Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth>=2.15.0->google-auth-oauthlib>=0.7.0) (0.6.0)
Installing collected packages: tensorboard-data-server, protobuf, google-auth-oauthlib, tensorboard
  Attempting uninstall: tensorboard-data-server
    Found existing installation: tensorboard-data-server 0.6.1
    Uninstalling tensorboard-data-server-0.6.1:
      Successfully uninstalled tensorboard-data-server-0.6.1
  Attempting uninstall: protobuf
    Found existing installation: protobuf 3.19.6
    Uninstalling protobuf-3.19.6:
      Successfully uninstalled protobuf-3.19.6
  Attempting uninstall: google-auth-oauthlib
    Found existing installation: google-auth-oauthlib 0.4.6
    Uninstalling google-auth-oauthlib-0.4.6:
      Successfully uninstalled google-auth-oauthlib-0.4.6
  Attempting uninstall: tensorboard
    Found existing installation: tensorboard 2.10.1
    Uninstalling tensorboard-2.10.1:
      Successfully uninstalled tensorboard-2.10.1
Successfully installed google-auth-oauthlib-1.2.0 protobuf-3.20.3 tensorboard-2.15.2 tensorboard-data-server-0.7.2

WARNING: The following packages were previously imported in this runtime:
  [google]
You must restart the runtime in order to use newly installed versions.

(it might be a good idea to update the requirements though... just to fix the error)
Restarting the runtime and using python instead of accelerate launch do not help, as well as switching to v0.8.3 and v0.8.4 instead of v0.8.5. I do not use the earlier versions because of the bug #966 . Yesterday I had the same problem multiple times, so it does not seem to be a HuggingFace issue, as suggested in https://github.com/bmaltais/kohya_ss/issues/548#issuecomment-1499527251 However, deletion of the model folder does not help too.
Could you please help me?

Well, it seems to be a HuggingFace issue though.

merges.txt is absent

Placing merges.txt to its place did not help.

Downgrading diffusers from 0.15.1, 0.17.1 did not solve the issue. Any help is highly appreciated!

It's a messy hacky job based on Linaqruf's Google Colab for SDXL LoRA training, but modified to install into a venv, and I've not had issues running different versions of SD-Scripts installed with it so far, except for needing to manually specify specific versions of torch and bitsandbytes to prevent breaking compatibility, and slightly longer requirements installation due to needing to install more packages instead of relying on the colab's enviroment
If the issue is related to the install (Which I think might be the root cause), then installing this way may resolve your problem. Just make sure to start the correct script by running in the content folder. (the install script will change the install dir to kohya-trainer instead of the default sd-scripts)
!source venv/bin/activate;accelerate launch kohya-trainer/train_db.py \
    --pretrained_model_name_or_path=$MODEL_NAME \
    --dataset_config=repo_concept/toml/rv6-allres-noregs.toml \
    --output_dir=$OUTPUT_DIR  \
    --save_model_as=diffusers \
    --prior_loss_weight=1.0 \
    --max_train_steps=$SAVE_MAX_STEPS \
    --save_every_n_steps=$SAVE_INTERVAL \
    --learning_rate=14e-7 \
    --lr_scheduler="cosine" \
    --stop_text_encoder_training=20000 \
    --optimizer_type="AdamW8bit" \
    --mixed_precision="fp16" \
    --xformers \
    --gradient_checkpointing \
    --sample_every_n_steps=$SAVE_INTERVAL \
    --sample_sampler="euler_a" \
    --sample_prompts=$repo_path_conc/prompts/prompts-rv6-initial.txt

script in attached txt file.
kohya_install_script.txt

@DKnight54 , thank you very much for your quick response! Using venv looks like a really sane idea!
I'm going to try the suggested solution in a few days, when my colab quota respawns (I've just burnt it all away today and yesterday). As for now, I managed to launch training on sd-scripts v0.6.6 (after multiple attempts to guess the correct versions of the dependencies - that also interferes with CUDA version...)

So, it is still doing something... somewhere... somehow... I hope for the best :)

No progress, no steps-with-percents, do logs about the dataset.


construct_runtime should bail if pallet have config but not declared

For many pallets the config is required to make it working properly but it is easy to miss it in construct_runtime and therefore end up in unexpected state.
It really need to be a compile error to prevent inconsistent state.

Fixed by the new construct_runtime syntax.

For posterity: https://github.com/paritytech/substrate/pull/9681


How to register table function?

I've seen from the C API that duckdb could register table function. Would you consider providing such feature?

Yes, still haven’t got time to do it


Responsive css

To test:

Inspect element and press Ctrl+Shift+m
Go around the website trying the different screen sizes at the top and make sure everything works
Not finished yet, looking on where is best to improve

Known issues:

div boxes and images squash at times
Gap on right hand size through the pages
Login page still doesn't fit whole screen

What's been added:

Toggle the sidebar
Sidebar automatically hidden on smaller screens
Map and challenges adjust to screen size

 CSS for Mobile


[Bug]: Metadata not loading

Issue description
https://explorer.alphanet.iotaledger.net/alphanet/block/0x9d233a7b3bcd0357dd32fc7e8d29484aaf511e50c2056c7774bfec4100653f05
gives you this error:
Failed to retrieve metadata. There was a problem communicating with the API. SyntaxError: The string did not match the expected pattern.
Expected behaviour
show metadata
Actual behaviour
Failed to retrieve metadata. There was a problem communicating with the API. SyntaxError: The string did not match the expected pattern.
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
No response
Errors
No response
Duplicate declaration

[X] I have searched the issues tracker for this issue and there is none

Code of Conduct

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

Unfortunately the linked example doesn't work anymore. I think it's because the alphanet got bumped to new version. We need to find a way to reproduce this issue on a different block.

@casparfritzen

Unfortunately the linked example doesn't work anymore. I think it's because the alphanet got bumped to new version. We need to find a way to reproduce this issue on a different block.

With https://explorer.alphanet.iotaledger.net/alphanet/block/6816c4eb9240bd4c13cda19fd6bedf239baa0148f30eea8dfd017aa8b95b0300 I get Failed to retrieve metadata. There was a problem communicating with the API. SyntaxError: Unexpected end of JSON input

I think this issue is a duplicate of https://github.com/iotaledger/explorer/issues/337 actually.


Nonexisting report id

Sending a non existing report id to UI's /report?id= will get ugly output.
As shown below:

This is fixed.


TweenInfo cannot be state with current constructor

The current constructor throws an error if the typeof(tweenInfo) is not directly TweenInfo, meaning it will fail if a state passed in, even if it previously recognized that the info is a state, this check should be removed in favor of only the check in update, or adjusted to check whether the value inside the passed state is a TweenInfo, if a state object was passed in.
https://github.com/Elttob/Fusion/blob/655bbf706fbeb40302437f9d7c4541890a63c882/src/Animation/Tween.lua#L94-L96

It seems that this will error aswell if a state is passed.
https://github.com/Elttob/Fusion/blob/655bbf706fbeb40302437f9d7c4541890a63c882/src/Animation/Tween.lua#L67


[LEAGUE LOADER]: AttributeError: 'Matchup' object has no attribute 'winner_team_key'

League Loader
Yahoo
Summary
Yahoo league loader errors out when an actual tie has occurred on a Yahoo league season.
League Info
League ID: 137588
Year: 2018
Error Logs
Traceback (most recent call last):
  File "/Users/whcarter3/scratch/ETFLstats/stats.py", line 37, in <module>
    league: League = yahooLeagueLoader.loadLeague()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 73, in loadLeague
    return self.__buildLeague(yahooLeagues)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 81, in __buildLeague
    years.append(self.__buildYear(yahooLeague))
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 87, in __buildYear
    weeks = self.__buildWeeks(yahooLeague)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 106, in __buildWeeks
    teamAHasTiebreaker = yahooMatchup.winner_team_key == yahooTeamA.team_key and yahooMatchup.is_tied == 0
AttributeError: 'Matchup' object has no attribute 'winner_team_key'

@willmythical
Just put out a fix for this in version 1.2.0
If you run pip install --upgrade leeger and then run the script again this bug should be resolved.
Please let me know if that works so I can close this issue.

Seems to return same error after upgrading to 1.2.0. Also noting I have to include the code from PR 30  for the Yahoo league loader to work for me.
Here's the traceback:
Traceback (most recent call last):
  File "/Users/whcarter3/scratch/ETFLstats/stats.py", line 37, in <module>
    league: League = yahooLeagueLoader.loadLeague()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 73, in loadLeague
    return self.__buildLeague(yahooLeagues)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 81, in __buildLeague
    years.append(self.__buildYear(yahooLeague))
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 87, in __buildYear
    weeks = self.__buildWeeks(yahooLeague)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/leeger/league_loader/YahooLeagueLoader.py", line 106, in __buildWeeks
    teamAHasTiebreaker = yahooMatchup.winner_team_key == yahooTeamA.team_key and yahooMatchup.is_tied == 0
AttributeError: 'Matchup' object has no attribute 'winner_team_key'

@willmythical
Looks like you're not running the code in 1.2.0 somehow.. the error you're getting is on line 106 but the line of code the error is stating is how the code was in 1.1.1, not 1.2.0.
This might be because of how you're merging the code from PR 30 (which does NOT have the latest 1.2.0 changes).
Would you be willing to share your clientId and clientSecret with me via email so I can troubleshoot this for your league locally?
If you're not comfortable with that, we can perhaps set up a video call and you can share your screen to help debug this issue.

This issue was likely fixed in version 1.3.2.
Please update to that version and test / report back here if that fixed your issue.


integrate django-MPTT, change categories..

It makes sense that a product can only be assigned a category and not multiple, also "product_class" must be removed, attributes can be classified by category and not by type of product.

Yet to fix a few things, I want to know whether it can be approved to carry the bottom and finish tests on localhost.

Hi @unehub
Is there any specific reason for using django-MPTT over treebeard ? It seems to me, that they do almost the exact same thing ? I'm open to integrate it, if the arguments are right.
I think i will keep the ProductClass because it gives great flexibility when implementing your data model. I also think that i will keep the ManyToMany relationship between products and categories since many webshops have products in multiple categories. It would be too opinionated to make it OneToMany. I hope you understand. I'd be glad to elaborate further, but i need better arguments for the change
Cheers


Review Section

It contains the user reviews. It can also have the option for a user to leave a review.

hey @2024-SANDHYA, is the issue still open? I will add the review section to the home page while maintaining the beauty and liveliness of the site. Please assign the task to me if that works. Will be happy to help :)
Also, mention the deadline for the issue, in case I am assigned for the same.

@Sanjanabharadwaj25  Please give me an update on this issue, it's already been almost 2 weeks. If you don't want to work on this anymore or don't respond within 24hrs, I'll be assigning  this to @tiasaxena

I am working on the issue. I think I will be done with it in a couple of days.


Integrate with FZF for fuzzy search completion items?

Just read an interesting article https://nondev.io/Fuzzy-completion-in-Vim.
I personally don't like fuzzy completion all the time. But it seems useful to introduce another key, that start a FZF menu with current completion items for fuzzy search and completion.

Is it possible to use fzf engine in the autocompletion popup window? That would be really great.

@mrbiggfoot
It is possible.
IMO probably it's not worth the effort. FZF is invoked by process call, and it may slow down the process.
Feel free to try you own implementation for matching/sorting,
There is a small example: https://github.com/roxma/nvim-completion-manager/blob/master/pythonx/cm_matchers/prefix_matcher.py

This doesn't feels atractive any more.
Closing.
A better option is to improve current fuzzy matching algorithms.


Allow maintain permission for publishing on v1

Fixes https://github.com/cfug/dio/actions/runs/5169294477/jobs/9311455329 by @ueman from https://github.com/cfug/dio/issues/1633#issuecomment-1575564843.

AFAIK the v1 only read from the "permission" key, correct? What's the point of the previous comment?

So, I think need replace 'write' to 'push'.

Then const writable = permissionLevel.data.permissions.push?

I think, use the permissions maybe a good idea.

There's still something wrong with publishing.

Let's migrate to v2 instead.


Log in problem

Dear Dominik,
I have been having a problem with Boldigger since the Bold Systems website was updated, and everything was working perfectly before the update. When I try to log in to my Boldm Systems account in Boldigger, I get this error:
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='boldsystems.org', port=443): Max retries exceeded with url: /index.php/Login (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007)'))).
Is there a solution to this problem?
Kind regards,
Luka

Hi Luka,
I was not aware that the website was updated. Can you try https://github.com/DominikBuchner/BOLDigger2 and tell me if it has the same issue?
best
Dominik

Fixed with v2.2.2. You should consider moving to boldigger2 anyways :)

Thank you, Dominik, for fixing the problem, and for the suggestions for boldigger2, I will move to it :)
Best,
Luka


Unpacking dependencies duplicates files when two different versions of a dependency exist in the dependency tree

In a company-internal project I have the following setup:

The FooBar project shall publish some .proto files
Those protos depend on other protos coming from Maven dependencies. There are three dependencies in total:

com.google.api.grpc:proto-google-common-protos (a jar with both .class and .proto files)
my.company:stuff (a zip with .proto files)
my.company:things (a zip with .proto files)

my.company:things in turn depends on stuff and proto-google-common-protos. On of course, all of them depend on the well known types like StringValue. This way, proto-google-common-protos and protobuf-java are present twice in the dependency tree, but as is so often the case in two different versions.

The unpacking of dependencies does not seem to take this into account leading to duplicate files:

At the moment, the code doesn't deal with differentiating between multiple versions of the same dependency, which appears to be the issue here. I could probably deduplicate based upon the group ID and artifact ID though to avoid this. I'd need to take a look at how the dependency resolver API exposes this detail. When I get time I will do that though (I'm not going to have much time for the next couple of weeks so it might have to wait until then).
A workaround for now would be to explicitly exclude the dependencies you don't want in the dependencies block.
Also can see GH-135 related to this that would provide another solution.

@joh-ivu I've just made an unrelated change that updates how dependency resolution works. One of the things I changed was that any Maven-based project dependencies will now make use of the original Maven project dependency resolution rather than re-resolving all dependencies twice.
It would appear that a side effect of doing this is that it may now be deduplicating these dependencies in the way that you would expect. The test case for GH-132 which resulted in duplicate dependencies being output now appears to only be taking in one copy of protobuf-java despite depending on 4 modules that all depend on it transitively.
Would you mind retesting using the latest build on main and see if it now follows your expectations? If it does not, I may need to get some more details from you about reproducing this issue. If it does fix it, then this will be fixed in v1.2.0 which will be released once I've addressed your other issue at GH-135.
Sorry it has taken so long!

I have looked into this further and I believe that this is fixed by the changes I've added to main. If you see any further issues aside from this, please can you reraise a new issue or ping me here and I shall reopen this issue!


Rancher 2.2 - Gitlab integration - Not working

https://forums.rancher.com/t/rancher-2-2-gitlab-integration-not-working/13769/2

also https://forums.rancher.com/t/using-gitlabs-generic-k8s-connection-until-gitlab-is-added-to-v2-x-pipeline/10262/6

@loganhz can you have your team regression test gitlab integration

@cjellick @loganhz
Tested with Rancher v2.2.0 and gitlab-ee 11.9.1-ee.0
Step:
Fresh install of rancher server version - 2.2.0
Configuring pipeline with private gitlab.
Enable repo and edit a simple config.
Run the pipeline.
The pipeline runs successfully.

@loganhz can you follow up with users on the rancher forums (linked in the first comment) to get the steps to reproduce?

I think the original threads are talking about kubernetes integration in Gitlab, not Rancher pipeline integrating with Gitlab. We should validate if there is any blocker issue for that.

Validated in v2.2.1, I can configure Gitlab's kubernetes integration to Rancher managed clusters successfully.
If you are following this blog: https://rancher.com/blog/2018/2018-08-07-cicd-pipeline-k8s-autodevops-rancher-and-gitlab/, The overall workflow still works but a few tweaks are needed.
Takeaway notes are listed as follows:

To get K8S API endpoint, the get_kubeconfig_custom_cluster_rancher2.sh script by superseb is still valid, and if you enable Authorized Cluster Endpoint for RKE clusters now, you can fetch that from kubeconfig file provided in Rancher UI.
The gitlab-managed-apps seems to be a preserved namespace by Gitlab now, use other namespaces.
The service account RBAC roles provided in the blog may not be sufficient. For example, apps API group is required as deployment resource is moved in newer K8S version. You should get a token with necessary permissions per your requirements.
The default Ruby on Rails template does not work out of the box. Update the command in the Dockerfile of the project to CMD ["sh", "-c", "bundle exec rails server -b <IP_ADDRESS> -p ${PORT}"] so that the application is accessible via the ingress.
These are basically configurations for Gitlab CI/Kubernetes and no blocker issue on Rancher side is found.

Based on the content in the forums, it seems that this is resolved.

Please reopen and edit the post from your blog. This is taking more than an hour to be integrated by looking trough gtilab issues. The propper role binding as follows:
apiVersion: v1
kind: ServiceAccount
metadata:
  name: gitlab
  namespace: default
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: gitlab-admin
  namespace: default
subjects:
  - kind: ServiceAccount
    name: gitlab
    namespace: default
roleRef:
  kind: ClusterRole
  name: cluster-admin
  apiGroup: rbac.authorization.k8s.io
---
apiVersion: v1
kind: Secret
metadata:
  name: gitlab-token
  namespace: default
  annotations:
    kubernetes.io/service-account.name: gitlab
type: kubernetes.io/service-account-token

and then you get the token by doing:
kubectl describe gitlab-token | grep token:


Fix travis-ci build status badge

The travis-ci URI is case sensitive...

Codecov Report

Merging #41 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   39.48%   39.48%
=======================================
  Files           9        9
  Lines         851      851
=======================================
  Hits          336      336
  Misses        489      489
  Partials       26       26

Continue to review full report at Codecov.

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


Implement Malt.InProcessWorker

this worker just runs in the same process.
Fixes #27.

Note
This targets the branch for PR #32.

Maybe we can also implement Malt.DistributedStdlibWorker that just translates our API to Distributed API, to make supporting both backends in Pluto a bit easier?


Minor typo

On page 138, there is a superfluous comma: "... option to hide, them, but today ...".
If there will be a revision after the publishing proofs, this could be corrected. If there will be no revision, it can be corrected in the next edition...

@nmegill - I agree.  If we revise & create another proof, we should do this.  But I don't think we need to delay publication for this superfluous comma.  There's no mathematical error here.

I agree.

Included in errata.


cpython 3.10 now supported by videohash

SciPy now supports 3.10 so do we now.

Also, removed youtube-dl and only use yt-dlp cuz,
videohash.exceptions.DownloadFailed: 'C:\hostedtoolcache\windows\Python\3.9.8\x64\Scripts\youtube-dl.EXE' failed to download the video at 'https://www.youtube.com/watch?v=4fdbfLJYYgI'.
E           [youtube] 4fdbfLJYYgI: Downloading webpage
E
E           ERROR: unable to download video data: HTTP Error 403: Forbidden

youtube_dl appears dead.


UI fixes in View Contributors

Steps to reproduce
Go to navigation drawer -> about us -> view contributors

Expected behaviour

Make the github handle to come in a single line only (add ellipsis otherwise)
there is thin line above the contributors github handle. Remove that.
At the bottom, Github and octocat icon are not aliogned.

I would like to work on this issue

Sure @YuganshT79 👍


Timestamps in photosynthesis

The photosynthesis data have both HHMMSS and Timestamp fields. But they don't match up:
> x <- fd_photosynthesis()
> x$HHMMSS[1]
[1] "15:09:39"
> x$Timestamp[1]
[1] "2018-08-02 15:06:58 EDT"

What's the deal here? Are these instrument outputs, and if so, do we know why they don't match? Can we remove HHMMSS before returning data to the user?
Thanks.

Hi Ben,
The "Timestamp" field is something we manufactured, not an instrument output. The HHMMSS component of "Timestamp" is taken from the file header info, which I believe includes the time the file was opened. The "HHMMSS" is the time when the data were logged.

Thanks. So HHMMSS is the true timestamp of the observation, then, for the day and year given in the Filename_date field?

Correct.


Can't get to preferences

When I first opened the App I uncheck many of the preferences and now I can't seem to get them back.
I tried the "trex://showPreferences" in Safari and I click Allow to open the app but nothing appears.
Checking with "Mission Control" doesn't show any windows that are hiding.
I tried deleting com.ameba.Trex files in ~/Library along with an uninstall and reinstall.
The CLI command does seem to trigger the app/mouse icon but I don't see anything show up in the clipboard.
I have version 1.5.0 from homebrew.

Hey,

I uncheck many of the preferences and now I can't seem to get them back.
You can't use the menu bar item as well, correct?

I tried deleting com.ameba.Trex files in ~/Library

If you want to reset TRex, you need to delete files from Group Containers:
➜  ~ cd ~/Library/Group\ Containers
➜  Group Containers ls | grep X93LWC49WV.TRex
X93LWC49WV.TRex
X93LWC49WV.TRex.preferences

I tried the "trex://showPreferences" in Safari and I click Allow to open the app but nothing appears.

trex://showPreferences indeed seesm to be broken in this release, I'll take a look.


parses '>' as '>' instead of 'gt'

Hi
for problems with a '>', '<' or similars in the input (like this one), it downloads the input as 'gt', instead of '>'.

The problem is, that there is actually a '>' and similar HTML entities in the page source, and just the browser renders them as their actual characters.
I made a pull-request that converts those HTML entities sequences into their correct symbols.


explorer: update scout.cool link

What does this pull request do? Explain your changes. (required)
Update the old supermax.cool url to scout.cool per request on discord

Looks good, thanks!


bug: hosted demo crashes

Provide environment information
This is a problem on the hosted demo
Describe the bug
The get_posts requests retries and them completely fails with a db error.
auto clearing the db when this error occurs and pagination are 2 viable solutions.
Link to reproduction
https://turbo.t3.gg/
To reproduce
wait for get_posts request to finish
Additional information
{
    "0": {
        "error": {
            "json": {
                "message": "target: personal.-.primary: vttablet: rpc error: code = Aborted desc = Row count exceeded 100000 (CallerID: 841gdsku89u3w5ipbeh8)",
                "code": -32603,
                "data": {
                    "code": "INTERNAL_SERVER_ERROR",
                    "httpStatus": 500,
                    "stack": "DatabaseError: target: personal.-.primary: vttablet: rpc error: code = Aborted desc = Row count exceeded 100000 (CallerID: 841gdsku89u3w5ipbeh8)\n    at (vc/edge/function:512:1684)\n    at (vc/edge/function:512:5377)\n    at (vc/edge/function:123:2849)\n    at (vc/edge/function:123:3068)\n    at (vc/edge/function:123:3419)\n    at (vc/edge/function:122:8864)\n    at (vc/edge/function:122:11079)",
                    "path": "post.all",
                    "zodError": null
                }
            }
        }
    }
}

This is a "limit" in planetscales http api to only return Max 100k rows per request.

Crazy that the limit was reached so quickly 😅 i guess we could add a simple check for this specific error and clear the db when it happens

Haha lmao

Wiped them :)

Real apps should implement rate limiting etc and probably have paginated queries anyways. Thanks for notifying me of the issue!

I setup a PR that should help avoid this error 🚀


Updated the code snippet

Changes address issues surfaced in the example which result in 404 responses from Azure Translator Text API

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

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

@erhopf -  Could you review?
The author isn't available in the Assignees option. They probably needs to fully link their Microsoft and GitHub accounts, per Link your GitHub and Microsoft accounts.

@KSchlobohm - When you ran the sample, were you using the multi-service "Cognitive Service" subscription or a "Bing Spell Check" subscription key?

@KSchlobohm - When you ran the sample, were you using the multi-service "Cognitive Service" subscription or a "Bing Spell Check" subscription key?

In the Azure portal I created 2 services when researching a customer scenario:

Bing Spell Check v7
Translator Text

These two resources are created with a "global" location and I see now that is not valid as a precondition for the tutorial. These other resources I found that these commits addressed the issue.
When I switched to using the API type "All Cognitive Services" and reverted my changes I found the code in the tutorial works as intended.
Sorry for the slow replies and thank you for your reviews. It is my recollection that when I created the new translator text service I followed a link from the Azure portal to the docs and from there to this tutorial. As I could see, it listed a pre-req of needing a cognitive services key, which I already had. As someone new to the cognitive services I think the missing piece was that I assumed the cognitive service I had already created was the same as the one being used in this tutorial.

@erhopf, when you have a chance, would you add a comment to show what action to take on this PR:
Merge the PR: #sign-off
Close the PR: #please-close
Wait on the PR: #hold-off
Thanks!

#please-close
@KSchlobohm - Thanks for taking a look. The Cognitive Service key is a relatively new offering from Azure, and while it's designed to make your life easier, I understand that the number of subscription keys available to create can cause some confusion.
Both paths, using the individual service keys, or the Cognitive Services key, are valid. The main difference is that the endpoint construction changes slightly for each.
I'll think about how we can use your issue with this tutorial to make things more clear. We really appreciate you taking the time to try this out and provide feedback :smile:

Thanks all!


Fix Dashboad UI, and Enhance it

Improve things on the dashboard
make it more like dashboaurd for now the things are scattered everywhere
hey @MitulSonagara please assign me this task

@shubhagarwal1
You can start working


When hide navbar on scroll, searchbar doesn't move to top

Hi,
I refer searchbar & hide bars on scroll example at http://www.idangero.us/framework7 to implement my website.
When i scroll, navbar hide but search bar doesn't move to top. So layout look bad at that time.
I also refer DOM7 library but i don't find any event which fires when navbar hidden.
Any idea for moving searchbar to top when navbar hidden ?

In this case you should put it inside of subnavbar

Thank for your reply, it helped me to resolve my problem


Would it be hard to support adding a single additional custom CSS/SASS file?

It seems that it might happen that a user wants to fiddle a little bit with the CSS manually. Is it possible to have like a sass/extra.scss or something that gets loaded if it exists (or a field name custom_css="extra.scss" or something.
I'm kinda wanting the text width to be a tiny bit wider, but it seems like there's no way to slightly tweak/override CSS properties.
EDIT:
It seems like using blocks in the template pages is a common way to do that

the strategy is explained here
it's applied by no-style-please here

stylesheets could be defined in config.toml like this:
stylesheets = ["main.css","extra.css"]

You could then load any extra stylesheets via a loop.
  {%- set stylesheets=config.extra.stylesheets | default(value=[ "main.css" ]) -%}
  {%- if stylesheets %}{%- for i in stylesheets %}
  <link rel="stylesheet" href="{{ get_url(path=i, trailing_slash=false, cachebust=true) | safe }}" />
  {%- endfor %}{%- endif %}

Hey Steven!
Thanks for the feature request. Funnily enough, this was an undocumented feature until I removed it when adding skins (#105).
I'll bring it back! And better than ever.
Along with loading CSS files from config.toml, like Jieiku showed (thanks), I will allow loading files for individual posts as well, in the [extra] section of the post's front matter.

Hey @stevenroose and @Jieiku,
Thank you both for your suggestions and input on this issue!
I've implemented the feature to allow dynamic loading of extra stylesheets in #118. You can now specify additional stylesheets both in the config.toml file and in individual page metadata in the [extra] section of the front matter.
How to Use

Site-wide: Add the stylesheet names to the stylesheets field in config.toml like this:
[extra]
stylesheets = ["extra1.css", "path/extra2.css"]

Individual pages: Specify the additional stylesheets in the [extra] section in the front matter of the post like so:
+++
title = "My Page"
[extra]
stylesheets = "individual.css"  # Use an array for more than one file.
+++

Note: If you're working with .sass or .scss files, remember to specify the processed .css filenames, as Zola renders these into .css files in the public folder (docs). For example:
[extra]
stylesheets = ["extra.css"]  # Corresponding to `sass/extra.scss`

The feature has been documented in the config.toml and in the PR.
Have a fantastic weekend :)


Expose golang querier

Closes #70

[x] Define all Go types for StdError and SystemError and conversions
[x] Define Go interface for Querier and wrapper to/from Rust types
[x] Implement simple Querier for tests with Balances and custom types from Reflect
[x] Implement FFI to pass in Querier to contracts and call back
[x] Test with hackatom (balances) and reflect (custom) contracts

This is basically done. It probably needs a pass through to give some polish, but I have a querier writen in Go serving data to the contracts. Tested it working for callbacks both in handle and query, as well as handling "custom" queries from the reflect contract.


Is this still working?

Looks like Yahoo is requiring cookies/crumb to be set and this does not work anymore. Does it still work for you?

Works for me, but it will always fail if you don't enable network connections in your app sandbox. See developer docs.


Ability to use git path as values.yaml source

@the-fine @squaremo @kingdonb  Had discussed prior on an old issue that is still relevant: Support values files for helm
The link between my Flux HelmRelease and my Helm Chart is a GitRepository that has a path to the Chart.yaml. If I cannot include the path to values.yaml as well, I am forced to specify them statically from the command line for injection into my Flux HelmRelease. This is possible but creates static values hardcoded to the Flux HelmRelease. My chart will be GitOps enabled, but my values will not and will need to be adjusted in separate modifications to the HelmRelease. The Helm values would exist in two places, and there would be a separate workflows for developing directly with Helm. Not to mention the capability for full GitOps is gone.
Can you help? This is a make or break for me unfortunately. Do you have any other suggestions?
I would appreciate any feedback! Thank you!
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: monitoring
  namespace: flux-system
spec:
  chart:
    spec:
      chart: ./ala-monitoring
      sourceRef:
        kind: GitRepository
        name: flux-system
  install:
    createNamespace: true
  interval: 5s
  targetNamespace: monitoring
# Hard-coding values here is an odd quirk in an otherwise seamless workflow
  values:
    grafana:
      enabled: true

Proposed:
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
spec:
  chart:
    spec:
      chart: ./ala-monitoring
      values: ./ala-monitoring/values.yaml # <-- PROPOSED FEATURE
      sourceRef:
        kind: GitRepository
        name: flux-system
...

Is there any reason you can't use a configmapgenerator to place your values in a configmap, and then include them from the configmap in the helmrelease using a values override?
https://fluxcd.io/docs/components/helm/helmreleases/#values-overrides
An additional change that I've seen in a different thread, which makes this a bit more palatable, is to add kwatch so that the helmrelease is reconciled whenever the configmap changes (since it doesn't subscribe to any configmaps, it will not do this by default).
But you can also get around that, by using the example from this page:

Refer to values in ConfigMaps generated with Kustomize

I probably should have started with that one, it just did not occur to me at first... this is the canonical answer to your question, I think. Use a configmapgenerator with a random suffix, and let Kustomize update the HelmRelease with the name of the new configmap every time it is changed in git. This will get you full-GitOps even for your values from Git.
(I hope! Does this help?)

@corinz I have good news. The example is presented incorporated into a repo here, (with 2 other methods):
https://github.com/kingdonb/github-actions-demo/tree/main/apps/podinfo#best-example---helmrelease-with-kustomize-configmap-generator
I think this is the best method, although I have some misgivings about using a GitRepository to back the HelmRelease, I'm not sure if that's a requirement for you. It's not a deal-breaker, you can do it either way. This example from the docs is definitely under-highlighted, compared to how often we get this question! (I hope this actually addresses your question...)
I built an example repo to go with the automation examples, and I'll try to include this in our WOUG demo session tomorrow! If this doesn't get right at your question, you are welcome to join us for the presentation and ask questions, the meetup is in the link. 🙇 🙏


[Feature] Filter Clustered Objects using VectorMap info.

Status
DEVELOPMENT
Description
This PR solves issue #979 with the help of the wayarea data contained in the VectorMap.
Todos

[X] Tests
[X] Documentation

Steps to Test or Reproduce
Pre-requisites:

PCD Map
Vector (ADAS) MAP with wayarea data available
NDT Localization working

Press the [app] next to Euclidean Cluster in the Computing Tab
Select the correct point cloud topic for input
Enable use_vector_map checkbox.
Select the appropriate frame of the vector map (normally map).
The GridMap params can be used as the defaults ones. (See the tooltips for extra details)
Launch the node enabling the euclidean_cluster checkbox

In Rviz add a Visualization Map in the rviz section
In the topic select: /clustering_grid_map_visualization/cluster_wayarea
The drivable area should now be visible in rviz as shown below

The CloudClusters published by euclidean_cluster will be filtered by this white area. Objects which its centroid falls outside this region will not be included in the output Array.

@amc was filtering of objects outside of the wayarea really not available in Autoware before?

@dejanpan yes, it was available. but a different implementation (slower)


Update website per Joe's feedback

Towards #18

@jhamman, @TomNicholas, this is ready for another round of review when you get a moment...  Here's the preview link: https://xarray-git-adjustments-andersy005.vercel.app/

I'm going to merge this for the time being... I am happy to address any feedback in subsequent PRs...


Redirect to Spam

Hey, just so you know, the "Demo button" on your Jekyll theme's page on jekyllthemes.org redirects to some sort of super fishy chrome add-on/extension that smacks of malware. Might want to double check the url attached to the button.

fixed, waiting to be approved


Make it work on IE11 out of the box

While progressive enhancement should give users something to use, it would be great if we could include instructions on how to add the required polyfills for IE11, as a lot of AT users rely on that browser.

@carolinegreen found that the error is related to Promises not being supported in IE11 and under. I'm almost positive this is because of their use in the picker engine.

Fixed by @carolinegreen in v0.3.2! 🎉


How to get unique rows from a DataFrame based on a specific column

Would be great to extend unique or have a uniquerows, so that one can create a dataframe from an existing one that has unique rows - but the uniqueness could be based on unique values in a particular column. For eg.
unique(df, 5)
gives a new dataframe based on the unique values in column 5.

Is this issue still live? I would love to see this functionality. Here is my use case (I copied this from closed issue #908.
I very often need to extract the values of one or more columns from a DataFrame based on whether the value of one or more columns is similar. So if I have a DataFrame X with:
| site | foo | bar |
| "a"  |  1  |  1  |
| "a"  |  1  |  2  |
| "b"  |  2  |  3  |

In this case, the bar values are redundant, and each site value is always associated with the same foo value. I want a DataFrame that matches site to foo values and discards bar values.
In R I would do:
ret <- X[!duplicated(X$site), c(["site", "foo"]]

which would give
| site | foo |
| "a"  |  1  |
| "b"  |  2  |

But in julia, the nonunique(df) function only accepts a full DataFrame, leading to ugly code like
ret = X[!nonunique(DataFrame(tmp = X[:site]), [:site, :foo]]

It would be great to have a second optional argument to unique() and nonunique() that let me specify the rows to compare.

It shouldn't be hard to implement if you want to give it a try. Have a look at nonunique and unique! in abstractdataframe.jl. Passing a vector of symbols for column names, and using that to subset the DataFrameRow before comparing should work.

Constructing a dataframe that have a subset of columns should be inexpensive, so it could be as simple  as nonunique(df, colnames) = nonunique(df[colnames]).

Constructing a dataframe that have a subset of columns should be inexpensive, so it could be as simple as nonunique(df, colnames) = nonunique(df[colnames]).

Well, the problem with that solution is that one would lose all columns which were not retained for the comparison.

@nalimilan nonunique() just returns the row indices, so it should be fine.

Ah, right. So that should be easy.

Happy to do the PR but uncertain about the preferred style. I would prefer to have methods for a second argument with at least 4 types: symbol, vector {symbol}, Int and vector{Int}.
Sendt fra Outlookhttp://aka.ms/liysn4 på Android
On Fri, Feb 5, 2016 at 7:47 AM -0800, "Milan Bouchet-Valat" <notifications<EMAIL_ADDRESS>wrote:
Ah, right. So that should be easy.
—
Reply to this email directly or view it on GitHubhttps://github.com/JuliaStats/DataFrames.jl/issues/363#issuecomment-180410388.

You can leave out type annotations: if the type of the new argument is not supported, an error will be raised at that point, and it should be clear enough for the caller.

IIRC the guidelines recommend using ::Any type qualifier in that case.

I have written the code, but github tells me I do not have permissions to do a PR on DataFrames.

@mkborregaard GitHub or git? I don't see any fork of DataFrames.jl on your account, which is the first step before doing a PR. At least, if you can point us to the branch on your fork, we can have a look.

Sorry, I did something wrong. Here it is #909 .

Fixed the issues as requested and wrote some tests

Fixed in https://github.com/JuliaStats/DataFrames.jl/pull/909

how does one select unique row ?

unique

df.colname.unique()

I think you meant unique(df, colname)?

No dataset name followed by the column name from where you want to get the unique values.
datasetname.colname.unique()
Try it out and let me know

This is Julia, what you propose would work in a language like Python. The way I have shown is how you should do it in Julia, e.g.:
julia> df = DataFrame(a=[1,2,3,1,2,3], b=6:-1:1)
6×2 DataFrame
│ Row │ a     │ b     │
│     │ Int64 │ Int64 │
├─────┼───────┼───────┤
│ 1   │ 1     │ 6     │
│ 2   │ 2     │ 5     │
│ 3   │ 3     │ 4     │
│ 4   │ 1     │ 3     │
│ 5   │ 2     │ 2     │
│ 6   │ 3     │ 1     │

julia> unique(df, :a)
3×2 DataFrame
│ Row │ a     │ b     │
│     │ Int64 │ Int64 │
├─────┼───────┼───────┤
│ 1   │ 1     │ 6     │
│ 2   │ 2     │ 5     │
│ 3   │ 3     │ 4     │

Oh okay sorry about that


[Feature]: shopify theme dev --live-reload delay

What area(s) will this request affect?
Theme
What type of change do you want to see?
Substantial change to existing feature
Overview
Allow an argument that sets a delay in milliseconds for --live-reload
something like
shopify theme dev --delay 1000

This ability can be found in BrowserSync achievable with the reloadDelay config property https://browsersync.io/docs/options#option-reloadDelay.
Motivation
I'm using Vite + TailwindCSS JIT compilation and the issue is that the live reload triggers once I save a liquid file and does not wait for the build system to compile my just-in-time styles forcing me to manually reload the browser to get the styles that include a class added to the liquid file.

Thank you for that proposal, @james0r! I've added it into @theme-developer-tools roadmap.

Status bump

Status bump

Hi @james0r
To help integrate theme dev with a reloading tool such as Browsersync, you can provide the optional --notify flag with a file path you want to be updated when the workers have gone idle. E.g. shopify theme dev --notify /tmp/theme.update
I created this example using Vite for you (:
Prolly we don't need to add more flags for this. We introduced the notify flag to help integrate with other tools
cc @karreiro

any progress on this?

this example

@montalvomiguelo I don't see that this works/addresses my issue. It appears that the --notify flag touches /tmp/theme.update and that appears to be what FullReload vite plugin does as well.
If that's the case, then you have to dispatchers and no listeners so to speak. I believe what I need is a listener on the shopify dev watch service, and a dispatcher on the Vite service.

@james0r The Vite plugin does not touch /tmp/theme.update, it watches it to reload the page

@james0r when working with tailwind + vite + shopifycli, serving the theme with the --live-reload full-page flag helps. I have this project that uses tailwind :)

Thanks @montalvomiguelo. --live-reload full-page seems pretty solid now.


feat(can): can over plain old socket

Overview
Enable CAN over plain socket. This is available for easy simulation on non-Linux machines.
Changelog
AbstractCanDriver is the ABC for CanDriver (python-can) and SocketDriver (socket).
Review requests
This is the companion to https://github.com/Opentrons/ot3-firmware/pull/165
Risk assessment
None

I think this wants to be feat(hardware) for the commit message


TEST PR - PLEASE DO NOT MERGE

This draft PR contains the Integration tests for PostgreSQL dialect.
This is not ready for review yet and is just for testing to check the test run as PgDialect is not yet supported by emulator.
I will close this PR after testing and raise a new one for review once it is ready for review. Thanks

Closing this as test results are now available.

@Rishabh-V integration tests are not run on presubmits, only unit tests. I don't think running presubmits on this PR geve you lots of insights.

@Rishabh-V integration tests are not run on presubmits, only unit tests. I don't think running presubmits on this PR geve you lots of insights.

Hey Amanda, I have tested integration tests against my GCP project but since Emulator is used in our CI, wanted to check that PostgreSQL tests don't fail the build as they are not supported by Emulator. I had filtered out the tests for PostgreSQL so that they don't run against the emulator and fail and that is what I was trying to check.

Ah that's good to know, thanks. I understood differently from your initial comment.


Remove reliance on nonexistent UDP binding return code.

Good find! bind does at least throw an exception if an error occurs? :$
:+1:

bind is supposed to reject if there's a problem, yes.  This is already true in Chrome, and soon will be in Firefox too: https://github.com/freedomjs/freedom-for-firefox/pull/71


chore(release): v0.0.4

:robot: I have created a release beep boop
0.0.4 (2023-01-26)
Bug Fixes

custom theme colors not work for tailwindcss classes. (877c2a2)

Performance Improvements

input placeholder text color adjusted. (877c2a2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/riccox/sira/releases/tag/v0.0.4 :sunflower:


[CI] Remove hardcoded opensearch.version from CI Build job

Description
OpenSearch version is typically specified in build.gradle file (or in gradle.properties file which is currently not present in this template). However, as of writing the CI job for this template silently overrides this value to whatever is hardcoded in CI.yml file. This leads to two issues:

when the template code is upgraded to a new version of OpenSearch the version needs to be changed at least in two places (which is prone to errors)
if the plugin author is using GHA then most likely he/she is not aware of the fact that the CI job is overriding the version (a missing docs is to blame?) and they can face unexpected failures of the job

If the opensearch.version needs to be overridden for the CI job I suggest documenting it properly and giving plugin authors instructions on how and when to modify the version in CI.yml file.
Issues Resolved
Closes #21
Check List

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Signed-off-by: Lukáš Vlček<EMAIL_ADDRESS>

@reta feel free to join in here and review:)

Thanks @lukas-vlcek , makes sense to me as well!


Customize the readyz endpoint of the operator

We currently use the default healthz.Ping function to be run on the readyz endpoint of the operator.
This is not enough, as we are currently manually checking if the kubearchive-operator-webhooks service is actually responding on port 443:
# Make sure webhooks are up and running.
LOCAL_PORT=8443
kubectl -n kubearchive port-forward service/kubearchive-operator-webhooks ${LOCAL_PORT}:443 >& /dev/null &

# Wait for $LOCAL_PORT to become available.
while ! nc -vz localhost ${LOCAL_PORT} > /dev/null 2>&1 ; do
    echo -n .
    sleep 0.5
done
echo .

If we don't wait for this check to be successful, and we try to apply a KubeArchiveConfig earlier, it won't work.
We should have a readiness probe more sophisticated to do this check and prevent us having to do it after the deployment is successfully rollout.

@maruiz93 , it actually looks like the liveness and readiness probes defined in the operator are checked the API server!

@maruiz93 , it actually looks like the liveness and readiness probes defined in the operator are checking the API server!

how? I see that you changed the port from 8081 to 9443 but IIUC, liveness and readiness probes defined in a container can only check their own endpoints and not the container of a separate pod


News Analysis results not rendering on FrontEnd UI.

On performing testing, it is observed that News Analysis results are not rendering on the web page at the frontend side.

Need to check results.html file for this

Fixed news analysis bug.


Make IngressRouteTCP more similar to IngressRoute

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

Feature Request
When writing custom resources, it would make it much easier if the IngressRouteTCP and IngressRoute CRDs were more alike, at least in a few key places.
For instance:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
  name: http-example
spec:
  entryPoints: [vpc-http]
  routes:
  - kind: Rule # this is missing from TCP although the other properties exist
    match: Host(`my-server.my-vpc.private`)
    services:
    - kind: Service
      namespace: my-namespace
      name: my-app
      port: http

In particular, having the kind property on routes[] and routes[].services[] of IngressRouteTCP would mean that we can use an almost identical template for TCP and HTTP routes (just need to set .kind to IngressRoute±TCP and .entryPoints)
Cases like this are encountered quite often because these two CRDs are so similar but Traefik complains because of this extra kind field that would have to be removed for the TCP route to be admitted by the CRD controller.

Hey @StefanTheWiz,
Thank you for reaching out.
Discussing with the other maintainers, we think that could be relevant to make the option kind optional, setting the value Rule per default.
WDYT @StefanTheWiz? Does it make sense to you?

Hello @StefanTheWiz,
Thank you for your feedback.
Concerning routes, there is only one kind Rule yet.
Concerning services, you can set either Service or TraefikService`.

Hi @nmengin, I would like to work on this, opened a draft pr: https://github.com/traefik/traefik/pull/11177


Validation rule applied to each array element fails with URL rule

Laravel Framework version 5.2.29

$dataToValidate = [
   'url' => [
        0 => "http://www.myaddress.co.uk/img/no-property.png"
     ],
];

$rules =[
    'url.*.url' => 'url',
];
...
$validator = Validator::make($dataToValidate, $rules, $messages);
$validator->each('url', ['url']);

if ($validator->fails()) { // throwing error

Error
ErrorException in Validator.php line 1497:
preg_match() expects parameter 2 to be string, array given
Please can anyone advice ?

You're calling each() wrong, you don't need to call it, make your rules array as:
'url.*' => 'url'

And remove the call to each.

Brilliant, thank you!!!


Code does not run

We have written the needed data into your c
Issue Type: Bug
After I installed the latest Windows update and restarted my laptop, VS Code does not seem to be able to run codes anymore. It keeps showing  "Program xyz.exe failed to run: The systemcannot find the file specified at..." along with a series of codes, although the file is present at the specified location and it was working just fine before the update. I reinstalled the entire thing and still the same problem
VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 7 5800H with Radeon Graphics          (16 x 3194)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.86GB (8.41GB free)

Process Argv
--crash-reporter-id 1fbc5652-7076-4fe7-b1b8-8f0ef8f88162

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

doxdocgen
csc
1.4.0

code-runner
for
0.11.7

better-cpp-syntax
jef
1.15.13

python
ms-
2022.4.1

vscode-pylance
ms-
2022.4.3

jupyter
ms-
2022.3.1000901801

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.231.6

remote-ssh
ms-
0.78.0

remote-ssh-edit
ms-
0.80.0

remote-wsl
ms-
0.66.0

cmake-tools
ms-
1.10.5

cpptools
ms-
1.9.8

cpptools-extension-pack
ms-
1.1.0

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebugcf:30475217

Please check if the issue persists with latest stable 1.73

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[Env] Print shebang when it doesnt match Gem.ruby

Closes #5616.
Prints out Gem.ruby and the bundle binstub shebang when they don't match, which should help us pinpoint when ruby installation shenanigans are the root cause of an issue

oh my god what a good idea yes please @bundlerbot r+


Specifying braces in password spec doesn't function properly

Since the special characters in the password spec string are [, ], and | there are some difficulties with parsing them. Due to the decisions around parsing the interval | is fine since it is always the last value. However, ] specifically will cause problems since once an opening brace is seen the parser scans forward until ] is seen, so if it is intended to be in the charset it will break the parsing.
Not quite sure what the best way of doing this is since the parser could require a decent bit of backtracking in pathological cases. Could require escape sequences for the significant characters or could use something like \ as the separator between choices so it isn't two characters being split around.

Or use a regex along the lines of \[.*?\|[0-9+-]+\] then only the more intentionally confusing spec strings cause problems like: [abc|2]|1+].
Or maybe it has to be iterate forward until the ] is followed by [ or { or is the final character. But that wouldn't be robust either.
Seems like if not wanting to escape characters then there is possibly backtracking. So an example like:
[a|2]b|1+]
would have to parse like this:
"[a|2]b|1+]" -> (Choice([a|2]), "b|1+]")
"b|1+]" -> Fail" must rewind
"[a|2]b|1+]" -> (Choice([a|2]b|1+]), "")

Probably better to just have the spec be more easy to derive from the string.
Imagine if the spec is being served through an api and it tries to parse the spec string and it is an intentionally malicious string so that it causes the maximal backtracking over a long string, this could lead to consuming way more resources than intended with relatively few connections. Although immediately parsing the spec for theoretical apis is likely a bad design since other validation should proceed and make this not as much of a problem, it could still be one.
An easier parsing method is to just double up the significant characters: [[stuff|]]. So, there is no more running into [[..]..|n]] being a problem and then with [[ ...]]|n]] it is either a mistake or intentionally malicious so easy to discard and error informationally. This should be able to be parsed in a single pass through the string.

or just switch things up
length//amount|chars//amount|chars
so and example:

20//2+|:upper://3-|^%$|///5|:number:
length=20, groups=[choice(2+, :upper:), choice(3-, /^%$), choice(5,:number:)]
shouldn't have any need to backtrack at all

since it can be built as a stack pushing on each character and then the top of the stack has a specific meaning according to the separator.
This should be a one pass parsing scheme that doesn't have the weird edge cases with the separator characters. Slightly less attractive, but whatever.


[AutoPR containerregistry/resource-manager] ACR: Add contextAccessToken to Task step

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4389

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/391


Support controller runtime v0.15.0

Breaking Change ⚠
Bumping this means we also bump our dependency on K8s - we support 1.26 but drop official support for 1.24
Goal
Bump our dependency on controller-runtime to v0.15.0
Details
The new controller runtime v0.15.0 will introduce multiple breaking changes that will require code refactoring/changes in all our operators:

[ ] the server struct for the webhooks is now an interface, so we need to change all reference of it since we use it to override  configs when setting up certificates
[ ]  the decoder injector has been removed this means we need to pass one to the webhooks explicitly - tackled in #1445
[ ]  few ways to set up the controller manager are deprecated: setting up the port can be done using WebhookServer.Port, and disabling caching shall use Client.Cache.DisableCacheFor.
[ ] Unit tests for the controllers need to be adapted as well

DoD
KLT depends on v0.15.0 of controller-runtime
Depends on

https://github.com/keptn/lifecycle-toolkit/issues/1445

Resources

Breaking changes list: https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0

Sure! Thanks @geoffrey1330

Also documentation should be updated with the new k8s version requirements

@geoffrey1330 there are quite a few complications due to a container-runtime bug in the fake client, we have this on hold so I will unassign you for now and close your pr.


Is this project dead/maintained?

Hi - great piece of software but curious what the status of it is, it is going to be actively maintained going forward? Just see a lot of PRs limbo and lots of issues going unanswered.

Please, see some discussions on #301


Instagram Bridge failed with error 400

Error message: Unexpected response from upstream. cUrl error:  (0) PHP error:
Query string: action=display&bridge=Instagram&context=Hashtag&h=%23amv&media_type=all&format=Html
Version: dev.2021-04-25

Is that what you need? https://feed.eugenemolotov.ru/?action=display&bridge=Instagram&context=Hashtag&h=amv&media_type=all&format=Html
Removed hashtag symbol from query.

oh thanks very much sir.
On Sun, Jan 2, 2022 at 5:42 AM Eugene Molotov @.***>
wrote:

Is that what you need?
https://feed.eugenemolotov.ru/?action=display&bridge=Instagram&context=Hashtag&h=amv&media_type=all&format=Html
Removed hashtag symbol from query.
—
Reply to this email directly, view it on GitHub
https://github.com/RSS-Bridge/rss-bridge/issues/2394#issuecomment-1003663206,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJSWAMIEPHBCNOHT4BVASMTUT7JS7ANCNFSM5K53VNCA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Fix errors in the vendor/ directory

This PR fixes several inconsistencies in the actual vendoring. This is a prerequisite to switch from govendor to go mod.

Some indirect dependencies were tracked from the vendored repository (eg k8s.io/client-go/1.5/vendor/github.com/davecgh/go-spew/spew). Those dependencies are now tracking the same version of the code but from the original repository (eg github.com/davecgh/go-spew/spew).
Some packages were still referenced in vendor/vendor.json but not vendored because they weren't needed anymore (for instance, github.com/dgryski/go-bits).
Fix invalid revisions for a number of packages pulled by github.com/cockroachdb/cockroach (see #3030).

The end result is that after this PR, rm -rf vendor/*/* && govendor sync shouldn't fail and git diff returns no difference.

@brancz @brian-brazil PTAL.

cc @SuperQ too

lgtm :+1:


xhr authorization header not working with MediaElement backend

@thijstriemstra @danielkrich  I tried to use xhr authorization header with MediaElement backend, it is not working. How can I use preload? Please share an example.
@danielkrich preload it using ajax (e.g. jquery of whatever javascript) into an audio element and pass that audio element to wavesurfer?
Originally posted by @thijstriemstra in https://github.com/katspaugh/wavesurfer.js/issues/1038#issuecomment-430725606

tried to use xhr authorization header with MediaElement backend, it is not working. How can I use preload? Please share an example.

Well, let's start with you sharing code, what have you tried that is not working?

In my code,
 const token="edjflkgflhgf..."; const waveform = window.WaveSurfer.create({             **backend: "MediaElement",**             container: "#waveform",             waveColor: "grey",             barWidth: 2,             barHeight: 1,             barGap: 2,             minPxPerSec: 30,             scrollParent: true,             responsive: true,             xhr: {                 requestHeaders: [{                     key: "Authorization", value: "Bearer " + token                 }]             } });
waveform.load(audioURL, peakjsonData);
When I use backend:MediaElement, authorization bearer token is not available in request header of the audio URL. But in case of backend:WebAudio, authorization bearer token is available.

Try crossorigin="use-credentials" on the audio element?
From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio:

Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the audio will be tainted and its usage restricted.

I am using proxy, so origin is same for audio url and web application url.

I have referred https://github.com/katspaugh/wavesurfer.js/issues/1856 to add cross-origin.

xhr = {
cache: "default", mode: "cors", method: "GET", credentials: "same-origin",
redirect: "follow", referrer: "client",
requestHeaders: [{
key: "Authorization", value: "Bearer " + "my-token"
}]
};

Issue is not resolved, authorization bearer token is not available in request header of the audio URL when I use backend:MediaElement.

why xhr works only with backend:WebAudio and not with backend:MediaElement?

why xhr works only with backend:WebAudio and not with backend:MediaElement?

Because webaudio uses fetch API to load the file. Looks like it's a browser limitation.

I have tested on Google Chrome and Microsoft Edge. It is not working on both browsers.
What is the fix? How can I use backend:MediaElement with authorization token in header?

Hey @thijstriemstra are you looking on this issue?

NO

It depends on your environment, there's a lot of related issues on stackoverflow

In the current version of Wavesurfer, the property that controls the request is called fetchParams:
const wavesurfer = WaveSurfer.create({
container: #wave,
url: 'https://...',
fetchParams: {
mode: 'no-cors',
},
});


Enable rainbow mode in LaTeX buffers.

When a LaTeX document is opened, after all styles are applied, enable rainbow mode.

Is there a reason you're not using (add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)? Using add-hook! as you are will unnecessarily add a closure to the hook.

I was not aware of the closure thing.
I was trying to do it more DOOM-like by using add-hook! :grinning:
Anyhow, switched to normal (boring, but closure-less) add-hook.


Cannot load file containing pickled data when allow_pickle=False

Hello. I got a problem when I run the code.
Cannot load file containing pickled data when allow_pickle=False
after I change the code in run.py 25th line to: features = np.load(join(DATA_DIR, f'{feature}_source.npy'),allow_pickle=True)
I got:
OSError: Failed to interpret file 'data/mcn_msd_big_source.npy' as a pickle
How to solve this? Any response will be greatly appreciated! :)

Hi! The npy file you're trying to open is actually stored on git LFS. To download it, you have to install Git LFS, and then delete the files, and check them out again. Basically (on macOS):
brew install git-lfs
git lfs install
rm data/*npy
git checkout .

However, this doesn't work because our Git LFS maxed out our quota! @fdlm , is there anything I can do to increase this? I don't seem to have writing access to that Git LFS repo.
Thanks for reporting, @DummyNodeHead !

Ah, thanks for catching this. I uploaded the data files here, so you can grab them and put them in the right directory.