Could not import sentence_transformers python package. Please install it with pip install sentence_transformers.

问题描述 / Problem Description
执行报错，无法上传知识库
ERROR 2023-05-18 14:08:12,342-1d: Could not import sentence_transformers python package. Please install it with pip install sentence_transformers.
复现问题的步骤 / Steps to Reproduce
python webui.py
实际结果 / Actual Result
(/mnt/data/deploy/venv_lc2) [root@OneThingEdgeCloud langchain-ChatGLM]# python webui.py
INFO  2023-05-18 14:07:41,687-1d:
loading model config
llm device: cuda
embedding device: cuda
dir: /mnt/data/code/langchain-ChatGLM
flagging username: 054012f1800641b593a81535730d2626
/mnt/data/deploy/venv_lc2/lib/python3.10/site-packages/paddle/fluid/core.py:219: UserWarning: Load /lib64/libgomp.so.1 failed
warnings.warn("Load {} failed".format(dso_absolute_path))
Explicitly passing a revision is encouraged when loading a model with custom code to ensure no malicious code has been contributed in a newer revision.
Explicitly passing a revision is encouraged when loading a configuration with custom code to ensure no malicious code has been contributed in a newer revision.
Explicitly passing a revision is encouraged when loading a model with custom code to ensure no malicious code has been contributed in a newer revision.
Loading checkpoint shards: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:07<00:00,  1.05it/s]
ERROR 2023-05-18 14:08:12,342-1d: Could not import sentence_transformers python package. Please install it with pip install sentence_transformers.
Running on local URL:  http://<IP_ADDRESS>:7860
Running on public URL: https://7e8ac414467778dcf4.gradio.live
This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
环境信息 / Environment Information

langchain-ChatGLM 版本/commit 号：master
是否使用 Docker 部署（是/否）：否
使用的模型（ChatGLM-6B / ClueAI/ChatYuan-large-v2 等）：ChatGLM-6B
使用的 Embedding 模型（GanymedeNil/text2vec-large-chinese 等）：GanymedeNil/text2vec-large-chinese
操作系统及版本 / Operating system and version: centOS 7.9
Python 版本 / Python version: 3.10
其他相关环境信息 / Other relevant environment information: gcc 4.8 ,如果使用gcc 10 会报段错误

附加信息 / Additional Information
gradio 可以正常启动，但是上传的上传知识库并不生效，没有生成 vector_store 文件夹

问题里的pip install就是解决办法
jixi_chen @.***>于2023年5月18日 周四14:14写道：

问题描述 / Problem Description
执行报错，无法上传知识库
ERROR 2023-05-18 14:08:12,342-1d: Could not import sentence_transformers
python package. Please install it with pip install sentence_transformers.
复现问题的步骤 / Steps to Reproduce
python webui.py
实际结果 / Actual Result
(/mnt/data/deploy/venv_lc2) @.*** langchain-ChatGLM]#
python webui.py
INFO 2023-05-18 14:07:41,687-1d:
loading model config
llm device: cuda
embedding device: cuda
dir: /mnt/data/code/langchain-ChatGLM
flagging username: 054012f1800641b593a81535730d2626
/mnt/data/deploy/venv_lc2/lib/python3.10/site-packages/paddle/fluid/core.py:219:
UserWarning: Load /lib64/libgomp.so.1 failed
warnings.warn("Load {} failed".format(dso_absolute_path))
Explicitly passing a revision is encouraged when loading a model with
custom code to ensure no malicious code has been contributed in a newer
revision.
Explicitly passing a revision is encouraged when loading a configuration
with custom code to ensure no malicious code has been contributed in a
newer revision.
Explicitly passing a revision is encouraged when loading a model with
custom code to ensure no malicious code has been contributed in a newer
revision.
Loading checkpoint shards:
100%|██████████████████████████████████████████████████████████████████████████████████████████████████|
8/8 [00:07<00:00, 1.05it/s]
ERROR 2023-05-18 14:08:12,342-1d: Could not import sentence_transformers
python package. Please install it with pip install sentence_transformers.
Running on local URL: http://<IP_ADDRESS>:7860
Running on public URL: https://7e8ac414467778dcf4.gradio.live
This share link expires in 72 hours. For free permanent hosting and GPU
upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
环境信息 / Environment Information

langchain-ChatGLM 版本/commit 号：master
是否使用 Docker 部署（是/否）：否
使用的模型（ChatGLM-6B / ClueAI/ChatYuan-large-v2 等）：ChatGLM-6B
使用的 Embedding 模型（GanymedeNil/text2vec-large-chinese
等）：GanymedeNil/text2vec-large-chinese
操作系统及版本 / Operating system and version: centOS 7.9
Python 版本 / Python version: 3.10
其他相关环境信息 / Other relevant environment information: gcc 4.8 ,如果使用gcc
10 会报段错误

附加信息 / Additional Information
gradio 可以正常启动，但是上传的上传知识库并不生效，没有生成 vector_store 文件夹
—
Reply to this email directly, view it on GitHub
https://github.com/imClumsyPanda/langchain-ChatGLM/issues/400, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLH5ET655V5UI44MGMNPODXGW433ANCNFSM6AAAAAAYGA3MAM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

好像不行的。 实际执行 pip install sentence_transformers 后 pip list |grep sentence_transformers 还是找不到这包，但是有sentence-transformers 这个包。

(/mnt/data/deploy/venv_lc2) [root@OneThingEdgeCloud f1479560d1648f0b26a798e569408b6788dcc4cf]# pip install sentence_transformers
Requirement already satisfied: sentence_transformers in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (2.2.2)
Requirement already satisfied: sentencepiece in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (0.1.99)
Requirement already satisfied: numpy in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (1.23.5)
Requirement already satisfied: huggingface-hub>=0.4.0 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (0.14.1)
Requirement already satisfied: tqdm in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (4.65.0)
Requirement already satisfied: torchvision in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (0.15.2)
Requirement already satisfied: torch>=1.6.0 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (2.0.1)
Requirement already satisfied: transformers<5.0.0,>=4.6.0 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (4.27.1)
Requirement already satisfied: nltk in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (3.8.1)
Requirement already satisfied: scikit-learn in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (1.2.2)
Requirement already satisfied: scipy in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sentence_transformers) (1.10.1)
Requirement already satisfied: packaging>=20.9 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from huggingface-hub>=0.4.0->sentence_transformers) (23.1)
Requirement already satisfied: filelock in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from huggingface-hub>=0.4.0->sentence_transformers) (3.12.0)
Requirement already satisfied: fsspec in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from huggingface-hub>=0.4.0->sentence_transformers) (2023.5.0)
Requirement already satisfied: requests in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from huggingface-hub>=0.4.0->sentence_transformers) (2.30.0)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from huggingface-hub>=0.4.0->sentence_transformers) (4.5.0)
Requirement already satisfied: pyyaml>=5.1 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from huggingface-hub>=0.4.0->sentence_transformers) (6.0)
Requirement already satisfied: nvidia-cusolver-cu11==<IP_ADDRESS> in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (<IP_ADDRESS>)
Requirement already satisfied: nvidia-nccl-cu11==2.14.3 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (2.14.3)
Requirement already satisfied: nvidia-cudnn-cu11==<IP_ADDRESS> in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (<IP_ADDRESS>)
Requirement already satisfied: nvidia-nvtx-cu11==11.7.91 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (11.7.91)
Requirement already satisfied: networkx in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (3.1)
Requirement already satisfied: sympy in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (1.12)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (11.7.99)
Requirement already satisfied: nvidia-cufft-cu11==<IP_ADDRESS> in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (<IP_ADDRESS>)
Requirement already satisfied: nvidia-cuda-cupti-cu11==11.7.101 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (11.7.101)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (11.7.99)
Requirement already satisfied: jinja2 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (3.1.2)
Requirement already satisfied: nvidia-curand-cu11==<IP_ADDRESS> in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (<IP_ADDRESS>)
Requirement already satisfied: triton==2.0.0 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (2.0.0)
Requirement already satisfied: nvidia-cusparse-cu11==<IP_ADDRESS> in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (<IP_ADDRESS>)
Requirement already satisfied: nvidia-cublas-cu11==<IP_ADDRESS> in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torch>=1.6.0->sentence_transformers) (<IP_ADDRESS>)
Requirement already satisfied: setuptools in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from nvidia-cublas-cu11==<IP_ADDRESS>->torch>=1.6.0->sentence_transformers) (66.0.0)
Requirement already satisfied: wheel in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from nvidia-cublas-cu11==<IP_ADDRESS>->torch>=1.6.0->sentence_transformers) (0.38.4)
Requirement already satisfied: cmake in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.6.0->sentence_transformers) (3.26.3)
Requirement already satisfied: lit in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.6.0->sentence_transformers) (16.0.3)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from transformers<5.0.0,>=4.6.0->sentence_transformers) (0.13.3)
Requirement already satisfied: regex!=2019.12.17 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from transformers<5.0.0,>=4.6.0->sentence_transformers) (2023.5.5)
Requirement already satisfied: joblib in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from nltk->sentence_transformers) (1.2.0)
Requirement already satisfied: click in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from nltk->sentence_transformers) (8.1.3)
Requirement already satisfied: threadpoolctl>=2.0.0 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from scikit-learn->sentence_transformers) (3.1.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from torchvision->sentence_transformers) (9.5.0)
Requirement already satisfied: MarkupSafe>=2.0 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from jinja2->torch>=1.6.0->sentence_transformers) (2.1.2)
Requirement already satisfied: urllib3<3,>=1.21.1 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from requests->huggingface-hub>=0.4.0->sentence_transformers) (2.0.2)
Requirement already satisfied: charset-normalizer<4,>=2 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from requests->huggingface-hub>=0.4.0->sentence_transformers) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from requests->huggingface-hub>=0.4.0->sentence_transformers) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from requests->huggingface-hub>=0.4.0->sentence_transformers) (2023.5.7)
Requirement already satisfied: mpmath>=0.19 in /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages (from sympy->torch>=1.6.0->sentence_transformers) (1.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
(/mnt/data/deploy/venv_lc2) [root@OneThingEdgeCloud f1479560d1648f0b26a798e569408b6788dcc4cf]# pip list |grep sentence_transformers
(/mnt/data/deploy/venv_lc2) [root@OneThingEdgeCloud f1479560d1648f0b26a798e569408b6788dcc4cf]#

问题里的pip install就是解决办法 jixi_chen @.>于2023年5月18日 周四14:14写道：
…
问题描述 / Problem Description 执行报错，无法上传知识库 ERROR 2023-05-18 14:08:12,342-1d: Could not import sentence_transformers python package. Please install it with pip install sentence_transformers. 复现问题的步骤 / Steps to Reproduce python webui.py 实际结果 / Actual Result (/mnt/data/deploy/venv_lc2) @. langchain-ChatGLM]# python webui.py INFO 2023-05-18 14:07:41,687-1d: loading model config llm device: cuda embedding device: cuda dir: /mnt/data/code/langchain-ChatGLM flagging username: 054012f1800641b593a81535730d2626 /mnt/data/deploy/venv_lc2/lib/python3.10/site-packages/paddle/fluid/core.py:219: UserWarning: Load /lib64/libgomp.so.1 failed warnings.warn("Load {} failed".format(dso_absolute_path)) Explicitly passing a revision is encouraged when loading a model with custom code to ensure no malicious code has been contributed in a newer revision. Explicitly passing a revision is encouraged when loading a configuration with custom code to ensure no malicious code has been contributed in a newer revision. Explicitly passing a revision is encouraged when loading a model with custom code to ensure no malicious code has been contributed in a newer revision. Loading checkpoint shards: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:07<00:00, 1.05it/s] ERROR 2023-05-18 14:08:12,342-1d: Could not import sentence_transformers python package. Please install it with pip install sentence_transformers. Running on local URL: http://<IP_ADDRESS>:7860 Running on public URL: https://7e8ac414467778dcf4.gradio.live This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces 环境信息 / Environment Information - langchain-ChatGLM 版本/commit 号：master - 是否使用 Docker 部署（是/否）：否 - 使用的模型（ChatGLM-6B / ClueAI/ChatYuan-large-v2 等）：ChatGLM-6B - 使用的 Embedding 模型（GanymedeNil/text2vec-large-chinese 等）：GanymedeNil/text2vec-large-chinese - 操作系统及版本 / Operating system and version: centOS 7.9 - Python 版本 / Python version: 3.10 - 其他相关环境信息 / Other relevant environment information: gcc 4.8 ,如果使用gcc 10 会报段错误 附加信息 / Additional Information gradio 可以正常启动，但是上传的上传知识库并不生效，没有生成 vector_store 文件夹 — Reply to this email directly, view it on GitHub <#400>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5ET655V5UI44MGMNPODXGW433ANCNFSM6AAAAAAYGA3MAM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Having the same issue.
i sovled it，

