no such package '@local_config_cuda//cuda'

Please go to Stack Overflow for help and support:
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):

No

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Linux — Ubuntu Server 16.04 LTS
Linux PowerEdge-R810 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

TensorFlow installed from (source or binary):

Source

TensorFlow version (use command below):

master, r1.3, r1.2.1

Python version:

2.7

Bazel version (if compiling from source):

Build label: 0.5.3
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jul 28 08:34:59 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

CUDA/cuDNN version:

CUDA 8, cuDNN 6

GPU model and memory:

GTX 1080, 8gb

Exact command to reproduce:

./configure;bazel build -c opt —config=cuda //tensorflow/tools/pip_package:build_pip_package
-Premade script:
alex@PowerEdge-R810:~$ sh tf_env_collect.sh
Collecting system information...
tf_env_collect.sh: 39: [: Linux: unexpected operator
tf_env_collect.sh: 41: [: Linux: unexpected operator
Traceback (most recent call last):
  File "/tmp/check_tf.py", line 1, in <module>
    import tensorflow as tf;
ImportError: No module named tensorflow
Wrote environment to tf_env.txt. You can review the contents of that file.
and use it to populate the fields in the github issue template.

cat tf_env.txt

alex@PowerEdge-R810:~$ cat tf_env.txt

== cat /etc/issue ===============================================
Linux PowerEdge-R810 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

== are we in docker =============================================
No

== compiler =====================================================
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 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.

== uname -a =====================================================
Linux PowerEdge-R810 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

== check pips ===================================================
numpy (1.11.0)

== check for virtualenv =========================================
False

== tensorflow import ============================================
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named tensorflow

== env ==========================================================
LD_LIBRARY_PATH /usr/local/cuda-8.0/lib64
DYLD_LIBRARY_PATH is unset

== nvidia-smi ===================================================
Fri Jul 28 18:12:37 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.59                 Driver Version: 384.59                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 00000000:0E:00.0 Off |                  N/A |
| 37%   32C    P0    32W / 180W |      0MiB /  8105MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

== cuda libs  ===================================================
/usr/local/cuda-8.0/lib64/libcudart_static.a
/usr/local/cuda-8.0/lib64/libcudart.so.8.0.61
/usr/local/cuda-8.0/doc/man/man7/libcudart.7
/usr/local/cuda-8.0/doc/man/man7/libcudart.so.7

Describe the problem
I am trying to compile tensorflow from source. When I run the above command, the bazel build fails. This is the configuration I used as well as the error. It seems like some other people had this issue but the threads were for much older versions and none of the solutions fixed it:
Please specify the location of python. [Default is /usr/bin/python]:
Found possible Python library paths:
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
Please input the desired Python library path to use.  Default is /usr/local/lib/python2.7/dist-packages
Do you wish to build TensorFlow with jemalloc as malloc support? [Y/n]:
jemalloc as malloc support will be enabled for TensorFlow.

Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]: y
Google Cloud Platform support will be enabled for TensorFlow.

Do you wish to build TensorFlow with Hadoop File System support? [y/N]:
No Hadoop File System support will be enabled for TensorFlow.

Do you wish to build TensorFlow with XLA JIT support? [y/N]:
No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with VERBS support? [y/N]:
No VERBS support will be enabled for TensorFlow.

Do you wish to build TensorFlow with OpenCL support? [y/N]: y
OpenCL support will be enabled for TensorFlow.

Please specify which C++ compiler should be used as the host C++ compiler. [Default is /usr/bin/g++]:
Please specify which C compiler should be used as the host C compiler. [Default is /usr/bin/gcc]:
Please specify the location where ComputeCpp for SYCL 1.2 is installed. [Default is /usr/local/computecpp]:
Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.

Please specify the CUDA SDK version you want to use, e.g. 7.0. [Leave empty to default to CUDA 8.0]:
Please specify the location where CUDA 8.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
"Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 6.0]:
Please specify the location where cuDNN 6 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Please specify a list of comma-separated Cuda compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1]
Do you want to use clang as CUDA compiler? [y/N]:
nvcc will be used as CUDA compiler.

Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:
Do you wish to build TensorFlow with MPI support? [y/N]:
No MPI support will be enabled for TensorFlow.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
Add "--config=mkl" to your bazel command to build with MKL support.
Please note that MKL on MacOS or windows is still not supported.
If you would like to use a local MKL instead of downloading, please set the environment variable "TF_MKL_ROOT" every time before build.
Configuration finished
...............
ERROR: Skipping '//tensorflow/tools/pip_package:build_pip_package': error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 1039
		_create_local_cuda_repository(repository_ctx)
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 976, in _create_local_cuda_repository
		_host_compiler_includes(repository_ctx, cc)
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 145, in _host_compiler_includes
		get_cxx_inc_directories(repository_ctx, cc)
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 120, in get_cxx_inc_directories
		set(includes_cpp)
depsets cannot contain mutable items
WARNING: Target pattern parsing failed.
ERROR: error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 1039
		_create_local_cuda_repository(repository_ctx)
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 976, in _create_local_cuda_repository
		_host_compiler_includes(repository_ctx, cc)
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 145, in _host_compiler_includes
		get_cxx_inc_directories(repository_ctx, cc)
	File "/home/alex/tensorflow/third_party/gpus/cuda_configure.bzl", line 120, in get_cxx_inc_directories
		set(includes_cpp)
depsets cannot contain mutable items
INFO: Elapsed time: 13.663s
FAILED: Build did NOT complete successfully (0 packages loaded)
    currently loading: tensorflow/tools/pip_package

@jrvb Can you take a look? This is similar to #9435, but the error message is a bit different.

I have been having this same problem for the last day. I have installed the latest version of bazel (0.5.3). I previously got a build working, but then uninstalled it. When I went back to reinstall, I encountered this error. Two days ago I also was able to get this working on docker, but now it also does not work in docker.
#Environment Data
== cat /etc/issue ===============================================
Linux learningOne 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
VERSION="16.04.2 LTS (Xenial Xerus)"
VERSION_ID="16.04"
VERSION_CODENAME=xenial

== are we in docker =============================================
No

== compiler =====================================================
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 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.

== uname -a =====================================================
Linux learningOne 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

== check pips ===================================================
numpy (1.11.0)
protobuf (3.3.0)
tensorflow-tensorboard (1.3.1)

== check for virtualenv =========================================
False

== tensorflow import ============================================
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
ImportError: No module named pywrap_tensorflow_internal

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

== env ==========================================================
LD_LIBRARY_PATH /home/david/torch/install/lib:/home/david/torch/install/lib::/usr/local/cuda/lib64
DYLD_LIBRARY_PATH /home/david/torch/install/lib:/home/david/torch/install/lib:

== nvidia-smi ===================================================
Fri Jul 28 16:46:56 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 381.22                 Driver Version: 381.22                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 0000:01:00.0      On |                  N/A |
| 23%   39C    P8    19W / 250W |    886MiB / 11172MiB |     14%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1077    G   /usr/lib/xorg/Xorg                             485MiB |
|    0      2144    G   compiz                                         239MiB |
|    0      2445    G   /proc/self/exe                                 114MiB |
|    0      9261    G   ...s-passed-by-fd --v8-snapshot-passed-by-fd    44MiB |
+-----------------------------------------------------------------------------+

== cuda libs  ===================================================
/usr/local/cuda-8.0/lib64/libcudart_static.a
/usr/local/cuda-8.0/lib64/libcudart.so.8.0.61
/usr/local/cuda-8.0/doc/man/man7/libcudart.so.7
/usr/local/cuda-8.0/doc/man/man7/libcudart.7

#Bazel Build Version

Build label: 0.5.3
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jul 28 08:34:59 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

#Error Message
david@learningOne:~/realtf$ bazel build --config=opt --config=cuda --explain=result.txt --verbose_failures //tensorflow/tools/pip_package:build_pip_package

ERROR: Skipping '//tensorflow/tools/pip_package:build_pip_package': error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 1039
		_create_local_cuda_repository(repository_ctx)
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 976, in _create_local_cuda_repository
		_host_compiler_includes(repository_ctx, cc)
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 145, in _host_compiler_includes
		get_cxx_inc_directories(repository_ctx, cc)
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 120, in get_cxx_inc_directories
		set(includes_cpp)
depsets cannot contain mutable items
WARNING: Target pattern parsing failed.
ERROR: error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 1039
		_create_local_cuda_repository(repository_ctx)
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 976, in _create_local_cuda_repository
		_host_compiler_includes(repository_ctx, cc)
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 145, in _host_compiler_includes
		get_cxx_inc_directories(repository_ctx, cc)
	File "/home/david/realtf/third_party/gpus/cuda_configure.bzl", line 120, in get_cxx_inc_directories
		set(includes_cpp)
depsets cannot contain mutable items
INFO: Elapsed time: 0.561s
FAILED: Build did NOT complete successfully (0 packages loaded)
    currently loading: tensorflow/tools/pip_package

