ModuleNotFoundError: No module named "vllm._C"

Hi @Kawai1Ace, it seems you are using the latest main branch of vLLM. Did you install vLLM from source? The vllm._C module is built when you install vLLM.

in my case same install command, but install different python version
lead to the problem
https://github.com/vllm-project/vllm/blob/main/Dockerfile#L4
https://github.com/vllm-project/vllm/blob/main/Dockerfile#L48
Make sure they use the same version of python
if you use docker
change
RUN apt-get update -y \
    && apt-get install -y python3-pip

to
RUN apt-get update -y \
    && apt-get install -y python3.10 python3.10-dev

# Download and install pip for Python 3.10
RUN apt-get install -y curl && \
    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
    python3.10 get-pip.py

RUN ln -fs /usr/bin/python3.10 /usr/bin/python && ln -fs /usr/bin/python3.10 /usr/bin/python3

@WoosukKwon
when I run the command pip install -e . ,ome errors occur

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library.  You just need to rename this folder.

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

errors happens: git clone download the vllm project, and build failed; under the same folder, try pip install vllm, success; just remove the cloned vllm project.

I am trying to run vllm on WSL Ubuntu. I just installed vllm through pip and getting this error:
/usr/bin/python3: Error while finding module specification for 'vllm.entrypoints.openai.api_server' (ModuleNotFoundError: No module named 'vllm')
commands used:
pip install vllm
sudo python3 -m vllm.entrypoints.openai.api_server --model 01-ai/Yi-6B-Chat-8bits

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

I think I should say it more clearly. There are two methods to install vllm, one is to use pip, and the other is to build and install from the source code. If  using pip install vllm, you don't need and shouldn't clone this project because the "vllm" folder in the project will cause confusion during imports. If building and installing from the source, the '_C.cpython-xxx-linux-gnu.so' file will be built, and then you can import vllm._C.
In fact, there are some subtle differences between installing vllm with pip and installing it from the source code. For example, in the ninth line of utils.py, it's from vllm import cuda_utils under pip installation and from vllm._C import cuda_utils under source code installation. The latter is the reason for the error ModuleNotFoundError: No module named 'vllm._C'.
I assume you initially installed vllm using pip. Later, when you needed to run examples/llm_engine_example.py, you cloned the VLLM project, resulting in this situation—similar to my experience.

@Kawai1Ace发生该错误的ModuleNotFoundError: No module named 'vllm._C'原因是存在一个名为 的文件夹vllm，这使得导入命令优先考虑该文件夹中的函数vllm而不是 vllm 库。您只需重命名该文件夹即可。

我想我应该说得更清楚一些。安装vllm有两种方法，一种是使用pip，另一种是从源代码构建并安装。如果使用pip install vllm，您不需要也不应该克隆此项目，因为项目中的“vllm”文件夹会在导入过程中造成混乱。如果从源代码构建和安装，将构建“_C.cpython-xxx-linux-gnu.so”文件，然后就可以了import vllm._C。 事实上，用pip安装vllm和从源码安装有一些细微的区别。比如utils.py的第九行，在from vllm import cuda_utilspip安装下，from vllm._C import cuda_utils在源码安装下。后者是错误的原因ModuleNotFoundError: No module named 'vllm._C'。 我假设您最初使用 pip 安装了 vllm。后来，当你需要运行时examples/llm_engine_example.py，你克隆了VLLM项目，导致了这种情况——和我的经历类似。

有解决办法吗？

Sure.There are three methods to install vllm. You can choose one.
1."pip install vllm" and don't git clone this project.
2."pip install vllm" and git clone this project. Then rename or remove the "vllm/vllm" file folder.
3. build from the source code.

幻想的彼方
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2024年1月29日(星期一) 中午11:24
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [vllm-project/vllm] ModuleNotFoundError: No module named "vllm._C" (Issue #1814)
@Kawai1Ace发生该错误的ModuleNotFoundError: No module named 'vllm._C'原因是存在一个名为 的文件夹vllm，这使得导入命令优先考虑该文件夹中的函数vllm而不是 vllm 库。您只需重命名该文件夹即可。
我想我应该说得更清楚一些。安装vllm有两种方法，一种是使用pip，另一种是从源代码构建并安装。如果使用pip install vllm，您不需要也不应该克隆此项目，因为项目中的“vllm”文件夹会在导入过程中造成混乱。如果从源代码构建和安装，将构建“_C.cpython-xxx-linux-gnu.so”文件，然后就可以了import vllm._C。 事实上，用pip安装vllm和从源码安装有一些细微的区别。比如utils.py的第九行，在from vllm import cuda_utilspip安装下，from vllm._C import cuda_utils在源码安装下。后者是错误的原因ModuleNotFoundError: No module named 'vllm._C'。 我假设您最初使用 pip 安装了 vllm。后来，当你需要运行时examples/llm_engine_example.py，你克隆了VLLM项目，导致了这种情况——和我的经历类似。
有解决办法吗？
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

This should be fixed by https://github.com/vllm-project/vllm/pull/2845

@hxdbf If I encounter an issue when running the following command after cloning the repository:
venv-vllm/bin/python -m vllm.entrypoints.openai.api_server \     --model /hy-tmp/tigerbot-13b-chat-v5-4k \     --enable-lora \     --lora-modules sql-lora=/hy-tmp/tigerbot-13b-chat-v4-lora
what should I do？

可以通过安装 python3-dev 包来解决这个问题：
sudo apt-get install python3-dev
对于其他操作系统，请确保安装了相应的 Python 开发包。

 @WoosukKwon when I run the command pip install -e . ,ome errors occur

May I ask if you solved it, I had the same problem as you did

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

Good!

@gunpal5 Did you solve this issue?

Did you solve this issue?

@Sanket-Kudtarkar-AI @gunpal5 Did you solve this issue?

Solved for me for AWS inf2 instance!
When I download vllm from source,
git clone https://github.com/vllm-project/vllm.git
cd vllm => change the folder name to vllm_x for example (cd vllm_x). This will solve the problem.
pip install -U -r requirements-neuron.txt
pip install .

Hi @Kawai1Ace, it seems you are using the latest main branch of vLLM. Did you install vLLM from source? The vllm._C module is built when you install vLLM.

I successfully installed vllm-0.4.0.post1+neuron213.
In setup.py, there is this function:
if not _is_neuron():
    ext_modules.append(CMakeExtension(name="vllm._C"))

and
cmdclass={"build_ext": cmake_build_ext} if not _is_neuron() else {},

So, vllm._C won't be created. This results in ModuleNotFoundError: No module named 'vllm._C'.
How to fix it?

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

niubi

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

niubi

I do not think so. Mine is like the following:
File ~/aws_neuron_venv_pytorch/lib/python3.10/site-packages/vllm/model_executor/layers/activation.py:9
6 import torch.nn as nn
7 import torch.nn.functional as F
----> 9 from vllm._C import ops
10 from vllm.model_executor.layers.quantization import QuantizationConfig
11 from vllm.model_executor.parallel_utils.parallel_state import (
12 get_tensor_model_parallel_rank, get_tensor_model_parallel_world_size)

ModuleNotFoundError: No module named 'vllm._C'

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

niubi

I do not think so. Mine is like the following:
File ~/aws_neuron_venv_pytorch/lib/python3.10/site-packages/vllm/model_executor/layers/activation.py:9
6 import torch.nn as nn
7 import torch.nn.functional as F
----> 9 from vllm._C import ops
10 from vllm.model_executor.layers.quantization import QuantizationConfig
11 from vllm.model_executor.parallel_utils.parallel_state import (
12 get_tensor_model_parallel_rank, get_tensor_model_parallel_world_size)

ModuleNotFoundError: No module named 'vllm._C'

I think you should run this command in the 'vllm' folder. You can create a new folder, such as 'run',and navigate into the 'run' folder.Then, you can run the command again

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

niubi

I do not think so. Mine is like the following:
File ~/aws_neuron_venv_pytorch/lib/python3.10/site-packages/vllm/model_executor/layers/activation.py:9
6 import torch.nn as nn
7 import torch.nn.functional as F
----> 9 from vllm._C import ops
10 from vllm.model_executor.layers.quantization import QuantizationConfig
11 from vllm.model_executor.parallel_utils.parallel_state import (
12 get_tensor_model_parallel_rank, get_tensor_model_parallel_world_size)

ModuleNotFoundError: No module named 'vllm._C'

I think you should run this command in the 'vllm' folder. You can create a new folder, such as 'run',and navigate into the 'run' folder.Then, you can run the command again

Thank you. I just solved it this way.
The problem is with # from vllm._C import ops while there is no vllm._C.
We need ops that exists in your_environment_name/lib/python3.10/site-packages/vllm/model_executor/layers/ (see the figure below)

So, what we have to do is to change all from vllm._C import ops to from vllm.model_executor.layers import ops.
This solves the problem :)

Thank you. I just solved it this way.
The problem is with from vllm._C import ops while there is no vllm._C. We need ops that exists in your_environment_name/lib/python3.10/site-packages/vllm/model_executor/layers/ (see the figure below)
So, what we have to do is to change from vllm._C import ops to from vllm.model_executor.layers import ops in every single file of the package. This solves the problem :)

This will not work. from vllm._C import ops and from vllm.model_executor.layers import ops are totally different things. from vllm._C import ops are some CUDA operators written by C++, while from vllm.model_executor.layers import ops are just some utility codes written by Python.
You avoid the error by direct some empty import ops to another different one, so python won't notice if you don't actually use those operators. Once you actually use those CUDA operator code will just not able to run.

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

Good!

solved my issue

The issue still exists! Has anyone been able to find a solution so far?

NameError: name 'vllm_ops' is not defined   这个问题是只需要pip install vllm即可而无需git clone vllm项目 就能解决是吗

Same issue today

I had this issue today after running python -m pip install vllm in my activated environment