I found after troubleshooting that the reason was that importing the Embeddings model from HuggingFaceEmbeddings failed. After further investigation, I found that my actual error was: OSError: dlopen: cannot load any more object with static TLS.
This problem was solved by upgrading glibc to 2.31.

Having the same issue.

I found after troubleshooting that the reason was that importing the Embeddings model from HuggingFaceEmbeddings failed. After further investigation, I found that my actual error was: OSError: dlopen: cannot load any more object with static TLS.
This problem was solved by upgrading glibc to 2.31.

我也存在相同的问题
运行webui.py
Loading /data/chatglm2-6b...
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:14<00:00,  2.04s/it]
Loaded the model in 42.32 seconds.
ERROR 2023-07-19 02:01:37,935-1d: Could not import sentence_transformers python package. Please install it with pip install sentence_transformers.
INFO  2023-07-19 02:01:37,935-1d: 模型未成功加载，请到页面左上角"模型配置"选项卡中重新选择后点击"加载模型"按钮
Running on local URL:  http://<IP_ADDRESS>:7860
运行cli_demo.py时报出来这个
INFO  2023-07-19 02:18:38,896-1d: Note: detected 128 virtual cores but NumExpr set to maximum of 64, check "NUMEXPR_MAX_THREADS" environment variable.
INFO  2023-07-19 02:18:38,896-1d: Note: NumExpr detected 128 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
INFO  2023-07-19 02:18:38,896-1d: NumExpr defaulting to 8 threads.
Loading /data/chatglm2-6b...
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:13<00:00,  1.94s/it]
Loaded the model in 42.01 seconds.
INFO  2023-07-19 02:19:24,923-1d: Load pretrained SentenceTransformer: /data/textbase
WARNING 2023-07-19 02:19:24,923-1d: No sentence-transformers model found with name /data/textbase. Creating a new one with MEAN pooling.
Input your local knowledge file path 请输入本地知识文件路径：/data/textbase
加载文件: 0it [00:00, ?it/s]INFO  2023-07-19 02:20:08,247-1d: Reading document from string ...
INFO  2023-07-19 02:20:08,248-1d: Reading document ...
加载文件: 1it [00:02,  2.16s/it]ERROR 2023-07-19 02:20:08,404-1d: Json schema does not match the Unstructured schema
WARNING 2023-07-19 02:20:08,418-1d: Could not detect the filetype from application/octet-stream MIME type.
ERROR 2023-07-19 02:20:08,419-1d: Invalid file /data/textbase/pytorch_model.bin. The FileType.ZIP file type is not supported in partition.
ERROR 2023-07-19 02:20:08,419-1d: Json schema does not match the Unstructured schema
ERROR 2023-07-19 02:20:08,427-1d: Json schema does not match the Unstructured schema
ERROR 2023-07-19 02:20:08,428-1d: Json schema does not match the Unstructured schema
加载文件: 9it [00:03,  2.47it/s]
INFO  2023-07-19 02:20:09,890-1d: 以下文件未能成功加载：
INFO  2023-07-19 02:20:09,890-1d: config.json
INFO  2023-07-19 02:20:09,890-1d: pytorch_model.bin
INFO  2023-07-19 02:20:09,890-1d: special_tokens_map.json
INFO  2023-07-19 02:20:09,890-1d: tokenizer.json
INFO  2023-07-19 02:20:09,890-1d: tokenizer_config.json
INFO  2023-07-19 02:20:09,891-1d: 文件加载完毕，正在生成向量库
请问怎么解决呀

Could not import sentence_transformers python package. Please install it with pip install sentence_transformers.这个问题有解决了吗？我是Windows系统使用conda部署的环境

@czq001 @jszhangyili 按照报错信息 执行pip install sentence-transformers

执行pip install sentence-transformers后也没有解决这个问题。在读embedding模型那句代码前，无法import sentence-transformers

