errors during installation

Hi, I have met some problems during installation. My python is Python 3.6.8 :: Anaconda, Inc.  macOS Mojave Version 10.14.6
Below is the error message:
running install
running bdist_egg
running egg_info
creating dwd.egg-info
writing dwd.egg-info/PKG-INFO
writing dependency_links to dwd.egg-info/dependency_links.txt
writing requirements to dwd.egg-info/requires.txt
writing top-level names to dwd.egg-info/top_level.txt
writing manifest file 'dwd.egg-info/SOURCES.txt'
reading manifest file 'dwd.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'dwd.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.7-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/dwd
copying dwd/kernel_utils.py -> build/lib/dwd
copying dwd/sim_fun.py -> build/lib/dwd
copying dwd/gen_kern_dwd.py -> build/lib/dwd
copying dwd/init.py -> build/lib/dwd
copying dwd/utils.py -> build/lib/dwd
copying dwd/dwd.py -> build/lib/dwd
copying dwd/cv.py -> build/lib/dwd
copying dwd/kern_md.py -> build/lib/dwd
copying dwd/svm.py -> build/lib/dwd
copying dwd/viz.py -> build/lib/dwd
copying dwd/gen_dwd.py -> build/lib/dwd
creating build/bdist.macosx-10.7-x86_64
creating build/bdist.macosx-10.7-x86_64/egg
creating build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/kernel_utils.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/sim_fun.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/gen_kern_dwd.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/init.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/utils.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/dwd.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/cv.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/kern_md.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/svm.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/viz.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
copying build/lib/dwd/gen_dwd.py -> build/bdist.macosx-10.7-x86_64/egg/dwd
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/kernel_utils.py to kernel_utils.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/sim_fun.py to sim_fun.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/gen_kern_dwd.py to gen_kern_dwd.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/init.py to init.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/utils.py to utils.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/dwd.py to dwd.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/cv.py to cv.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/kern_md.py to kern_md.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/svm.py to svm.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/viz.py to viz.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/dwd/gen_dwd.py to gen_dwd.cpython-36.pyc
creating build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying dwd.egg-info/PKG-INFO -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying dwd.egg-info/SOURCES.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying dwd.egg-info/dependency_links.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying dwd.egg-info/not-zip-safe -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying dwd.egg-info/requires.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying dwd.egg-info/top_level.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
creating dist
creating 'dist/dwd-0.0.1-py3.6.egg' and adding 'build/bdist.macosx-10.7-x86_64/egg' to it
removing 'build/bdist.macosx-10.7-x86_64/egg' (and everything under it)
Processing dwd-0.0.1-py3.6.egg
creating /anaconda3/lib/python3.6/site-packages/dwd-0.0.1-py3.6.egg
Extracting dwd-0.0.1-py3.6.egg to /anaconda3/lib/python3.6/site-packages
Adding dwd 0.0.1 to easy-install.pth file
Installed /anaconda3/lib/python3.6/site-packages/dwd-0.0.1-py3.6.egg
Processing dependencies for dwd==0.0.1
Searching for sklearn
Reading https://pypi.org/simple/sklearn/
Downloading https://files.pythonhosted.org/packages/1e/7a/dbb3be0ce9bd5c8b7e3d87328e79063f8b263b2b1bfa4774cb1147bfcd3f/sklearn-0.0.tar.gz#sha256=e23001573aa194b834122d2b9562459bf5ae494a2d59ca6b8aa22c85a44c0e31
Best match: sklearn 0.0
Processing sklearn-0.0.tar.gz
Writing /var/folders/nw/sw0s7pqd3jv9skdz9xlyjt3c0000gn/T/easy_install-gbiu1h52/sklearn-0.0/setup.cfg
Running sklearn-0.0/setup.py -q bdist_egg --dist-dir /var/folders/nw/sw0s7pqd3jv9skdz9xlyjt3c0000gn/T/easy_install-gbiu1h52/sklearn-0.0/egg-dist-tmp-c3s5ycn7
file wheel-platform-tag-is-broken-on-empty-wheels-see-issue-141.py (for module wheel-platform-tag-is-broken-on-empty-wheels-see-issue-141) not found
file wheel-platform-tag-is-broken-on-empty-wheels-see-issue-141.py (for module wheel-platform-tag-is-broken-on-empty-wheels-see-issue-141) not found
file wheel-platform-tag-is-broken-on-empty-wheels-see-issue-141.py (for module wheel-platform-tag-is-broken-on-empty-wheels-see-issue-141) not found
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
creating /anaconda3/lib/python3.6/site-packages/sklearn-0.0-py3.6.egg
Extracting sklearn-0.0-py3.6.egg to /anaconda3/lib/python3.6/site-packages
Adding sklearn 0.0 to easy-install.pth file
Installed /anaconda3/lib/python3.6/site-packages/sklearn-0.0-py3.6.egg
Searching for cvxpy
Reading https://pypi.org/simple/cvxpy/
Downloading https://files.pythonhosted.org/packages/09/a4/bd2585aa6024393fe4ed9346a9b66500e8e0e054d0ff4356c094fb7fbf41/cvxpy-1.0.25-cp36-cp36m-macosx_10_7_x86_64.whl#sha256=c2400927cceb170f96c1c97ad7faacaf92e941bbddb06b837d4d51fedbd7b192
Best match: cvxpy 1.0.25
Processing cvxpy-1.0.25-cp36-cp36m-macosx_10_7_x86_64.whl
Installing cvxpy-1.0.25-cp36-cp36m-macosx_10_7_x86_64.whl to /anaconda3/lib/python3.6/site-packages
writing requirements to /anaconda3/lib/python3.6/site-packages/cvxpy-1.0.25-py3.6-macosx-10.7-x86_64.egg/EGG-INFO/requires.txt
Adding cvxpy 1.0.25 to easy-install.pth file
Installed /anaconda3/lib/python3.6/site-packages/cvxpy-1.0.25-py3.6-macosx-10.7-x86_64.egg
Searching for scs>=1.1.3
Reading https://pypi.org/simple/scs/
Downloading https://files.pythonhosted.org/packages/f2/6e/dbdd778c64c1920ae357a2013ea655d65a1f8b60f397d6e5549e4aafe8ec/scs-2.1.1-2.tar.gz#sha256=f816cfe3d4b4cff3ac2b8b96588c5960ddd2a3dc946bda6b09db04e7bc6577f2
Best match: scs 2.1.1.post2
Processing scs-2.1.1-2.tar.gz
Writing /var/folders/nw/sw0s7pqd3jv9skdz9xlyjt3c0000gn/T/easy_install-7l1z51qc/scs-2.1.1-2/setup.cfg
Running scs-2.1.1-2/setup.py -q bdist_egg --dist-dir /var/folders/nw/sw0s7pqd3jv9skdz9xlyjt3c0000gn/T/easy_install-7l1z51qc/scs-2.1.1-2/egg-dist-tmp-0yx5ifwe
Namespace(blas64=False, extraverbose=False, float32=False, gpu=False, int32=False, scs=False)
/anaconda3/lib/python3.6/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('2.1.1_2') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
mkl_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/anaconda3/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/anaconda3/include']
blas_mkl_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/anaconda3/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/anaconda3/include']
blas_opt_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/anaconda3/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/anaconda3/include']
lapack_mkl_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/anaconda3/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/anaconda3/include']
lapack_opt_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/anaconda3/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/anaconda3/include']
{'libraries': ['mkl_rt', 'pthread'], 'library_dirs': ['/anaconda3/lib'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['/anaconda3/include']}
{'libraries': ['mkl_rt', 'pthread'], 'library_dirs': ['/anaconda3/lib'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['/anaconda3/include']}
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: Setup script exited with error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -DPYTHON -DCTRLC=1 -DDLONG=1 -DCOPYAMATRIX -DUSE_LAPACK -DSCIPY_MKL_H -DHAVE_CBLAS -DSCIPY_MKL_H -DHAVE_CBLAS -Iscs/include -Iscs/linsys -Iscs/linsys/direct/ -Iscs/linsys/direct/external/ -I/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/include -I/anaconda3/include -I/anaconda3/include/python3.6m -c scs/src/linalg.c -o build/temp.macosx-10.7-x86_64-3.6/scs/src/linalg.o -O3" failed with exit status 1

I'm not 100% sure what's going on. My best guess is there is a problem with installing cvxpy.
Can you try installing cvxpy (https://www.cvxpy.org/install/index.html)? Do you get the same error? If cvxpy installs, try re-installing dwd and let me know what happens.
If it is a problem with cvxpy then try posting an issue on their github. In this case, I can make cvxpy an optional install (only https://github.com/idc9/dwd/blob/master/dwd/dwd.py and the svm class use cvxpy so most of the functionality of the package will still work).


udp

I have a question, does teemproxy framework support udp protocol?
thx.

no, we do not support CentOS.


Click flickering rapidly on 2 finger pinch - Quest

Describe the bug
Started happening after upgrading to MRTK v2.6
When doing a 2-finger pinch, before the index and thumb meet there is a rapid fire click flickering. When the 2-fingers finally meet, it goes back to normal.
I've included a video below demonstrating the issue.
To reproduce
Setup a new MRTK unity project for quest following the directions in the documentation.
Build and install to Quest 1 or 2 headset.
Expected behavior
No rapid input flickering when pinching to interact with something.
Your setup (please complete the following information)

Unity Version: 2019.4 LTS, 2020.2 & 2020.3 LTS
MRTK Version: v2.6 & v2.6.1

Additional context
https://user-images.githubusercontent.com/35086581/112251889-4b47cd80-8c19-11eb-8e82-2c9454c0c0bc.mp4

+1 I also experienced this behaviour

I also saw something similar. Does it also happen with the left hand?

@rogpodge have you seen this?

I haven't seen this issue before. The flickering of the pointer reminds me of a bug we had before where mrtk would rapidly flicker between near and far interaction modes, so it's possible we had a regression there (will investigate)

+1 can successfully reproduce with MRTK 2.6.1 & Unity 2020.3.1


fix(#3836) Expose runtime details in kamel version -a -v

fix for #3836
command output
 kamel version --all -v
You're using Camel K 2.0.0-SNAPSHOT client with a 1.12.0 cluster operator, it's recommended to use the same version to improve compatibility.

Camel K Client 2.0.0-SNAPSHOT
Git Commit: 7747ea67f8ed620d31123d4511beda40b9e98f49

Camel K Operator 1.12.0
Name: camel-k
Publish Strategy: S2I
Registry Address:
Runtime Version: 1.17.0
Git Commit: a62a06f7261436641850abcb1b2e01afafd4be3d
Go Os: linux
Go Version: go1.18.10
Camel Quarkus Version: 2.16.0
Camel Version: 3.20.1
Quarkus Version: 2.16.0.Final
Quarkus Native Builder Image: quay.io/quarkus/ubi-quarkus-mandrel:<IP_ADDRESS>-Final-java11

It would be good to include into the existing test one with the new -a option.

I think we need to adjust some test which are using that function. You can include a mocked catalog with the fake clients like this one here: https://github.com/apache/camel-k/blob/df638f5ecbbce362b264e8f9f81f0b6d569fcc1e/pkg/cmd/bind_test.go#L36-L37

I hopefully fixed all the failing unit tests. Let's wait for the CI. @squakez thank you for the hint. It was very useful.


Changed expected exception check by JUnit API usage

This is a test refactoring.
Problem:
The Exception Handling test smell occurs when the test outcome is manually determined through pass or fail method calls, which are dependent on the production method throwing an exception, generally inside a try/catch block.
Solution:
We propose using JUnit's exception handling to automatically pass/fail the test instead of writing custom exception handling code or throwing an exception. In this particular case, JUnit 5 assertThrows() was used to properly handle the expected exception.
Result:
Before:
try {
    builder.maxAge(-1, TimeUnit.SECONDS);
    fail();
} catch (IllegalArgumentException expected) {
}

After:
assertThrows(IllegalArgumentException.class, () ->{
  builder.maxAge(-1, TimeUnit.SECONDS);
});

I am fundamentally in disagreement that using try/fail/catch is a problem.
If you just want to say this is a refactoring that reduces the boilerplate of that pattern with a helper method then I'm on board. It's literally the same exact pattern wrapped in a method. So if it's a smell, you're just spraying perfume to mask the odor rather than actually taking a shower or whatever this metaphor is breaking down but you get the point.
I usually prefer a custom assertThrows that returns a Truth ThrowableSubject since it's much easier to assert on the type with instanceOf/exactlyInstanceOf as well as the message, causal chain, etc.

You are absolutely right. There is no evident problem at a first glance.
Indeed, the central idea of this proposal is to make the exception catching a responsibility of the test framework, which already provides the same implementation wrapped in a method in its API. The boilerplate reduction would happen by centralizing the exception handling (through whatever pattern would be better suited to the task), potentially simplifying future maintenance activities both in test cases and test framework.
In addition, without the need of using try/catch blocks, test code might be more straightforward and comprehensive.
Thank you very much for your comments.

Yeah. I'm supportive for that reason!

What is proposed here? I really like this, but think one file is pointless, but changing this across at least a module makes sense.
I like it because it's possible to forget the fail() and such the cleanup is much safer.

Error prone enforces the fail call so it's solely a LOC win.

@eas5 Is there a plan to refactor all instances of this pattern or just this one in particular? If just this one, a bit of context around why this one is a problem would be helpful.

Doing this change as one specific cleanup at a time doesn't seem worthwhile


vben admin有没2.8.0升级到2.10.0的文档呢

Subject of the feature
vben admin有没2.8.0升级到2.10.0的文档呢
Problem
If the feature requests relates to a problem, please describe the problem you are trying to solve here.
Expected behaviour
What should happen? Please describe the desired behaviour.
Alternatives
What are the alternative solutions? Please describe what else you have considered?

同意 强烈推荐出一个文档   整理对应的更改，要不然改动太大，对于现有功能改动不清楚呀

改动有些太多了， 建议当前的项目就不要变更了


Hack Session 603 ✼ Remotely

22.11.2023
Wrap-up of our Gōng-fu I/O Weekly · Hack Session #603 ✼ Remotely ✼ meetup.
Projects
• Lit Labs › Signals — @olange and @rudifa
• ‹Bouboucle› generative art with Javascript — @andreaskundig and @david-hodgetts
See also

#602 Previous session
#604 Next session

Feedback on session #603 of @olange and @rudifa
Created following repository with sample code:

@gongfuio/learning-lit-signals

More to study:

lit/rfcs#0003 – Preact Signals

See also

#599 Previous feedback


Slow Artifact Download

Slow Artifact Download it takes about 2 hours to download and my connection is not the problem I have 560 Mbps Download and 940 Mbps Upload when I performed the test.
Normally it takes about 7-9 minutes to build a new container from scratch.
But with this issue all our pipelines fails if it does not have the artifact.cache because of a timeout on 20 min for downloading artifacts.
Scripts used to create container and cause the issue
Clear-Host
Write-Host "Start: $(([Datetime]::Now))"
$Artifact = Get-BCArtifactUrl -version 23 -type Sandbox -country w1 -select Latest
New-BcContainer -accept_eula -artifactUrl $Artifact -isolation process -auth UserPassword -Credential 'Dev' -containerName Test
Write-Host "End: $(([Datetime]::Now))"

Full output of scripts
Start: 02/14/2024 17:45:54
BcContainerHelper version 6.0.5
BC.HelperFunctions emits usage statistics telemetry to Microsoft
BcContainerHelper is version 6.0.5
BcContainerHelper is not running as administrator
UsePsSession is True
Host is Microsoft Windows 11 Enterprise - 10.0.22631.3007
Docker Client Version is 25.0.3
Docker Server Version is 25.0.3
Removing Desktop shortcuts
Downloading artifact /sandbox/23.4.15643.16218/w1
Downloading C:\Users\jrr\AppData\Local\Temp\2194d6ea-60d0-4366-a5f2-c9ea9a4a6d2f.zip
Downloading using HttpClient
Unpacking artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/23.4.15643.16218/platform
Downloading C:\Users\jrr\AppData\Local\Temp\16c0cee4-ae86-4ccc-82f6-9ec00dd40748.zip
Downloading using HttpClient
Unpacking artifact to tmp folder using 7zip
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.2227
Creating Container Test
Style: sandbox
Multitenant: Yes
Version: 23.4.15643.16218
Platform: 23.0.16180.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.20348.2227 (ltsc2022)
Host OS Version: 10.0.22631.3007 (Unknown/Insider build)
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\BcContainerHelper\Extensions\Test\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatecontainerhosts.ps1
Creating container Test from image mcr.microsoft.com/businesscentral:10.0.20348.2227
c485f195c6f522fb9619b493df169f12f618d81c7d02a30d9708f0cd5e9f6314
Waiting for container Test to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/w1
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\23.4.15643.16218\platform\ServiceTier\Program Files
c:\dl\sandbox\23.4.15643.16218\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\23.4.15643.16218\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\23.4.15643.16218\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\23.4.15643.16218\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\23.4.15643.16218\platform
c:\dl\sandbox\23.4.15643.16218\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\23.4.15643.16218\platform\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\23.4.15643.16218\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\23.4.15643.16218\w1\Extensions
Copying Applications
C:\dl\sandbox\23.4.15643.16218\platform\Applications
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 388 seconds
Installation complete
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is Test
PublicDnsName is Test
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 57A3B87D1A4B88515C4D0F4E62C2D16D5ED17CD7
DNS identity Test
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating Dev as SQL User and add to sysadmin
Creating SUPER user
Container IP Address: <IP_ADDRESS>
Container Hostname  : Test
Container Dns Name  : Test
Web Client          : http://Test/BC/?tenant=default
Dev. Server         : http://Test
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting Test-default to <IP_ADDRESS> in container hosts file

Files:
http://Test:8080/ALLanguage.vsix

Container Total Physical Memory is 31.7Gb
Container Free Physical Memory is 12.0Gb

Initialization took 49 seconds
Ready for connections!

Creating Container user winrm
Reading CustomSettings.config from Test
Creating Desktop Shortcuts for Test
Cleanup old dotnet core assemblies
Container Test successfully created

Use:
Get-BcContainerEventLog -containerName Test to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName Test to get debug information about the container
Enter-BcContainer -containerName Test to open a PowerShell prompt inside the container
Remove-BcContainer -containerName Test to remove the container again
docker logs Test to retrieve information about URL's again
End: 02/14/2024 19:51:29

So, you are saying that this:
$Artifact = Get-BCArtifactUrl -version 23 -type Sandbox -country w1 -select Latest
Download-Artifacts -artifactUrl $artifact -includePlatform

Takes 1-2 hours???
or is it the container creation?
I can see that you are not running as administrator, yet UsePsSession is true - that is strange, but would not cause any issues with artifact download.

It is the download part there takes 1-2 hours
It's the same if I just download the artifact from a browser

Artifacts are not fast and we are investigating ways to make them faster.
Having said that - I can (from my home with a similar internet connection as yours) get the BC artifact url in 7 seconds and download them in 1 minute and 40 seconds.
The problem seems to be local at your place - maybe you have a proxy or a virus scanner that causes this - it isn't something I can reproduce nor something I have seen from other people.

It is running fine now.
but the problem was not only on my work computer and in the office I tested at work and from home and at home I tested it on my private PC and om my work PC same result so it is not a proxy or virus scanner problem I think it is a Azure Blob Storage problem.
It is not the first time I have seen this problem.

I work at the same company as @evjrr and have tried the same command as you just posted @freddydk.
The results are quite a bit slower (~25 minutes to download artifacts). That is bad news for us since we have a timeout of 20 minutes to download an artifact.
In order to test on some other ISP, I had a couple of friends test the same URL (https://bcartifacts.azureedge.net/sandbox/23.4.15643.16247/w1). They reported as follows:

ISP: TDC, download time: 9 minutes, Location: Aarhus, Denmark
ISP: Kazoom, download time: 14 minutes, Location: Skanderborg, Denmark

Is it possible that the Azure Storage Account bcartifacts could be reaching some throughput limit at peak times?
We do not have experience with large public Azure Storage Accounts, but I think I would personally start at the following article and see if the metrics in Azure Storage reported any issues.
https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/troubleshoot-storage-performance
The simple solution for us would be to increase the timeout to 30 minutes or more, but I only see more pipelines/developers coming to Business Central.
PS C:\Users\jsa> Measure-Command {
>>     $Artifact = Get-BCArtifactUrl -version 23 -type Sandbox -country w1 -select Latest
>> }
BcContainerHelper version 6.0.3
BC.HelperFunctions emits usage statistics telemetry to Microsoft

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 18
Milliseconds      : 353
Ticks             : 183530401
TotalDays         : 0,000212419445601852
TotalHours        : 0,00509806669444444
TotalMinutes      : 0,305884001666667
TotalSeconds      : 18,3530401
TotalMilliseconds : 18353,0401

PS C:\Users\jsa> Measure-Command {
>>     Download-Artifacts -artifactUrl $artifact -includePlatform
>> }
Downloading artifact /sandbox/23.4.15643.16247/w1
Downloading C:\Users\jsa\AppData\Local\Temp\e3e8a53e-55fb-4d1a-943f-1171576de634.zip
Downloading using WebClient
Unpacking artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/23.4.15643.16247/platform
Downloading C:\Users\jsa\AppData\Local\Temp\9c2f87a8-657a-48a3-b481-3c4d906a0a3c.zip
Downloading using WebClient
Unpacking platform artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\23.4.15643.16247\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading using WebClient
Downloading c:\bcartifacts.cache\sandbox\23.4.15643.16247\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Downloading using WebClient

Days              : 0
Hours             : 0
Minutes           : 24
Seconds           : 43
Milliseconds      : 778
Ticks             :<PHONE_NUMBER>1
TotalDays         : 0,0171733569571759
TotalHours        : 0,412160566972222
TotalMinutes      : 24,7296340183333
TotalSeconds      : 1483,7780411
TotalMilliseconds : 1483778,0411

I have tested the direct download of weekly sandbox artifacts for DK (https://bcartifacts.azureedge.net/sandbox/23.4.15643.16092/dk) from home with a 1000 mbit connection - I have an extremely poor download speed at 16-24 kb per second which is back to analog modem "speed". Download ETA is 2+ hours!.  I know this is not containerhelper issue but something in Entra - please engage relevant people at Microsoft as all our pipelines are currently timing out and therefore failing.

Same here, I have actions in github taking forever, tried a local download just to check:

A part of it downloads and then it grinds to a halt, Chrome gave up finally. Gigabit fiber, so it should not be local.

I think somebody fixed the issue during the night, 7 pipelines executed this morning and everything is now back to normal speed :-)

Similar thing (but not a such extreme) was discussed here: #3320

I don't feel it's fixed, it comes and go... I'm still facing timeout issues using the latest bccontainerhelper... I don't face any on github runner, only on my self hosted runners with a 300Mbs internet speed.

@ronnykwon please create a new issue with the version of ContainerHelper used and artifact Url + the time spend when timing out


feat: add gamma strategy icons

Please review the following token assets:
📑 Description

Token Name: Gamma LP tokens
Project Website: yearn.fi

✅ Checks

[x] I created a new folder with the token address, all in lowercase
[x] I added the token's logo as a 32x32 PNG file, named logo-32.png
[x] I added the token's logo as a 128x128 PNG file, named logo-128.png
[x] I added the token's logo as a SVG file, named logo.svg
[x] My SVG logo is a proper SVG and not some base64 stuff
[x] My documentation/website clearly display the token address somewhere

@Majorfi the icons are not showing up for some reason: https://yearn.fi/v3?categories=multi_single&search=gamma


Can we apply IsResizable to individual grid items?

In the documentation  isResizable is under GridItem. So I assumed that this can be applied per item. However If I add grid items inside the grid layout like;
                        <grid-item v-for="item in layout"
                               :x="item.x"
                               :y="item.y"
                               :w="item.w"
                               :h="item.h"
                               :i="item.i"
                               :key="item.i"
                               is-resizable:item.isResizable <----based on true/false this should disable resizing for grid item
                               drag-allow-from=".draggable-handle"
                               drag-ignore-from=".no-drag" :ref="item.i">
                        <component :is="defaultWidgetContent" :widget="item.widgetData" v-once></component>

                    </grid-item>

So, when I add is-resizable dynamically for some grid-items they still can be resized.
The example in https://jbaysolutions.github.io/vue-grid-layout/guide/05-mirrored.html uses the is-resizable property not in the grid item but in the grid layout.
Is there a way i can disable resizing of selected grid-items?

Got it to work. I just missed the proper binding and setting the variable.


CustomerAccountController.cs

When customers log in and tries to manage subscriptions, they get:
Could not retrieve your account. Please try again later.
I traced this to line 125 in CustomerAccountController.cs
IEnumerable customerSubscriptions = await ApplicationDomain.Instance.CustomerSubscriptionsRepository.RetrieveAsync(Principal.PartnerCenterCustomerId).ConfigureAwait(false);
Line 123 works as expected:
ResourceCollection customerAllSubscriptions = await localeSpecificPartnerCenterClient.Customers.ById(clientCustomerId).Subscriptions.GetAsync().ConfigureAwait(false);
I see all customer subscriptions (test customer has 4 different office monthly products)
The test customer has no Azure subscription.

Line 114:
string clientCustomerId = Principal.PartnerCenterCustomerId;
Principal is null

Updating line 125 to:
IEnumerable customerSubscriptions = await ApplicationDomain.Instance.CustomerSubscriptionsRepository.RetrieveAsync(clientCustomerId).ConfigureAwait(false);
does not change anything. customerSubscriptions is still null making the following foreach loop impossible.
What is collected in the customerSubscriptions variable?

Now the error is a bit more constant. It is something at line 40. This error is repeated 3 times in the log, when the customer clicks "Manage subscriptions":
PID[5808] Error       ErrorHandler: Intercepted Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Store.PartnerCenter.Storefront.Controllers.CustomerAccountController.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Store.PartnerCenter.Storefront.Controllers.CustomerAccountController.d__0.MoveNext() in C:\Dev\Partner-Center-Storefront\src\Storefront\Controllers\CustomerAccountController.cs:line 40
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.TaskHelpersExtensions.d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoke
r.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.AuthenticationFilterResult.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.d__6.MoveNext(). Returning 500 as response.

This morning:
2019-02-25T07:20:43  PID[5808] Error       ErrorHandler: Intercepted Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Store.PartnerCenter.Storefront.Controllers.BaseController.get_Principal() in C:\Dev\Partner-Center-Storefront\src\Storefront\Controllers\BaseController.cs:line 21
at Microsoft.Store.PartnerCenter.Storefront.Controllers.CustomerAccountController.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Store.PartnerCenter.Storefront.Controllers.CustomerAccountController.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.TaskHelpersExtensions.d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()

This issue has been resolved with PR #15. Thank you for opening this issue and help us get it resolved.


Disable search in mopidy-pandora

Hi,
Is there anyway I can disable Pandora's search function? I want Mopidy-Touchscreen to be the only search function.

I'm not sure I understand the question - the frontend extension (i.e. Mopidy-Touchscreen) controls which backend's search function to call.
If you only want to perform searches on specific backend libraries, then that type of filtering is usually a feature provided in the frontend (e.g. Mopidy-Musicbox-Webclient does this).
Disabling searching on the backend is not supported by the Mopidy API.


FreeIPA server is already configured but with different version, volume update.

Container fails to start after upgrading to latest images with following error message:
FreeIPA server is already configured but with different version, volume update.

Currently the only way to use updated image is to kick off fresh install of FreeIPA with new (empty) data volume, which is certainly not optimal.
This error occurs no matter how many times I restart the container. It looks like something is not working between line 73 and 103 (https://github.com/adelton/docker-freeipa/blob/master/init-data#L73-L103).

The message is not an error, it's just reporting that it will do something about the volume.
Do you say that you see the message and then some error?

Yes. The container is not starting. I have following entries in container logs:
Apr 22 16:01:46 ipaserver.domain.tld systemd[1]: ipa-server-upgrade.service: Main process exited, code=exited, status=1/FAILURE
Apr 22 16:01:46 ipaserver.domain.tld systemd[1]: Failed to start Upgrade IPA server upon subsequent runs.
Apr 22 16:01:46 ipaserver.domain.tld systemd[1]: Dependency failed for Update self IP address of the IPA server.
Apr 22 16:01:46 ipaserver.domain.tld systemd[1]: ipa-server-update-self-ip-address.service: Job ipa-server-update-self-ip-address.service/start failed with result 'dependency'.
Apr 22 16:01:46 ipaserver.domain.tld systemd[1]: ipa-server-upgrade.service: Unit entered failed state.
Apr 22 16:01:46 ipaserver.domain.tld systemd[1]: ipa-server-upgrade.service: Failed with result 'exit-code'.
Apr 22 16:01:46 ipaserver.domain.tld systemd[1]: Powering off as result of failure.

I'm running containers with docker-compose and with IPA_SERVER_IP set to some "external" IP.

The first volume upgrade happens in init-data, before systemd is even started.
Please check /var/log/ipa-server-run.log and/or /var/log/ipa-server-configure-first.log for any clues.

From log files:
/usr/sbin/ipa-server-configure-first: line 85: /tmp/389-ds-base.script: Permission denied

It look like this is not what I suspected at first shot. It's (or at last it might be) because I'm using tmpfs feature of docker 1.10 and it prevents execution of temporary script form https://github.com/adelton/docker-freeipa/blob/master/ipa-server-configure-first#L85 .
I'm switching back to "on disk" volumes to see how it works.
I think this issue might be close but should I create new one about non executable /tmp in tmpfs?

I think it might be worth reporting against docker that the --tmpfs causes that filesystem to be non-executable -- it's not something I see on regular host, and I'd expect the behaviour to be the same in the container.
Of course, we can put the postinstall scriptlets that we run during upgrade somewhere else than to /tmp but there are potentially other parts of FreeIPA that might expect /tmp to allow execution.
Thank you for the investigation.

We should definitely create new issue about /tmp (and possibly /run) because there are many things to take into account before --tmpfs could be used with freeipa containers. Docker has very interesting behavior when it comes to --tmpfs. Just to show little example:
$ docker run --rm -it --tmpfs /tmp --tmpfs /run fedora:23 findmnt /tmp
TARGET SOURCE FSTYPE OPTIONS
/tmp   tmpfs  tmpfs  rw,nosuid,nodev,noexec,relatime,size=65536k
$ docker run --rm -it --tmpfs /tmp:rw --tmpfs /run fedora:23 findmnt /tmp
TARGET SOURCE FSTYPE OPTIONS
/tmp   tmpfs  tmpfs  rw,relatime

Please, note what I added in second line and how that affected mount options.
Also, it might be reasonable to assume that /tmp is mounted with noexec and I'm surprised that FreeIPA might assume differently. It's very common to mount /tmp with noexec option to mitigate some possible exploitation vectors.

Have you filed the issue against docker? We might want to reference it from here, so that people hitting similar issue get the information as well.

Yes, but there is no certainty that it would be treated as error - it might be a feature :-)
Here is a related issue: https://github.com/docker/docker/issues/22420

The change 071f69b078e547e361caffb7e7c5f44f2f630332 in master/fedora-23 branch now uses /var/libexec/ipa/ for the upgrade scriptlets -- hopefully that addresses the /tmp noexec situation.


Remove defunct --version flag from registry add command

Signed-off-by: Oren Shomron<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 1021

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 70.779%

Totals

Change from base Build 1018:
-0.01%

Covered Lines:
10316

Relevant Lines:
14575

💛  - Coveralls


Getting Container image expired error.

fail: Microsoft.CloudAI.Containers.Http.CloudClient[0]
ocr_1  |       Failed to reach endpoint. Trying 9 more times.
ocr_1  | fail: Microsoft.CloudAI.Containers.Http.CloudClient[0]
ocr_1  |       Failed to reach endpoint. Trying 8 more times.
ocr_1  | fail: Microsoft.CloudAI.Containers.Http.CloudClient[0]..
This container image is expired. Please update to a new container image version.
I am using the latest image of cognitive service,size of the image is around 5.7 GB.
containerpreview.azurecr.io/microsoft/cognitive-services-read
Let me know if any new image of cognitive service launched. With same image and container I am able to access the service earlier. Even there is no network or firewall issue exists on my machine.

@madhur02  Please help with the link of document on which above document feedback request is created.
In case your query in not related to document content, open a new forum thread in MSDN forum or Stack Overflow as it could be better place to get help on your scenario. These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.

@madhur02  Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Runtime: change atomic implementation for AllocationPool

The AllocationPool type is reflected upon and inspected by debugging
tools.  This requires that the layout of the atomically wrapped type
must store the value at offset 0.  However, the std::atomic does not
make any such guarantees, and a layout differing would render debug
utilities useless.  Switch instead from a std::atomic to
swift::atomic.  In order to do so, we also need to introduce the
compare_exchange_strong helper which maps to
compare_exchange_strong_explicit mirroring compare_exchange_weak.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @rjmccall @mikeash

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 12b18f28fcce7f020f375e37cac02ce4b21bf1dc

Build failed
Swift Test OS X Platform
Git Sha - 12b18f28fcce7f020f375e37cac02ce4b21bf1dc

@swift-ci please test


Added missing config options to README.md

Documentation is missing these parameters:
noAnimations
ignoreFailures
failIfNoDeviceConnected

Interesting note: Started running tests without gifAnimations and the run is considerably faster. The android studio is nearly instantly available after the tests finish.


Including Microsoft.Data.SqlClient.SNI dll files in MS Installer project

I am building a winform application and used nuget package Microsoft.SqlServer.SqlManagementObjects Which depends on Microsoft.Data.SqlClient.
When creating setup files for my project the files Microsoft.Data.SqlClient.SNI are not included in the detected dependencies. I have to add them manually as files to my setup package.
I am using VS2019 CE 16.7.1
SQL EE 2019
MS Visual Studio Installer Project Ver: 0.9.8
Microsoft.SqlServer.SqlManagementObjects Ver: 161.41011.9
.Net Framework 4.7.1
I am not sure if this is the appropriate repository to submit the issue to. But I had to start somewhere, so I decided to start from the bottom up.
Cheers

Hi @SuliemanMansouri can you try with Microsoft.SqlServer.SqlManagementObjects version: 161.41981.14-msdata? I tested with this and it worked fine. I will test with the older version to see if the problem comes up or no.

Hi @JRahnama, tried that still no luck. The files are present in my build folder but will not be included in the detected dependencies.

@SuliemanMansouri can you walk me through your application? How can I start the app the way you did or if you can make me a repro to see the steps?

@JRahnama
I noticed that when installing Microsoft.SqlServer.SqlManagementObjects, I can see that sqlClient.SNI is successfully added to my packages but doesn't show up in my reference tree.
Opening the packages folder the files are there but are not included in my project references.
To reproduce the problem :
Create WinForms Application .NET 4.7.2
Install  Microsoft.SqlServer.SqlManagementObjects.161.42121.15-msdata.
You can see in the Output screen for Package Manager that SNI is added
"Added package 'Microsoft.Data.SqlClient.SNI.2.0.0' to 'packages.config'
Successfully installed 'Microsoft.Data.SqlClient.SNI 2.0.0' to WindowsFormsApp2"
Check the References node in your project the files are not listed.
Trying to add the files to the references by browsing to either one of the package folder \build or \buildTransitive and selecting the files will result in the following error:

Since the files are not listed in the references they won't be added to my Install project when detecting dependencies for my assembly.
Fro now I am adding them manually to my setup project from my build folder

@SuliemanMansouri
SNI DLLs are Native C++ DLLs, so they need to be treated that way. Unfortunately dotnet sdk doesn't work nicely with native C++ DLLs when referencing .NET Framework, so we provide targets files (included in NuGets) and copy DLLs to target locations.
Since they're not .NET libraries hence not provided in "lib" folder but in "build" and "buildTransitive" folders.
We will look more into issues when SMO is referenced in WebForms, but just wanted to mention that to clear any doubts.

@cheenamalhotra
Thanks for the clarification. I guess that my solution for now is my only option.


controllers: create cluster claims for DisasterRecovery

This commit adds changes to create ACM resource "ClusterClaim" on the
cluster. This allows the hub cluster to read for data from its managed
clusters.
Signed-off-by: Vineet Badrinath<EMAIL_ADDRESS>

LGTM

Hello Vineet, This is out of scope for odf-operator. odf-operator is not aware of the ceph and all. Moreover, it also installs the IBM storagesystem.
I think this should go to the ocs-operator.

Here, We are syncing basic ODF information to the Hub cluster's ManagedCluster CR.
ManagedCluster CR is nothing but provides very high-level information about the managed cluster.
Once, the ODF cluster is managed by the ACM, this code will sync very the basic information about the ODF operator to the HUB cluster. So that the user can know about ODF from the Hub cluster itself. Also, DR UI can know about the managed cluster and its ODF details from ManagedCluster CR itself.
It can be any kind of ODF cluster, for now, we are syncing only OCS type StroageSystme info. In the future, we will sync IBM type also.

...I don't see why this needs to be in the odf-operator. Looking at the spec, there's nothing to say it needs to be created by any particular operator/controller as long as it properly exists in the managed cluster. The only ClusterClaim that I see as valid for odf-operator would be the StorageSystem version. Everything else should be created by a similar controller in ocs-operator.

closing in favour of https://github.com/red-hat-storage/ocs-operator/pull/1789


Does the replacement of the rendering API on iOS really improve the performance of the Flutter APP?

Hello～
According to the update report of flutter 1.17, after version 1.17, most iOS devices will use Metal as the default rendering API. At the same time, it also emphasizes that the improvement of rendering performance brought by this point is theoretically no problem. But according to my actual test, on the flutter 1.22.6 version, when it is installed for the first time, the Raster thread takes up to 800ms when opening an interface composed of local pictures and text in my APP for the first time. When I used OpenGL, this phenomenon was significantly improved. When I opened this interface for the first time, Raster only used about 100ms. The test device I used for the above data is iPhone6. After that, I also used iPhone8 and iPhone12 to test separately, and the results show that Metal's performance on Flutter can't surpass OpenGL. After opening the page for the first time, in the subsequent opening speed, Metal and OpenGL are almost the same, and the performance is very good. The above test data makes me very confused whether the advantages of using Metal on Flutter are as obvious as described in the official documents, or there are some problems in my current 1.22.6 version.

my current 1.22.6 version.

@tongyangsheng This is an obsolete version of the framework. When Flutter released 2.0, there were lot of performance improvements and fixes, so I encourage you to upgrade to latest stable version and try out your use case on it and see what you get. You can read more about Flutter 2.0 release here and see if it helps to answer your questions : https://medium.com/flutter/whats-new-in-flutter-2-0-fe8e95ecc65

hi, thanks @darshankawar
Because my company attaches great importance to the stability of the framework, we have stayed on the old version of Flutter for a long time. We are planning to upgrade to Flutter 2.0 in the near future. I will continue to use the same steps and methods. Test, hope the related issues will be resolved, thank you again for your reply

@tongyangsheng
In order to get best current performance fixes and updates, you'll need to upgrade to latest which has fixes and improvements. I am going ahead and closing this for now. After upgrade, if you see any performance related issues, write in comments or open a new issue using new issue template and we'll address it.


fix: zero weight service cannot be configured

Codecov Report

Merging #370 (3f3c902) into master (fb5bb33) will decrease coverage by 0.01%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #370      +/-   ##
==========================================
- Coverage   42.64%   42.63%   -0.02%
==========================================
  Files          39       38       -1
  Lines        3482     3481       -1
==========================================
- Hits         1485     1484       -1
  Misses       1826     1826
  Partials      171      171

Impacted Files
Coverage Δ

pkg/kube/translation/apisix_route.go
46.08% <0.00%> (ø)

pkg/kube/translation/plugin.go
100.00% <100.00%> (ø)

test/e2e/e2e.go

Continue to review full report at Codecov.

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


Strings starting with one or multiple 0's are converted to integers

Hiya,
First of all, thanks for a great library! I just ran into an issue where having a tag on a resource with value '00000014' was identified as an integer and then casted to int 14. Updating the resource is then not allowed because tags require a string value. We use those kind of padded values to map resources to internal order numbers of a fixed length.
Would it be possible to change the is_int() function to not detect those kind of values as an integer by - for example - making an exception on strings that have a length > 1 and start with a '0'?
Thanks,
Wessel

By default CloudFormation sends all values as strings and by default the resource provider does not do any conversion.  You can implement specific type conversions for your field values by overriding the method convert_property_types.  This method is called before the request is validated against your json schema.
The best generic converter  could  the json schema definition and only convert field types if they are not 'string'. I have not found a way to navigate the schema though.
For your case, I suggest you override  convert_property_types and only convert the fields you need. The nice thing is, if you they do not convert, you can leave them and the json schema validator will catch them for you.
hope this helps...


Worked on issue  #500 Feature Add email recipients more efficiently

This pull request implements Feature as requested in issue #466
Now we get suggestion of past used emails

Great, thanks for your contribution :) It seems like you linked the wrong issue (#466). Which issue should be closed by this PR?

Oh, I didn't read the title. Your implementation partially closes issue #500 because it was also requested that emails can be separated with commas instead of the dropdown.

Use Gmail-esque email form, which automatically submit an email address when typing the , (comma) symbol, so users can manually type in multiple email addresses without clicking the dropdown box all the time.

Would you like to include this feature in the current pull request, or should I merge it as it is for now?

Oh, I didn't read the title. Your implementation partially closes issue #500 because it was also requested that emails can be separated with commas instead of the dropdown.

Use Gmail-esque email form, which automatically submit an email address when typing the , (comma) symbol, so users can manually type in multiple email addresses without clicking the dropdown box all the time.

Would you like to include this feature in the current pull request, or should I merge it as it is for now?
the latter ill add the feature separately. Thanks

fixed https://github.com/stonith404/pingvin-share/pull/510#issue-2379469008