Hello!
I am trying to build and install v0.4.0 from sources.
Installation seems ok.
But I got the same error (No module named 'vllm._C) during pytest /tests.
As recommended before, I rename dir vllm to not interfere with vllm module. It works and the vllm._C problem disappears. But now I am hitting  ModuleNotFoundError: No module named 'vllm.core.block' during the tests/core/block/test_block_space_manager.py test. Seems it is looking for dir vllm but can not find it since I rename it...
How to solve this, please?

Having the same problem using the official AMD installation guide with Docker, with the error appearing during collect_env.py. Renaming vllm seems to have solved the problem for now.

Hi @Kawai1Ace, it seems you are using the latest main branch of vLLM. Did you install vLLM from source? The vllm._C module is built when you install vLLM.

(envv) F:\vllm\vllm>pip install -e .
Obtaining file:///F:/vllm/vllm
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: psutil in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (6.1.0)
Requirement already satisfied: sentencepiece in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.2.0)
Requirement already satisfied: numpy<2.0.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (1.26.4)
Requirement already satisfied: requests>=2.26.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (2.32.3)
Requirement already satisfied: tqdm in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (4.67.1)
Requirement already satisfied: py-cpuinfo in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (9.0.0)
Requirement already satisfied: transformers>=4.45.2 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (4.47.0)
Requirement already satisfied: tokenizers>=0.19.1 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.21.0)
Requirement already satisfied: protobuf in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (5.29.1)
Requirement already satisfied: fastapi!=0.113.,!=0.114.0,>=0.107.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.115.6)
Requirement already satisfied: aiohttp in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (3.11.10)
Requirement already satisfied: openai>=1.45.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (1.57.0)
Requirement already satisfied: uvicorn[standard] in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.32.1)
Requirement already satisfied: pydantic>=2.9 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (2.10.3)
Requirement already satisfied: pillow in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (10.4.0)
Requirement already satisfied: prometheus_client>=0.18.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.21.1)
Requirement already satisfied: prometheus-fastapi-instrumentator>=7.0.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (7.0.0)
Requirement already satisfied: tiktoken>=0.6.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.7.0)
Requirement already satisfied: lm-format-enforcer<0.11,>=0.10.9 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.10.9)
Requirement already satisfied: outlines<0.1,>=0.0.43 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.0.46)
Requirement already satisfied: typing_extensions>=4.10 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (4.12.2)
Requirement already satisfied: filelock>=3.16.1 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (3.16.1)
Requirement already satisfied: partial-json-parser in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (<IP_ADDRESS>.post4)
Requirement already satisfied: pyzmq in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (26.2.0)
Requirement already satisfied: msgspec in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.18.6)
Requirement already satisfied: gguf==0.10.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.10.0)
Requirement already satisfied: importlib_metadata in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (8.5.0)
Requirement already satisfied: mistral_common>=1.5.0 in f:\vllm\envv\lib\site-packages (from mistral_common[opencv]>=1.5.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.5.1)
Requirement already satisfied: pyyaml in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (6.0.2)
Requirement already satisfied: six>=1.16.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (1.17.0)
Requirement already satisfied: setuptools>=74.1.1 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (75.6.0)
Requirement already satisfied: einops in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.8.0)
Requirement already satisfied: compressed-tensors==0.8.0 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.8.0)
Requirement already satisfied: ray>=2.9 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (2.40.0)
Requirement already satisfied: nvidia-ml-py>=12.560.30 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (12.560.30)
Requirement already satisfied: torch==2.5.1 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (2.5.1)
Requirement already satisfied: torchvision==0.20.1 in f:\vllm\envv\lib\site-packages (from vllm==0.6.4.post2.dev271+gaf7c4a92) (0.20.1)
Requirement already satisfied: networkx in f:\vllm\envv\lib\site-packages (from torch==2.5.1->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.4.2)
Requirement already satisfied: jinja2 in f:\vllm\envv\lib\site-packages (from torch==2.5.1->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.1.4)
Requirement already satisfied: fsspec in f:\vllm\envv\lib\site-packages (from torch==2.5.1->vllm==0.6.4.post2.dev271+gaf7c4a92) (2024.9.0)
Requirement already satisfied: sympy==1.13.1 in f:\vllm\envv\lib\site-packages (from torch==2.5.1->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.13.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in f:\vllm\envv\lib\site-packages (from sympy==1.13.1->torch==2.5.1->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.3.0)
Requirement already satisfied: starlette<0.42.0,>=0.40.0 in f:\vllm\envv\lib\site-packages (from fastapi!=0.113.,!=0.114.0,>=0.107.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.41.3)
Requirement already satisfied: interegular>=0.3.2 in f:\vllm\envv\lib\site-packages (from lm-format-enforcer<0.11,>=0.10.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.3.3)
Requirement already satisfied: packaging in f:\vllm\envv\lib\site-packages (from lm-format-enforcer<0.11,>=0.10.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (24.2)
Requirement already satisfied: jsonschema<5.0.0,>=4.21.1 in f:\vllm\envv\lib\site-packages (from mistral_common>=1.5.0->mistral_common[opencv]>=1.5.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (4.23.0)
Requirement already satisfied: opencv-python-headless<5.0.0,>=4.0.0 in f:\vllm\envv\lib\site-packages (from mistral_common[opencv]>=1.5.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (<IP_ADDRESS>)
Requirement already satisfied: anyio<5,>=3.5.0 in f:\vllm\envv\lib\site-packages (from openai>=1.45.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (4.7.0)
Requirement already satisfied: distro<2,>=1.7.0 in f:\vllm\envv\lib\site-packages (from openai>=1.45.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.9.0)
Requirement already satisfied: httpx<1,>=0.23.0 in f:\vllm\envv\lib\site-packages (from openai>=1.45.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.28.1)
Requirement already satisfied: jiter<1,>=0.4.0 in f:\vllm\envv\lib\site-packages (from openai>=1.45.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.8.0)
Requirement already satisfied: sniffio in f:\vllm\envv\lib\site-packages (from openai>=1.45.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.3.1)
Requirement already satisfied: lark in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.2.2)
Requirement already satisfied: nest-asyncio in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.6.0)
Requirement already satisfied: cloudpickle in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.1.0)
Requirement already satisfied: diskcache in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (5.6.3)
Requirement already satisfied: numba in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.60.0)
Requirement already satisfied: referencing in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.35.1)
Requirement already satisfied: datasets in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.1.0)
Requirement already satisfied: pycountry in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (24.6.1)
Requirement already satisfied: pyairports in f:\vllm\envv\lib\site-packages (from outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (2.1.1)
Requirement already satisfied: annotated-types>=0.6.0 in f:\vllm\envv\lib\site-packages (from pydantic>=2.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.7.0)
Requirement already satisfied: pydantic-core==2.27.1 in f:\vllm\envv\lib\site-packages (from pydantic>=2.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (2.27.1)
Requirement already satisfied: click>=7.0 in f:\vllm\envv\lib\site-packages (from ray>=2.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (8.1.7)
Requirement already satisfied: msgpack<2.0.0,>=1.0.0 in f:\vllm\envv\lib\site-packages (from ray>=2.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.1.0)
Requirement already satisfied: aiosignal in f:\vllm\envv\lib\site-packages (from ray>=2.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.3.1)
Requirement already satisfied: frozenlist in f:\vllm\envv\lib\site-packages (from ray>=2.9->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.5.0)
Requirement already satisfied: charset-normalizer<4,>=2 in f:\vllm\envv\lib\site-packages (from requests>=2.26.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in f:\vllm\envv\lib\site-packages (from requests>=2.26.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in f:\vllm\envv\lib\site-packages (from requests>=2.26.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (2.2.3)
Requirement already satisfied: certifi>=2017.4.17 in f:\vllm\envv\lib\site-packages (from requests>=2.26.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (2024.8.30)
Requirement already satisfied: regex>=2022.1.18 in f:\vllm\envv\lib\site-packages (from tiktoken>=0.6.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (2024.11.6)
Requirement already satisfied: huggingface-hub<1.0,>=0.16.4 in f:\vllm\envv\lib\site-packages (from tokenizers>=0.19.1->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.26.5)
Requirement already satisfied: colorama in f:\vllm\envv\lib\site-packages (from tqdm->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.4.6)
Requirement already satisfied: safetensors>=0.4.1 in f:\vllm\envv\lib\site-packages (from transformers>=4.45.2->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.4.5)
Requirement already satisfied: aiohappyeyeballs>=2.3.0 in f:\vllm\envv\lib\site-packages (from aiohttp->vllm==0.6.4.post2.dev271+gaf7c4a92) (2.4.4)
Requirement already satisfied: attrs>=17.3.0 in f:\vllm\envv\lib\site-packages (from aiohttp->vllm==0.6.4.post2.dev271+gaf7c4a92) (24.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in f:\vllm\envv\lib\site-packages (from aiohttp->vllm==0.6.4.post2.dev271+gaf7c4a92) (6.1.0)
Requirement already satisfied: propcache>=0.2.0 in f:\vllm\envv\lib\site-packages (from aiohttp->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.2.1)
Requirement already satisfied: yarl<2.0,>=1.17.0 in f:\vllm\envv\lib\site-packages (from aiohttp->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.18.3)
Requirement already satisfied: zipp>=3.20 in f:\vllm\envv\lib\site-packages (from importlib_metadata->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.21.0)
Requirement already satisfied: h11>=0.8 in f:\vllm\envv\lib\site-packages (from uvicorn[standard]->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.14.0)
Requirement already satisfied: httptools>=0.6.3 in f:\vllm\envv\lib\site-packages (from uvicorn[standard]->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.6.4)
Requirement already satisfied: python-dotenv>=0.13 in f:\vllm\envv\lib\site-packages (from uvicorn[standard]->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.0.1)
Requirement already satisfied: watchfiles>=0.13 in f:\vllm\envv\lib\site-packages (from uvicorn[standard]->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.0.0)
Requirement already satisfied: websockets>=10.4 in f:\vllm\envv\lib\site-packages (from uvicorn[standard]->vllm==0.6.4.post2.dev271+gaf7c4a92) (14.1)
Requirement already satisfied: httpcore==1.* in f:\vllm\envv\lib\site-packages (from httpx<1,>=0.23.0->openai>=1.45.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (1.0.7)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in f:\vllm\envv\lib\site-packages (from jsonschema<5.0.0,>=4.21.1->mistral_common>=1.5.0->mistral_common[opencv]>=1.5.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (2024.10.1)
Requirement already satisfied: rpds-py>=0.7.1 in f:\vllm\envv\lib\site-packages (from jsonschema<5.0.0,>=4.21.1->mistral_common>=1.5.0->mistral_common[opencv]>=1.5.0->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.22.3)
Requirement already satisfied: pyarrow>=15.0.0 in f:\vllm\envv\lib\site-packages (from datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (18.1.0)
Requirement already satisfied: dill<0.3.9,>=0.3.0 in f:\vllm\envv\lib\site-packages (from datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.3.8)
Requirement already satisfied: pandas in f:\vllm\envv\lib\site-packages (from datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (2.2.3)
Requirement already satisfied: xxhash in f:\vllm\envv\lib\site-packages (from datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.5.0)
Requirement already satisfied: multiprocess<0.70.17 in f:\vllm\envv\lib\site-packages (from datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.70.16)
Requirement already satisfied: MarkupSafe>=2.0 in f:\vllm\envv\lib\site-packages (from jinja2->torch==2.5.1->vllm==0.6.4.post2.dev271+gaf7c4a92) (3.0.2)
Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in f:\vllm\envv\lib\site-packages (from numba->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (0.43.0)
Requirement already satisfied: python-dateutil>=2.8.2 in f:\vllm\envv\lib\site-packages (from pandas->datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in f:\vllm\envv\lib\site-packages (from pandas->datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (2024.2)
Requirement already satisfied: tzdata>=2022.7 in f:\vllm\envv\lib\site-packages (from pandas->datasets->outlines<0.1,>=0.0.43->vllm==0.6.4.post2.dev271+gaf7c4a92) (2024.2)
Building wheels for collected packages: vllm
Building editable for vllm (pyproject.toml) ... done
Created wheel for vllm: filename=vllm-0.6.4.post2.dev271+gaf7c4a92-0.editable-py3-none-any.whl size=11811 sha256=84a1c02fdec76713aca0378982ad058237d7e6f8290a6e636e0e9b974ccc7709
Stored in directory: C:\Users\Sushant\AppData\Local\Temp\pip-ephem-wheel-cache-d8nwwqpo\wheels\e6\8d\02\8116c93b68f513baab6a3f637831a88fabe297452aeb1dc62e
Successfully built vllm
Installing collected packages: vllm
Attempting uninstall: vllm
Found existing installation: vllm 0.6.4.post1
Uninstalling vllm-0.6.4.post1:
Successfully uninstalled vllm-0.6.4.post1
Successfully installed vllm-0.6.4.post2.dev271+gaf7c4a92
(envv) F:\vllm\vllm>vllm serve "LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct"
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "F:\vllm\envv\Scripts\vllm.exe_main.py", line 4, in
File "F:\vllm\vllm\vllm_init.py", line 3, in
from vllm.engine.arg_utils import AsyncEngineArgs, EngineArgs
File "F:\vllm\vllm\vllm\engine\arg_utils.py", line 11, in
from vllm.config import (CacheConfig, CompilationConfig, ConfigFormat,
File "F:\vllm\vllm\vllm\config.py", line 21, in
from vllm.model_executor.layers.quantization import (QUANTIZATION_METHODS,
File "F:\vllm\vllm\vllm\model_executor_init_.py", line 1, in
from vllm.model_executor.parameter import (BasevLLMParameter,
File "F:\vllm\vllm\vllm\model_executor\parameter.py", line 7, in
from vllm.distributed import get_tensor_model_parallel_rank
File "F:\vllm\vllm\vllm\distributed_init_.py", line 1, in
from .communication_op import *
File "F:\vllm\vllm\vllm\distributed\communication_op.py", line 6, in
from .parallel_state import get_tp_group
File "F:\vllm\vllm\vllm\distributed\parallel_state.py", line 38, in
import vllm.distributed.kv_transfer.kv_transfer_agent as kv_transfer
File "F:\vllm\vllm\vllm\distributed\kv_transfer\kv_transfer_agent.py", line 15, in
from vllm.distributed.kv_transfer.kv_connector.factory import (
File "F:\vllm\vllm\vllm\distributed\kv_transfer\kv_connector\factory.py", line 3, in
from .base import KVConnectorBase
File "F:\vllm\vllm\vllm\distributed\kv_transfer\kv_connector\base.py", line 14, in
from vllm.sequence import IntermediateTensors
File "F:\vllm\vllm\vllm\sequence.py", line 16, in
from vllm.inputs import SingletonInputs, SingletonInputsAdapter
File "F:\vllm\vllm\vllm\inputs_init_.py", line 7, in
from .registry import (DummyData, InputContext, InputProcessingContext,
File "F:\vllm\vllm\vllm\inputs\registry.py", line 13, in
from vllm.transformers_utils.tokenizer import AnyTokenizer
File "F:\vllm\vllm\vllm\transformers_utils\tokenizer.py", line 16, in
from vllm.utils import make_async
File "F:\vllm\vllm\vllm\utils.py", line 44, in
from vllm.platforms import current_platform
File "F:\vllm\vllm\vllm\platforms_init_.py", line 100, in
from .cuda import CudaPlatform
File "F:\vllm\vllm\vllm\platforms\cuda.py", line 14, in
import vllm._C  # noqa
^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'vllm._C'
(envv) F:\vllm\vllm>

@Kawai1Ace The error ModuleNotFoundError: No module named 'vllm._C' occurs because there is a folder named vllm, which makes the import command prioritize the functions in this folder vllm over the vllm library. You just need to rename this folder.

niubi

I do not think so. Mine is like the following:
File ~/aws_neuron_venv_pytorch/lib/python3.10/site-packages/vllm/model_executor/layers/activation.py:9
6 import torch.nn as nn
7 import torch.nn.functional as F
----> 9 from vllm._C import ops
10 from vllm.model_executor.layers.quantization import QuantizationConfig
11 from vllm.model_executor.parallel_utils.parallel_state import (
12 get_tensor_model_parallel_rank, get_tensor_model_parallel_world_size)

ModuleNotFoundError: No module named 'vllm._C'

I think you should run this command in the 'vllm' folder. You can create a new folder, such as 'run',and navigate into the 'run' folder.Then, you can run the command again

F:\vllm\vllm\run>F:\vllm\envv\Scripts\activate
(envv) F:\vllm\vllm\run>vllm serve "LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct"
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "F:\vllm\envv\Scripts\vllm.exe_main.py", line 4, in
File "F:\vllm\vllm\vllm_init.py", line 3, in
from vllm.engine.arg_utils import AsyncEngineArgs, EngineArgs
File "F:\vllm\vllm\vllm\engine\arg_utils.py", line 11, in
from vllm.config import (CacheConfig, CompilationConfig, ConfigFormat,
File "F:\vllm\vllm\vllm\config.py", line 21, in
from vllm.model_executor.layers.quantization import (QUANTIZATION_METHODS,
File "F:\vllm\vllm\vllm\model_executor_init_.py", line 1, in
from vllm.model_executor.parameter import (BasevLLMParameter,
File "F:\vllm\vllm\vllm\model_executor\parameter.py", line 7, in
from vllm.distributed import get_tensor_model_parallel_rank
File "F:\vllm\vllm\vllm\distributed_init_.py", line 1, in
from .communication_op import *
File "F:\vllm\vllm\vllm\distributed\communication_op.py", line 6, in
from .parallel_state import get_tp_group
File "F:\vllm\vllm\vllm\distributed\parallel_state.py", line 38, in
import vllm.distributed.kv_transfer.kv_transfer_agent as kv_transfer
File "F:\vllm\vllm\vllm\distributed\kv_transfer\kv_transfer_agent.py", line 15, in
from vllm.distributed.kv_transfer.kv_connector.factory import (
File "F:\vllm\vllm\vllm\distributed\kv_transfer\kv_connector\factory.py", line 3, in
from .base import KVConnectorBase
File "F:\vllm\vllm\vllm\distributed\kv_transfer\kv_connector\base.py", line 14, in
from vllm.sequence import IntermediateTensors
File "F:\vllm\vllm\vllm\sequence.py", line 16, in
from vllm.inputs import SingletonInputs, SingletonInputsAdapter
File "F:\vllm\vllm\vllm\inputs_init_.py", line 7, in
from .registry import (DummyData, InputContext, InputProcessingContext,
File "F:\vllm\vllm\vllm\inputs\registry.py", line 13, in
from vllm.transformers_utils.tokenizer import AnyTokenizer
File "F:\vllm\vllm\vllm\transformers_utils\tokenizer.py", line 16, in
from vllm.utils import make_async
File "F:\vllm\vllm\vllm\utils.py", line 44, in
from vllm.platforms import current_platform
File "F:\vllm\vllm\vllm\platforms_init_.py", line 100, in
from .cuda import CudaPlatform
File "F:\vllm\vllm\vllm\platforms\cuda.py", line 14, in
import vllm._C  # noqa
^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'vllm._C'
(envv) F:\vllm\vllm\run>

did a pip install -U vllm today
and:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm_init_.py", line 3, in
from vllm.engine.arg_utils import AsyncEngineArgs, EngineArgs
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\engine\arg_utils.py", line 11, in
from vllm.config import (CacheConfig, CompilationConfig, ConfigFormat,
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\config.py", line 22, in
from vllm.model_executor.layers.quantization import (QUANTIZATION_METHODS,
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\model_executor_init_.py", line 1, in
from vllm.model_executor.parameter import (BasevLLMParameter,
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\model_executor\parameter.py", line 7, in
from vllm.distributed import get_tensor_model_parallel_rank
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\distributed_init_.py", line 1, in
from .communication_op import *
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\distributed\communication_op.py", line 6, in
from .parallel_state import get_tp_group
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\distributed\parallel_state.py", line 38, in
import vllm.distributed.kv_transfer.kv_transfer_agent as kv_transfer
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\distributed\kv_transfer\kv_transfer_agent.py", line 15, in
from vllm.distributed.kv_transfer.kv_connector.factory import (
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\distributed\kv_transfer\kv_connector\factory.py", line 3, in
from .base import KVConnectorBase
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\distributed\kv_transfer\kv_connector\base.py", line 14, in
from vllm.sequence import IntermediateTensors
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\sequence.py", line 16, in
from vllm.inputs import SingletonInputs, SingletonInputsAdapter
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\inputs_init_.py", line 7, in
from .registry import (DummyData, InputContext, InputProcessingContext,
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\inputs\registry.py", line 13, in
from vllm.transformers_utils.tokenizer import AnyTokenizer
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\transformers_utils\tokenizer.py", line 16, in
from vllm.utils import make_async
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\utils.py", line 46, in
from vllm.platforms import current_platform
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\platforms_init_.py", line 100, in
from .cuda import CudaPlatform
File "C:\Users\celso\AppData\Roaming\Python\Python310\site-packages\vllm\platforms\cuda.py", line 15, in
import vllm._C  # noqa
ModuleNotFoundError: No module named 'vllm._C'


Floating Action Button icons don't switch properly.

Using the default UI, the FAB settings cog icon does not switch to a close icon when pressed for the first time. It does switch to the close icon when tapped again, resulting in the state being backwards - it is now a close button until opened, and a settings cog until closed. Seems like this is a boolean being set wrong by default, maybe in onCreateView in CameraFragment.java?

Yes, something's up here. I can reproduce this on a Nexus 5 running Android 5.1.
Thanks!

I'm wondering - is the settings cog holding the flip camera button necessary, since it is the only action in there? Could it just be replaced with the flip camera button? Admittedly I haven't tried video mode and have only tested on Nexus 5 and Samsung S4, so if it holds more than one action sometimes I just haven't seen it.

There will be other settings in time (flash mode, etc.). Knowing that, I went ahead and set up a FAM (floating action menu) with that in mind. Note that the UI there is not set in stone -- I may wind up switching to an action sheet or one of the other material-ish patterns -- but there will be several peer options eventually.

Addressed in v0.2.2.


Unable to use RadioListTile widget for DropdownMenuItem(s)

I could not use RadioListTile widget for DropDowns

I am trying to have a RadioListTile widget as item to DropdownButton.
I asked a question via StackOverFlow via this link but no one seemed to understand it.
What I have done currently:

class PageNotFound extends StatefulWidget {
  @override
  _PageNotFoundState createState() => _PageNotFoundState();
}

class _PageNotFoundState extends State<PageNotFound> {
  dynamic catValue;
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    catValue = "a";
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(
            kAppName,
            style: kAppTitleStyle,
          ),
        ),
        body: Container(
          child: DropdownButton(
            onChanged: (value) => print(value),
            value: catValue,
            items: [
              DropdownMenuItem(
                value: "a",
                child: RadioListTile(
                  onChanged: (value) {
                    setState(() {
                      catValue = value;
                      print(value);
                    });
                  },
                  groupValue: catValue,
                  value: "a",
                  title: Text("Item 1"),
                ),
              ),
              DropdownMenuItem(
                value: "b",
                child: RadioListTile(
                  onChanged: (value) {
                    setState(() {
                      catValue = value;
                      print(value);
                    });
                  },
                  groupValue: catValue,
                  value: "b",
                  title: Text("Item 2"),
                ),
              ),
              DropdownMenuItem(
                value: "c",
                child: RadioListTile(
                  onChanged: (value) {
                    setState(() {
                      catValue = value;
                      print(value);
                    });
                  },
                  groupValue: catValue,
                  value: "c",
                  title: Text("Item 3"),
                ),
              ),
            ],
          ),
        ));
  }
}

Expected results:
Waiting to see a RadioListTile listed under the DropDown but it threw exceptions.
Actual results:

Logs

════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during performLayout():
BoxConstraints forces an infinite width.
These invalid constraints were provided to RenderParagraph's layout() function by the following function, which probably computed the invalid constraints in question:
  _RenderListTile._layoutBox (package:flutter/src/material/list_tile.dart:1318:9)
The offending constraints were: BoxConstraints(w=Infinity, 0.0<=h<=48.0)
The relevant error-causing widget was
    RadioListTile<dynamic>

lib/screens/404.dart:35
When the exception was thrown, this was the stack
#0      BoxConstraints.debugAssertIsValid.<anonymous closure>.throwError
package:flutter/…/rendering/box.dart:517
#1      BoxConstraints.debugAssertIsValid.<anonymous closure>
package:flutter/…/rendering/box.dart:559
#2      BoxConstraints.debugAssertIsValid
package:flutter/…/rendering/box.dart:565
#3      RenderObject.layout
package:flutter/…/rendering/object.dart:1670
#4      _RenderListTile._layoutBox
package:flutter/…/material/list_tile.dart:1318
...
The following RenderObject was being processed when the exception was fired: _RenderListTile#6d451 relayoutBoundary=up19 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
RenderObject: _RenderListTile#6d451 relayoutBoundary=up19 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
    parentData: offset=Offset(0.0, 0.0) (can use size)
    constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=48.0)
    size: MISSING
leading: RenderMouseRegion#4f4ee relayoutBoundary=up20 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
        parentData: offset=Offset(0.0, 0.0) (can use size)
        constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=48.0)
        size: Size(40.0, 40.0)
        listeners: enter, exit
        child: RenderSemanticsAnnotations#3fa04 relayoutBoundary=up21 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
            parentData: <none> (can use size)
            constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=48.0)
            size: Size(40.0, 40.0)
            child: _RenderRadio#1ff57 relayoutBoundary=up22 NEEDS-PAINT
                parentData: <none> (can use size)
                constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=48.0)
                size: Size(40.0, 40.0)
                additionalConstraints: BoxConstraints(w=40.0, h=40.0)
                value: checked
    title: RenderParagraph#9fa47 NEEDS-LAYOUT NEEDS-PAINT
        parentData: offset=Offset(0.0, 0.0)
        constraints: MISSING
        size: MISSING
        textAlign: start
        textDirection: ltr
        softWrap: wrapping at box width
        overflow: clip
        locale: en_US
        maxLines: unlimited
        text: TextSpan
            debugLabel: ((englishLike subhead 2014).merge(blackMountainView subtitle1)).copyWith
            inherit: false
            color: Color(0xdd000000)
            family: Roboto
            size: 16.0
            weight: 400
            baseline: alphabetic
 decoration: TextDecoration.none
            "Item 1"
.

════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: _RenderListTile#6d451 relayoutBoundary=up19 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1694 pos 12: 'hasSize'
The relevant error-causing widget was
    RadioListTile<dynamic>

HI @jobic10
Please try this code sample, sample works when you add add container (Note: you need handle onTap for DropdownMenuItem and onChanged in RadioListTile since tapping on both works but only DropdownMenuItem onTap will close the item on selection)
Code Sample
flutter doctor -v

Thanks. Works like charm!


opt: reconstruct_key works on raw bytes

After profiling #412 and #413, I have noticed a noticeable decrease in performance related to the struct introduced to wrap the branch node prefix and separator.
However, the more performant reconstruct_key function needed some raw data to work on. Thus, in contrast to previous PRs, this one introduces as little changes as possible to allow reconstruct_key to access raw bytes directly.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#414  👈
#411 : 1 other dependent PR (#412 )
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gabriele-0201 and the rest of your teammates on  Graphite


How would you suggest installing it on Windows 11?

Hi there! Thanks this is sooooo stress relieving. Was wondering how you recommend installing on Windows 11 to have your tray icon always available with 3-finger drags active?
Also a couple points that might help the Readme.md:

You have to disable the default 3-finger swipe functions via Touchpad settings for the drag to work (obvious but it does not occur to non-Windows users)
The exec command for DLL path was a little different for me:

dotnet exec .\bin\Debug\net6.0-windows\win-x64\ThreeFingersDragOnWindows.dll

Thanks again.

Hi @akarasulu,
there is a .exe installer in the github release. If you want to make your own release, you can execute:
dotnet publish --self-contained false
Then, the app will be in .\bin\Debug\net6.0-windows\win-x64\publish\
You have to keep together all of the files:

ThreeFingersDragOnWindows.exe
ThreeFingersDragOnWindows.deps.json
ThreeFingersDragOnWindows.dll
ThreeFingersDragOnWindows.runtimeconfig.json
Resources\icon.ico

You can copy these files in a directory into Program Files and create shortcuts to the executable in your application's shortcuts directory.
You can also make your own executable using Inno Setup and the configuration file in the repo.
I just updated the Readme so it is more clear now!


bugfix for existence test on /etc/authorized_keys/

Thanks for this. I've already implemented the fixes. But I won't be pulling across the refactor.


Moves file to higher level folder

Although this file probably does belong in the governance folder, moving it would break the link in all our metrics. For now, let's leave it under the main level to keep that link intact.
Is that ok with you @xiaoya-yaya and @Ruth-ikegah?
Signed-off-by: Elizabeth Barron<EMAIL_ADDRESS>

Got it, we can leave it outside the folder.


stale link on wiki to old scons_csharp repo

It seems as if the link to the repo of the scons_csharp project (https://bitbucket.org/russel/scons_csharp) mentioned on the corresponding scons wiki pages is stale.
https://github.com/SCons/scons/wiki/ToolsIndex
https://github.com/SCons/scons/wiki/CsharpBuilder
The project initially started and maintained by russel but his BitBucket page does not contain anymore any repo called scons_scharp. seems as if the repo was moved to either other maintainer or other versioning system but the links were never updated.

@russel - Do you still have the repo somewhere? Can we put it in scons-contrib? Or a separate SCons owned repo

@bdbaddog Of course I have a local copy of the repository! I was awaiting doing anything about the repositories "lost" due to the destruction of BitBucket on requests to do so simply to find out which ones were really valuable. Given this request it makes sense to do something about this one.
Clearly the material could go into scons-contrib or it could go into a GitLab (or GitHub?) repository. In either case it is probably best that I not be the sole owner. Personally I'd be up for it being a separate Git repository owned by the SCons organisation.

@russel - would adding them to https://github.com/SCons/scons-contrib make the most sense?
I'm not sure if there's useful history in your repo or if you think just adding a snapshot of the current code is good enough?
You should be able to make pull requests against that repo

I'll get this sorted tomorrow adding the latest version into scons-contrib – I can't think of anything useful in the history.

@russel - can you push all your various scons builders there? I know bitbucket's mercurial repos are gonna get wiped out before too long.

As an experiment I have started with the C# builder. If this works reasonably, I'll progress with all the others. See https://github.com/SCons/scons-contrib/pull/4

@russel  - do you have a readme for the c# builder?

@hernot Links are updated on the two wiki pages. Please confirm and then close this issue

@bdbaddog  The README that was there is so focused on the BitBucket repository I chose not to add it at this stage. Is there a sample README to follow in style and structure?
BTW In the end I never did any C# work so I am not a good maintainer for this SCons tool.

@russel - no worries. at least the code is a starting point for anyone who wants to move it forward.  If you have a readme, maybe add it, and just put a big Bold banner at the top that this info is obsolete.

Ok thanks for the quick response and solution. Now i can proceed in evaluating Scons for my purposes and hopefully contribute back something in not so short time.


Resolve values (part 1)

Please merge https://github.com/ibissource/frank-doc/pull/146 before this PR.

I discussed with @nielsm5. It seems that all {@value ...} occurrences refer to public Java elements. If this is the case, there is no need to merge this PR. The Frank!Doc PR mentioned above modifies the Frank!Doc such that it can work with private Java elements. If there appear to be references to private constants, we can merge this PR.

Indeed, no private fields are needed.

We need a private Java element to have attribute Adapter.msgLogLevel in the Frank!Doc. Therefore we do need to merge this PR. @gvanbrakel, we discussed about the enum type that is the argument of the attribute setter. The attribute could be included by making that enum public, but that is not the solution because then any place in the Java code can access the enum.

ibissource/frank-doc#146 has been merged :)


Karma not working with NgDescribe

I tried running the tests using gulp watch or gulp tdd or karma start, none of tests pass.
I removed all the tests and left with one test which came with the repo, but it crashed as well.
Following are the configs and logs:
$ karma start

27 04 2017 18:05:30.725:INFO [framework.browserify]: registering rebuild (autoWatch=true)
27 04 2017 18:05:33.054:INFO [framework.browserify]: 8225 bytes written (1.48 seconds)
27 04 2017 18:05:33.061:INFO [framework.browserify]: bundle built
27 04 2017 18:05:33.067:WARN [karma]: No captured browser, open http://localhost:9876/
27 04 2017 18:05:33.093:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
27 04 2017 18:05:33.126:INFO [launcher]: Starting browser PhantomJS
27 04 2017 18:05:33.797:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket wXb8g0DVyZcvTW4-AAAA with id 92913389
PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 1 SUCCESS (0 secs / 0 secs)
27 04 2017 18:05:36.182:WARN [reporter]: SourceMap position not found for trace: TypeError: undefined is not an object (evaluating 'deps.element.find') in http://localhost:9876/absolute/tmp/340fd0d84888149df6953a873eceeb67.browserify?b0baa919f6f31e6ca234ec7a9fdea8dd84a805f1 (line 10)
PhantomJS 2.1.1 (Linux 0.0.0) Test login-form component Should have email and password inputs FAILED
        /home/damjan/myproject/public/js/vendor.js:14509:53
        forEach@/home/damjan/myproject/public/js/vendor.js:10141:24
        loadModules@/home/damjan/myproject/public/js/vendor.js:14469:12
        createInjector@/home/damjan/myproject/public/js/vendor.js:14391:30
        WorkFn@/home/damjan/myproject/node_modules/angular-mocks/angular-mocks.js:3120:60
        inject@/home/damjan/myproject/node_modules/angular-mocks/angular-mocks.js:3100:46
        injectDeps@/home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js:3483:33
        Error: missing $compile {} in /home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js (line 2949)
        lazyAss@/home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js:2949:16
        setupElement@/home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js:3489:11
        /home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js:3534:23
        TypeError: undefined is not an object (evaluating 'deps.element.find') in /tmp/340fd0d84888149df6953a873eceeb67.browserify (line 10)
        /tmp/340fd0d84888149df6953a873eceeb67.browserify:10:32 <- /home/damjan/myproject/tests/angular/app/components/login-form.component.spec.js:7:32
        Error: cannot find injected dependency $rootScope (or alias) $rootScope in {} in /home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js (line 2949)
        lazyAss@/home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js:2949:16
        deleteInjectedDependency@/home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js:3570:13
        forEach@[native code]
        deleteDependencies@/home/damjan/myproject/node_modules/ng-describe/dist/ng-describe.js:3565:31
PhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 1 (1 FAILED) ERROR (0.071 secs / 1.732 secs)

The original test, which it's not different than the ./artisans ng:component mycomponent what generates as spec.js file.
ngDescribe({
    name: 'Test nav-sidebar component',
    modules: 'app',
    inject: ['$scope', '$rootScope'], // without this it complains about the $rootScope missing
    element: '<nav-sidebar></nav-sidebar>',
    tests: function (deps) {

        it('Should run the test', () => {

        });
    }
});

I'm using Laravel 5.2 and angular 1.5.x.
package.json
{
  "private": true,
  "devDependencies": {
    "angular-mocks": "^1.5.2",
    "bower": "^1.7.9",
    "jasmine-core": "^2.4.1",
    "karma": "^0.13.22",
    "karma-babel-preprocessor": "~4.0.0",
    "karma-browserify": "^4.0.0",
    "karma-chrome-launcher": "^0.2.3",
    "karma-jasmine": "^0.3.8",
    "karma-ngannotate-preprocessor": "^0.1.2",
    "karma-phantomjs-launcher": "^1.0.0",
    "laravel-elixir-karma": "^0.2.2",
    "ng-describe": "^1.8.0",
    "phantomjs-prebuilt": "^2.1.6",
    "stringify": "^3.1.0",
    "vinyl-buffer": "~1.0.0",
    "vinyl-source-stream": "~1.0.0"
  },
  "dependencies": {
    "angular-mocks": "^1.5.11",
    "babel": "^4.0.2",
    "babel-core": "^6.4.5",
    "babel-loader": "^6.2.1",
    "babel-preset-es2015": "^6.3.13",
    "babelify": "^5.0.3",
    "bower": "^1.7.9",
    "browserify": "~8.1.3",
    "eslint": "^1.10.3",
    "eslint-plugin-angular": "^0.15.0",
    "gulp": "^3.8.8",
    "gulp-add-src": "^0.2.0",
    "gulp-concat": "^2.6.0",
    "gulp-concat-sourcemap": "^1.3.1",
    "gulp-cssnano": "^2.1.1",
    "gulp-eslint": "^1.1.1",
    "gulp-filter": "^1.0.2",
    "gulp-htmlmin": "^1.3.0",
    "gulp-if": "^1.2.5",
    "gulp-ng-annotate": "^1",
    "gulp-ng-html2js": "^0.2.0",
    "gulp-notify": "^2.0.0",
    "gulp-phpcs": "^1.0.0",
    "gulp-sass": "^2.3.2",
    "gulp-sourcemaps": "^1",
    "gulp-uglify": "^1",
    "gulp-util": "^3.0.3",
    "laravel-elixir": "^4.2.1",
    "laravel-elixir-karma": "^0.2.2",
    "main-bower-files": "^2.1.0",
    "underscore": "^1.8.3",
    "webpack": "^1.12.11",
    "webpack-dev-server": "^1.14.1",
    "webpack-stream": "^3.1.0"
  },
  "engines": {
    "npm": ">=3"
  },
  "scripts": {
    "postinstall": "bower install && gulp --production"
  }
}

bower.json
{
  "name": "laravel-angularjs-admin",
  "authors": [
    "Alex Quiambao<EMAIL_ADDRESS>  ],
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "jquery": "^2.2.3",
    "angular": "~1.5.x",
    "angular-ui-router": "~0.2.15",
    "ngstorage": "~0.3.10",
    "restangular": "~1.5.2",
    "angular-loading-bar": "~0.9.0",
    "satellizer": "^0.14.0",
    "angular-bootstrap": "^1.3.1",
    "bootstrap": "^3.3.6",
    "AdminLTE": "admin-lte#^2.3.3",
    "angular-chart.js": "^0.10.0",
    "angular-acl": "^0.1.5",
    "angular-datatables": "^0.5.4",
    "sweetalert": "^1.1.3",
    "checklist-model": "^0.9.0",
    "angular-translate": "^2.15.1",
    "angular-translate-loader-static-files": "^2.15.1",
    "angular-translate-loader-url": "^2.15.1",
    "angular-mocks": "1.5"
  },
  "resolutions": {
    "angular": "~1.5.x"
  }
}

Does someone know what I made wrong ?

I am having these same issues

Some time passed but I've got the same issue and I found out how to run it properly.
In my case, I got Error: need $controller service {} but testing controller instead of directive.
My fault was on the karma-unit.conf.js
I was adding my application files like this:
`
//Application code
'app/app.js',
'app/components//*-module.js',
'app/states/app-states.js',
'app/components//*.js',
        //test files
        'app/components/**/*.spec.js',`

And the expression 'app/components/**/*.js', was getting the spec files before the controllers'.
I fix it by explicitly setting the file name end like this:
`            //Application code
'app/app.js',
'app/states/app-states.js',
'app/components//*-module.js',
'app/components//-controller.js',
'app/components/**/-service.js'
        //test files
        'app/components/**/*.spec.js',`

Finally i got it working. I hope my answer is useful for someone.


Added stock and purchase related information to order items in account

This missing infos are needed if you want to add a "Add to cart" button on each order item in the account order history without reloading the product structs. Since other information like purchaseunit  are already copied from the product to, this PR should be easy to merge.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-15074.
Please use this issue to track the state of your pull request.

Hi,
i changed the implementation an provide the full article as array element:
https://github.com/shopware/shopware/commit/4f3eb9f6cca3ef54ebf0c833312b9dfa967a0336


Refactor Cloud provider implementations for better tests and integration

The Reconciler interface is good.. but we think we will need to move the Reconciler logic up a level so that it is globally used for each of the cloud provider implementations. After this is done a cloud provider will have to offer the following two components

A model (Note: we will need to structure the new cloud provider implementations to support multiple models)
A set of resources that are mapped in the model.

We will then pass the model to the reconciler, and the reconciler will parse the model in the exact same way for every implementation.
Action Items
1.  Shared logic for reconcilers.
The reconiler will live as a standalone package, and will have a new function called SetModel(model [int]Resource) that will take the model for each cloud implementation.
Question: Do we want to use a new type for a model, instead of map[int]Resource?

Shared logic for signal handling.

Implement the improved signal handling of #267 into the newly created reconciler package.

Support more than one model per cloud provider as in GKE vs GCE

New directory structure:
.
└── cloud
    └── google
        ├── gce
        │   └── model.go
        └── gke
            └── model.go

Agree on new `Resources interface.

We have a proposal here: #273 and we need to reach an agreement.

Implement new interface for resources.

This is a dangerous and global refactor that will require a lot of work. But we need to do it now while we are still in Alpha. But after the new interface is agreed upon, we need to implement the new interface and harden our resource logic.

Add force delete, delete the profile completely regardless of failures.

Right now if one resource fails to delete, the entire delete operation fails. We would like a way to override this behavior to ignore errors and move on to the next resource. Very handy for developers who have failed a delete and are tired of manually cleaning up their clouds.

We also need  docs and tests on all of this :smile:

Question: Do we want to use a new type for a model, instead of map[int]Resource?

[]Resource{} (slice of Resource) ?


Install latest directx on client launch

The game requires directx. Currently we require people to run steam once to ensure it is installed. It would be nice if the client could do the installation of directx. Or even a specific version as dictated by the remote config as required by the game.

DX installation is not required. 3 DLLs in bin are enough.

It would be safer to just do the full installation I would think to make sure all dependencies are present and a little future proofing


How can I change the build config for the platform natives to mkl_aarch64

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04 x86_64): Aarch64 (Apple Sillicon)
TensorFlow installed from (source or binary): Source
TensorFlow version: 2.7
Java version (i.e., the output of java -version): 17
Java command line flags (e.g., GC parameters):
Installed from Maven Central?: No
Bazel version (if compiling from source): 3.7.2
GCC/Compiler version (if compiling from source): Apple clang version 13.0.0
CUDA/cuDNN version: N/A
GPU model and memory: Apple M1

When building core-api I can see from the logs it is targeting x86_64. I wish to target Aarch64.
./build.sh in core-api

Do you want to cross-compile from an x86 machine or compile natively on an M1?

The goal was compiling directly on the M1.
And yes I eventually found your old discussion and have succeeded.
When will this become more official?

When I or someone else figures out how to compile it without needing to run bazel as root we'll merge it into master. We won't be able to do builds for it due to a lack of appropriate build resources unless we manage to figure out cross compiling.

Okay. You can't lose this ticket.

Oh one last thing. Is integration with tensorflow-metal on the road map either?

We don't currently expose TF_LoadPluggableDeviceLibrary which is the entry point for the pluggable device infrastructure. If we did, then I think you should be able to download the tensorflow-metal whl, unzip it and then load it with that function. As far as I can tell tensorflow-metal is closed source, so I don't think we'd be able to repackage it for Java.
Apple's docs do say "V1 TensorFlow Networks" are unsupported, but I'm not sure what they mean by that.


Cannot change access tier to Cold access tier for block blob

Which service(blob, file, queue, table) does this issue concern?
Blob
Which version of the Azurite was used?
3.26.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
V16.15.0
What problem was encountered?
Receiving the following error when trying change access tier to cold access tier for block blob. As of August 10th, cold tier is GA. The same code works in actual storage account.
The same error is shown even in Azure Storage explorer.

The access tier is not supported for this blob type.RequestId:528237ed-7c81-4604-af55-fdc029f6fe4eTime:2023-08-22T03:00:28.834ZStatus: 400 (The access tier is not supported for this blob type.)ErrorCode: AccessTierNotSupportedForBlobTypeContent:<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Error>  AccessTierNotSupportedForBlobType  <Message>The access tier is not supported for this blob type.RequestId:528237ed-7c81-4604-af55-fdc029f6fe4eTime:2023-08-22T03:00:28.834Z</Message></Error>Headers:Server: Azurite-Blob/3.26.0x-ms-error-code: AccessTierNotSupportedForBlobTypex-ms-request-id: 528237ed-7c81-4604-af55-fdc029f6fe4eDate: Tue, 22 Aug 2023 03:00:28 GMTConnection: keep-aliveKeep-Alive: REDACTEDTransfer-Encoding: chunkedContent-Type: application/xml

Steps to reproduce the issue?
This is a sample code to reproduce the issue, the same can be reproduced in Azure Storage Explorer
class Program
{
	static async Task Main(string[] args)
	{
		string connectionString = "UseDevelopmentStorage=true";
		string containerName = "test";
		string blobName = "example.jpg";
		string filePath = "path_to_your_file\\example.jpg";

		BlobServiceClient blobServiceClient = new BlobServiceClient(connectionString);
		BlobContainerClient containerClient = blobServiceClient.GetBlobContainerClient(containerName);
		BlobClient blobClient = containerClient.GetBlobClient(blobName);

		using (FileStream fs = File.OpenRead(filePath))
		{
			await blobClient.UploadAsync(fs, true);
			fs.Close();
		}

		await blobClient.SetAccessTierAsync(AccessTier.Cold);
	}
}

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
Have you found a mitigation/solution?

The PR to support cold tier is just merged : https://github.com/Azure/Azurite/pull/2112
Cold tier will be supported in the next Azurite release, which should be in 1-2 monthes.

Verified that the current version from main works.

@blueww, Its been more than 6 weeks, do you know when we will the release be available?

@bcarthic
I believe we will have a new release  before end of Oct (normally should be in 2 weeks.)
Before the release is out, You can also run Azurite from latest code with steps in : https://github.com/Azure/Azurite#github

@blueww, It's almost end of October, there is still no new releases. We have to block few tests because of this delay. Could you let me know when this will be released.

@bcarthic
We are working on the release.
The latest Azurite 2.27.0 npm package should already include the change.
https://www.npmjs.com/package/azurite/v/3.27.0

does this issue already resolved? i also got this error today

@muhdammar
Which version of Azurite do you use?
Do you use Azurite 3.27.0 or later?
If so, could you open a new issue with detail repro steps and Azurite debug log (and other info the issue template asked), then we most possibly will have the information we needed to investigate.

i use version 3.29.0, and im using C# language, i can set the tier in azure cloud storage, but not in azurite. later if i have time, i will try to reproduce again.

i use version 3.29.0, and im using C# language, i can set the tier in azure cloud storage, but not in azurite. later if i have time, i will try to reproduce again. @blueww

I also use .net SDK, and I can set blob tier to cold with latest Azurite.
Please share your repro code and the Azurite debug log, when you get it repro.


No response after run app.py

Hi There!
Thanks for the cool project! I set up a slack bot and finished all steps until step 10. However, my slack bot doesn't response me at all. Any way I may try to debug?

Thanks,
Rachel

From what I could understand the slack integration is not working properly. I enabled the debug mode and I am unable to receive the messages from slack to the server running via sockets.

I suggest reviewing the permissions in your App.  Also when did you clone the repo?   I merged a PR couple days ago but ended up reverting it yesterday morning.  If you cloned it yesterday it should work.

Fixed with update to Slack Bot setup instructions.

I suggest reviewing the permissions in your App. Also when did you clone the repo? I merged a PR couple days ago but ended up reverting it yesterday morning. If you cloned it yesterday it should work.

Are you talking about this PR?  Actually it did help! I finally got an error message.

No there was a PR ahead of that one and really messed it up.  When I you get a minute can you try this Bot out too.
https://github.com/normandmickey/chatgptomatic


Prep Release: Bump image versions

Includes https://github.com/devcontainers/images/pull/334

samruddhikhandale/release-git-reverse


Mocking out io standard library breaks the busted

Test:
insulate(
    "should isolate the env",
    function()
        _G.io = nil
        it(
            "should work",
            function()
                -- io.write("Hello")
            end
        )
    end
)

Output:
busted -v _spec_insulate.lua

1 success / 0 failures / 1 error / 0 pending : 0.000562 seconds

Error → _spec_insulate.lua @ 5
should isolate the env should work
.../lua/share/lua/5.2/busted/outputHandlers/utfTerminal.lua:134: attempt to index global 'io' (a nil value)

stack traceback:
        .../lua/share/lua/5.2/busted/outputHandlers/utfTerminal.lua:134: in function 'fn'
        /home/mkpankov/.ciri/lua/share/lua/5.2/mediator.lua:103: in function </home/mkpankov/.ciri/lua/share/lua/5.2/mediator.lua:96>
        (...tail calls...)
        /home/mkpankov/.ciri/lua/share/lua/5.2/busted/core.lua:221: in function </home/mkpankov/.ciri/lua/share/lua/5.2/busted/core.lua:220>

this is almost impossible to do. Busted uses a lot of 3rd party libraries, and these do not all cache the global in local variables. And then this cannot be prevented. (unless I;'m missing something of course ...)
The solution would be to replace the global (or setting it to nil in your example) within the 'it' block, with a finally clause to revert it.
Something like this:
        it("should work",
            local old_io, _G.io = _G.io, nil
            finally(function() _G.io = old_io end)

            function()
                -- io.write("Hello")
            end
        )

But even then it might fail between a failing test, and before running the finally clause. But at least that's after a test failure to begin with.

Thanks for your reply & suggestion. I tried it and my main concern is that with TDD failing tests is norm, and having failures induce errors is too much burden to track.
Maybe you have advice on best practice? I.e. I'd like to mock io.open and io.lines which are used in function I'm testing. I know I can write out my complete mock implementations. What bothers me is that I have to basically reimplement io.lines in my code as it will become more and more complex with tests that demand behavior closer and closer to behavior of real io.lines (i.e. I'd prefer to not bother with format strings).

Okay so I went forward and actually tried modifying busted and caching io in every file that uses it. It was surprisingly easy and only required local io = io on top of every file in outputHandlers. Tests pass (aside from one Moonscript one) and my scenario now works w/o a hitch.
Would you be interested in looking at it? I can make a PR.

A PR would be nice (though I'm not the maintainer of this lib...)

@Tieske #599

this can be closed now.


Implement Nonlinear{Extended} for local linear approximation

This PR implements the Nonlinear{Extended} node, which computes updates by local linearization of the nonlinear node-function. It also refactors some of the other Nonlinear node implementations for re-use of code. The Nonlinear{Extended} node is named after the extended Kalman filter.

Thanks @ivan-bocharov , nice catch. I refactored the inbounds collector to additionally check for the suitable approximation method.


Fix timing problems

The best image I was able to build had a timing miss of around -300ps.
We need to investigate why the timing was missed and implement workarounds.

Timing is met with sufficient probability now.


Shortcut guide doesn't show number hints and animates from one side when taskbar is not on primary monitor

ℹ Computer information

PowerToys version: 0.21.1
PowerToy Utility: Shortcut Guide
Running PowerToys as Admin: No
Windows build number: 1903

📝 Provide detailed reproduction steps (if any)

Connect a second monitor, set to Extend Displays and choose one of them as a primary monitor (Settings > System > Display > Multiple displays > Make this my main display)
Unlock the taskbar, and drag the taskbar from the main display to the other display
Hold Win to invoke the Shortcut Guide

✔ Expected result
I'm not too sure tbh, but it probably should either:

Show up on the currently focused/mouseover'd display and animate upwards, showing the number hints above the taskbar on the other monitor
Show up on the same monitor as the taskbar, animating upwards and showing the number hints above the taskbar

❌ Actual result
The guide shows up on the main display, animating in from the relative direction of the taskbar on the other screen (i.e. right to left if the secondary monitor is on the right). The number hints don't show up at all on the other monitor.
📷 Screenshots

Video of intended behaviour with taskbar on primary display
Video of actual behaviour with taskbar on secondary display, to the right of the primary display

As of now, this is acting as designed since the current version of SCG only takes over the primary monitor.  Since you moved the taskbar to a secondary monitor and in Settings disable having taskbars on all monitors, we are respecting that decision and not showing the UI.

This doesn't make any sense. I have chosen to show the taskbar in another monitor, that means I want to see taskbar shortcut hints on that monitor, not that I don't want to see taskbar hints. There should be an option to include all monitors.


Stabilizers generate flux when not in use?

Thaumcraft 6.1.BETA26
I'm not sure if this is intended or not, but after placing down some stabilizers, they seem to generate infinite flux.  As far as I know, they're supposed to generate some when they first charge up, and probably some when they protect an altar.  But for me, they sit there generating flux (and probably using up vis) forever.  This went on for several hours, despite a tear and a condenser present.  So on a hunch I removed my 8 stabilizers, and immediately flux started going away (and vis started returning to the chunk).
Steps to reproduce:  Build a 5x5 arcane infuser in an area with 100-150'ish vis.  Place 8 pedestals in the outer area spaced out.  Place 8 stabilizers in between the pedestals so they're touching.  Watch flux build up with a thaumameter.
If this is intended, I would like to suggest that they don't create flux/use vis when just sitting idle and already charged up, just so we don't have to pick them up when not in use.

That would work too.  The way it is now, it's just kinda annoying.  Some folks on reddit I asked about it seem to think the constant flux creation isn't normal though, and that for them it only creates flux at first, then stops.  So idk what to think yet.

Do you've a rift nearby? (Rifts get also stabilized, that would explain the constant run...)

Hmm, I never stabilized a rift with more then 2 stabilizers, maybe 8 are too much for the rift to keep up...

Funny story.  Nope, no rift.  No flux at all really.  Built a new infusion altar in the sky above my base, placed the 8 stabilizers, went to do some other thauming..  this is when I noticed my flux constantly climbing.  After about an hour, I decided to go add to the structure around my infusion altar, and the stabilizers had created so much flux they opened a rift right next to the altar.  At this point I'm thinking..  great, I hope it doesn't eat my altar.    After another hour or so, I noticed my flux wasn't getting any better.  The bar was now solid flux, and managed to push higher than the local max vis level even.  At this point I got scared that the rift was gonna grow out of control, and the stabilizers were the last thing I placed, so I tested removing them.  Immediately flux started going away and vis started returning to the chunk.
So no, originally there wasn't a rift, but the stabilizers ended up creating one and now I'm waiting for it to go away because I can't create a causality collapser with a rift only 3 or 4 blocks away from the infuser lol.

This is with a flux condenser with 6 lattices running the entire time btw.

They should indeed stop generating flux once they charge up (the red on the texture gets brighter as they charge).


Unable to use custom image for action-runner-controller

I'm using chart version v.22.0 and I have downloaded action-runner-controller of that version and pushed to my docker registry and tried changing values.yaml file and added below part of code
dockerRegistryMirror: ".com"
image:
repository: ".com/releng/actions-runner-controller"
tag: "v0.22.0"
actionsRunnerRepositoryAndTag: ".com/releng/custom-runner:1"
dindSidecarRepositoryAndTag: ".com/releng/docker:dind"
while creating action-runner-controller-pod getting Crashloopbackoff error
logs:standard_init_linux.go:219: exec user process caused: exec format error
under events:Back-off restarting failed container
using k8s cluster

I think you get exec format error when you tried to run a binary for the wrong os/arch. Perhaps you built/pushed a wrong binary/image. Please check your build process.

I pulled  using this docker pull summerwind/actions-runner-controller:v0.22.0 and pushed it to my docker registry , didnot make any changes in image

@swathida-byte This is how we built/pushed the v0.22.0 image. Please check if your container image repository supports multi-arch images or if your k8s node is not amd64 or arm64.


⚠ Bofrost.lu has degraded performance

In f2288ec, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 808 ms

Resolved: Bofrost.lu performance has improved in 35fa9df after 6 minutes.


New-SFTPSession : Not able to connect for Password and Key authentication

Hello,
I am trying to create new SFTPSession = New-SFTPSession -ComputerName "Abc.com" -Credential Get-Credential  -KeyFile $key -ConnectionTimeout 60  -AcceptKey
Where authentication type is Password and Public Key but it seems like it not allowing to connect and getting error : New-SSHSession : Reached authentication attempt limit for method (publickey).
I think the password here it is accepting is only for KeyPhrase password.
Is there any alternate solution to create Session for Password and key Authentication?

I have the same need. As almost of the University staff works from home, the infrastructure team decided to force to use a bastion (a unique server to connect ssh using JumpProxy option to go on the other server) and that one requires to use a key and a password to establish the connection. I have a lot of PowerShell scripts running on my computer that I can't use anymore because of th limitation.

Same here. I need to be able to use username, password, and private keyfile. I need password to not be the keyfile passphrase. :/ Guess I'll stick with WinSCP for now.

There is also the situation to handle where the key file does not have a password.  When using PSCredentials and SecureString to create them (in an automation scenario) you cannot pass an empty string to any of the creation methods for these objects.


request.params not available in handle hook as docs / types indicate

Describe the bug
Request.params is null in handle hook.
Logs
To Reproduce

Create a route that uses params, e.g. src/routes/[product]/index.svelte
Create a hook with handle function located at src/hooks.ts
Try to access request.params in handle function

Example repo: https://github.com/RaeesBhatti/svelte-params-bug
Expected behavior
request.params should be available in handle function of hooks.
Stacktraces
Information about your SvelteKit Installation:

Diagnostics
  System:
    OS: macOS 11.2.3
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 535.77 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.8.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.7 - /usr/local/bin/npm
  Browsers:
    Chrome: 90.0.4430.85
    Safari: 14.0.3
    Safari Technology Preview: 14.2
  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.87
    svelte: ^3.29.0 => 3.37.0

Your browser: Safari Version 14.0.3 (166<IP_ADDRESS>.7)

Your adapter: Cloudflare Worker but this issues comes up even in dev mode.

Severity
Blocking usage of SvelteKit because I need params to fetch the right data from database.
Additional context

I think I understand the reason behind this. I tried to make it work but handle only executes once per request instead of executing on each possible route being tried. So, it's not possible to provide the correct params during handle execution.
My use case is that I want to load some data from database and have it available in the context but Incoming doesn't have params property.

Can we reopen this please? The docs mistakenly mention that params is a actually available and I have another use case for this which is obscuring IDs from your database with something like Hashids. Without params inside handle you would have to decode your params in every endpoint route which is quite inconvenient. Maybe there is room for another hook that is executed once the a matching route has been found.

Hmm. I was wondering if we should move it until after handle is called, but I think that doesn't really work with route fallthrough because we have to actually execute load on each route to know what final route is rendered
For reference, right now it's called here:
https://github.com/sveltejs/kit/blob/be30a938c42619d0af61ba98d540c103ffade216/packages/kit/src/runtime/server/index.js#L40

What's the current recommended way to deal with this? I have a bunch of endpoints with an [id] param and I need to short-circuit them and return an error if the param is not in a valid format. I was hoping to do it in handle but it looks like I need to add this boilerplate to every handler (get, post, del, etc.) of every endpoint. Is there no better way? The only way I can think of is to write a function that wraps every handler, so:
export const get = validateParams(async ({ params }) => { ... });

I suppose this is workable but seems pretty clunky.

I would like to know what the intended method is.
If I have routes /foo/[bar]/bat and /foo/[bar]/baz and each one supports multiple methods GET, POST, DELETE and I want to guard the routes based on the current user and the value of bar I will currently need to implement that in every RequestHandler?
My initial thought was I might be able to make a wildcard endpoint at /foo/* that would match all sub routes. I thought maybe I would be able to have it do validate/authorization logic and then fallthrough. But I think I was incorrect in understanding how the paths are resolved, and don't think a path like that would ever get matched over the more specific matches. Even if that were the case I believe I would have to implement separate handlers for each HTTP method.
My next approach was to try doing the validation and authorization in a Handle hook, but then I realized that the params aren't available in the hooks. At least it doesn't appear they are there until after resolve is called, so I don't think that will work.
My current implementation is @kamholz's solution of creating a wrapper function. As stated this kind of works, but still creates the mental overhead of making sure to wrap every handler. Is this the best solution? I'm still new to sveltekit, is there another solution I'm overlooking? Am I just approaching this wrong and should rethink my routes/endpoints?

To chime in to this thread. I agree that params should be removed from the docs for the handle() hook, as it doesn't make sense here.
BUT, I'd love a way to hook in to the route and params which produced a response, where it was successful. This would be phenomenally useful in implementing monitoring (I use Prometheus, for example), where typically a label is added to all response logs like {method: 'GET', route: '/users/[id]/details', status: 200}, and means I can aggregate all similar requests to the same route and understand how long the response took to generate. At present, since I don't know which route rendered the response in handle(), the best I can do is to use url.pathname, which means I can't aggregate across routes.
Perhaps we could consider a handleResponse hook, which receives an immutable Response which contains (somehow???) details that SvelteKit has added to indicate the successful route and params.
Happy to open a separate issue for this request if necessary, but it's worth mentioning here as a use-case I think.

@georgecrawford I believe the params are populated when you call resolve so you should have access to them, and the response status after calling resolve.

You're right - params is available after the resolve is complete, but only if you destructure it from event after that resolve:
    const {params} = event;
    console.log('before', event.params, params);
    const response = await resolve(event);
    console.log('after', event.params, params);

curl https://localhost:3000/route/value

gives:
before {} {}
after { paramName: 'value' } {}

I'd suggest that event.params should be assigned to, not overwritten, to make this more useful.
And I still don't know which route served this response, which is the main thing I'm looking for in https://github.com/sveltejs/kit/issues/3840

See related discussion on param validators here: https://github.com/sveltejs/kit/issues/4291


VS2015 RTM: Compile on save does not work when redirect JavaScript output is specified

Hello,
I upgraded to Visual Studio 2015 Community Edition RTM today and have found that if a TypeScript project has the "Redirect JavaScript output to directory" option set to true, then compile on save no longer functions.  Deselecting this option on the project causes compile on save to function as expected.
The repro is quite simple: create a new project of type "HTML Application with TypeScript".  Open app.ts, make a change and save the file.  Now open app.js, make a change to the app.ts and save - app.js is reloaded with the changes.
Now add a folder to the project named "Scripts" and change the project properties such that "Redirect JavaScript output to directory" is checked and the path is "./scripts".  Make a change to app.ts and save the file.  Note that app.js does not show up under the "Scripts" folder.  Build the project and note that app.js now appears under the "Scripts" folder.  Open this file, make a change to app.ts and save the file - /scripts/app.js is not updated.

I am also experiencing this issue.  Do you think there will be an interim build that will fix this?

What the Lord giveth with one hand, he taketh away with the other.

I've been able to workaround the issue using grunt.  I updated my gruntfile to have a watch task that copies the files to the required directory after the JavaScript file is emitted by the TypeScript compiler.  You have to bind the watch task to the Project Open event in the Task Runner Explorer, but then it works flawlessly.
I'd be interested in an interim build as well, however this will work for the time being.

I also found that a fully qualified path works for both the single file and the directory redirection.

Thanks, Paul!  That's very good to know.

I checked in a fix for this, which should be part of 1.6

@mhegazy,
This has been marked as a high priority issue, but then it only be available in 1.6, which is probably many months away.
Putting in a workaround (of copying the files to the output directory) is going to be quite an undertaking, because we have 40 plus projects to worry about.
Is there any chance of getting this fix early?

I'm asking for an early fix either.

Hoping for a fix before 1.6....

Also requesting an interim build

:+1:

This has also ruined the ability for my projects containing TypeScript with --out to build normally. Unfortunately my team and I will not be able to use VS 2015 with our current projects as the redirect output option for TypeScript does not appear to use relative paths anymore and appears to not honor the VS macros i.e. $(ProjectDir). Anybody that has embraced TypeScript and makes heavy use of it will undoubtedly run into this issue - has it been marked as critical?

To add to the pitch forks - we need an interim build or patch otherwise it's back to VS 2013 for those of us who love TS.

Why is this issue closed? The bug may be fixed but it is a critical issue to any real-world user of TypeScript. Please re-open to give this issue much needed attention...

@taicho we are working on it. hopefully i will have an update in the next day or so..

Thanks for the prompt response @mhegazy! Sorry for the trolling I just wanted to make sure this didn't get lost in the sea tasks.

What the Lord giveth with one hand, he taketh away with the other.

@NoelAbrahams  If there was a way to "Like" a comment or "+1" it, I would have done so multiple times for this comment of yours :grinning:

I managed to fix the issue in my case:
Instead of writing in Combine JavaScript output into file:
AllTypescripts.js
I wrote
C:\Users\Qbusoft\Desktop\AngularTest\AngularTest\AngularTest\AllTypescripts.js
and now everything works fine :+1:

Any update?

I'm unable to use 2015 because of this issue.

I see an update in the Product Updates tab of Extensions. However it says it's unable to install.

I don't see anything in C:\Users\Kamran\AppData\Local\Temp that I could check.

Adding @yuit who may have some insights on the install issue

@kamranayub, I am investigating the issue. Jut want some more information: what VS sku you are running an upgrade? and what older TypeScript version you are on

@yuit, VS Community 2015, at 1.5.4 right now.

@kamranayub  you are able to get the latest update 1.5.4 ? Could you tell me detail of TypeScript entry in the Programs and Features (i.e Name, Version in particular)?

Can you share the install logs. they should be in %TEMP%, they have a prefix of "dd_TypeScript*", also if you can share the files with "dd_SecondryInstaller*"?

Please see this issue  #4229 for any wrong displaying error message

@kamranayub We can't repo your issue. If you still have the problem, please send us files @mhegazy specified

@yuit, no I mistyped, 1.5.3--can't install 1.5.4.
@mhegazy Sorry, there are no files under %TEMP% following that pattern. I doubt the installer even runs, it happens as soon as I click "Update."

@sgreer, @kennyatappfive, @Gitgiddy, @ddotlic  and @taicho can you give the latest update a try. you should see a new update in your tools\Extensions and Updates\Updates.
sorry for the delay.

@mhegazy Fantastic work and turnaround guys! Just installed 1.5.4 successfully and can confirm that relative output paths with compile-on-save are now indeed working correctly. Also did a standard rebuild and the relative path continues to work as expected in that scenario.
Thanks again! I'll continue down my path of promoting the virtues of TypeScript!

:+1: Yes, it works now.  Thanks so much for getting this fix out.
Are there release notes for it?  I can't find any documentation on it whether it had anything else in there.
Thanks!

Sorry for bumping this again. I am on latest version of VS2015 with latest (1.6.3) of typescript for visual studio and used the latest asp net 5 empty project. I added a tsconfig.json file but I cannot get visual studio to compile my typescript files on save. Everything works when doing a build.

It is working for me with latest version. In project properties make sure Compile on Save is checked--can't vouch for ASP.NET 5, only MVC 5.

@s093294 Try this:
In VS 2015 go to : Tools > Options> Text Editor > TypeScript > Project
Under "Compile on Save"
Check the box: "Automatically compile Typescript files which are not part of a project"
I've found this is necessary for vnext projects using .tsconfig


Where is the TPS test tool

Is there a script for testing TPS officially released, please provide it to me

Legit question. There is no stable tooling yet but we are working on it.
cc @shawntabrizi

Will close in favor of #10720 since we already had some discussions in there.


Problem with MPRIS dependency

The problem

I ran flutter build linux --release
Flutter says:

Resolving dependencies...
Because flutter_background_bar depends on mpris from path which doesn't exist (could not find package mpris at
 "/mnt/general/repos/provokateurin/dart-mpris"), version solving failed.

What I tried doing

Change the mpris dependency in pubspec.yaml to mpris: ^1.1.0

 This solves the dependencies, but flutter fails, saying some methods/getters aren't defined
ERROR: lib/providers/mpris.dart:148:32: Error: The method 'getPlaybackStatus' isn't defined for the class 'MPRISPlayer'.
ERROR:  - 'MPRISPlayer' is from 'package:mpris/mpris.dart' ('../../.pub-cache/hosted/pub.dev/mpris-1.1.0/lib/mpris.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'getPlaybackStatus'.
ERROR:         playing: await player!.getPlaybackStatus() == PlaybackStatus.playing,
ERROR:                                ^^^^^^^^^^^^^^^^^
ERROR: lib/providers/mpris.dart:148:55: Error: The getter 'PlaybackStatus' isn't defined for the class 'MprisNotifier'.
ERROR:  - 'MprisNotifier' is from 'package:flutter_background_bar/providers/mpris.dart' ('lib/providers/mpris.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'PlaybackStatus'.
ERROR:         playing: await player!.getPlaybackStatus() == PlaybackStatus.playing,
ERROR:                                                       ^^^^^^^^^^^^^^
ERROR: lib/providers/mpris.dart:174:50: Error: The method 'getPlaybackStatus' isn't defined for the class 'MPRISPlayer'.
ERROR:  - 'MPRISPlayer' is from 'package:mpris/mpris.dart' ('../../.pub-cache/hosted/pub.dev/mpris-1.1.0/lib/mpris.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'getPlaybackStatus'.
ERROR:         await Future.wait(players.map((pl) => pl.getPlaybackStatus()));
ERROR:                                                  ^^^^^^^^^^^^^^^^^
ERROR: lib/providers/mpris.dart:176:39: Error: The getter 'PlaybackStatus' isn't defined for the class 'MprisNotifier'.
ERROR:  - 'MprisNotifier' is from 'package:flutter_background_bar/providers/mpris.dart' ('lib/providers/mpris.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'PlaybackStatus'.
ERROR:         status.indexWhere((s) => s == PlaybackStatus.playing);
ERROR:                                       ^^^^^^^^^^^^^^
ERROR: Target kernel_snapshot failed: Exception
Building Linux application...
Build process failed

Right.. It needs mpris with my local changes.
I'll fix it later today


Feature request: UDP support in Load Balancers

I want to use Wireguard (VPN) to create a persistent connection between a Kubernetes cluster and a server hosted elsewhere.
Wireguard uses UDP for communication, but UDP is not supported in the DigitalOcean load balancers. A NodePort Service is not ideal because Node IPs are not static, and will change when the nodes are recycled (like during a Kubernetes version upgrade). I want to use a LoadBalancer because this gives me a static IP.
apiVersion: v1
kind: Service
metadata:
  name: wireguard-load-balancer
spec:
  type: LoadBalancer
  selector:
    app: wireguard
  ports:
  - port: 51820
    targetPort: wireguard-port
    protocol: UDP

UDP is now supported on more recent clusters. See https://docs.digitalocean.com/products/kubernetes/how-to/configure-load-balancers/#protocol for details.


Documentation does not specify supported Version of Java or OS

I am using a Mac. The FDT is a program written in Java. I presumed that it would compile on a Mac. Unfortunately it does not.
I executed the build-all.sh script. The Java version on my system is that of the OpenJDK 15.0.1.
The error message is
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project fdt: Compilation failure
[ERROR] /Users/myname/fdt/src/edu/caltech/hep/dcapj/io/dCacheFileOutputStream.java:[74,22] error: unreported exception Throwable; must be caught or declared to be thrown

I am not sure if there is a bug or if my system is simply not supported.

Can you try to use an older version of jdk and report back your findings.
Inviato dal mio iPhone
On May 21, 2021, at 2:21 PM, Ely @.***> wrote:

I am using a Mac. The FDT is a program written in Java. I presumed that it would compile on a Mac. Unfortunately it does not.
I executed the build-all.sh script. The Java version on my system is that of the OpenJDK 15.0.1.
The error message is
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project fdt: Compilation failure
[ERROR] /Users/Elyas/fdt/src/edu/caltech/hep/dcapj/io/dCacheFileOutputStream.java:[74,22] error: unreported exception Throwable; must be caught or declared to be thrown
I am not sure if there is a bug or if my system is simply not supported.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I did so.
I installed the OpenJDK 8.
It failed saying it can't find rpm.
I installed that on the Mac.
I'm testing right now.  So far it looks good.

It works fine. It seems that the version of Java 8 is a suitable choice, I use OpenJDK 8.
The script does not take into account a Mac system. Though this does not seem to be a problem.
Maven can be installed manually (that is what the script does) or with brew.
With brew one can also install the rpm software that is needed, without it it won't compile.
I transferred 100 GB and the speed is about the best I can expect considering my internet provider.


Ask a question

hello ，
Our company is using the "logback-flume-appender" package, but when the data exceeds 100 million, there will be data loss. I see that the number of queues in the source code is set to 1000. If the instantaneous concurrency is large and the queue exceeds 1000, will the data be lost
this.reporter = new EventReporter(props, loggingContext, reporterMaxThreadPoolSize, reporterMaxQueueSize);
*### *this.evQueue = new ArrayBlockingQueue(1000)**;
final long reportingWindow = hamonizeReportingWindow(reportingWindowReq);
final int batchSize = batchSizeReq == null ? DEFAULT_BATCH_SIZE : batchSizeReq;
this.asyncThread = new AsyncThread(evQueue, batchSize, reportingWindow);

Hi, yes, indeed the data will be lost if the flume manager cannot manage to keep up sending events to flume regarding the logging being produced.
I think there is very little to be done, if we increase the size of the queue means that more events are going to be buffered in the heap, thus increasing the heap usage, and if the consumer (sending events to flume) cannot keep up with the producer (log events being created) it will lose data anyway

hi ,we are preparing  to expand the  parameters  for batch size
I have another question. Are we not going to add a transaction guarantee for the Avro mode?

Hi, i have another question ,why set the quene to 1000


Adjust results file

This PR does the following:

fixes the regex for kokoro to upload the results files
removes uninteresting data from the results and uses gzip to compress the data

FYI - @QuantamHD


MVCControllerGenerator failed

Overview of the issue

Expected Outcome

Current Outcome

Steps to Reproduce(Only for bug reports)

Jeddict Version(s)

@elmarce ?

Can be closed as invalid.

Closing ticket because of the lack of detail.
@elmarce Please describe more clearly and open the ticket.