root@localhost:/workspace/langchain-ChatGLM-master# pip install sentence-transformers
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/, https://pypi.ngc.nvidia.com
Requirement already satisfied: sentence-transformers in /usr/local/lib/python3.8/dist-packages (2.2.2)
Requirement already satisfied: transformers<5.0.0,>=4.6.0 in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (4.29.1)
Requirement already satisfied: tqdm in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (4.65.0)
Requirement already satisfied: torch>=1.6.0 in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (2.0.0a0+1767026)
Requirement already satisfied: torchvision in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (0.15.0a0)
Requirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (1.23.5)
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (1.2.0)
Requirement already satisfied: scipy in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (1.10.1)
Requirement already satisfied: nltk in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (3.8.1)
Requirement already satisfied: sentencepiece in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (0.1.99)
Requirement already satisfied: huggingface-hub>=0.4.0 in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (0.16.4)
Requirement already satisfied: filelock in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (3.10.0)
Requirement already satisfied: fsspec in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (2023.1.0)
Requirement already satisfied: requests in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (2.28.2)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (6.0)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (4.5.0)
Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (23.0)
Requirement already satisfied: sympy in /usr/local/lib/python3.8/dist-packages (from torch>=1.6.0->sentence-transformers) (1.11.1)
Requirement already satisfied: networkx in /usr/local/lib/python3.8/dist-packages (from torch>=1.6.0->sentence-transformers) (3.1)
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.8/dist-packages (from transformers<5.0.0,>=4.6.0->sentence-transformers) (2022.10.31)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /usr/local/lib/python3.8/dist-packages (from transformers<5.0.0,>=4.6.0->sentence-transformers) (0.13.3)
Requirement already satisfied: click in /usr/local/lib/python3.8/dist-packages (from nltk->sentence-transformers) (8.1.3)
Requirement already satisfied: joblib in /usr/local/lib/python3.8/dist-packages (from nltk->sentence-transformers) (1.2.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.8/dist-packages (from scikit-learn->sentence-transformers) (3.1.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/lib/python3.8/dist-packages (from torchvision->sentence-transformers) (9.2.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (2.1.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (1.26.14)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (2022.12.7)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.8/dist-packages (from sympy->torch>=1.6.0->sentence-transformers) (1.3.0)
sentence-transformers是安装了的

报错是卡在了local_doc_qa.py中的
self.embeddings = HuggingFaceEmbeddings(model_name=embedding_model_dict[embedding_model],
model_kwargs={'device': embedding_device})
这句代码上面

这个问题我解决的方式是删除你电脑力pip 缓存中的sentence-transformers，然后再安装就可以了
| |
张宜力
|
|
@.***
|
---- Replied Message ----
| From | @.> |
| Date | 7/19/2023 14:31 |
| To | @.> |
| Cc | @.> ,
@.> |
| Subject | Re: [imClumsyPanda/langchain-ChatGLM] Could not import sentence_transformers python package. Please install it with pip install sentence_transformers. (Issue #400) |
执行pip install sentence-transformers后也没有解决这个问题。在读embedding模型那句代码前，无法import sentence-transformers
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

这个问题我解决的方式是删除电脑中pip 缓存中的sentence-transformers，然后再安装就可以了
| |
张宜力
|
|
@.***
|
---- Replied Message ----
| From | @.> |
| Date | 7/19/2023 14:32 |
| To | @.> |
| Cc | @.> ,
@.> |
| Subject | Re: [imClumsyPanda/langchain-ChatGLM] Could not import sentence_transformers python package. Please install it with pip install sentence_transformers. (Issue #400) |
@.**:/workspace/langchain-ChatGLM-master# pip install sentence-transformers
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/, https://pypi.ngc.nvidia.com
Requirement already satisfied: sentence-transformers in /usr/local/lib/python3.8/dist-packages (2.2.2)
Requirement already satisfied: transformers<5.0.0,>=4.6.0 in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (4.29.1)
Requirement already satisfied: tqdm in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (4.65.0)
Requirement already satisfied: torch>=1.6.0 in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (2.0.0a0+1767026)
Requirement already satisfied: torchvision in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (0.15.0a0)
Requirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (1.23.5)
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (1.2.0)
Requirement already satisfied: scipy in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (1.10.1)
Requirement already satisfied: nltk in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (3.8.1)
Requirement already satisfied: sentencepiece in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (0.1.99)
Requirement already satisfied: huggingface-hub>=0.4.0 in /usr/local/lib/python3.8/dist-packages (from sentence-transformers) (0.16.4)
Requirement already satisfied: filelock in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (3.10.0)
Requirement already satisfied: fsspec in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (2023.1.0)
Requirement already satisfied: requests in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (2.28.2)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (6.0)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (4.5.0)
Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.4.0->sentence-transformers) (23.0)
Requirement already satisfied: sympy in /usr/local/lib/python3.8/dist-packages (from torch>=1.6.0->sentence-transformers) (1.11.1)
Requirement already satisfied: networkx in /usr/local/lib/python3.8/dist-packages (from torch>=1.6.0->sentence-transformers) (3.1)
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.8/dist-packages (from transformers<5.0.0,>=4.6.0->sentence-transformers) (2022.10.31)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /usr/local/lib/python3.8/dist-packages (from transformers<5.0.0,>=4.6.0->sentence-transformers) (0.13.3)
Requirement already satisfied: click in /usr/local/lib/python3.8/dist-packages (from nltk->sentence-transformers) (8.1.3)
Requirement already satisfied: joblib in /usr/local/lib/python3.8/dist-packages (from nltk->sentence-transformers) (1.2.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.8/dist-packages (from scikit-learn->sentence-transformers) (3.1.0)
Requirement already satisfied: pillow!=8.3.,>=5.3.0 in /usr/local/lib/python3.8/dist-packages (from torchvision->sentence-transformers) (9.2.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (2.1.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (1.26.14)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/dist-packages (from requests->huggingface-hub>=0.4.0->sentence-transformers) (2022.12.7)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.8/dist-packages (from sympy->torch>=1.6.0->sentence-transformers) (1.3.0)
sentence-transformers是安装了的
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

同遇到了类似的问题，并且执行pip install sentence-transformers以及sklearn后也没有解决这个问题

同遇到了类似的问题，并且执行pip install sentence-transformers以及sklearn后也没有解决这个问题
Traceback (most recent call last):
File "/home/users/xxxx/anaconda3/envs/chatglm/lib/python3.8/site-packages/sklearn/__check_build/init.py", line 45, in
from ._check_build import check_build  # noqa
ImportError: dlopen: cannot load any more object with static TLS

我看到有这个错误
ImportError: accelerate>=0.20.3 is required for a normal functioning of this module, but found accelerate==0.18.0.
但是pip install accelerate>=0.20.3不管用
先pip uninstall accelerate再pip install accelerate>=0.20.3可以
没再报找不到sentence_transformers

I fixed the problem by updating torch to version 2.1.1

I fixed the problem by updating torch to version 2.1.1

在自定义大模型以及使用HuggingFaceEmbedding时，使用了transformers库以及sentence-transformers库，如果安装了这两个库还分别报错：AttributeError: 'ChatGLMTokenizer' object has no attribute 'sp_tokenizer'或者“could not import sentence_transformers python package. pip intall sentence-transformers”。第一个报错往往是transformers版本过高。使用pip install transformers==4.27.1亲测可以解决第一个问题。第二个问题可能是两个包版本冲突了。可以降低一下sentence-transformers版本，pip install sentence-transformers==2.2.2可以解决上面问题。

我的解决方式是：upgrading glibc to 2.31

我把huggingface-hub==0.20.2 降级为这个版本解决了

我把huggingface-hub==0.20.2 降级为这个版本解决了

@DeviosLang 谢谢，这真的有用

Here's my solution. The version of huggingface-hub is 0.25.1, the version of transformers is 4.27.1, and the version of sentance-Transformers is 2.2.2.


Installing F* from the source on Mac OS X

Hello,
I'm trying to install F* from the source on Mac OS X and I'm facing a problem during Step 2 when I run make ocaml -C src. I obtain the following error:
Warning: could not find "msbuild", trying (deprecated) "xbuild"

mkdir -p boot
/Applications/Xcode.app/Contents/Developer/usr/bin/make extract_all

Warning: could not find "msbuild", trying (deprecated) "xbuild"

mkdir -p boot
../bin/fstar-any.sh --hint_info --eager_inference --lax --MLish --no_location_info --odir ocaml-output --codegen OCaml --include ../ulib --include boot --include basic --include extraction --include format --include fsdoc --include fstar --include parser --include prettyprint --include reflection --include smtencoding --include syntax --include tactics --include tosyntax --include typechecker ../ulib/FStar.Tactics.Types.fsti tactics/FStar.Tactics.Types.fs tactics/FStar.Tactics.Basic.fs tactics/FStar.Tactics.Embedding.fs tactics/FStar.Tactics.Native.fs boot/FStar.Tactics.Interpreter.fst --extract_namespace FStar.Tactics --no_extract FStar.Tactics.Native
/Users/vincentcheval/Documents/Recherche/Outils/FStar/src/boot/FStar.Util.fsti(32,11-32,19): (Error) Identifier not found: [System.DateTime]
Module System does not belong to the list of modules in scope, namely FStar.BaseTypes, FStar.Char, FStar.Float, FStar.UInt8, FStar.Int8, FStar.Int16, FStar.UInt16, FStar.Int32, FStar.Int64, FStar.Int, FStar.UInt64, FStar.UInt32, FStar.UInt, FStar.BitVector, FStar.Math.Lemmas, FStar.Math.Lib, FStar.Seq, FStar.Seq.Properties, FStar.Seq.Base, FStar.List.Tot, FStar.List.Tot.Properties, FStar.List.Tot.Base, FStar.Mul, FStar.All, FStar.ST, FStar.Heap, FStar.Monotonic.Heap, FStar.TSet, FStar.PredicateExtensionality, FStar.PropositionalExtensionality, FStar.StrongExcludedMiddle, FStar.Preorder, FStar.Set, FStar.FunctionalExtensionality, FStar.Classical, FStar.Squash, FStar.Exn, FStar.Pervasives, FStar.Pervasives.Native, Prims
1 error was reported (see above)
make[1]: *** [extract_tactics] Error 1
make: *** [ocaml] Error 2

I have the latest Sierra version (freshly reinstalled). All the previous steps worked.
Thanks a lot
Best
Vincent

You need Mono installed to compile the sources using the F# compiler. We maintain an OCaml snapshot in the repository, so you can alternatively just run 'make -C src/ocaml-output' if you have a working OPAM setup. Most of us compile F* this way. There are a few differences between an F#-compiled version and an OCaml-compiled one, you'd be better off using the latter.
-----Original Message-----
From: "Vincent Cheval"<EMAIL_ADDRESS>Sent: 14/09/2017 12:43
To: "FStarLang/FStar"<EMAIL_ADDRESS>Cc: "Subscribed"<EMAIL_ADDRESS>Subject: [FStarLang/FStar] Installing F* from the source on Mac OS X (#1237)
Hello,
I'm trying to install F* from the source on Mac OS X and I'm facing a problem during Step 2 when I run make ocaml -C src. I obtain the following error:
Warning: could not find "msbuild", trying (deprecated) "xbuild"
mkdir -p boot
/Applications/Xcode.app/Contents/Developer/usr/bin/make extract_all
Warning: could not find "msbuild", trying (deprecated) "xbuild"
mkdir -p boot
../bin/fstar-any.sh --hint_info --eager_inference --lax --MLish --no_location_info --odir ocaml-output --codegen OCaml --include ../ulib --include boot --include basic --include extraction --include format --include fsdoc --include fstar --include parser --include prettyprint --include reflection --include smtencoding --include syntax --include tactics --include tosyntax --include typechecker ../ulib/FStar.Tactics.Types.fsti tactics/FStar.Tactics.Types.fs tactics/FStar.Tactics.Basic.fs tactics/FStar.Tactics.Embedding.fs tactics/FStar.Tactics.Native.fs boot/FStar.Tactics.Interpreter.fst --extract_namespace FStar.Tactics --no_extract FStar.Tactics.Native
/Users/vincentcheval/Documents/Recherche/Outils/FStar/src/boot/FStar.Util.fsti(32,11-32,19): (Error) Identifier not found: [System.DateTime]
Module System does not belong to the list of modules in scope, namely FStar.BaseTypes, FStar.Char, FStar.Float, FStar.UInt8, FStar.Int8, FStar.Int16, FStar.UInt16, FStar.Int32, FStar.Int64, FStar.Int, FStar.UInt64, FStar.UInt32, FStar.UInt, FStar.BitVector, FStar.Math.Lemmas, FStar.Math.Lib, FStar.Seq, FStar.Seq.Properties, FStar.Seq.Base, FStar.List.Tot, FStar.List.Tot.Properties, FStar.List.Tot.Base, FStar.Mul, FStar.All, FStar.ST, FStar.Heap, FStar.Monotonic.Heap, FStar.TSet, FStar.PredicateExtensionality, FStar.PropositionalExtensionality, FStar.StrongExcludedMiddle, FStar.Preorder, FStar.Set, FStar.FunctionalExtensionality, FStar.Classical, FStar.Squash, FStar.Exn, FStar.Pervasives, FStar.Pervasives.Native, Prims
1 error was reported (see above)
make[1]: *** [extract_tactics] Error 1
make: *** [ocaml] Error 2
I have the latest Sierra version (freshly reinstalled). All the previous steps worked.
Thanks a lot
Best
Vincent
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@VincentCheval, did you figure this out?
From here, it looks like a sed problem.  Do you have gsed on your machine?

Hello,
It worked with the command 'make -C src/ocaml-output' that @s-zanella pointed out. To answer your question though, I do have gsed installed.

OK, thanks.
I'd like to understand what happened here. It looks like the sed parts of the boot target didn't run properly.  Could you maybe run make -d -C src ocaml and post the output?

That was one long output 😊
Good luck reading !
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `gmake/z3.mk' (search path) (no ~ expansion)...
Reading makefile `gmake/fstar.mk' (search path) (no ~ expansion)...

Warning: could not find "msbuild", trying (deprecated) "xbuild"

Updating makefiles....
 Considering target file `gmake/fstar.mk'.
  Looking for an implicit rule for `gmake/fstar.mk'.
  No implicit rule found for `gmake/fstar.mk'.
  Finished prerequisites of target file `gmake/fstar.mk'.
 No need to remake target `gmake/fstar.mk'.
 Considering target file `gmake/z3.mk'.
  Looking for an implicit rule for `gmake/z3.mk'.
  No implicit rule found for `gmake/z3.mk'.
  Finished prerequisites of target file `gmake/z3.mk'.
 No need to remake target `gmake/z3.mk'.
 Considering target file `Makefile'.
  Looking for an implicit rule for `Makefile'.
  No implicit rule found for `Makefile'.
  Finished prerequisites of target file `Makefile'.
 No need to remake target `Makefile'.
Updating goal targets....
Considering target file `ocaml'.
 File `ocaml' does not exist.
  Considering target file `boot'.
   File `boot' does not exist.
    Considering target file `boot/FStar.Util.fsti'.
     Looking for an implicit rule for `boot/FStar.Util.fsti'.
     Trying pattern rule with stem `FStar.Util'.
     Trying implicit prerequisite `basic/boot/FStar.Util.fsi'.
     Trying rule prerequisite `boot_dir'.
     Found an implicit rule for `boot/FStar.Util.fsti'.
      Considering target file `basic/boot/FStar.Util.fsi'.
       Looking for an implicit rule for `basic/boot/FStar.Util.fsi'.
       No implicit rule found for `basic/boot/FStar.Util.fsi'.
       Finished prerequisites of target file `basic/boot/FStar.Util.fsi'.
      No need to remake target `basic/boot/FStar.Util.fsi'.
      Considering target file `boot_dir'.
       File `boot_dir' does not exist.
       Finished prerequisites of target file `boot_dir'.
      Must remake target `boot_dir'.
mkdir -p boot
Putting child 0x7fbae4601710 (boot_dir) PID 8537 on the chain.
Live child 0x7fbae4601710 (boot_dir) PID 8537
Reaping winning child 0x7fbae4601710 PID 8537
Removing child 0x7fbae4601710 PID 8537 from chain.
      Successfully remade target file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.Util.fsti'.
     Prerequisite `basic/boot/FStar.Util.fsi' is older than target `boot/FStar.Util.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.Util.fsti'.
    No need to remake target `boot/FStar.Util.fsti'.
    Considering target file `boot/FStar.List.fsti'.
     Looking for an implicit rule for `boot/FStar.List.fsti'.
     Trying pattern rule with stem `FStar.List'.
     Trying implicit prerequisite `basic/boot/FStar.List.fsi'.
     Trying rule prerequisite `boot_dir'.
     Found an implicit rule for `boot/FStar.List.fsti'.
      Considering target file `basic/boot/FStar.List.fsi'.
       Looking for an implicit rule for `basic/boot/FStar.List.fsi'.
       No implicit rule found for `basic/boot/FStar.List.fsi'.
       Finished prerequisites of target file `basic/boot/FStar.List.fsi'.
      No need to remake target `basic/boot/FStar.List.fsi'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.List.fsti'.
     Prerequisite `basic/boot/FStar.List.fsi' is older than target `boot/FStar.List.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.List.fsti'.
    No need to remake target `boot/FStar.List.fsti'.
    Considering target file `boot/FStar.Bytes.fsti'.
     Looking for an implicit rule for `boot/FStar.Bytes.fsti'.
     Trying pattern rule with stem `FStar.Bytes'.
     Trying implicit prerequisite `basic/boot/FStar.Bytes.fsi'.
     Trying rule prerequisite `boot_dir'.
     Found an implicit rule for `boot/FStar.Bytes.fsti'.
      Considering target file `basic/boot/FStar.Bytes.fsi'.
       Looking for an implicit rule for `basic/boot/FStar.Bytes.fsi'.
       No implicit rule found for `basic/boot/FStar.Bytes.fsi'.
       Finished prerequisites of target file `basic/boot/FStar.Bytes.fsi'.
      No need to remake target `basic/boot/FStar.Bytes.fsi'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.Bytes.fsti'.
     Prerequisite `basic/boot/FStar.Bytes.fsi' is older than target `boot/FStar.Bytes.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.Bytes.fsti'.
    No need to remake target `boot/FStar.Bytes.fsti'.
    Considering target file `boot/FStar.String.fsti'.
     Looking for an implicit rule for `boot/FStar.String.fsti'.
     Trying pattern rule with stem `FStar.String'.
     Trying implicit prerequisite `basic/boot/FStar.String.fsi'.
     Trying rule prerequisite `boot_dir'.
     Found an implicit rule for `boot/FStar.String.fsti'.
      Considering target file `basic/boot/FStar.String.fsi'.
       Looking for an implicit rule for `basic/boot/FStar.String.fsi'.
       No implicit rule found for `basic/boot/FStar.String.fsi'.
       Finished prerequisites of target file `basic/boot/FStar.String.fsi'.
      No need to remake target `basic/boot/FStar.String.fsi'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.String.fsti'.
     Prerequisite `basic/boot/FStar.String.fsi' is older than target `boot/FStar.String.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.String.fsti'.
    No need to remake target `boot/FStar.String.fsti'.
    Considering target file `boot/FStar.Range.fsti'.
     Looking for an implicit rule for `boot/FStar.Range.fsti'.
     Trying pattern rule with stem `FStar.Range'.
     Trying implicit prerequisite `basic/boot/FStar.Range.fsi'.
     Trying rule prerequisite `boot_dir'.
     Found an implicit rule for `boot/FStar.Range.fsti'.
      Considering target file `basic/boot/FStar.Range.fsi'.
       Looking for an implicit rule for `basic/boot/FStar.Range.fsi'.
       No implicit rule found for `basic/boot/FStar.Range.fsi'.
       Finished prerequisites of target file `basic/boot/FStar.Range.fsi'.
      No need to remake target `basic/boot/FStar.Range.fsi'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.Range.fsti'.
     Prerequisite `basic/boot/FStar.Range.fsi' is older than target `boot/FStar.Range.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.Range.fsti'.
    No need to remake target `boot/FStar.Range.fsti'.
    Considering target file `boot/FStar.Pprint.fsti'.
     Looking for an implicit rule for `boot/FStar.Pprint.fsti'.
     Trying pattern rule with stem `FStar.Pprint'.
     Trying implicit prerequisite `basic/boot/FStar.Pprint.fsi'.
     Trying pattern rule with stem `FStar.Pprint'.
     Trying implicit prerequisite `prettyprint/boot/FStar.Pprint.fsi'.
     Trying rule prerequisite `boot_dir'.
     Found an implicit rule for `boot/FStar.Pprint.fsti'.
      Considering target file `prettyprint/boot/FStar.Pprint.fsi'.
       Looking for an implicit rule for `prettyprint/boot/FStar.Pprint.fsi'.
       No implicit rule found for `prettyprint/boot/FStar.Pprint.fsi'.
       Finished prerequisites of target file `prettyprint/boot/FStar.Pprint.fsi'.
      No need to remake target `prettyprint/boot/FStar.Pprint.fsi'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.Pprint.fsti'.
     Prerequisite `prettyprint/boot/FStar.Pprint.fsi' is older than target `boot/FStar.Pprint.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.Pprint.fsti'.
    No need to remake target `boot/FStar.Pprint.fsti'.
    Considering target file `boot/FStar.Parser.Parse.fsti'.
      Considering target file `parser/boot/parse.fsi'.
       Looking for an implicit rule for `parser/boot/parse.fsi'.
       No implicit rule found for `parser/boot/parse.fsi'.
       Finished prerequisites of target file `parser/boot/parse.fsi'.
      No need to remake target `parser/boot/parse.fsi'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.Parser.Parse.fsti'.
     Prerequisite `parser/boot/parse.fsi' is older than target `boot/FStar.Parser.Parse.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.Parser.Parse.fsti'.
    No need to remake target `boot/FStar.Parser.Parse.fsti'.
    Considering target file `boot/FStar.Tactics.Interpreter.fst'.
      Considering target file `tactics/boot/FStar.Tactics.Interpreter.fs'.
       Looking for an implicit rule for `tactics/boot/FStar.Tactics.Interpreter.fs'.
       No implicit rule found for `tactics/boot/FStar.Tactics.Interpreter.fs'.
       Finished prerequisites of target file `tactics/boot/FStar.Tactics.Interpreter.fs'.
      No need to remake target `tactics/boot/FStar.Tactics.Interpreter.fs'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.Tactics.Interpreter.fst'.
     Prerequisite `tactics/boot/FStar.Tactics.Interpreter.fs' is older than target `boot/FStar.Tactics.Interpreter.fst'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.Tactics.Interpreter.fst'.
    No need to remake target `boot/FStar.Tactics.Interpreter.fst'.
    Considering target file `boot/FStar.Tactics.Interpreter.fsti'.
      Considering target file `tactics/boot/FStar.Tactics.Interpreter.fsi'.
       Looking for an implicit rule for `tactics/boot/FStar.Tactics.Interpreter.fsi'.
       No implicit rule found for `tactics/boot/FStar.Tactics.Interpreter.fsi'.
       Finished prerequisites of target file `tactics/boot/FStar.Tactics.Interpreter.fsi'.
      No need to remake target `tactics/boot/FStar.Tactics.Interpreter.fsi'.
      Pruning file `boot_dir'.
     Finished prerequisites of target file `boot/FStar.Tactics.Interpreter.fsti'.
     Prerequisite `tactics/boot/FStar.Tactics.Interpreter.fsi' is older than target `boot/FStar.Tactics.Interpreter.fsti'.
     Prerequisite `boot_dir' is order-only for target `boot/FStar.Tactics.Interpreter.fsti'.
    No need to remake target `boot/FStar.Tactics.Interpreter.fsti'.
   Finished prerequisites of target file `boot'.
  Must remake target `boot'.
  Successfully remade target file `boot'.
 Finished prerequisites of target file `ocaml'.
Must remake target `ocaml'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make extract_all
Putting child 0x7fbae47007a0 (ocaml) PID 8538 on the chain.
Live child 0x7fbae47007a0 (ocaml) PID 8538
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `gmake/z3.mk' (search path) (no ~ expansion)...
Reading makefile `gmake/fstar.mk' (search path) (no ~ expansion)...

Warning: could not find "msbuild", trying (deprecated) "xbuild"

Updating makefiles....
 Considering target file `gmake/fstar.mk'.
  Looking for an implicit rule for `gmake/fstar.mk'.
  No implicit rule found for `gmake/fstar.mk'.
  Finished prerequisites of target file `gmake/fstar.mk'.
 No need to remake target `gmake/fstar.mk'.
 Considering target file `gmake/z3.mk'.
  Looking for an implicit rule for `gmake/z3.mk'.
  No implicit rule found for `gmake/z3.mk'.
  Finished prerequisites of target file `gmake/z3.mk'.
 No need to remake target `gmake/z3.mk'.
 Considering target file `Makefile'.
  Looking for an implicit rule for `Makefile'.
  No implicit rule found for `Makefile'.
  Finished prerequisites of target file `Makefile'.
 No need to remake target `Makefile'.
Updating goal targets....
Considering target file `extract_all'.
 File `extract_all' does not exist.
 Looking for an implicit rule for `extract_all'.
 No implicit rule found for `extract_all'.
  Considering target file `extract_tactics'.
   File `extract_tactics' does not exist.
    Considering target file `boot'.
     File `boot' does not exist.
      Considering target file `boot/FStar.Util.fsti'.
       Looking for an implicit rule for `boot/FStar.Util.fsti'.
       Trying pattern rule with stem `FStar.Util'.
       Trying implicit prerequisite `basic/boot/FStar.Util.fsi'.
       Trying rule prerequisite `boot_dir'.
       Found an implicit rule for `boot/FStar.Util.fsti'.
        Considering target file `basic/boot/FStar.Util.fsi'.
         Looking for an implicit rule for `basic/boot/FStar.Util.fsi'.
         No implicit rule found for `basic/boot/FStar.Util.fsi'.
         Finished prerequisites of target file `basic/boot/FStar.Util.fsi'.
        No need to remake target `basic/boot/FStar.Util.fsi'.
        Considering target file `boot_dir'.
         File `boot_dir' does not exist.
         Finished prerequisites of target file `boot_dir'.
        Must remake target `boot_dir'.
mkdir -p boot
Putting child 0x7fa5bb5072e0 (boot_dir) PID 8547 on the chain.
Live child 0x7fa5bb5072e0 (boot_dir) PID 8547
Reaping winning child 0x7fa5bb5072e0 PID 8547
Removing child 0x7fa5bb5072e0 PID 8547 from chain.
        Successfully remade target file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.Util.fsti'.
       Prerequisite `basic/boot/FStar.Util.fsi' is older than target `boot/FStar.Util.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.Util.fsti'.
      No need to remake target `boot/FStar.Util.fsti'.
      Considering target file `boot/FStar.List.fsti'.
       Looking for an implicit rule for `boot/FStar.List.fsti'.
       Trying pattern rule with stem `FStar.List'.
       Trying implicit prerequisite `basic/boot/FStar.List.fsi'.
       Trying rule prerequisite `boot_dir'.
       Found an implicit rule for `boot/FStar.List.fsti'.
        Considering target file `basic/boot/FStar.List.fsi'.
         Looking for an implicit rule for `basic/boot/FStar.List.fsi'.
         No implicit rule found for `basic/boot/FStar.List.fsi'.
         Finished prerequisites of target file `basic/boot/FStar.List.fsi'.
        No need to remake target `basic/boot/FStar.List.fsi'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.List.fsti'.
       Prerequisite `basic/boot/FStar.List.fsi' is older than target `boot/FStar.List.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.List.fsti'.
      No need to remake target `boot/FStar.List.fsti'.
      Considering target file `boot/FStar.Bytes.fsti'.
       Looking for an implicit rule for `boot/FStar.Bytes.fsti'.
       Trying pattern rule with stem `FStar.Bytes'.
       Trying implicit prerequisite `basic/boot/FStar.Bytes.fsi'.
       Trying rule prerequisite `boot_dir'.
       Found an implicit rule for `boot/FStar.Bytes.fsti'.
        Considering target file `basic/boot/FStar.Bytes.fsi'.
         Looking for an implicit rule for `basic/boot/FStar.Bytes.fsi'.
         No implicit rule found for `basic/boot/FStar.Bytes.fsi'.
         Finished prerequisites of target file `basic/boot/FStar.Bytes.fsi'.
        No need to remake target `basic/boot/FStar.Bytes.fsi'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.Bytes.fsti'.
       Prerequisite `basic/boot/FStar.Bytes.fsi' is older than target `boot/FStar.Bytes.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.Bytes.fsti'.
      No need to remake target `boot/FStar.Bytes.fsti'.
      Considering target file `boot/FStar.String.fsti'.
       Looking for an implicit rule for `boot/FStar.String.fsti'.
       Trying pattern rule with stem `FStar.String'.
       Trying implicit prerequisite `basic/boot/FStar.String.fsi'.
       Trying rule prerequisite `boot_dir'.
       Found an implicit rule for `boot/FStar.String.fsti'.
        Considering target file `basic/boot/FStar.String.fsi'.
         Looking for an implicit rule for `basic/boot/FStar.String.fsi'.
         No implicit rule found for `basic/boot/FStar.String.fsi'.
         Finished prerequisites of target file `basic/boot/FStar.String.fsi'.
        No need to remake target `basic/boot/FStar.String.fsi'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.String.fsti'.
       Prerequisite `basic/boot/FStar.String.fsi' is older than target `boot/FStar.String.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.String.fsti'.
      No need to remake target `boot/FStar.String.fsti'.
      Considering target file `boot/FStar.Range.fsti'.
       Looking for an implicit rule for `boot/FStar.Range.fsti'.
       Trying pattern rule with stem `FStar.Range'.
       Trying implicit prerequisite `basic/boot/FStar.Range.fsi'.
       Trying rule prerequisite `boot_dir'.
       Found an implicit rule for `boot/FStar.Range.fsti'.
        Considering target file `basic/boot/FStar.Range.fsi'.
         Looking for an implicit rule for `basic/boot/FStar.Range.fsi'.
         No implicit rule found for `basic/boot/FStar.Range.fsi'.
         Finished prerequisites of target file `basic/boot/FStar.Range.fsi'.
        No need to remake target `basic/boot/FStar.Range.fsi'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.Range.fsti'.
       Prerequisite `basic/boot/FStar.Range.fsi' is older than target `boot/FStar.Range.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.Range.fsti'.
      No need to remake target `boot/FStar.Range.fsti'.
      Considering target file `boot/FStar.Pprint.fsti'.
       Looking for an implicit rule for `boot/FStar.Pprint.fsti'.
       Trying pattern rule with stem `FStar.Pprint'.
       Trying implicit prerequisite `basic/boot/FStar.Pprint.fsi'.
       Trying pattern rule with stem `FStar.Pprint'.
       Trying implicit prerequisite `prettyprint/boot/FStar.Pprint.fsi'.
       Trying rule prerequisite `boot_dir'.
       Found an implicit rule for `boot/FStar.Pprint.fsti'.
        Considering target file `prettyprint/boot/FStar.Pprint.fsi'.
         Looking for an implicit rule for `prettyprint/boot/FStar.Pprint.fsi'.
         No implicit rule found for `prettyprint/boot/FStar.Pprint.fsi'.
         Finished prerequisites of target file `prettyprint/boot/FStar.Pprint.fsi'.
        No need to remake target `prettyprint/boot/FStar.Pprint.fsi'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.Pprint.fsti'.
       Prerequisite `prettyprint/boot/FStar.Pprint.fsi' is older than target `boot/FStar.Pprint.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.Pprint.fsti'.
      No need to remake target `boot/FStar.Pprint.fsti'.
      Considering target file `boot/FStar.Parser.Parse.fsti'.
        Considering target file `parser/boot/parse.fsi'.
         Looking for an implicit rule for `parser/boot/parse.fsi'.
         No implicit rule found for `parser/boot/parse.fsi'.
         Finished prerequisites of target file `parser/boot/parse.fsi'.
        No need to remake target `parser/boot/parse.fsi'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.Parser.Parse.fsti'.
       Prerequisite `parser/boot/parse.fsi' is older than target `boot/FStar.Parser.Parse.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.Parser.Parse.fsti'.
      No need to remake target `boot/FStar.Parser.Parse.fsti'.
      Considering target file `boot/FStar.Tactics.Interpreter.fst'.
        Considering target file `tactics/boot/FStar.Tactics.Interpreter.fs'.
         Looking for an implicit rule for `tactics/boot/FStar.Tactics.Interpreter.fs'.
         No implicit rule found for `tactics/boot/FStar.Tactics.Interpreter.fs'.
         Finished prerequisites of target file `tactics/boot/FStar.Tactics.Interpreter.fs'.
        No need to remake target `tactics/boot/FStar.Tactics.Interpreter.fs'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.Tactics.Interpreter.fst'.
       Prerequisite `tactics/boot/FStar.Tactics.Interpreter.fs' is older than target `boot/FStar.Tactics.Interpreter.fst'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.Tactics.Interpreter.fst'.
      No need to remake target `boot/FStar.Tactics.Interpreter.fst'.
      Considering target file `boot/FStar.Tactics.Interpreter.fsti'.
        Considering target file `tactics/boot/FStar.Tactics.Interpreter.fsi'.
         Looking for an implicit rule for `tactics/boot/FStar.Tactics.Interpreter.fsi'.
         No implicit rule found for `tactics/boot/FStar.Tactics.Interpreter.fsi'.
         Finished prerequisites of target file `tactics/boot/FStar.Tactics.Interpreter.fsi'.
        No need to remake target `tactics/boot/FStar.Tactics.Interpreter.fsi'.
        Pruning file `boot_dir'.
       Finished prerequisites of target file `boot/FStar.Tactics.Interpreter.fsti'.
       Prerequisite `tactics/boot/FStar.Tactics.Interpreter.fsi' is older than target `boot/FStar.Tactics.Interpreter.fsti'.
       Prerequisite `boot_dir' is order-only for target `boot/FStar.Tactics.Interpreter.fsti'.
      No need to remake target `boot/FStar.Tactics.Interpreter.fsti'.
     Finished prerequisites of target file `boot'.
    Must remake target `boot'.
    Successfully remade target file `boot'.
    Considering target file `../ulib/FStar.Tactics.Types.fsti'.
     Looking for an implicit rule for `../ulib/FStar.Tactics.Types.fsti'.
     No implicit rule found for `../ulib/FStar.Tactics.Types.fsti'.
     Finished prerequisites of target file `../ulib/FStar.Tactics.Types.fsti'.
    No need to remake target `../ulib/FStar.Tactics.Types.fsti'.
    Considering target file `tactics/FStar.Tactics.Types.fs'.
     Looking for an implicit rule for `tactics/FStar.Tactics.Types.fs'.
     No implicit rule found for `tactics/FStar.Tactics.Types.fs'.
     Finished prerequisites of target file `tactics/FStar.Tactics.Types.fs'.
    No need to remake target `tactics/FStar.Tactics.Types.fs'.
    Considering target file `tactics/FStar.Tactics.Basic.fs'.
     Looking for an implicit rule for `tactics/FStar.Tactics.Basic.fs'.
     No implicit rule found for `tactics/FStar.Tactics.Basic.fs'.
     Finished prerequisites of target file `tactics/FStar.Tactics.Basic.fs'.
    No need to remake target `tactics/FStar.Tactics.Basic.fs'.
    Considering target file `tactics/FStar.Tactics.Embedding.fs'.
     Looking for an implicit rule for `tactics/FStar.Tactics.Embedding.fs'.
     No implicit rule found for `tactics/FStar.Tactics.Embedding.fs'.
     Finished prerequisites of target file `tactics/FStar.Tactics.Embedding.fs'.
    No need to remake target `tactics/FStar.Tactics.Embedding.fs'.
    Considering target file `tactics/FStar.Tactics.Native.fs'.
     Looking for an implicit rule for `tactics/FStar.Tactics.Native.fs'.
     No implicit rule found for `tactics/FStar.Tactics.Native.fs'.
     Finished prerequisites of target file `tactics/FStar.Tactics.Native.fs'.
    No need to remake target `tactics/FStar.Tactics.Native.fs'.
    Pruning file `boot/FStar.Tactics.Interpreter.fst'.
   Finished prerequisites of target file `extract_tactics'.
  Must remake target `extract_tactics'.
../bin/fstar-any.sh --hint_info --eager_inference --lax --MLish --no_location_info --odir ocaml-output --codegen OCaml --include ../ulib --include boot --include basic --include extraction --include format --include fsdoc --include fstar --include parser --include prettyprint --include reflection --include smtencoding --include syntax --include tactics --include tosyntax --include typechecker ../ulib/FStar.Tactics.Types.fsti tactics/FStar.Tactics.Types.fs tactics/FStar.Tactics.Basic.fs tactics/FStar.Tactics.Embedding.fs tactics/FStar.Tactics.Native.fs boot/FStar.Tactics.Interpreter.fst --extract_namespace FStar.Tactics --no_extract FStar.Tactics.Native
Putting child 0x7fa5bb6056b0 (extract_tactics) PID 8548 on the chain.
Live child 0x7fa5bb6056b0 (extract_tactics) PID 8548
/Users/vincentcheval/Documents/Recherche/Outils/FStar/src/boot/FStar.Util.fsti(32,11-32,19): (Error) Identifier not found: [System.DateTime]
Module System does not belong to the list of modules in scope, namely FStar.BaseTypes, FStar.Char, FStar.Float, FStar.UInt8, FStar.Int8, FStar.Int16, FStar.UInt16, FStar.Int32, FStar.Int64, FStar.Int, FStar.UInt64, FStar.UInt32, FStar.UInt, FStar.BitVector, FStar.Math.Lemmas, FStar.Math.Lib, FStar.Seq, FStar.Seq.Properties, FStar.Seq.Base, FStar.List.Tot, FStar.List.Tot.Properties, FStar.List.Tot.Base, FStar.Mul, FStar.All, FStar.ST, FStar.Heap, FStar.Monotonic.Heap, FStar.TSet, FStar.PredicateExtensionality, FStar.PropositionalExtensionality, FStar.StrongExcludedMiddle, FStar.Preorder, FStar.Set, FStar.FunctionalExtensionality, FStar.Classical, FStar.Squash, FStar.Exn, FStar.Pervasives, FStar.Pervasives.Native, Prims
1 error was reported (see above)
Reaping losing child 0x7fa5bb6056b0 PID 8548
make[1]: *** [extract_tactics] Error 1
Removing child 0x7fa5bb6056b0 PID 8548 from chain.
Reaping losing child 0x7fbae47007a0 PID 8538
make: *** [ocaml] Error 2
Removing child 0x7fbae47007a0 PID 8538 from chain.

@cpitclaudel Is this issue still relevant or can it be closed?


MenuItem grayed out after first click

Describe the bug
MenuItem grayed out
To Reproduce
Steps to reproduce the behavior:

Create a new Avalonia Project
Add Avalonia.Controls.DataGrid
xaml example

	<DataGrid.ContextMenu>
		<ContextMenu Name="DaContextMenu">

			<MenuItem Header="(Selected Item)">
				<MenuItem Header="Log" Command="{Binding SomeCommand}" />
			</MenuItem>

		</ContextMenu>
	</DataGrid.ContextMenu>
	<DataGrid.Columns>
		<DataGridTextColumn Header="Header" />
	</DataGrid.Columns>
</DataGrid>

VM Example

public class MainWindowViewModel : ViewModelBase
{
    public MainWindowViewModel()
    {
        SomeCommand = ReactiveCommand.Create(OnSomeCommand);
    }

    private protected void OnSomeCommand()
    {
        var desktop = Application.Current.ApplicationLifetime
            as IClassicDesktopStyleApplicationLifetime;
        var mainWindow = desktop?.MainWindow;
        if (mainWindow == null) throw new NullReferenceException("MainWindows is Null!");

        new SomeView().ShowDialog(mainWindow);
    }

    public ReactiveCommand<Unit, Unit> SomeCommand { get; }
}

SomeView is just a simple View.
MenuItem grayed out after lost Focus or Something!
after click Log the first time > all works as expected but when try to click again the Log MenuItem grayed out and can't click it anymore

Hello @Shadow4walker !
I can't reproduce your issue with DataGrid and ContextMenu, using binding to the same command.
Do you have any project, that can be tested to reproduce this issue?

@maxkatz6 Thanks for your response
project with the issue BugTest

@Shadow4walker without looking into it, id bet that the command throws an exception and doesnt complete...
wrap in a try, catch, finally?
I think ReactiveCommand has an OnException too.

@Shadow4walker without looking into it, id bet that the command throws an exception and doesnt complete...
wrap in a try, catch, finally?
I think ReactiveCommand has an OnException too.

I've tried with Try catch , with no hint on what's going on!

    private protected void OnSomeCommand()
    {
        try
        {
            new SomeView().ShowDialog(new Window());
        }
        catch (Exception e)
        {
            Console.WriteLine(e);
            throw;
        }
        finally
        {
            Console.WriteLine("All Fine!");
        }
    }

you may test with the project i sent above and see by yourself

the issue appear to be related to ReactiveUi, idk why it's worked in a previous release of Avalonia!
however fixed by using this code

    private protected void OnSomeCommand()
    {
        Dispatcher.UIThread.InvokeAsync(() =>
        {
            var desktop = Application.Current.ApplicationLifetime
                as IClassicDesktopStyleApplicationLifetime;
            var mainWindow = desktop?.MainWindow;
            if (mainWindow == null) throw new NullReferenceException("MainWindows is Null!");

            new SomeView().ShowDialog(mainWindow);
        });
    }

due to that one of the features of Reactive Command is that it disables the command while the operation is in progress and the previous code was never return => based on this button bound to a ReactiveAsyncCommand gets disabled after one use


Document the project's release process.

Closing, already done: https://github.com/kubewarden/helm-charts/blob/main/CONTRIBUTING.md


[/viewedit] Different font sizes in popup menu

This is very bad on some themes (tabler), less noticeable on others. (The difference in fonts is because some of those links are really form buttons, because they need POST requests)

fixed in #338


[Bavaria] Provide SQL script to deactivate region

Is your feature request related to a problem? Please describe.
As not all regions will use the new application process, we have to provide a script that deactivates these regions.
Describe the solution you'd like
We will get a list with all not participating regions from StMas. These list will be used once to deactivate these regions from the application process. Provide a sql script that deactivates these regions and execute it once on production database.
blocked by #967

I guess we get a list of names from StMas, so for one region this should be sth like
update regions
set "activatedForApplication" = false
where prefix || ' ' || name = 'Landkreis Altötting';

And in the migration this should be sth like the following
val names = arrayOf("Landkreis Altötting", "Stadt Bayreuth", "...")
val condition = names.joinToString(separator = " or ") { "prefix || ' ' || name =" + it }
exec(
    """
    UPDATE regions
    SET "activatedForApplication" = false
    WHERE $condition
    """.trimIndent()
)

Not sure what this does:
where prefix || ' ' || name = 'Landkreis Altötting';

This will concatenate the prefix and th name with a space in between. But this depends on the format of the list they'll provide. Let's see :)

I told Daniel to use a csv Export of the Region table to ensure names are fitting. I'm gonna provide it

@dkehne the 13 regions where deactivated and can be activated from a region admin here:
https://bayern.ehrenamtskarte.app/region


Support For Material-UI

Was wondering if you plan on supporting Material-UI in the future.

We are adding angular-material in our angular-material-formio right now and would like to do the same for react-formio. Because of the nature of material we have to completely override the rendering functionality of the default renderer. We also are looking into doing materialize instead which is just css instead.

I would love to see any progress on this ! Any suggestion on the best way to help ?

Right now this is on our backlog and not planned on being started anytime soon. In order to make this happen one of three things needs to occur:

Enough things get done from our backlog to make this the next highest priority. This is unlikely to happen anytime soon.
A customer funds the development of this feature.
A community member contributes this feature. If a community member wants to develop this, we would be more than happy to help them get started and answer questions along the way.

Thanks for the answer !
Number 3 looks a good option as i don't think i can have funds for that but i can buy time for sure.
I've started look at the angular module and i'm sure i will have questions about the best way to start.

Hi, was there anything further on this? We are also keen to have material-ui styling for formio in a react app.
If there isn't a material-ui template yet for react, would anyone have an idea for a work around?
Couple of things I've looked into as work arounds for applying the Material UI to rendered formio forms are below but neither worked:

Overriding the form template per component (https://github.com/formio/formio/issues/788) and passing in html for a material-ui component. This works for rendering the element but because the template override requires an html string, I can't see a way to apply any dynamic styling eg modifying the css for onBlur.  Equally, component events such form.on('blur') (https://github.com/formio/formio.js/wiki/Form-Renderer#events) cannot be accessed I assume because the components formio html is now overwritten with my static Material UI html 😞.

I've seen in the documentation the concept of creating a custom component (https://github.com/formio/formio.js/wiki/Custom-Components-API) and thought perhaps the Material UI styling could be applied in that way. Has anyone written a custom component using Material UI styling? If this does work it is not an ideal solution considering we would have to write a lot of custom components, extending each of the components that formio currently provides.

Is there any updates regarding this?

Still no movement on this item. Our development team are currently tied up with other things so this continues to be pretty far down on our development board. I would say that either the community will need to provide a solution, or someone will need to sponsor the development of it if the Form.io development team will take this on in a short timeframe.

any new regarding form.io compatibility with Material UI??

Honestly it's been easier for me to just pull in formiojs package and use their saveSubmission() method to submit my form with the appropriate names for each field corresponding to the form schema defined in the formio form. I know this isn't really optimal for large forms but these guys don't seem too serious about advancing this beyond "pay us".
  const [status, setStatus] = useState();

  const onSubmit = ({ name, email, message }) => {
    setStatus({ type: "pending" });
    formio.saveSubmission({
      data: {
        name: name,
        email: email,
        message: message
      }
    }).then((r) => {
      console.log(r)
      setStatus({
        type: "success",
        message: "Thank you! We appreciate your interest."
      });
    }).catch(err => {
      if (err) {
        console.log(err)
        setStatus({
          type: "error",
          message: "There was an issue submitting the contact form. Please try again later."
        });
      }
    });
  };

Still any update or information of material UI with React integration of form builder.

After careful consideration, we are not moving forward with building out Material-UI for @formio/react, but have had people use the Materia Bootswatch Theme for Bootstrap https://bootswatch.com/materia/ instead. Closing this thread. We would welcome an open source contribution for this work if anyone is interested. Thank you everyone for the conversation!

i want to use formio in my project but formio uses the bootstrap for cascading the inputs in my project i m using material ui i dont  want to use bootstrap in my project now how can i fix this problem guide me


Export Result Set to File button has inconsistent behaviour.

I have searched past issues and have not found anything that appears to be a solution to this problem, however I would be happy to learn that I have simply been making a mistake!  Issue #6210 has some similarity but has enough differences that I think this warrants a new entry.
System information:
I am running DBeaver on a remote desktop using "Windows Server 2012 R2".
I believe the desktop is running on a linux server that I cannot directly access, but my best guess
is running Red Hat Enterprise Linux Server release 7.3 (Maipo).
DBeaver version is Version <IP_ADDRESS>003211804  - released March 23 2020
Connection specification:
The database is MYSQL, not using SSH or proxy.
In any event getting a connection and retrieving data appears to be OK.
Describe the problem you're observing:
Running SQL appears normal.
The first 200 rows of data appear quickly and normally.
Additional rows of data can easily be seen by scrolling.
Here is the problem:  The "Export Result Set to File" button is almost always not active.  It appears greyed out, and produces no action.  This is a button at the bottom of the data preview panel that appears when some SQL is run in the editor.
I say almost, because the behaviour is not consistent.  Or at least I have not been able to identify any pattern, or mode of use on my part that makes a difference.
Other buttons to the left of the Export button are also often inactive.
Sometimes simply scrolling the preview up and down will cause the Export button to light up.  Other times not.  Sometimes hitting the Calculate Total Row count will cause some of the inactve buttons to light up, but not always.
Today, the problem appeared, and I was unable to cause the Export button to work, until after waiting 20 minutes, when hitting the Calculate Total Row count button (again) caused the Fetch All Rows button to light up, as well as the "Move to" buttons.  Hitting one of the "Move to" buttons finally caused the Export button to light up, and it started behaving normally.  Exporting data worked fine.
The error log shows two entries from today - both logged an hour and a half ago.  See text at bottom for the most recent.
Oddly, when the Error Log tab appeared, various buttons greyed out, and hitting one of the "Move to" buttons brought them back again, along with the Export button.
Since this is an intermittent problem, I ran the same SQL again three times with no issues.
On the fourth trial I switched to slightly different SQL, which has previously worked, this time the Export button is greyed out again. The "Move to" buttons are lit up, as well as the Fetch all and Fetch next buttons.
HItting the "Fetch All" button enabled preview of all the 50K rows of data I need, but still the Export button is greyed out.
Killing the preview tab and the error log tab, I re-ran the same SQL, and again the Export button is greyed out and inoperative along with the "Move to" and "Fetch" buttons.
The Error Log still shows the same two errors from earlier today, apparently not related to this issue.
Hitting a Move to button brought back the Export button this time.  I understand the logic of the "Move to" buttons, when you are looking at the top row, you can't move up, and when looking at the bottom row, you can't move down, but this appears unrelated to the Export button, and "Fetch" buttons.
All the SQL I have been testing with has been used previously, and always produces the preview rows with no issue.
If this is simply operator error, I would love to find out!  If this is a bug you have not seen before, feel free to contact me and I will be happy to work with you on it.
Thanks;

JC

Error log entry:
eclipse.buildId=unknown
java.version=11.0.5
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64
org.eclipse.ui
Error
Tue Apr 28 12:08:54 EDT 2020
Unhandled event loop exception
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4720)
at org.eclipse.swt.SWT.error(SWT.java:4635)
at org.eclipse.swt.SWT.error(SWT.java:4606)
at org.eclipse.swt.widgets.Widget.error(Widget.java:452)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:351)
at org.eclipse.swt.widgets.Table.setRedraw(Table.java:4712)
at org.jkiss.dbeaver.ui.UIUtils.packColumns(UIUtils.java:198)
at org.jkiss.dbeaver.ui.controls.resultset.valuefilter.FilterValueEditPopup.lambda$5(FilterValueEditPopup.java:182)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3963)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3590)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:660)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.jkiss.dbeaver.core.application.DBeaverApplication.start(DBeaverApplication.java:233)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

hi @J-Z-C , i'm very sorry for so late response.
Unfortunately, cannot reproduce an issue.
could you check if Expord data button  is available in context menu? is issue still reproducible against 7.0.5?

Let's call the issue closed.
I don't have control of which version is installed, so can't check 7.0.5.
Also, while the button at the bottom of the screen still does not work consistently, the context menu (right click with the cursor in the results table) does always produce a working Export function.
Thanks;

JZC

�
On Fri, 22 May 2020 07:52:01 -0700, uslss<EMAIL_ADDRESS>wrote:
�
�
hi @J-Z-C , i'm very sorry for so late response.
Unfortunately, cannot reproduce an issue.
could you check if Expord data button is available in context menu? is issue still reproducible against 7.0.5?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

This is still happening. I am seeing the same problem.

Same.
Unhandled event loop exception
java.lang.StackOverflowError

same here. reran the query. I have the latest version

Still happening; I was able to export using the context menu though more errors occurred during that process and it recommended to close the program. I continued with the export and it worked. Here is the log from the session:
dbeaver-export-result-set-button-greyed-out.log

I also face same problem, but solved with this methods


Support independent corner radius in rect mark

cornerRadiusTopLeft
Support cornerRadiusTopLeft, cornerRadiusTopRight, etc. See usage in https://altair-viz.github.io/gallery/bar_rounded.html

Actually, there's more going on here. This corner radius is applied to the group that contains the stacked bars. So this is a actually a clipping affect.


Refactor Router Gateways/Schedule

[ ] Should be able to clean up when gtw disconnects
[ ] Schedule should not be responsible for handling multiple subscribers
[ ] Schedule should respect RTT
[ ] Schedule should use less goroutines

Won't do this for v2


add CLI progress indicators for deploy command

added in tag 6.6.18 to UI, need to git into CLI deploy command, too

@crstauf do you want to have a go at this for one of the deploy methods? (besides zip or netlify, as those don't really progress, just 1 zip file is built)
you'll see in the UI that it's just using a "files remaining to download". My brain's a bit fried from looking at the deployer codes, but you may have clearer mind. There's some more complexity in GitLab and I think Bitbucket, due to them doing a multi-stage process to batch deploys.
I'm happy with that for this release, but in future, we can add a new DB table DeployLog similar to CrawlLog, in order to track original total of deployable files to use a % indicator, along with tracking which ones are DeployCache hits, which is similar to what https://github.com/WP2Static/wp2static is going.
No pressure/obligation, I can pick this up later

@leonstafford Sure, I can take a look tonight and see if I can wrap my brain around them enough to implement progress bar.

@leonstafford I got started with the PR (with BitBucket), but (and I can't believe I didn't realize this earlier) I won't be able to actually perform the deployments to test, because I don't have accounts with all the deployment methods, so I'll need your assistance to actually run the command.

@crstauf haha, no worries - it can be a pain to set them all up, I'm afraid to blow away my main local dev instance for that reason!
Just gave BitBucket a shot - it jumped from 20% (bootstrapping) to 100% and then hung there until complete. BitBucket and I think GitLab will always be a bit jumpy, as can mark the files complete only when the batch is successful, so good to test with small batch sizes to confirm behaviour is as expected.

@leonstafford I've not yet implemented progress for the batches, so hopefully that'll be completed soon. I definitely expected it to stall for awhile, but shouldn't have been on 100%. I'll work on that.

@leonstafford FYI I'm not going to get back to this unfortunately.


AND-165 changed the status bar text color so it is in contrast with t…

…he background

@vandac Screenshot didn't upload


Idea: add insert mode keymap

Coming from vim (using the mattn/emmet-vim plugin), I'm used to go to insert mode and type something like div<C-n> to create a div.
However, this plugin requires exit insert mode first and then type div<leader>xe, which is not a big deal but sometimes I just like to add new lines between two blocks of code and then add an HTML tag.
By the way, I'm loving that this plugin automatically wraps the current line or selection!

Hey @giovannibenussi! Sorry for such late reply, I've been dabbling between editors and very busy with work in general.
I think it sounds like a good feature to add 🤔 . I'll try to implement that between this or the next week.

Hey! sorry for being silent, I'm no longer using neovim (for now at least) as my code editor so I will not be able to work on this. I'm willing to accept PRs though!
Good luck 🤘🏽


Add GitHub Actions

This can be merged once the design branch is merged.

Oops.  There are extra files in this PR. Closing.


Request XP reduction option

Because the game makes the player do mythic leveling after regular, respec breaks builds that require regular levelup picks unlocked by mythic picks.
Simplest fix is to enable removing XP so I can respec, take level one, stop the leveling, drop XP down, take mythic ranks, and then restore the XP and level normally with my new mythic-enabled options.

You can cancel level-ups anytime after the initial level/character creation (either 'esc' or the 'back' button in the upper left corner).


Results won't filter with typeahead-editable set to false.

Bug description
Have an input, trying to filter the results and restrict the values. Filtering works fine, restricting values works fine, but when I try to combine these, the filtering stops working. No console errors.
Link to minimally-working plunker that reproduces the issue
Can provide if necessary, but otherwise don't really have the time, as I've already spent too much trying to debug this.
Version of Angular, UIBS, and Bootstrap
Angular: ~1.5.0
UIBS: ^1.3.2
Bootstrap: N/A
Relevant Code
The HTML (Jade / Pug) of my element is as follows,
input.pull-left(type="search",
        placeholder="Filter projects by researcher..."
        ng-model="$fltr.filterValue",
        uib-typeahead="key as key.name for key in users | filter: $fltr.filterValue | limitTo: 8",
        typeahead-editable="false",
        ng-disabled="!$fltr.filterKey",
        ng-show="$fltr.filterKey === 'researcher'")

Changing $fltr.filterValue to $viewValue re-enables filtering, but disables the typeahead-editable option.

This is not helpful, as the details given are not sufficient without wasting exorbitant time - please post a reproduction.

Closing due to lack of response.


Options are overwritten on restart

When restarting a toil workflow the all options are overwritten with what the user specifies + defaults. It would be preferable if only the options that the user specifies be overwritten

I would derive the option defaults from the config object:
parser.add_argument( '--foo', default=config['foo'] )

That way a user can run toilResume --help and the printed defaults would be correct. In the non-resume case the config object would be initialized with the defaults, otherwise it would be read from the job store.
Whatever you end up doing, the default values should be mentioned exactly once in the code.

I agree, this would be a great way to do it. I revised it so now there is this option "useExistingOptions", but your suggestion is much better and would avoid this.


warnings

Just a minor issue, but I had to disable "-Werror" to make your code compile.
In file included from /FuzzGen/src/layout.cpp:40:
/FuzzGen/src/layout.h:232:34: warning: private field 'module' is not used [-Wunused-private-field]
    const Module                &module;            // LLVM module
                                 ^
1 warning generated.
[ 64%] Building CXX object CMakeFiles/fuzzgen.dir/src/coalesce.cpp.o
In file included from /FuzzGen/src/coalesce.cpp:40:
/FuzzGen/src/coalesce.h:85:14: warning: private field 'ctx' is not used [-Wunused-private-field]
    Context *ctx;                                   // execution context
             ^
1 warning generated.
[ 70%] Building CXX object CMakeFiles/fuzzgen.dir/src/dependence.cpp.o
In file included from /FuzzGen/src/dependence.cpp:47:
/FuzzGen/src/dependence.h:157:41: warning: private field 'ctx' is not used [-Wunused-private-field]
    Context                            *ctx;        // execution context
                                        ^
1 warning generated.

Thanks, updated the CMakeLists.txt accordingly.


Close replay log file after replay is finished, then exit

Describe problem solved by the proposed pull request
When finishing log replay, close the log file and exit process. The main problem is that right now we do not have a method implemented for px4_request_shutdown() when we are in SITL, as discussed briefly here: http://discuss.px4.io/t/bug-calibration-gazebo-sitl/9138/18

@roangel could you check the review comments so we can get this in?

I tried to do the implementation of board_shutdown method in its respective place (or at least what I think it is the place), but it is not working. Anyone has some input? Where should I put the implementation of the sitl shutdown method?

It looks right, does board_shutdown get called? What's the output you get?

Right now the compiler throws an error:

And when I solve it by adding the needed defines to boards/px4/sitl/src/board_config.h, I stumble upon this:

Any ideas?

This works:
diff --git a/boards/px4/sitl/src/sitl_board_shutdown.c b/boards/px4/sitl/src/sitl_board_shutdown.c
index 11a9850ff1..9ca9326a53 100644
--- a/boards/px4/sitl/src/sitl_board_shutdown.c
+++ b/boards/px4/sitl/src/sitl_board_shutdown.c
@@ -38,14 +38,15 @@
  */

 #include <px4_tasks.h>
-#include <drivers/boards/common/board_common.h>
+#include <board_config.h>

-__BEGIN_DECLS
-extern int board_shutdown(void) noreturn_function;
-static inline int board_register_power_state_notification_cb(power_button_state_notification_t cb) { return 0; }
-__END_DECLS
+int board_register_power_state_notification_cb(power_button_state_notification_t cb)
+{
+	return 0;
+}

-__EXPORT int board_shutdown()
+int board_shutdown()
 {
 	px4_systemreset(false);
+	return 0;
 }

We're getting closer. The build fails on MacOS and Windows for the CollisionPreventionTest build because of a missing dependency.
This might solve it:
diff --git a/boards/px4/sitl/src/CMakeLists.txt b/boards/px4/sitl/src/CMakeLists.txt
index fa201136ae..063e4f71f3 100644
--- a/boards/px4/sitl/src/CMakeLists.txt
+++ b/boards/px4/sitl/src/CMakeLists.txt
@@ -36,3 +36,6 @@ add_library(drivers_board
 	sitl_led.c
 	sitl_board_shutdown.c
 )
+
+add_dependencies(drivers_board prebuild_targets)
+
diff --git a/src/modules/simulator/ledsim/CMakeLists.txt b/src/modules/simulator/ledsim/CMakeLists.txt
index c8f9cbc012..5358958c98 100644
--- a/src/modules/simulator/ledsim/CMakeLists.txt
+++ b/src/modules/simulator/ledsim/CMakeLists.txt
@@ -32,4 +32,5 @@
 ############################################################################

 px4_add_library(drivers__ledsim led.cpp)
-target_link_libraries(drivers__ledsim PRIVATE drivers__led drivers_board)
+target_link_libraries(drivers__ledsim PRIVATE drivers__led)
+

I think I have it now:
diff --git a/boards/px4/sitl/src/CMakeLists.txt b/boards/px4/sitl/src/CMakeLists.txt
index 0c925b02c7..d3156ed0dc 100644
--- a/boards/px4/sitl/src/CMakeLists.txt
+++ b/boards/px4/sitl/src/CMakeLists.txt
@@ -37,4 +37,3 @@ add_library(drivers_board
 	sitl_board_shutdown.c
 )

-add_dependencies(drivers_board prebuild_targets)
diff --git a/platforms/posix/src/px4_layer/CMakeLists.txt b/platforms/posix/src/px4_layer/CMakeLists.txt
index ffa0638461..a7024ce972 100644
--- a/platforms/posix/src/px4_layer/CMakeLists.txt
+++ b/platforms/posix/src/px4_layer/CMakeLists.txt
@@ -56,7 +56,7 @@ add_library(px4_layer
 target_compile_definitions(px4_layer PRIVATE MODULE_NAME="px4")
 target_compile_options(px4_layer PRIVATE -Wno-cast-align) # TODO: fix and enable
 target_link_libraries(px4_layer PRIVATE work_queue px4_work_queue)
-target_link_libraries(px4_layer PRIVATE px4_daemon)
+target_link_libraries(px4_layer PRIVATE px4_daemon drivers_board)

 if(ENABLE_LOCKSTEP_SCHEDULER)
 	target_link_libraries(px4_layer PRIVATE lockstep_scheduler)

With this make tests works for me.


initFlow doesn't work in android release build

We are building the app with npx expo build:android --variant release.
login.yml
appId: com.test.android
---
- launchApp:
    clearState: true
- tapOn: "e-mail address"
- inputText<EMAIL_ADDRESS>- tapOn: "Submit"
- assertVisible: "Logged in"

feature.yml
appId: com.test.android
initFlow: login.yaml
---
- launchApp
- ...

Error message at the end of running initFlow:
java.io.IOException: Shell command failed (run-as com.test.android find -type d):
run-as: package not debuggable: com.test.android

        at maestro.android.AndroidAppFiles.shell(AndroidAppFiles.kt:66)
        at maestro.android.AndroidAppFiles.listRemoteFiles(AndroidAppFiles.kt:57)
        at maestro.android.AndroidAppFiles.pull(AndroidAppFiles.kt:19)
        at maestro.drivers.AndroidDriver.pullAppState(AndroidDriver.kt:160)
        at maestro.Maestro.pullAppState(Maestro.kt:81)
        at maestro.orchestra.Orchestra.runInitFlow(Orchestra.kt:93)
        at maestro.cli.runner.MaestroCommandRunner.runCommands(MaestroCommandRunner.kt:91)
        at maestro.cli.runner.TestRunner$runSingle$result$1.invoke(TestRunner.kt:32)
        at maestro.cli.runner.TestRunner$runSingle$result$1.invoke(TestRunner.kt:29)
        at maestro.cli.runner.TestRunner.runCatching(TestRunner.kt:116)
        at maestro.cli.runner.TestRunner.runSingle(TestRunner.kt:29)
        at maestro.cli.command.TestCommand.call(TestCommand.kt:60)
        at maestro.cli.command.TestCommand.call(TestCommand.kt:30)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
        at picocli.CommandLine.access$1200(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
        at picocli.CommandLine.execute(CommandLine.java:2058)
        at maestro.cli.AppKt.main(App.kt:88)

We are using expo-dev-client, so testing debug build is not the thing we want to do. Running the same test on debug build, results in main flow not being started.

Watching this as it's also causing issues when testing my release variants using the initFlow command

@pafry7 @simon-gilmurray We just release the runFlow command which is likely what you want instead. runFlow runs the commands in another Flow file and works with debuggable + release builds: https://maestro.mobile.dev/reference/nested-flows
Please let us know if this works for you!


Keep consistent error dialog between services when using an exist name to clone one service

Storage Explorer Version: 1.12.0
Build: 20200109.2
Branch: rel/1.12.0
Platform/OS: Windows 10/ Linux Ubuntu 18.04/ MacOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Expand one storage account -> File Shares.
Create two file shares -> Select one file share and right click it -> Click 'Clone with New Name...'.
Specify the new name using an exist file share name -> Check the error dialog.
Expand one storage account -> Blob Containers.
Create two blob containers -> Select one blob container and right click it -> Click 'Clone with New Name...'.
Specify the new name using an exist blob container name -> Check the error dialog.

Expect Experience:
The content format between the two dialog is consistent.
Actual Experience:
The content format between the two dialog is inconsistent.

Verified on build 20200210.4. This issue has been fixed. So we close it.