I have the setup and problem as @Helique.

Rolling bazel back to 0.5.2 seems to fix the problem

@wentaol How do you rollback to 5.2?

sudo apt-get purge bazel
followed by installation from 0.5.2 binaries
https://docs.bazel.build/versions/master/install-ubuntu.html

@wentaol Thank you, i have downgraded to 0.5.2 and bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_packageseems to be running.

Same problem and thanks @wentaol . Btw it is weird that bazel doesn't provide old versions in apt-cache once upgraded and rollback has to be done via binary installer.

Yep bazel 0.5.2 fixed the problem for me as well, very strange

I met the same problem. Rolling back to bazel 0.5.2 does not help >_<

I had the "depsets cannot contain mutable items" error, rolling back from bazel 0.5.3 to 0.5.2 fixed it.

Regards, Adam.

Hi guys, this issue had been fixed. We do not need to roll back bazel now! :)

Closing since this issue is fixed.

this problem still exist in bazel 5.3 and 5.4. If you build for the 1.2.1 branch. Going back to 5.2 fixed the problem.

My machine updated Bazel to 0.6.0 today and now I have the problem. Reverting to 0.5.4 fixed the issue.
/CC @gunan can you comment on why updating Bazel seems to temporarily break TensorFlow and what is done to fix the issue when it breaks?

I have no context on the issue. Could you provide full repro instructions?
You may want to use a clean docker container to reproduce the problem, then I can work on that to see what is going on.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 14.04
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): Master, commit 4270c4a00bb90d97418df5b0e9b6b3e148a72a1e
Python version: 2.7
Bazel version (if compiling from source): 0.6.0
CUDA/cuDNN version: Cuda 8, cuDNN 6
GPU model and memory: GTX 1080 8 GB
Exact command to reproduce:

bazel build -c opt —config=cuda //tensorflow/tools/pip_package:build_pip_package

Describe the problem
When I run the above command with Bazel 0.6.0 after running ./configure with GPU support, I get the error
ERROR: Skipping '//tensorflow/tools/pip_package:build_pip_package': error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 1042
		_create_local_cuda_repository(repository_ctx)
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 975, in _create_local_cuda_repository
		_host_compiler_includes(repository_ctx, cc)
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 145, in _host_compiler_includes
		get_cxx_inc_directories(repository_ctx, cc)
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 120, in get_cxx_inc_directories
		set(includes_cpp)
The `set` constructor for depsets is deprecated and will be removed. Please use the `depset` constructor instead. You can temporarily enable the deprecated `set` constructor by passing the flag --incompatible_disallow_set_constructor=false
WARNING: Target pattern parsing failed.
ERROR: error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 1042
		_create_local_cuda_repository(repository_ctx)
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 975, in _create_local_cuda_repository
		_host_compiler_includes(repository_ctx, cc)
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 145, in _host_compiler_includes
		get_cxx_inc_directories(repository_ctx, cc)
	File "/usr/local/google/home/reedwm/tensorflows/tensorflow2/third_party/gpus/cuda_configure.bzl", line 120, in get_cxx_inc_directories
		set(includes_cpp)
The `set` constructor for depsets is deprecated and will be removed. Please use the `depset` constructor instead. You can temporarily enable the deprecated `set` constructor by passing the flag --incompatible_disallow_set_constructor=false

The issue does not occur with Bazel 0.5.4

@vladmos Any ideas?

It's a planned incompatible change in Bazel. set is deprecated and was removed by default from Bazel starting with 0.6. You can use the flag from the error message to temporarily use set in .bzl files, but the flag will be removed at some point too (probably at Bazel 0.8), so it's recommended to fix the .bzl files.

The initial issue has nothing to do with that, the set deprecation starts with Bazel 0.6 which was released today.
We have Tensorflow on our CI and we tried to clean up everything before the release but it looks like we don't run some targets that reproduce the issue. //cc @damienmg

We do not run all the config of TensorFlow, that's why we do ask for a full run of TF CI with Bazel RC. Seems like even that have missed them

I solved the issue by editing line 120 in tensorflow/third_party/gpus/cuda_configure.bzl
I changed set to depset as recommended in error output.

@vladmos sent a Pr to fix this in master. Closing this issue.
Please let us know if you still see issues in master.
For the release branch, using bazel versions older than 0.6.0 is recommended.

I was just having the same and just wanted to comment and confirm that updating to master immediately fixed it with no other changes needed :+1:

I am facing this issue with bazel 0.11.1 on r1.7
tf-latest.img:~/tensorflow> bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" ............ ERROR: Skipping '//tensorflow/tools/pip_package:build_pip_package': error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last): 	File "/root/tensorflow/third_party/gpus/cuda_configure.bzl", line 1142 		_create_local_cuda_repository(repository_ctx) 	File "/root/tensorflow/third_party/gpus/cuda_configure.bzl", line 1001, in _create_local_cuda_repository 		_find_nvvm_libdevice_dir(repository_ctx, cuda_config) 	File "/root/tensorflow/third_party/gpus/cuda_configure.bzl", line 724, in _find_nvvm_libdevice_dir 		auto_configure_fail(("Cannot find libdevice.10.bc un...)) 	File "/root/tensorflow/third_party/gpus/cuda_configure.bzl", line 210, in auto_configure_fail 		fail(("\n%sCuda Configuration Error:%...)))

@jerrin92 can you file a new issue? I think you are encountering a different error since you have the error message "Cuda Configuration Error".

@jerrin92 @gunan Any idea about this error?

https://github.com/tensorflow/tensorflow/issues/22400

Rolling bazel back to 0.5.2 seems to fix the problem
sure? 0.5.2 has released

Hi guys, I just found that this issue had been fixed. We do not need to roll back bazel now! :)

please send solution

fixed it creating new environment variable : 'BAZEL_SH' value: 'C:\msys64\usr\bin\bash.exe'

Done
On Thu 21 Mar, 2019, 3:30 AM LenaGer<EMAIL_ADDRESS>wrote:

fixed it creating new environment variable : 'BAZEL_SH' value:
'C:\msys64\usr\bin\bash.exe'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/11859#issuecomment-475044408,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkNdC0cKNdlsjShcSCmUmZUjRYHgO7dOks5vYq-LgaJpZM4OnI4I
.

gunan I have faced with the same error during the building tensorflow v2.3.0 ...
ERROR: Skipping '//tensorflow/tools/pip_package:build_pip_package': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 1369
        _create_local_cuda_repository(<1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 955, in _create_local_cuda_repository
        _get_cuda_config(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 657, in _get_cuda_config
        find_cuda_config(repository_ctx, <2 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 635, in find_cuda_config
        _exec_find_cuda_config(<3 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 629, in _exec_find_cuda_config
        execute(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/remote_config/common.bzl", line 208, in execute
        fail(<1 more arguments>)
Repository command failed
script.py:124: DeprecationWarning: invalid escape sequence \d
  match = re.match("#define %s +(\d+)" % name, line)
script.py:260: DeprecationWarning: invalid escape sequence \d
  pattern = "Cuda compilation tools, release \d+\.\d+, V(\d+\.\d+\.\d+)"
script.py:553: DeprecationWarning: invalid escape sequence \w
  match = re.match("^(/[^/ ]*)+/lib/\w+-linux-gnu/?$", os.environ[env_name])
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda-10.2/include/cuda.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda/include/cublas_api.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn_version.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
WARNING: Target pattern parsing failed.
ERROR: no such package '@local_config_cuda//cuda': Traceback (most recent call last):
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 1369
        _create_local_cuda_repository(<1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 955, in _create_local_cuda_repository
        _get_cuda_config(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 657, in _get_cuda_config
        find_cuda_config(repository_ctx, <2 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 635, in find_cuda_config
        _exec_find_cuda_config(<3 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 629, in _exec_find_cuda_config
        execute(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/remote_config/common.bzl", line 208, in execute
        fail(<1 more arguments>)
Repository command failed
script.py:124: DeprecationWarning: invalid escape sequence \d
  match = re.match("#define %s +(\d+)" % name, line)
script.py:260: DeprecationWarning: invalid escape sequence \d
  pattern = "Cuda compilation tools, release \d+\.\d+, V(\d+\.\d+\.\d+)"
script.py:553: DeprecationWarning: invalid escape sequence \w
  match = re.match("^(/[^/ ]*)+/lib/\w+-linux-gnu/?$", os.environ[env_name])
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda-10.2/include/cuda.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda/include/cublas_api.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn_version.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
INFO: Elapsed time: 8.508s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
    currently loading: tensorflow/tools/pip_package

gunan I have faced with the same error during the building tensorflow v2.3.0 ...
ERROR: Skipping '//tensorflow/tools/pip_package:build_pip_package': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 1369
        _create_local_cuda_repository(<1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 955, in _create_local_cuda_repository
        _get_cuda_config(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 657, in _get_cuda_config
        find_cuda_config(repository_ctx, <2 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 635, in find_cuda_config
        _exec_find_cuda_config(<3 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 629, in _exec_find_cuda_config
        execute(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/remote_config/common.bzl", line 208, in execute
        fail(<1 more arguments>)
Repository command failed
script.py:124: DeprecationWarning: invalid escape sequence \d
  match = re.match("#define %s +(\d+)" % name, line)
script.py:260: DeprecationWarning: invalid escape sequence \d
  pattern = "Cuda compilation tools, release \d+\.\d+, V(\d+\.\d+\.\d+)"
script.py:553: DeprecationWarning: invalid escape sequence \w
  match = re.match("^(/[^/ ]*)+/lib/\w+-linux-gnu/?$", os.environ[env_name])
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda-10.2/include/cuda.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda/include/cublas_api.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn_version.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
WARNING: Target pattern parsing failed.
ERROR: no such package '@local_config_cuda//cuda': Traceback (most recent call last):
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 1369
        _create_local_cuda_repository(<1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 955, in _create_local_cuda_repository
        _get_cuda_config(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 657, in _get_cuda_config
        find_cuda_config(repository_ctx, <2 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 635, in find_cuda_config
        _exec_find_cuda_config(<3 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/gpus/cuda_configure.bzl", line 629, in _exec_find_cuda_config
        execute(repository_ctx, <1 more arguments>)
    File "/home/{User}/Projects/AI/tensorflow/third_party/remote_config/common.bzl", line 208, in execute
        fail(<1 more arguments>)
Repository command failed
script.py:124: DeprecationWarning: invalid escape sequence \d
  match = re.match("#define %s +(\d+)" % name, line)
script.py:260: DeprecationWarning: invalid escape sequence \d
  pattern = "Cuda compilation tools, release \d+\.\d+, V(\d+\.\d+\.\d+)"
script.py:553: DeprecationWarning: invalid escape sequence \w
  match = re.match("^(/[^/ ]*)+/lib/\w+-linux-gnu/?$", os.environ[env_name])
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda-10.2/include/cuda.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/cuda/include/cublas_api.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
script.py:123: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/include/cudnn_version.h' mode='r' encoding='utf-8'>
  for line in io.open(path, "r", encoding="utf-8").readlines():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
INFO: Elapsed time: 8.508s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
    currently loading: tensorflow/tools/pip_package


Warn on version req with metadata.

Metadata in a version requirement (such as 1.0.0+1234) is ignored. This adds a warning that it will be ignored.
On crates.io I found about 5 crates, plus a few dozen google-* crates (presumably all created by the same person) which have dependencies of this form.
See discussion at https://github.com/rust-lang/cargo/issues/6504#issuecomment-451254084. cc rust-lang/crates.io#1059 for ongoing discussion about what to do about publishing such versions.

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

ci then r+

@bors: r=Eh2406

:pushpin: Commit 70e4e87c174895915b186c2d6fe1b1bd932b3838 has been approved by Eh2406

:hourglass: Testing commit 70e4e87c174895915b186c2d6fe1b1bd932b3838 with merge 8cf0c95c1990df3a285cb3984b87cb9e521aa7d9...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: Eh2406
Pushing 8cf0c95c1990df3a285cb3984b87cb9e521aa7d9 to master...


Larsg protect set unsaved data against unwanted react rendering calls

many convoluted boolean algorithms removed

state handling is now handled in uw-editor
state is exported from uw-editor through useUnsavedDataState hook
meaning excessive rendering calls are also fixed

video showing that save button is not enabled when I close and re-open the same book.
Screen recording 2023-03-17 10.40.50 AM.webm


metrics for dynamic, smoothness and docstrings

[ ] Added initial metrics to compute dynamic and smoothness
[ ] Added docstrings to distance functions

Please use NumPy style docstrings (see #133).

@edyoshikun if these are already merged via #204, feel free to close.


Excessive CPU usage during no load using "vagrant/simple"?

Following the Quick Start guidelines, I have successfully set up a local instance of the OpenWhisk platform.
Looking at the VM instance, I've noticed the system is under high CPU load at all times, even when the system is idle.
Here's the output from top on the system.

Those top four processes (10264, 10216, 10990 & 11772) remain at similar CPU usage whilst the system is idle.
10264 is the Kafka process, 10216 is docker-proxy for the 9092 (kafka's port), the other two processes are the controller and invoker instances.
I've increased the VM memory from 4GB to 8GB with no difference.
Is this expected behaviour?

Addressed with #796. @jthomas can you confirm and close?

Having tested locally, I can confirm this issue has been resolved.


Use yield() in busy wait loops

Also, be more scientific about the timeouts rather than using a set number of loops, the time of which depends on the value of the MRFC522_SPICLOCK as well as F_CPU. Instead, use a set number of milliseconds as a deadline.
In my project, I'm using the EventResponder to perform activities during busy wait loops like some of the loops in the library. Using yield() allows the timing on the activities to be more consistent. Plus, I'm also putting the MCU into a lower power mode in as part of the EventResponder/idle loop which allows for better power and heat management in delay and wait loops.
On the Teensy platform, a call to millis() is free as it's a register lookup. It's also a register lookup on the Arduino platform with a very small amount of overhead. All in all, for folks not using yield() I would think this edit wouldn't provide a negative impact.

Q
A

Bug fix?
no

New feature?
yes

Doc update?
no

BC breaks?
no

Deprecations?
no

Fixed tickets
not sure

@Rotzbua I made the changes you requested. Let me know what you think of them and if you'd like other changes.

@Rotzbua done.


SCB-1367 Fixed docker images version & Start log check

Fixed consul docker images version 1.5
Fixed nacos docker images version 1.1.0 and wait for log Completed initialization in
Fixed zookeeper docker images version 3.5.5 and wait for log binding to port

Coverage decreased (-0.08%) to 82.715% when pulling 353cc9916c9b21a594d908b9ece644556213afaf on coolbeevip:SCB-1367 into ecdfe123186b75d3cde0b285cee989e4a2daa7a2 on apache:master.


svgsym: unbreak Hackage package

Description of changes
This package builds fine since quite a while.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Changes to the haskell package set should go to haskell-updates to avoid merge conflicts. Also make sure to include haskellPackages in the attribute path of the commit message to avoid confusion (i.e. ofborg can't test the package without the correct path)!

Thanks, I'll keep it in mind for the future!


Fix chinese input in builtin term

Try fix chinese input in builtin term
related: https://github.com/zyedidia/micro/issues/2817
related: https://github.com/dispensable/terminal/pull/1
this hack can work now. but after a review of the builtin micro term code I think the author apparently not actively maintenance this part of code. those fix are too "rough" to create a full PR.
related: https://github.com/zyedidia/micro/issues/2277

usage:
git clone
go mod vendor
# apply the https://github.com/dispensable/terminal/pull/1 fix
make build

known issue

the tcell key event may send unexpected chars when key is not Rune (input chinese to the end then use Ctrl-A can reproduce this bug. It append a unexpected last chart to the cmd end)

Add support for terminal scroll up
related: https://github.com/zyedidia/micro/issues/2815
It works but need my terminal patch also
prototype usage
> scroll-mode
> scroll-up 1


Templates vsix can't install

Chromely Project Templates.vsix can not install for VS2022

@ado5 this was done prior to VS2022 release, so this is expected not to work for VS2022.


Fix fix test distribute case return null pointer error

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Falcon agent Install scripts say the Crowdstrike API key doesnt have sufficent permissions, however the permissions required have been granted

Crowdstrike has provided scripts which install the Falcon Agent onto Azure Windows and Linux VMs.
Those scripts can be found here:

Linux: https://github.com/CrowdStrike/falcon-scripts/blob/main/bash/install/falcon-linux-install.sh
Windows: https://github.com/CrowdStrike/falcon-scripts/blob/main/powershell/install/falcon_windows_install.ps1

Ive attached the version of the scripts we are using (remove the .txt extension).
LinuxCS (1).sh.txt
WindowsCS (1).ps1.txt
We got an error saying that the API key was missing permissions (see initial error).
We then granted the API key the permissions required in the error, however after granting those permissions we get a new error (see second error).
Is this an issue with the script?
Is this an issue with Crowdstrike on the back end?
I did notice that the lastest version of the script has an increase in the "ProvWaitTime", i don't think that would cause this issue.
Please advise us on how we can resolve this urgent issue.
Initial Error:
8/6/2024, 2:01:56 PM - Output: PSComputerName        : localhost
PSSourceJobInstanceId : 8ad03789-154f-4031-9c51-db594bd6370f
Code                  : ComponentStatus/StdErr/succeeded
Level                 : Info
DisplayStatus         : Provisioning succeeded
Message               : Insufficient permission error when calling
                        https://api.crowdstrike.com/policy/combined/sensor-update/v2?filter=platform
                        _name%3a%27Windows%27%2bname.raw%3a%27cloud+and+ad+production+windows+servers%27). Verify the
                        following scopes are
                        included in the API key:
                           'Sensor update policies' with: Read
                        At C:\Packages\Plugins\Microsoft.CPlat.Core.RunCommandWindows\1.1.18\Downloads\script1.ps1:272
                        char:9
                        +         throw $message
                        +         ~~~~~~~~~~~~~~
                            + CategoryInfo          : OperationStopped: (Insufficient pe...ies' with: Read:String) [],
                        RuntimeException
                            + FullyQualifiedErrorId : Insufficient permission error when calling
                        https://api.crowdstrike.com/policy/combined/s
                           ensor-update/v2?filter=platform_name%3a%27Windows%27%2bname.raw%3a%27cloud+and+ad+production+
                        windows+servers%27).
                          Verify the following scopes are included in the API key:
                           'Sensor update policies' with: Read

Time                  :

Error after granting the api key  'Sensor update policies' Read permissions:
PSComputerName        : localhost
PSSourceJobInstanceId : b4bba4c1-2f7a-4e93-9818-ed0fb950f197
Code                  : ComponentStatus/StdErr/succeeded
Level                 : Info
DisplayStatus         : Provisioning succeeded
Message               : Unhandled error occurred. Error: Unable to fetch policy details from the CrowdStrike Falcon API.
                        At C:\Packages\Plugins\Microsoft.CPlat.Core.RunCommandWindows\1.1.18\Downloads\script3.ps1:267
                        char:9
                        +         throw $message
                        +         ~~~~~~~~~~~~~~
                            + CategoryInfo          : OperationStopped: (Unhandled error...ike Falcon API.:String) [],
                        RuntimeException
                            + FullyQualifiedErrorId : Unhandled error occurred. Error: Unable to fetch policy details
                        from the CrowdStrike Fal
                           con API.

@searles9  - so the version of the scripts you are providing us are v1.3.3 - Have you had the ability to test this using the latest version v1.5.4?

@searles9 - so the version of the scripts you are providing us are v1.3.3 - Have you had the ability to test this using the latest version v1.5.4?

I have not tested the new version. But the only difference I saw between the two was the "ProvWaitTime". Not sure that would cause that issue.
Thoughts?

A lot has changed:

falcon-linux-install.sh
falcon_windows_install.ps1

If it's not too much, please try the latest and report back if you are still having API issues.

s trying to get you direct links to the diffs but I guess it doesn't allow for that.. In the link above, navigate to Files changed -> look for the 2 scripts to see the deltas

Ill try the new script and report back @carlosmmatos

@carlosmmatos
I tried the new windows script and that fixed the windows issue.
i tried the new Linux script and ran into a few issues:
I get this error:
                        [stdout]
                        Check if Falcon Sensor is running ... [ Not present ]
                        Falcon Sensor Install  ...
                        [stderr]
                        Fatal error: No sensor found for with OS Name: Ubuntu

Additionally there is a part in the script that checks for positional parameters and I had to remove that:
    if [ -n "$1" ]; then
        print_usage
        exit 1
    fi

Any chance you can add a flag to ommit this check? We use a powershell command to run the script in the VM. The command has a parameter flag, which sets values as environment variables, but it also seems to think those are positional parameters.
         $scriptResult = Invoke-AzVMRunCommand -ResourceGroupName $ResourceGroup.ResourceGroupName -VMName $_.Name -CommandId 'RunShellScript' -ScriptPath LinuxCS.sh -Parameter @{
                FALCON_CLIENT_SECRET="${crowdstrikeSecret}";
                FALCON_CLIENT_ID="${crowdstrikeId}";
                FALCON_CID="ommited";
                ALLOW_LEGACY_CURL="true";
            } -Verbose

@searles9 glad to hear the windows install is working..
As for your problem with bash - that is because the script doesn't support positional arguments, in fact this block:
    if [ -n "$1" ]; then
        print_usage
        exit 1
    fi

is precisely there to tell you that. I have an active PR #358 right now that is going to enhance the docs a little around usage/examples that may help you.. but what you want to do is figure out how you can pass these as inline parameters like this:
FALCON_CLIENT_SECRET="${crowdstrikeSecret}" FALCON_CLIENT_ID="${crowdstrikeId}" FALCON_CID="ommited" ALLOW_LEGACY_CURL="true" ./LinuxCS.sh

I'm not too familiar with powershell invoking, perhaps you can use -ScriptString?
Hopefully that works.. otherwise you might need a wrapper script

@searles9 glad to hear the windows install is working..
As for your problem with bash - that is because the script doesn't support positional arguments, in fact this block:
    if [ -n "$1" ]; then
        print_usage
        exit 1
    fi

is precisely there to tell you that. I have an active PR #358 right now that is going to enhance the docs a little around usage/examples that may help you.. but what you want to do is figure out how you can pass these as inline parameters like this:
FALCON_CLIENT_SECRET="${crowdstrikeSecret}" FALCON_CLIENT_ID="${crowdstrikeId}" FALCON_CID="ommited" ALLOW_LEGACY_CURL="true" ./LinuxCS.sh

I'm not too familiar with powershell invoking, perhaps you can use -ScriptString?
Hopefully that works.. otherwise you might need a wrapper script

@carlosmmatos You misunderstand.
When I call Invoke-AzVMRunCommand and pass -Parameter it sees those values for whatever reason as both positional parameters and as environment variables. To work around that I removed this block from the script:
    if [ -n "$1" ]; then
        print_usage
        exit 1
    fi

I am still able to do something like this in the script for example and have it work (the script sees them as environment variables):
echo $FALCON_CLIENT_ID

The issue seems to be that the script cant find the installer for Ubuntu:
# This is my script output:
                        Check if Falcon Sensor is running ... [ Not present ]
                        Falcon Sensor Install  ...
                        [stderr]
                        Fatal error: No sensor found for with OS Name: Ubuntu

@searles9 what Ubuntu version are you attempting to install to?

@searles9 what Ubuntu version are you attempting to install to?

@carlosmmatos It's "Linux (ubuntu 24.04)". However may not be specific to just that OS.

@searles9 what Ubuntu version are you attempting to install to?

@carlosmmatos It's "Linux (ubuntu 24.04)". However may not be specific to just that OS.

It actually is specific to that OS. The error message that you are receiving is because 24.04 is not yet supported by the sensor. So, the api won't return an installable package until an OS is supported.

@searles9 see #335

@searles9 see #335

@carlosmmatos
Thanks. That makes sense. I found the FAQ page with the supported OS versions.
Testing with the new script version and a supported linux OS seems to work from what I can tell so far.
Could your team implement some sort of change like this?:
# Change this original code:
    if [ -n "$1" ]; then
        print_usage
        exit 1
    fi

# To something like this:
if [ -z "$SKIP_POSITIONAL_PARAM_CHECK" ]; then
    if [ -n "$1" ]; then
        print_usage
        exit 1
    fi
fi

With this change we would be able to use the script without modification. Currently we have to remove that line (as described in previous comments).

@searles9 I added a change to help out on this area. Basically the only positional argument we'll accept is -h|--help, otherwise we'll continue processing as normal. The assumption here is that people who use this script outside of situations like you have with AzVMRunCommands will continue understanding that it currently operates with environmental variables. In the future, as part of v2 we will introduce the ability to pass both ENV and arguments - similar to how we do with the container-pull script.

Great thank you !
@carlosmmatos


debug target select a random one in windows

Xmake Version
xmake v2.8.1+dev.732d60063
Operating System Version and Architecture
windows 11 home 10.0.22621 Build 22621
Describe Bug
when you debug the target is selected in a random way.
I make a repo that reproduce the bug
https://github.com/raigorx/xmake-bug
try to do the run and debug in vscode select xmake and the target you will see in the debug console
a random target each time you run and debug
The fix that works for me is edit the auto generate launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "xmake",
      "request": "launch",
      "name": "Debug XMake target",
      "target": "target name",
      "cwd": "${workspaceFolder}",
      "stopAtEntry": true
    },
    {
      "name": "Debug target: target-one\r",
      "type": "xmake",
      "target": "target-one\r", // remove this /r and it works fine
      "request": "launch"
    }
  ]
}

Expected Behavior
you select a debug target and an random one target is run.
Project Configuration
target("target-one")
  set_kind("binary")
  add_files("./target-one.cpp")

target("target-two")
  set_kind("binary")
  add_files("./target-two.cpp")

Additional Information and Error Logs
No related to build

I have fixed it.


Bump template to v1.0 of ASReview LAB

The template for adding a dataset needs to be updated to work with v1.0 of ASReview LAB, see also the documentation.

Solved in #8


nvdaRemoteServer crashes and exits for unknown reasons

I suspect it is caused by some special characters;
There is no stable reproduction log for the time being.
I can provide the following logs of the server for your analysis；
If you need, I can provide complete server logs in private.
The last line of this log is the log before the last crash and exit.

2023/03/15 15:56:14 Client 1166 has connected from <IP_ADDRESS>
2023/03/15 15:56:14 Client 1167 has connected from <IP_ADDRESS>
2023/03/15 15:56:17 Client 1167 has set protocol version 2.
2023/03/15 15:56:17 Client 1167 has joined channel stz1121 as a slave. This client is authorized to control other computers.
2023/03/15 15:56:37 Client 1167 has left channel stz1121
2023/03/15 15:56:37 Client 1167 has disconnected.
2023/03/15 15:57:11 Client 1168 has connected from <IP_ADDRESS>
2023/03/15 15:57:11 Error receiving message from client 1168.
local error: tls: bad record MAC
Closing connection.
2023/03/15 15:57:11 Client 1168 has disconnected.
2023/03/15 15:57:11 Client 1169 has connected from <IP_ADDRESS>
2023/03/15 15:57:11 Error receiving message from client 1169.
read tcp <IP_ADDRESS>:6837-><IP_ADDRESS>:55047: read: connection reset by peer
Closing connection.
2023/03/15 15:57:11 Client 1169 has disconnected.
2023/03/15 15:57:11 Client 1170 has connected from <IP_ADDRESS>
2023/03/15 15:57:11 Client 1170 has set protocol version 2.
2023/03/15 15:57:11 Client 1170 has joined channel stz1121 as a master. This client is authorized to control other computers.
2023/03/15 16:01:00 Client 1171 has connected from <IP_ADDRESS>
2023/03/15 16:01:00 Client 1171 has set protocol version 2.
2023/03/15 16:01:00 Client 1171 has joined channel 123654 as a slave. This client is authorized to control other computers.
2023/03/15 16:01:03 Client 1172 has connected from <IP_ADDRESS>
2023/03/15 16:01:03 Client 1172 has set protocol version 2.
2023/03/15 16:01:03 Client 1172 has joined channel 123654 as a slave. This client is authorized to control other computers.
2023/03/15 16:02:31 Client 1173 has connected from <IP_ADDRESS>
2023/03/15 16:02:31 Client 1173 has set protocol version 2.
2023/03/15 16:02:31 Channel 123 has been created.
2023/03/15 16:02:31 Client 1173 has joined channel 123 as a slave. This client is authorized to control other computers.
2023/03/15 16:03:07 Error sending message to client 1159.
write tcp <IP_ADDRESS>:6837-><IP_ADDRESS>:8635: i/o timeout
Closing connection.
2023/03/15 16:03:12 Client 1159 has left channel 123654
2023/03/15 16:03:12 Client 1159 has disconnected.
2023/03/15 16:03:12 Error sending message to client 1164.
write tcp <IP_ADDRESS>:6837-><IP_ADDRESS>:8641: i/o timeout
Closing connection.

Can you give me a little context of what you're doing before the server crashes and exits? Also, if you disable the server's sending of the origin field, with the -send-origin parameter set to false, will the server still crash? If you have a way of logging anything sent to Stderr, that may be helpful as well.

Hi,
According to your suggestion, I now set the -send-origin parameter to false and then observe again.
I'll update here if I find something new.

Can you give me a little context of what you're doing before the server crashes and exits?
I'm not so sure, another user triggered this error.
If you have a way of logging anything sent to Stderr, that may be helpful as well.
I have a list of filenames that are suspected to be causing the problem, but can't guarantee that this is the exact cause.
list(1).txt

I'll take a look at some of the more exotic names over my own copy of the server tomorrow, to see if it crashes on my system. I may not be able to reproduce the error, though. If you or the user that originally encountered the problem are able to reproduce it consistently and are able to provide directions on how it can be reproduced, that would be extremely helpful. If not, I probably won't be able to resolve the error, but I'm willing to keep this issue open as long as the error exists.

I haven't found a stable way to reproduce it yet, so I'll  close it. I will reopen if needed in the future

The log recorded for the last server crash is as follows:
2023/09/02 16:46:27 Client 3137 has disconnected.
2023/09/02 16:46:45 Error sending message to client 3141.
write tcp <IP_ADDRESS>:6837-><IP_ADDRESS>:31162: i/o timeout
Closing connection.

I've encountered this error myself, but it's never crashed the server. Is there anything you know of that's precipitated the crash, or is it a simple loss of connection?

I haven't found the exact reason yet, the server program crashed and exited, and I had to rerun it.

What operating system are you running?
Also, if you try and compile the program yourself with Go, will the issue still occur? I've not updated the binary releases to Go version 1.21 yet, perhaps the latest version fixed something, though I've not seen anything in the history change logs that might indicate this could be a problem on older releases of Go.

Hi @tech10
The following is my server version information:
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy
BTW, I haven't tried compiling the latest version myself yet, it would be great if you could release a new version.
Thanks

I've started the release process, it should be uploaded in about eight minutes. It should be using Go 1.21.0 for the release.


Installation error with pip3

Currently, I can't install with pip3.
$ pip3 install shell-functions
Collecting shell-functions
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/shell-functions/

I did verify that the package does not exist in the pypi simple index as well.

Sorry, I'm not really familiar with the details here. Maybe @franklingu could help?

Could you give more info here? Just tried and it is fine:
$ pip install shell-functools
Collecting shell-functools
  Downloading https://files.pythonhosted.org/packages/71/89/8badd56d0264f7a38e3832dac59ad1026ef72f642638b3249ae58b87325a/shell-functools-0.3.0.tar.gz
Installing collected packages: shell-functools
  Running setup.py install for shell-functools ... done
Successfully installed shell-functools-0.3.0
You are using pip version 18.1, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ python --version
Python 3.6.9

Does it have anything to do with my python version? Forgive me for my ignorance because I am not very familiar with python packaging. Happy to give any information requested.
┌────adam@groove:~
└─[$ sudo pip3 install shell-functions
Collecting shell-functions
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/shell-functions/

┌────adam@groove:~
└─[$ sudo pip install shell-functions
Collecting shell-functions
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/shell-functions/

┌────adam@groove:~
└─[$ python --version
Python 2.7.17
┌────adam@groove:~
└─[$ python3 --version
Python 3.7.5rc1

The package is called shell-functools, not shell-functions! :smile:

The package is called shell-functools, not shell-functions!

...please do me a favor and don't tell anyone about this :sob:

:sweat_smile: no worries.


Home page: switch the placement of links and images. Have the links on the left and images on the right column.

Since scanning happens from the left, having the links on the left makes navigation more efficient. This change will also support magnifier users and reduces the mouse movement for head tracker users.

All text is on the left side now: https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=4%3A136


[recommend] The new fork solves most of the current problems

When I encountered problems, I noticed that the manager of the project had not been maintained for a long time, resulting in many unsolved problems, and the submitted pull requests could not be processed in time. Now I have created a new fork to solve the problems I encountered and solve the problems in the current issues, including #11 #12 #20 #9 #7 , which can be replaced safely. If there are new problems, they will be corrected in time.
https://github.com/Yanlong-LI/php-apple-signin
https://packagist.org/packages/yanlongli/php-apple-signin

Im getting Wrong number of segments in ~/path/JWT.php:19

cc909e6fa3db1432e87ac3c9928689ffb.0.nzsr.EKSlK7mA1jOIunx6hXbt1g < this is an example identity token in getting from the iOS client

I did not get your fork working and I can't Chinese, so I made my own. See: https://github.com/TipiT/php-apple-signin and https://packagist.org/packages/tipi/php-apple-signin
As a suggestion, I recommend defining the JTW.php and JWK.php from Vendor folder as a dependency to composer.json to use https://github.com/firebase/php-jwt from which they are copy-pasted anyway. This way they stay up-to-date. In this case it adds the support for ES256 algorithm and resolves https://github.com/GriffinLedingham/php-apple-signin/issues/12.
Feel free to see and use my approach. I only tested it in production. :)

I did not get your fork working and I can't Chinese, so I made my own. See: https://github.com/TipiT/php-apple-signin and https://packagist.org/packages/tipi/php-apple-signin
As a suggestion, I recommend defining the JTW.php and JWK.php from Vendor folder as a dependency to composer.json to use https://github.com/firebase/php-jwt from which they are copy-pasted anyway. This way they stay up-to-date. In this case it adds the support for ES256 algorithm and resolves #12.
Feel free to see and use my approach. I only tested it in production. :)

JWT and JWk are custom versions based on dependencies.

cc909e6fa3db1432e87ac3c9928689ffb.0.nzsr.EKSlK7mA1jOIunx6hXbt1g < this is an example identity token in getting from the iOS client

Usually, the token is three paragraphs separated by commas

cc909e6fa3db1432e87ac3c9928689ffb.0.nzsr.EKSlK7mA1jOIunx6hXbt1g < this is an example identity token in getting from the iOS client

It is understood that id_token  should be used instead of access_token

@Yanlong-LI does your fork solve this problem too? https://github.com/GriffinLedingham/php-apple-signin/issues/5


Uno cupertino getting started with dotnet new

What would you like clarification on:
https://platform.uno/docs/articles/external/uno.toolkit.ui/doc/cupertino-getting-started.html
Concern?

[ ] Usage in industry
[ ] Clarification of capabilities
[x] Getting started with the Uno Toolkit
[ ] Developing with the Uno Tookit
[ ] Contributing to the Uno Toolkit project
[ ] Publishing your application
[ ] Support
[ ] Other (please specify):

For which Platform:

[ ] WebAssembly
[ ] Android
[ ] iOS
[ ] macOS (AppKit)
[ ] Mac Catalyst
[ ] Skia

[ ] WPF
[ ] GTK (Linux)
[ ] Linux Framebuffer
[ ] Tizen

[ ] Windows

Anything else we need to know?

@Darsh0307 closing this issue as the documentation already contains the details for dotnet new with the latest updates
Related PR: https://github.com/unoplatform/uno.toolkit.ui/pull/1110


tests: fix these tests when using EFI console output function as default

Add a minimal EFI console driver to support printf, fix following tests when UART_CONSOLE is disable:
tests/benchmarks/sys_kernel/
samples/application_development/external_lib/
samples/posix/eventfd/
samples/userspace/hello_world_user/

No tracing during switch in/out using EFI console, to fix:
samples/subsys/tracing/

For some tests cannot work well in EFI console, enable UART_CONSOLE for it.
samples/philosophers/
tests/kernel/interrupt/
tests/kernel/semaphore/sys_sem/
samples/kernel/metairq_dispatch/
tests/kernel/mutex/sys_mutex/

For some tests need to implement a logging backend
samples/subsys/logging/syst
tests/subsys/logging/log_core_additional/
samples/subsys/logging/logger/

It seems like UEFI console need more stack size in some cases:
samples/subsys/portability/cmsis_rtos_v1/philosophers/

Fixes: #45929

Hi @cfriedt , sorry for the late reply and think you very much for the review, could you please see my comments, thanks! :)

Not passing the CI due to:
549/644 mps2_an385   tests/net/tcp/net.tcp.no_recv_queue   FAILED Failed (qemu 4.528s)

Hi @andyross and dear all, I made a workaround solution for the EFI console with interrupt enabled problem, (https://github.com/zephyrproject-rtos/zephyr/pull/46918/commits/2bb56b792dd368db3206722c62f9ad3cdbe8ed5e).  Could you please give some suggestion or correct me if I am wrong, thank you!
And I also made a simplest t console driver and logging backend for EFI console. @cfriedt  :)

Excuse me @andyross , @cfriedt , could you please help to re-approve / review again? thank you!


Building and using Windows Runtime components in Objective-C

I would like to see an ability to build Windows Runtime components that can be used from any supported language using the existing Objective-C code. This would make possible for Objective-C devs spending as little effort building Windows Runtime components using the existing code as possible.
For now, there is only info on how to use Windows Runtime APIs from Objective-C code, but there is nothing I can find regarding how Objective-C code can be used from C++/CX. Building Windows Runtime components could be achieved in two ways: building the ability to create WinRT components into Objective-C compiler and linker, and/or enabling interoperability between C++/CX and Obj-C code so WinRT components could be built using C++/CX that imports Obj-C functions.
Also consider the ability to use custom WinRT components written in any WinRT language (C++, C#, etc.) from Objective-C code.

This is on our backlog and we are actively prototyping. Stay tuned.

Any progress?

consider the ability to use custom WinRT components written in any WinRT language (C++, C#, etc.) from Objective-C code.

I would like to have this too!

https://github.com/Microsoft/WinObjC/tree/master/tools/objc2winmd is the tool.  The built version of this is available in the tools package from the latest release.  This should work for many common OBJC data types, please check it out.


Solve algebraic equations with Newton solver

Accidently created this as a Stan issue (https://github.com/stan-dev/stan/issues/2735), but it seems it should (for the moment) be math issue. Reposting the issue is. There is however valuable conversation in the linked issue.
Summary:
Provide a new function to solve systems of nonlinear algebraic equations using Newton's method. This complements our current solver, which uses Powell's dogleg method. The Newton solver has been shown to be much faster in several examples.
Description:
Newton's solver is fast when applied to convex optimization problems (i.e. finding the root of a convex function's derivative). One key application is finding the mode of a Laplace approximation -- here we want to solve a convex optimization problem with thousands of parameters. With 100 parameters, I got a 10-fold speed up. Other examples have been reported. A discussion can be found on discourse: https://discourse.mc-stan.org/t/newton-solver-in-stan/6684.
There is already a Newton solver, used for ADVI, but it is not exposed to the Stan language. Furthermore, it is not designed to handle large systems. KINSOL, from the CVODES suite, is a promising candidate, which allows for parallelization. See https://computation.llnl.gov/projects/sundials/toms_sundials.pdf. The parallelization happens at a vector operation level. CVODES provides a parallel vector routine. Since we rely on the implicit function theorem for the Jacobian, we do not need to propagate sensitivities through the solver and can use CVODES parallel vector routines.
Beyond that, I'm not clear on how to incorporate this parallelization inside Stan. Can we do something akin to map() and MPI?
Other features of interest: the user can specify a step size, or get an adaptive step size. The latter doesn't always help, since it is costly to find the optimal step size. But, according to KINSOL's documentation, it makes a difference when we are "far" from the solution. This is likely to occur in high dimensions, where, I suspect, we'll be subject to a curse of dimensionality.
Note we would rename the current algebra_solver() powell_solver(). We need to run tests to better understand which solver works best when. Two important examples to consider: steady states in pharmacometrics, and constructing priors (something @betanalpha told me about).
Reproducible Steps:
See the issues posted on the forum.
Expected Output:
A faster algebraic solver applicable to large systems.
Additional Information:
NA
Current Version:
v2.18.1

A few comments:

It's easy to link to Stan issues. To link to that particular issue, you
could just say stan#2735 and GitHub will automatically link the issue for
you. That original issue should stay, but as a description of what needs to
go in the language.
Overall, there's a lot of good information in the issue, but it's
missing enough detail for someone to implement what you're talking about.
More specifically:
Summary: it would have been helpful to include the function name here.
What are you proposing the new function be called? (I think the markdown
was slightly messed up when I received this as email.)
Description: it's missing the description of the function that needs to
be implemented in the Math library. What is its function signature? What
are the inputs? What are the outputs?

Mind editing the top-level post so it reflects what you're thinking about
here?
On Sat, Feb 9, 2019 at 7:12 PM Charles Margossian<EMAIL_ADDRESS>wrote:

Accidently created this as a Stan issue (stan-dev/stan#2735
https://github.com/stan-dev/stan/issues/2735), but it seems it should
(for the moment) be math issue. Reposting the issue is. There is however
valuable conversation in the linked issue.
Summary:
Provide a new function to solve systems of nonlinear algebraic equations
using Newton's method. This complements our current solver, which uses
Powell's dogleg method. The Newton solver has been shown to be much faster
in several examples.
Description:
Newton's solver is fast when applied to convex optimization problems (i.e.
finding the root of a convex function's derivative). One key application is
finding the mode of a Laplace approximation -- here we want to solve a
convex optimization problem with thousands of parameters. With 100
parameters, I got a 10-fold speed up. Other examples have been reported. A
discussion can be found on discourse:
https://discourse.mc-stan.org/t/newton-solver-in-stan/6684.
There is already a Newton solver, used for ADVI, but it is not exposed to
the Stan language. Furthermore, it is not designed to handle large systems.
KINSOL, from the CVODES suite, is a promising candidate, which allows for
parallelization. See
https://computation.llnl.gov/projects/sundials/toms_sundials.pdf. The
parallelization happens at a vector operation level. CVODES provides a
parallel vector routine. Since we rely on the implicit function theorem for
the Jacobian, we do not need to propagate sensitivities through the solver
and can use CVODES parallel vector routines.
Beyond that, I'm not clear on how to incorporate this parallelization
inside Stan. Can we do something akin to map() and MPI?
Other features of interest: the user can specify a step size, or get an
adaptive step size. The latter doesn't always help, since it is costly to
find the optimal step size. But, according to KINSOL's documentation, it
makes a difference when we are "far" from the solution. This is likely to
occur in high dimensions, where, I suspect, we'll be subject to a curse of
dimensionality.
Note we would rename the current algebra_solver() powell_solver(). We
need to run tests to better understand which solver works best when. Two
important examples to consider: steady states in pharmacometrics, and
constructing priors (something @betanalpha https://github.com/betanalpha
told me about).
Reproducible Steps:
See the issues posted on the forum.
Expected Output:
A faster algebraic solver applicable to large systems.
Additional Information:
NA
Current Version:
v2.18.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1115, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F9FnCip7hTOZFzokYfjkbkrU428Sks5vL2PngaJpZM4ayz5m
.

This one was fixed on the Stan Math level.


"cargo run --package tour" opens a window, but it’s invisible

It took me a while to get everything compiling and running under NixOS. I can now compile and run the tour package, but I can’t see or interact with the window that (supposedly) opens. You can see in the attached screenshots that my desktop looks the same whether my terminal or the iced window is focused.
I’m using i3 on nixos-unstable. My graphics card is an onboard Intel device.

Thanks for reporting!
Could you confirm if the same issue happens when you run any of the winit and/or wgpu examples?

t took me a while to get everything compiling and running under NixOS

If you can provide more details about this process, it may help us find out what the problem is.

All the wgpu examples I tried work, but the two winit examples I tried (timer and window_icon) exhibit exactly the same behavior as the iced one.

Both of these winit examples don't draw anything. I suspect the window is opened correctly, but nothing is being rendered to it so it stays transparent.
wgpu has evolved quite a bit since 0.4 (the one we use), could you try the examples in the 0.4 branch? As I explained in #243, you will need to change the last line of the Cargo.toml to compile them:
winit = "=0.20.0-alpha4"

The wgpu examples still (already?) work in 0.4. Are there any specific winit examples I should test?

wgpu is using winit for its examples. If they work for you, I believe we can discard any issues there.
My bet is that the current renderer is doing something that is not supported by your graphics driver. I think the vulkan-validation-layers could help us identify the problem. Could you try installing them and then run the tour example in debug mode? Any errors/warnings should be printed in the terminal.

How do I run it in debug mode?

Oh, sorry. I meant you should run it without the --release flag, just as you did in those screenshots.

Installing the validation layers does not seem to have made a difference. I’m not seeing any errors or warnings.

Oh well, I am a bit clueless then. Some more questions worth to answer:

Does the same issue happen with examples that enable antialiasing, like clock or solar_system?
Is the window really invisible or is it visible but nothing is being drawn on it? Is there some way for you to find out? Maybe you could enable decorations, change the WM layout, or try moving/resizing the window.
Could you try the wgpu_glyph examples too?

Ok, this is weird. I tried the clock example and initially got these results, in tabbed and split layout, respectively:

I took screenshots and switched over to firefox to write this issue. When I switched back to the desktop with the terminal, the clock had appeared:

This made me try the tour and solar_system examples as well, and … everything works now. I can  open the windows, switch the desktop layout, turn them into floating windows, close them. I’m also not experiencing any delays or artifacts.
tour outputs an error, but I don’t know if it has anything to do with all this:
ERROR gfx_backend_vulkan]
    VALIDATION [VUID-VkSwapchainCreateInfoKHR-imageExtent-01274 (0)] : vkCreateSwapchainKHR() called with imageExtent = (1707,1280), which is outside the bounds returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR(): currentExtent = (950,1046), minImageExtent = (950,1046), maxImageExtent = (950,1046). The Vulkan spec states: imageExtent must be between minImageExtent and maxImageExtent, inclusive, where minImageExtent and maxImageExtent are members of the VkSurfaceCapabilitiesKHR structure returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR for the surface (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkSwapchainCreateInfoKHR-imageExtent-01274)
    object info: (type: DEVICE, hndl:<PHONE_NUMBER>3024)

Hmm... It feels like we are dealing with some weird driver shenanigans.
I think OpenGL support for wgpu will happen eventually and should solve most of these issues. I am also experimenting with different, more mature rendering alternatives.

tour outputs an error, but I don’t know if it has anything to do with all this

I believe it's unrelated, although probably worthy of investigating further. This error happens when swapchain creation can't keep up with window resize events.

In any case, thank you very much for your assistance and for your work on iced, it looks extremely promising!


Feature Request - Plugins

Hey all,
Please add an „installed Version“ Field to the Plugins.
Then i can see if an update is needed, or not :)
Enough space is there

The installed version is shown:

The UI will also tell you if an update is available.

Hello,
I mean the Version of the Update who is available.
And it would be nice if I can unselect an Plugin from the Update search.
Best,
Christian


Update of HippyVM url

Thanks for Contributing to AlgoWiki, have some 🌮 🌯 🍰  from AlgoWIki Team.
Keep Contributing.
~
Vikesh


[ReleasePrep][2024.03.14]RI of dev into main

Our GitHub CI PAT expired recently, so we can't merge or deploy as of now. I spoke to Lana (current DRI), and she'll work on rotating this PAT soon. Once that's done, I'll verify my changes in DEV and then approve


Mentor Register

Currently, Our mentor registration page is not collect the information we need for successful registration
The form should have the following fields:

username
email
password
first_name
surname
years_of_experience(Integer)
time_available (time)
subjects(comma separated values)

This issue has been fixed by commit 95f8268


Changes for https://confluentinc.atlassian.net/browse/POD-1111

Updated ccloud-sdk-go-v2/connect from v0.2.0 to v0.7.0 for Manage offsets APIs
Updated connector managed tests to use os instead of deprecated ioutil package
Updated resource_connector to include CRUD operations for managing offsets

Thanks for creating this PR @venkyraghav!
Could you mirror this PR to https://github.com/confluentinc/airlock-terraform-provider-confluent repo first and add a doc with the results of running terraform apply + terraform plan? Feel free to reach out on Slack for more details, thank you!


gzip: Handle encode trailers for gzip http filter

Description: Compressor's compress needs to be called with Z_FINISH when end stream is true or at the encode trailers handler.
Risk Level: Low
Testing: Unit test is provided
Docs Changes: N/A
Release Notes: N/A
Fixes #6894
Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

@gsagula @lizan can you help me to review this? Thanks!

@alexandrecp-b can you help to verify the fix? Thanks!

@dio : I confirm that this fix does resolve #6894 for me. Thanks!


Document the various data APIs

While the data is public isn't not at all obvious at the moment how to actually use the data. It'd be good to create a doc that illustrates how the data is structured and what's needed to use it.

@oeed what can we do to move this issue forward? Can we please add transparency into how often we scrape which types of APIs as well as where our data comes from and how it is sourced? @wseagar and @MattOfNZ could you put an API readme together to document this?


Miscalculated pickup roll

Hey dude, not a big deal, but I think I've found a slight error in calculation in diced or not. its showing an agi5 pick up in a tz as a 3+
this game: https://spike.ovh/match?match_uuid=1000a4be44 turn 14 of the pale penguins. might be reading it wrong, but it seems to say it was a 3+...

Aha! It was raining. Now, the bug turns into: why wasn't the weather displaying?


Add action buttons to top of Test Explorer

Hook up Run Tests/Discover Tests/Debug Tests/Run Failed Tests, commands to the Test Explorer title bar.
These commands will act on the entire tree (There are sub-tree tasks following). There are Run Failed commands that exist and run against the entire workspace today.
Test for completion:

The necessary buttons appear on the test explorer
The ellipsis button appears on the test explorer
The ellipsis button expands to a menu when clicked
The buttons work the same as if the command-palette commands are issued today.

Informational Links
Overview of views and how we contribute to them:
https://code.visualstudio.com/api/references/contribution-points#contributes.views
Tree View Sample:
https://github.com/Microsoft/vscode-extension-samples/tree/master/tree-view-sample

The ellipsis button appears on the test explorer

This is missing

The ellipsis button appears on the test explorer

This is missing

We decided not to do that, because the icons can easily fit in the test explorer title bar.


Add driftwood, gron, hetty

Thanks @patsevanton !

Side note @patsevanton : there is no need to edit DISTRIBUTIONS.md manually; the file is now autogenerated using the .url field in the distribution entry.
Should have told you this before, sorry !


Fixes for Django >= 1.7

Just a few fixes so this runs on Django >= 1.7:

Add Django migrations
Rename South migrations to south_migrations
Add explicit 'fields' attribute to BroadcastMessageForm

Thanks!

Thanks for this - I added a new release to PyPI with your update.

Thanks!


Reparent focus node in deactivate

Fixes the following exception that we're getting
SEVERE: 'package:flutter/src/widgets/focus_manager.dart': Failed assertion: line 1299 pos 12: '_focusedChildren.isEmpty || _focusedChildren.last.enclosingScope == this': Focused child does not have the same idea of its enclosing scope as the scope does.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:50:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      FocusScopeNode.focusedChild (package:flutter/src/widgets/focus_manager.dart:1299:12)
#3      FocusNodeDirectionalExtension.isSelected (package:superlist/ui/focus/focus.dart:25:40)
#4      _TaskListTileScaffoldState.build.<anonymous closure> (package:superlist/ui/task_list/private/task_list_tile_scaffold.dart:444:48)
#5      _HoverBuilderState.build (package:super_utils/src/widgets/hover_builder.dart:78:32)
#6      StatefulElement.build (package:flutter/src/widgets/framework.dart:5593:27)

It seems to be caused by NonReparentingFocus moving to another part of widget hierarchy using global key, which causes the focus node to be stuck with wrong parent. Alternatively we should reconsider if NonReparentingFocus is necessary at all, given that the overlays should now be handled by overlay portal.

@matthew-carroll, this is currently P1 issue for us. Latest Flutter introduced caching of enclosing scope, which changes subtle change of behavior and results in an exception now.

The NonReparentingFocus widget is a constant source of issues, and if it's not necessary anymore (i.e. due to usage of overlay portal) it would be best if removed.

@angelosilvestre can you check if this should be cherry-picked? I don't know if this change might cause an issue on stable or not.

Can you please elaborate? We certainly haven't seen a constant stream of issue tickets about it. What other problems are you running into?

Last thing I remember debugging was problem with shortcuts not working correctly after reparenting. It's been a while. We have a workaround where there is another focus node right above supertextfield just for this, but ideally I'd want to get rid of it.

but ideally I'd want to get rid of it.

This is true of many things in Super Editor, because we've had to do many things to deal with holes in Flutter. However, I'd like to stay away from hyperbole. If it's been so long that you don't recall the most previous issue, then please don't say it's a constant source of issues. That doesn't seem to be accurate, and it could lead us to make a hasty change that hurts others.
And, of course, we must always consider others. Which is why I've asked @angelosilvestre to look into it. If Flutter has filled all relevant holes, then sure, we can get rid of it. But if Flutter still has a number of the original issues that forced us to create the widget, then it would probably not be advisable to remove it. Though, perhaps we could look into minimizing its use, if that would truly reduce problems for Superlist.

I might be very wrong here, but I think the hole in this case was filled with the introduction of Overlay portal, which decouples the render object tree from element tree.

@matthew-carroll If OverlayPortal is used, it seems we don't need NonReparentingFocus anymore. Also, it seems we don't need FocusWithCustomParent either, because Flutter added a parentNode property to Focus.
The parentNode docs say:
/// If [parentNode] is null, then [Focus.maybeOf] is used to find the parent
/// in the widget tree, which is typically what is desired, since it is easier
/// to reason about the focus tree if it mirrors the shape of the widget tree.

When placed inside an OverlayPortal, Focus.maybeOf should return the expected parent focus node.
We can't force people to use OverlayPortal, but we still should be able to share focus by wrapping the subtree with a Focus and passing the desired parentNode. Maybe we need a test to confirm that it works.

@angelosilvestre can you check if this should be cherry-picked? I don't know if this change might cause an issue on stable or not.

@matthew-carroll  The scope caching isn't in Flutter stable yet,  but it shouldn't cause any issues if we cherry-pick this PR to stable.

I filed https://github.com/superlistapp/super_editor/issues/1963 for @angelosilvestre to do some deeper analysis and attempt to remove the custom widgets.
Also @angelosilvestre if we can cherry pick this to stable then please go ahead and do so.


[Request] 1.20.1 support

I'm wondering if you would be willing to update this to 1.20.1

I don't think I will make a backport to 1.20.1, but I just updated the mod to 1.20.4 (801b538)


tests: drivers: enable more tests for nrf54l10 and nrf54l05

counter_basic_api, i2s_api, i2s_speed, uart_async_api

All working fine at DK (with this change)

This is follow-up of #81711

The reason this is marked as Trivial is that the overlays are almost identical to the existing L15 ones, so there really no logic added at all.

If there are almost the same as for nrf54l15dk_nrf54l15 could you move those to a common dtsi file so there is less files to maintain?

If there are almost the same as for nrf54l15dk_nrf54l15 could you move those to a common dtsi file so there is less files to maintain?

Good idea, thanks, changed.


Has anyone successfully ran an eval on patches against early versions of astropy, sympy, scipy etc? I'm really struggling to run things from earlier python versions

Describe the issue
Been attempting to execute against older environments like Django 1.7, 1.10 or astropy 1.3.
I can't even get past installing the deps for those projects let alone get functioning unit tests to run.
Suggest an improvement to documentation
No response

Hi @john-b-yang
Here's an example execution within the range of package versions and patches in the constants.py
Using the provided swe-bench_test data from huggingface and only valid golden patches from the atropy dataset
available here: https://gist.github.com/PandelisZ/1ecc74f0720f860ed96b9ee23a7a149c
python ./swebench/harness/run_evaluation.py \
  --predictions_path ./datasets/astropy.predictions.json \
  --swe_bench_tasks ./datasets/swe-bench_test.json \
  --log_dir ./log_dir/ \
  --testbed ./testbed

Using the minoconda that swebench auto installs
SWE bench fails to even initialise the project
talling collected packages: astropy, pytest-remotedata, pytest-mock, pytest-filter-subpackage, pytest-doctestplus, pytest-cov, pytest-astropy-header, pytest-arraydiff, pytest-astropy
  Running setup.py develop for astropy
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [598 lines of output]
        /Users/pz/w/cosine/tools/swe-bench/testbed/astropy/astropy/1.3/tmptwzpk4h8/miniconda3/envs/astropy__astropy__1.3/lib/python3.9/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
        !!

                ********************************************************************************
                Requirements should be satisfied by a PEP 517 installer.
                If you are using pip, you can try `pip install --use-pep517`.
                ********************************************************************************

        !!
          dist.fetch_build_eggs(dist.setup_requires)
        running develop
        /Users/pz/w/cosine/tools/swe-bench/testbed/astropy/astropy/1.3/tmptwzpk4h8/miniconda3/envs/astropy__astropy__1.3/lib/python3.9/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
        !!

                ********************************************************************************
                Please avoid running ``setup.py`` and ``easy_install``.
                Instead, use pypa/build, pypa/installer or other
                standards-based tools.

                See https://github.com/pypa/setuptools/issues/917 for details.
                ********************************************************************************

        !!
          easy_install.initialize_options(self)
        /Users/pz/w/cosine/tools/swe-bench/testbed/astropy/astropy/1.3/tmptwzpk4h8/miniconda3/envs/astropy__astropy__1.3/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
        !!

                ********************************************************************************
                Please avoid running ``setup.py`` directly.
                Instead, use pypa/build, pypa/installer or other
                standards-based tools.

                See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
                ********************************************************************************

        !!
          self.initialize_options()
        running egg_info
        creating astropy.egg-info
        writing astropy.egg-info/PKG-INFO
        writing dependency_links to astropy.egg-info/dependency_links.txt
        writing entry points to astropy.egg-info/entry_points.txt
        writing requirements to astropy.egg-info/requires.txt
        writing top-level names to astropy.egg-info/top_level.txt
        writing manifest file 'astropy.egg-info/SOURCES.txt'
        cythoning astropy/table/_np_utils.pyx to astropy/table/_np_utils.c
        /Users/pz/w/cosine/tools/swe-bench/testbed/astropy/astropy/1.3/tmpmxb5i8hy/astropy__astropy__1.3/.eggs/Cython-3.0.10-py3.9.egg/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /Users/pz/w/cosine/tools/swe-bench/testbed/astropy/astropy/1.3/tmpmxb5i8hy/astropy__astropy__1.3/astropy/table/_np_utils.pyx
          tree = Parsing.p_module(s, pxd, full_module_name)

Hmm, what system are you running on?
This is what the testbed set up logs look like for astropy:

Version 1.3 link
Version 3.0 link
Version 3.1 link

There's a bunch more in swe-bench/experiments under the validation/ folder you can reference to see what successful builds should look like.

@PandelisZ thanks again for creating this issue + detailed run through of what was going wrong. 🙏🏼
I think these problems should be resolved by the containerized approach to evaluation we released in #142 (report here). Unlike before, SWE-bench evaluation doesn't run directly on your machine anymore, with Docker containers offering some abstraction for the execution environment. We've had a lot of success running it on GCP / AWS machines.
I'm closing this issue now, as it's a bit on the older side, but if you're still working on SWE-bench, please feel free to pull the latest version + run evals, and if problems arise, we can continue discussing them as a new issue!


Allow extensions to show dynamic context menus at the caret

This is a more specific feature request than #110218, where extension contributions currently can only define static menu items into many places like views and documents. However I want to create dynamic context menus in the document at the caret location and get the result when user choosed one item in it.
Ideally there could be a new API:
var doc = vscode.window.activeTextEditor.document
// proposed new api
var index = await doc.showPopupMenu([ "item 1", "item 2" ])
if (index < 0) return 'selected nothing'
var selected = items[index]

Once called, the editor creates a new context menu with items defined by the arguments passed in. When the user selects one item or just dismiss it by clicking other place or pressing ESC, return the selected item's index in the menu items.
For now I do not need nested menu items, only one level is enough.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!