Fresh Install of Rendertoolbox gives error for libIlmImf

It is looking for
/usr/local/lib/libIlmImf-2_2.22.dylib
but I have a different file
/usr/local/lib/libIlmImf-2_3.24.dylib
I think I need to run some mexfile to update the binaries in RenderToolbox4_binary, but I am not sure which one.
Error for recipe "luminance-0_3500-reflectance-001-BigBall-Library":
Invalid MEX-file '/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4_binary/build/ReadMultichannelEXR.mexmaci64': dlopen(/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4_binary/build/ReadMultichannelEXR.mexmaci64, 6): Library not loaded: /usr/local/lib/libIlmImf-2_2.22.dylib
Referenced from: /Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4_binary/build/ReadMultichannelEXR.mexmaci64
Reason: image not foundSaving error info to "/Volumes/G-DRIVE USB/VirtualWorldColorConstancy/StimuliCondition2_covScaleFactor_0_001_NoReflection/Originals/Errors/luminance-0_3500-reflectance-001-BigBall-Library.mat":

We will look into this.

Vijay reports offline that the following worked:
"The mexfile in RenderToolbox4_Binary/build needs to be updated. I generated new mex file by running rtbMakeReadMultichannelEXR.m. This creates the mexfiles in RenderToolbox4/Utilities/ReadMultichannelEXR/ReadMultichannelEXR. I manually replaced this file in RenderToolbox4_Binary/build and the rendering worked. "
I updated the TbTb config for RTB4 so that the binaries won't get clobbered on each invokation of tbUse.  This is good, but has the downside that should we ever modify the binaries in some interesting way, you won't get them unless you delete your RenderToolbox4_Binary toolbox.  I think that is OK for now, but leaving this issue open.

Also added the need to do this copies in the instructions.

This issue returned. This time 'rtbMakeReadMultichannelEXR.m' does not complie on a newer computer (MacOSX Bigsur). The error is pasted below. Assuming the issue was with OpenEXR, I tried to install older version of openEXR but it gave another error:
ld: can't write output file: ../../bin/exr2aces for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/exr2aces] Error 1
make[1]: *** [OpenEXR/exr2aces/CMakeFiles/exr2aces.dir/all] Error 2
make: *** [all] Error 2
See issue #22 by Ben about OpenEXR libraries.
rtbMakeReadMultichannelEXR
mex -v -I/usr/local/include/OpenEXR -I/usr/include/OpenEXR -I/opt/local/include/OpenEXR -L/Applications/MATLAB_R2018a.app/bin/maci64 -L/usr/local/lib -L/usr/lib -L/opt/local/lib -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lpthread -output ReadMultichannelEXR ReadMultichannelEXR.cpp
Verbose mode is on.
... Looking for compiler 'Xcode Clang++' ...
... Looking for environment variable 'DEVELOPER_DIR' ...No.
... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer').
... Looking for folder '/Applications/Xcode.app/Contents/Developer' ...Yes.
... Executing command 'which xcrun' ...Yes ('/usr/bin/xcrun').
... Looking for folder '/usr/bin' ...Yes.
... Executing command 'defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...No.
... Executing command 'defaults read /Library/Preferences/com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...Yes ('11.3').
... Executing command '
agreed=11.3
if echo $agreed | grep -E '[."]' >/dev/null; then
lhs=expr "$agreed" : '\([0-9]*\)[\.].*'
rhs=expr "$agreed" : '[0-9]*[\.]\(.*\)$'
if echo $rhs | grep -E '[."]' >/dev/null; then
rhs=expr "$rhs" : '\([0-9]*\)[\.].*'
fi
if [ $lhs -gt 4 ] || ( [ $lhs -eq 4 ] && [ $rhs -ge 3 ] ); then
echo $agreed
else
exit 1
fi
fi' ...Yes ('11.3').
... Executing command 'xcrun -sdk macosx --show-sdk-path' ...Yes ('/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk').
... Executing command 'xcrun -sdk macosx --show-sdk-version' ...Yes ('11.3').
... Executing command 'clang --version | grep -Eo '[0-9]+.[0-9]+.[0-9]'|head -1' ...Yes ('12.0.5').
Found installed compiler 'Xcode Clang++'.
Set INCLUDE = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/12.0.5/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/12.0.5/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks;
Options file details
Compiler location: /Applications/Xcode.app/Contents/Developer
Options file: /Applications/MATLAB_R2018a.app/bin/maci64/mexopts/clang++_maci64.xml
CMDLINE200 : /usr/bin/xcrun -sdk macosx11.3 clang++ -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -framework Cocoa -bundle  -stdlib=libc++ -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2018a.app/extern/lib/maci64/mexFunction.map" -Wl,-exported_symbols_list,"/Applications/MATLAB_R2018a.app/extern/lib/maci64/c_exportsmexfileversion.map" -Wl,-U,_mexCreateMexFunction -Wl,-U,_mexDestroyMexFunction -Wl,-U,_mexFunctionAdapter -Wl,-exported_symbols_list,"/Applications/MATLAB_R2018a.app/extern/lib/maci64/cppMexFunction.map" /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/ReadMultichannelEXR.o /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/cpp_mexapi_version.o   -lIlmImf  -lz  -lImath  -lHalf  -lIex  -lIlmThread  -lpthread   -L/Applications/MATLAB_R2018a.app/bin/maci64  -L/usr/local/lib  -L/usr/lib  -L/opt/local/lib   -L"/Applications/MATLAB_R2018a.app/bin/maci64" -lmx -lmex -lmat -L"/Applications/MATLAB_R2018a.app/extern/bin/maci64" -lMatlabDataArray -lMatlabEngine -o /Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.mexmaci64
CC : /usr/bin/xcrun -sdk macosx11.3 clang
CXX : /usr/bin/xcrun -sdk macosx11.3 clang++
DEFINES : -DMATLAB_DEFAULT_RELEASE=R2017b  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
MACOSX_DEPLOYMENT_TARGET : 10.9
CFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
CXXFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fobjc-arc -std=c++11 -stdlib=libc++
INCLUDE : -I"/usr/local/include/OpenEXR" -I"/usr/include/OpenEXR" -I"/opt/local/include/OpenEXR"  -I"/Applications/MATLAB_R2018a.app/extern/include" -I"/Applications/MATLAB_R2018a.app/simulink/include"
CXXOPTIMFLAGS : -O2 -fwrapv -DNDEBUG
CXXDEBUGFLAGS : -g
LD : /usr/bin/xcrun -sdk macosx11.3 clang
LDXX : /usr/bin/xcrun -sdk macosx11.3 clang++
LDFLAGS : -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -framework Cocoa -bundle  -stdlib=libc++
LDBUNDLE : -bundle
LINKEXPORT : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2018a.app/extern/lib/maci64/mexFunction.map"
LINKEXPORTVER : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2018a.app/extern/lib/maci64/c_exportsmexfileversion.map"
LINKEXPORTCPP : -Wl,-U,_mexCreateMexFunction -Wl,-U,_mexDestroyMexFunction -Wl,-U,_mexFunctionAdapter -Wl,-exported_symbols_list,"/Applications/MATLAB_R2018a.app/extern/lib/maci64/cppMexFunction.map"
LINKLIBS : -lIlmImf  -lz  -lImath  -lHalf  -lIex  -lIlmThread  -lpthread   -L/Applications/MATLAB_R2018a.app/bin/maci64  -L/usr/local/lib  -L/usr/lib  -L/opt/local/lib   -L"/Applications/MATLAB_R2018a.app/bin/maci64" -lmx -lmex -lmat -L"/Applications/MATLAB_R2018a.app/extern/bin/maci64" -lMatlabDataArray -lMatlabEngine
LDOPTIMFLAGS : -O
LDDEBUGFLAGS : -g
OBJEXT : .o
LDEXT : .mexmaci64
SETENV : CC="/usr/bin/xcrun -sdk macosx11.3 clang"
            CXX="/usr/bin/xcrun -sdk macosx11.3 clang++"
            CFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -DMATLAB_DEFAULT_RELEASE=R2017b  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE "
            CXXFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -DMATLAB_DEFAULT_RELEASE=R2017b  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE "
            COPTIMFLAGS="-O2 -fwrapv -DNDEBUG"
            CXXOPTIMFLAGS="-O2 -fwrapv -DNDEBUG"
            CDEBUGFLAGS="-g"
            CXXDEBUGFLAGS="-g"
            LD="/usr/bin/xcrun -sdk macosx11.3 clang"
            LDXX="/usr/bin/xcrun -sdk macosx11.3 clang++"
            LDFLAGS="-Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -framework Cocoa -bundle  -stdlib=libc++ -lIlmImf  -lz  -lImath  -lHalf  -lIex  -lIlmThread  -lpthread   -L/Applications/MATLAB_R2018a.app/bin/maci64  -L/usr/local/lib  -L/usr/lib  -L/opt/local/lib   -L"/Applications/MATLAB_R2018a.app/bin/maci64" -lmx -lmex -lmat -L"/Applications/MATLAB_R2018a.app/extern/bin/maci64" -lMatlabDataArray -lMatlabEngine -Wl,-exported_symbols_list,"/Applications/MATLAB_R2018a.app/extern/lib/maci64/mexFunction.map""
            LDDEBUGFLAGS="-g"
DEVELOPER_DIR_CHECK :
XCODE_DIR : /Applications/Xcode.app/Contents/Developer
XCRUN_DIR : /usr/bin
XCODE_AGREED_VERSION : 11.3
ISYSROOT : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
SDKVER : 11.3
CLANG_VERSION : 12.0.5
MATLABROOT : /Applications/MATLAB_R2018a.app
ARCH : maci64
SRC : "/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp";"/Applications/MATLAB_R2018a.app/extern/version/cpp_mexapi_version.cpp"
OBJ : /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/ReadMultichannelEXR.o;/var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/cpp_mexapi_version.o
OBJS : /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/ReadMultichannelEXR.o /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/cpp_mexapi_version.o
SRCROOT : /Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR
DEF : /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/ReadMultichannelEXR.def
EXP : "/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.exp"
LIB : "/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.lib"
EXE : /Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.mexmaci64
ILK : "/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.ilk"
MANIFEST : "/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.mexmaci64.manifest"
TEMPNAME : /Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR
EXEDIR : /Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/
EXENAME : ReadMultichannelEXR
OPTIM : -O2 -fwrapv -DNDEBUG
LINKOPTIM : -O
CMDLINE100_0 : /usr/bin/xcrun -sdk macosx11.3 clang++ -c -DMATLAB_DEFAULT_RELEASE=R2017b  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/usr/local/include/OpenEXR" -I"/usr/include/OpenEXR" -I"/opt/local/include/OpenEXR"  -I"/Applications/MATLAB_R2018a.app/extern/include" -I"/Applications/MATLAB_R2018a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -O2 -fwrapv -DNDEBUG "/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp" -o /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/ReadMultichannelEXR.o
CMDLINE100_1 : /usr/bin/xcrun -sdk macosx11.3 clang++ -c -DMATLAB_DEFAULT_RELEASE=R2017b  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/usr/local/include/OpenEXR" -I"/usr/include/OpenEXR" -I"/opt/local/include/OpenEXR"  -I"/Applications/MATLAB_R2018a.app/extern/include" -I"/Applications/MATLAB_R2018a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -O2 -fwrapv -DNDEBUG "/Applications/MATLAB_R2018a.app/extern/version/cpp_mexapi_version.cpp" -o /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/cpp_mexapi_version.o

Building with 'Xcode Clang++'.
/usr/bin/xcrun -sdk macosx11.3 clang++ -c -DMATLAB_DEFAULT_RELEASE=R2017b  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/usr/local/include/OpenEXR" -I"/usr/include/OpenEXR" -I"/opt/local/include/OpenEXR"  -I"/Applications/MATLAB_R2018a.app/extern/include" -I"/Applications/MATLAB_R2018a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -O2 -fwrapv -DNDEBUG "/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp" -o /var/folders/hp/ssq9bwp94v371h_sdz_rg9000000gn/T/mex_10283136009616_8836/ReadMultichannelEXR.o
Error using mex
In file included from
/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp:22:
In file included from /usr/local/include/OpenEXR/ImathBox.h:65:
In file included from /usr/local/include/OpenEXR/ImathVec.h:46:
In file included from /usr/local/include/OpenEXR/ImathExc.h:47:
In file included from /usr/local/include/OpenEXR/IexBaseExc.h:9:
In file included from /usr/local/include/OpenEXR/IexNamespace.h:49:
/usr/local/include/OpenEXR/IexConfig.h:19:9: warning: 'IEX_INTERNAL_NAMESPACE' macro redefined
[-Wmacro-redefined]
#define IEX_INTERNAL_NAMESPACE Iex_3_1
^
/usr/local/include/OpenEXR/IlmBaseConfig.h:32:9: note: previous definition is here
#define IEX_INTERNAL_NAMESPACE Iex_2_5
^
/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp:57:29:
error: member access into incomplete type 'const Imf_3_1::Header'
Box2i dw = file.header().dataWindow();
^
/usr/local/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of 'Imf_3_1::Header'
class IMF_EXPORT_TYPE Header;
^
/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp:61:48:
error: member access into incomplete type 'const Imf_3_1::Header'
const ChannelList &channels = file.header().channels();
^
/usr/local/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of 'Imf_3_1::Header'
class IMF_EXPORT_TYPE Header;
^
/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp:109:21:
error: variable has incomplete type 'Imf_3_1::FrameBuffer'
FrameBuffer frameBuffer;
^
/usr/local/include/OpenEXR/ImfForward.h:75:24: note: forward declaration of
'Imf_3_1::FrameBuffer'
class  IMF_EXPORT_TYPE FrameBuffer;
^
/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp:118:25:
error: use of undeclared identifier 'Slice'
Slice(HALF,
^
/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp:145:25:
error: use of undeclared identifier 'Slice'
Slice(HALF,
^
/Users/julian/Documents/MATLAB/toolboxes/RenderToolbox4/Utilities/ReadMultispectralEXR/ReadMultichannelEXR/ReadMultichannelEXR.cpp:172:25:
error: use of undeclared identifier 'Slice'
Slice(HALF,
^
1 warning and 6 errors generated.
Error in rtbMakeReadMultichannelEXR (line 44)
eval(mexCmd);

My desktop is running Big Sur and:
a) I was able to duplicate your problem by running rtbTestInstallation.
b) There was a message that I needed to update subversion with instructions. I followed these, which
were to run "brew install subversion" in the command window.  If you don't have homebrew installed
on your machine, you would need to do that first.
c) I recompiled ReadMultichannelEXR by doing the following in Matlab:

cd ReadMultichannelEXR/
ls
ReadMultichannelEXR.cpp                            ReadMultichannelEXR.mexmaci64            TestSphereBlender.exr                   TestSphereMitsuba.exr                  mexopts.sh                                         rtbMakeReadMultichannelEXR.m                rtbReadMultichannelEXR.m

rtbMakeReadMultichannelEXR

This generated a pile of output and produced an updated ReadMultichannelEXR.mexmaci64.
d) I copied ReadMultichannelEXR.mexmaci64 to the toolbox RenderToolbox4_binary/build.  Before I did this, I renamed the old version that was there with an extension .old, just in case.
e) Running rtbTestInstallation again ran without errors.
This ought to work because I think my machine is pretty vanilla Big Sur.  But you never know.  In case the procedure above doesn't work, you can try the binary mex file attached here.
Let me know how it goes.
ReadMultichannelEXR.mexmaci64.zip

From: Vijay Singh<EMAIL_ADDRESS>Date: Thursday, January 20, 2022 at 6:17 PM
To: "Brainard, David H"<EMAIL_ADDRESS>Cc: "Cottaris, Nicolas"<EMAIL_ADDRESS>Subject: Re: [RenderToolbox/RenderToolbox4] Fresh Install of Rendertoolbox gives error for libIlmImf (#43)
This worked with openexr 2.5.2.
Also, there was some issue with struct2xml.m on Matlab 2018a version, but on newer versions of Matlab things work fine.
I am going to start thinking about binocular rendering from tomorrow. I will update you when I am able to do it.
On Wed, Jan 12, 2022 at 8:39 PM Brainard, David H<EMAIL_ADDRESS>wrote:
dhb@iMac ~ % brew list --version openexr
openexr 2.5.2
dhb@iMac ~ %
From: Vijay Singh<EMAIL_ADDRESS>Date: Wednesday, January 12, 2022 at 3:19 PM
To: "Brainard, David H"<EMAIL_ADDRESS>Cc: "Cottaris, Nicolas"<EMAIL_ADDRESS>Subject: Re: [RenderToolbox/RenderToolbox4] Fresh Install of Rendertoolbox gives error for libIlmImf (#43)
The issue might be due to the version of OpenEXR I have. Could you please tell me which version is installed on your computer?
On Wed, Jan 12, 2022 at 3:02 PM Vijay Singh<EMAIL_ADDRESS>wrote:
Hi David,
I followed the steps you provided. I was not able to compile readMultichannelEXR. When I do rtdMakeReadMultichannelEXR I get the error below. I also tried using the binary you provided, but it doesn't work as it was not compiled on my machine.

Great that it is now working.  Closing this issue.


Always emit a default initializer for classes

It's a compiler error to define an immutable class without an initializer (or initail values)
Fixes #827

This was not discovered by our tests because --initializers is always on.
We may want to expand our test suite to make sure that output code is valid, even if it cannot read JSON.


modulenotfounderror

Did you follow the setup procedures listed in the Readme.md?

Você seguiu os procedimentos de configuração listados no Readme.md?

hi, yes i followed all the steps correctly and when i run the Launcher as admin another error occurs

try running "pip list"

how I do this?

Hi, after installing phyton inside the lol bot folder the program worked normally!


rt-include usage yields "RTCodeError: rt-include needs a readFileSync polyfill on options"

Apparently readFileSync is necessary, and a polyfill should be included in "options", but how is this done and where? Docs would be great here :)

I think I've spotted a possible bug... are you running rt with no options at all?

I run it (react-templates 0.5.4) via react-templates-loader 0.5.1 via the following loader config:
{
test: /.rt$/,
loader: "react-templates-loader?modules=amd",
exclude: /node_modules/
},
I guess this translates to "--modules amd" as command line options.

I think there's a a problem with the loader as it directly calls
reactTemplates.convertTemplateToReact(source, options);

but options.readFileSync is filled only when running rt from the CLI.
I think this line should be moved elsewhere, so to cover the non-CLI case as well.


Open design issues: Discussion with Lisa

Symbols coherent a) in Tobira and b) between Tobira, Paella Player, Editor, and Studio?

Color scheme: Different color for links (vs. pop-ups)
Wording coherent (DE/EN)?

Wording is not coherent. See my suggestions in this comment: https://github.com/elan-ev/tobira/issues/808#issuecomment-1542519006

I suppose this can be closed now? Our contract with Lisa has long ended and I think most of these points were discussed at some point.

Correct.


Users/db/update user email

@dylanbrookes I made some updateUser changes. could you please review?


[integration_test] Allow to run integration tests on profile mode

Use case
On our CI pipeline we run the tests using flutter test integration_test command, and it works well since it has a nice reporting capability. The tests are though running very slowly as they run in debug mode.
Proposal
We would like to be able to run integration tests on profile mode, while keeping the JUnit reporting functionality that is missing with flutter drive command.

Running the tests in profile mode would improve the runtime speed of the tests, but it would slow down compilation by many times more.
If you want to run tests in profile mode I would recommend using the flutter drive command instead, at least for now

@lhimo
Check above recommendation and see if suits your use case.

I agree, for a small set of tests it's better to run on debug. But if I have a large set it's more convenient to wait a bit longer building the app, as the tests will take way less time.
Flutter drive does not provide a test report that we need to export at the end of the pipeline.

Thanks for the feedback. Labeling it as a potential proposal.

As a workaround, this script allows to extract a test list from a flutter drive log file. It was somewhat tested but not fully

If we need to run a test with keyboard events, we are advised to use integration_test over flutter_driver as flutter_driver doesn't support keyboard events (such as arrow up, down, etc)
However, if we are testing performance, we should be testing in profile mode, which is unsupported by integration_test, and we are advised to use flutter_driver :/
Is there any workaround to running integration_test with profile or release modes? How are we expected to test performance if we can only run in debug mode, and according to flutter docs, integration_test is meant to replace flutter_driver?

Is there any update on this as an option. I think @spauldhaliwal put it pretty well that we're in a catch 22 here when we want to test performance or at the very least remove the overhead of the debugger especially when, in my companies case, we rely on multiple isolates, and are trying to stream multiple video streams simultaneously and want to be able to track our stream decoding without the latency caused by carrying a debugger with us.


Matching CVAT task/job with dumped data

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Is there any option to match dumped data (ImageNet or Semantic Segmentation dump e.g.) with the same data in CVAT's  task -> job -> id?
Where can I get written information about images names in concrete task/job? Maybe DB or any table?
Context
After some automatical operations with annotations (getting metrics for 1.000+ images e.g.) I want to know where should I fix the wrong annotation in CVAT.
 Canvas 3D functionality. Basic actions. (#3112)

    * Rename, add css class

    * Update cypress test.

Docker version docker version (e.g. Docker 17.0.05): 20.10.05
Are you using Docker Swarm or Kubernetes? Nope
Operating System and version (e.g. Linux, Windows, MacOS): GNU/Linux Ubuntu 4.15.0-140-generic

In most formats, the dumped files have the same names as they had in the source CVAT task. Which formats did you export task to? You can find image names in the annotation window of the CVAT task.
CVAT only allows to navigate to a specific frame index. If you want to get image index in CVAT, you can do one of:
a) get it from the dumped data, if the output format includes such information
b) sort image paths / names lexicographically and get the index
c) export in CVAT for images / CVAT for video / Datumaro and find "frame index" there
Please, describe, what you want to do more precise, so I could help you better.
@bsekachev, adding navigation by image names could be useful.

You can see the current image name in CVAT near frame navigation elements.

Speaking about the database, you can see a mapping there if you have an access to it.
docker exec -it cvat_db /bin/bash
/usr/local/bin/createuser -s postgres
psql cvat --user postgres

SELECT engine_image.frame, engine_image.path from engine_task INNER JOIN engine_data on engine_task.data_id=engine_data.id INNER JOIN engine_image on engine_image.data_id = engine_data.id where engine_task.id=9;

From the UI point of view, I would suggest adding a feature to search a frame number by its name. Would it be a convenient solution for users in your opinion?

Hi @zhiltsov-max  and @bsekachev. Thank you for your answers.
I will try to give a clear example.
Suppose I have a full path to the file like "FULL/PATH/image.jpg". And I even know the task name / id where is it (but maybe not). How can I find the job id and frame id for this image in CVAT?
It would be useful if I had info like the following:

TASK_ID
JOB_ID
FRAME_ID
IMG_PATH

111
26
874
full/path/to/image.jpg

103
13
234
full/path/to/another_image.jpg

Is there a possibility to get it from CVAT?
I need this in case when I do some operations with annotations (using Semantic mask 1.1 e.g.) and then I need to fix the concrete image's annotation.
UPDATE
I've tried the following command in cvat_db
SELECT * from engine_task INNER JOIN engine_data on engine_task.data_id=engine_data.id INNER JOIN engine_image on engine_image.data_id = engine_data.id;

Am I right that

stop frame is the last frame in the task?
frame is the frame id for this task?
id is image id for the whole CVAT?

@nstolyarov

stop frame is the last frame in the task?

Not exactly. stop_frame is the latest frame in a job. A number of frames in a task: engine_task.size

frame is the frame id for this task?

I would say it is a frame number for this task.

id is image id for the whole CVAT?

I am not sure I understand you. engine_image.id is a primary key in the database, so, it is unique for the CVAT instance.
Generally speaking, a frame can be included into two jobs (if an overlap is enabled).
You can see a range of frames for a specific job on the task page:

@bsekachev

Not exactly. stop_frame is the latest frame in a job. A number of frames in a task: engine_task.size

It is strange because in the task with 35 jobs I have segment_size=20, stop_frame=680 and size=681 for every data in the table.
But nevertheless seems that this is realy what I need.
Thank you very much for your help.

It is strange because in the task with 35 jobs I have segment_size=20, stop_frame=680 and size=681 for every data in the table.

Sounds really strange. This is a piece of the table engine_segment:

You can see here start_frame and stop_frame fields are different for the same task_id field.

I would find it useful if when I exported annotations I could get a list of the image name (the file path) and the image number (0) in the example image I tried to upload. So if I have someone annotating images and there are some with issues I can have her record the number of the image with the issue and I can exclude it from my dataset.
Is this available? It sounds like this is what @nstolyarov is asking, but I'm not sure.

Adding to this. Is it possible to map job ID to task ID? There doesn't appear to be a way to do so.

@mikeyEcology this is in the engine_image table.
select path, frame from engine_image will give you that. Just make sure to realize that # (frame number) is replicated across tasks. For example, Task A will have a frame 2 and Task B will have a frame 2.

Try this:
create view task_job_frame
as
SELECT distinct ep.id as project_id, s.task_id as task_id, j.id AS job_id, s.frame_id, ei.path
FROM engine_job j
INNER JOIN (
SELECT id, task_id, generate_series(start_frame, stop_frame) AS frame_id
FROM engine_segment ) s ON j.segment_id = s.id
inner join engine_image ei
on ei.frame = s.frame_id
and ei.data_id = s.task_id
inner join engine_task et
on s.task_id = et.id
inner join engine_project ep
on et.project_id = ep.id
;

@avengersassemble @MattWittbrodt Is there any way to get the above information using cvat-cli or api? I have a single task which is divided into multiple non-overlapping jobs. Annotators have not done certain jobs and in those jobs that they have finished, there are some corrupt images (no annotations). I want to distinguish the images which are corrupt and the ones which have not been annotated yet. I do not have access to cvat-db and looking for a solution using api/cli. Can anyone help?

Hi, please check if the get_meta() and get_frames_info() methods of Task and Job in high-level SDK are useful.
Example 1, example 2, more complex example 3 with lower level API.


Installation docs

[Current coverage][cc-pull] is 56.67%

Merging [#495][cc-pull] into [development][cc-base-branch] will not change coverage

@@           development       #495   diff @@
=============================================
  Files                4          4
  Lines              397        397
  Methods             43         43
  Messages             0          0
  Branches            48         48
=============================================
  Hits               225        225
  Misses             172        172
  Partials             0          0

Powered by Codecov. Last updated by [37b36dd...0aef8d1][cc-compare]
[cc-base-branch]: https://codecov.io/gh/fossasia/open-event-webapp/branch/development?src=pr
[cc-compare]: https://codecov.io/gh/fossasia/open-event-webapp/compare/37b36ddac097606860e9e2ba3a20b8ada3741e78...0aef8d1333978c17b1b785b077ed94dfc301d7b4?src=pr
[cc-pull]: https://codecov.io/gh/fossasia/open-event-webapp/pull/495?src=pr


docs: add explanation to the FourierNeuralOperator tutorial

Checklist

[ ] Appropriate tests were added
[ ] Any code changes were done in a way that does not break public API
[ ] All documentation related to code changes were updated
[ ] The new code follows the
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
[X] Any new documentation only uses public API

Additional context
I was going through the Fourier Neural Operator tutorial and some of the concepts were a bit confusing to someone with no ML background, so I added some comments and created a tutorial.

run the formatter once and we should be good to go here


Apollo-java runtime explorations

In this exploration, an apollo-java module is added.
In this approach the module depends on apollo-runtime (but implementation only so it doesn't "leak")

pros: avoid re-writing some amount of code (and keep future changes in sync)
cons: we pull kotlin and coroutines dependencies

The code is mostly a bunch of facades around Kotlin code, using callbacks instead of coroutines/Flows. Sometimes a blocking version also exists, e.g. ApolloCall.executeBlocking (naming to be discussed!).
The facades are written in Java when possible:

avoids a buch of IntelliJ bugs (e.g. KTIJ-22127) related to usage of generics in Kotlin dependencies
nicer for users who navigate to the source to see a familiar language (although they won't see anything interesting, and will see Kotlin when going deeper)

The module also depends on apollo-normalized-cache-sqlite:

pros: cache-specific extensions on builders can be used in a "natural" way
cons:

dependency on cache even when not used
less modular (e.g. can't depend on incubating instead)
can't use implementation here because we want e.g. FetchPolicy to be visible. So now we expose 2 ApolloStore, you need to import the right one 🙁 (but maybe we could "facade" more things to avoid that)

Lots of things are missing (e.g. Interceptors)!
Misc open questions:

for one-off calls (e.g. execute) should we look into a Future based API instead of a specific callback?
for Flow like calls (e.g. watch) should we do something with Rx (like we do now with adapters), or are specific callbacks good / preferrable? Should we look into Java's Flow (never used it, didn't even know this existed until recently)

Related to #3694.

A bunch of early comments/thoughts

In this approach the module depends on apollo-runtime (but implementation only so it doesn't "leak")
pros: avoid re-writing some amount of code (and keep future changes in sync)
cons: we pull kotlin and coroutines dependencies

My gut feeling there is that there is not much logic in apollo-runtime and keeping it around would add a lot of friction (in addition to the added dependency)

Lots of things are missing (e.g. Interceptors)!

That's what I'm talking about. Designing a callback based API for interceptor, passing a non-suspend HttpEngine, having builders work without extension functions, etc... is going to be a lot of working around basic stuff...

Sometimes a blocking version also exists, e.g. ApolloCall.executeBlocking (naming to be discussed!).

Do we need blocking?

for Flow like calls (e.g. watch) should we do something with Rx (like we do now with adapters)

I think RxJava adapters make a lot of sense. Callback are widely compatible, RxJava/WebFlux/Flow/etc... is for everything else (including blocking calls like above) so we'd be better duplicating it.

The facades are written in Java when possible:

Yay for Java 👍

The module also depends on apollo-normalized-cache-sqlite
pros: cache-specific extensions on builders can be used in a "natural" way
cons:
dependency on cache even when not used
less modular (e.g. can't depend on incubating instead)

That's a pain but without extension functions, I don't think we can do without this. My 2 cents here would be to design  apollo-runtime-java without cache at first. Since it's mostly going to be used on the backend, I'm not sure how much caching is required there.

can't use implementation here because we want e.g. FetchPolicy to be visible. So now we expose 2 ApolloStore, you need to import the right one 🙁 (but maybe we could "facade" more things to avoid that)

If we decide we need a client cache for Java, we duplicate ApolloStore also. The only thing that stays is apollo-api everything else is duplicated. I know this duplicates some code but TBH, it's mostly glue that I don't think contains that much logic.

A bit of follow-up: I tend to agree with all of this :). With this "front-end" approach, the only benefit is to avoid rewriting some components (+ having to "backport" future fixes and features). But if the code in question is not that big / complex (especially true if we skip the cache for now) rewriting is not a huge deal. Writing façades/wrappers is also far from ideal, it's a lot of boilerplate, and as a Java developer it's not nice to see Kotlin when browsing the sources. And there's the coroutines dependency + odd stacktraces in exceptions.

Closing for now, as we're going with the other approach of rewriting (instead of writing wrappers) for the new runtime


Symlink group of files

Hi if i use this example:
gulp.task('default', function () {
  return gulp.src('assets/video.mp4')
    .pipe(symlink('build/videos')) // Write to the destination folder
});

than symlink looks like this:
build/videos

but i would like to get
build/videos/video.mp4

actually i would like to make symlinks for all files in folder to some destination so i could do something like this:
for this files i would like to create symlinks
src/a.file
src/b.file
src/c.file

and use something like this
gulp.task('default', function () {
  return gulp.src('src/*.file')
    .pipe(symlink('symlinkedfolder'))
});

and get this:
symlinkedfolder/a.file
symlinkedfolder/b.file
symlinkedfolder/c.file

is it possible or am i doing something wrong?

Possible duplicate: https://github.com/ben-eb/gulp-symlink/issues/19
gulp 4 has symlinking built in, so creating a stream of symlinks will be much easier then.

Thank you! is there any example?

API docs are here; https://github.com/gulpjs/vinyl-fs#symlinkfolder-options - not sure when gulp 4 will be released still, maybe @contra knows? :smile:

You can require in the latest vinyl-fs right now, gulp 4 is coming soon

Just thinking it might be easier to deprecate this module for vinyl-fs instead.

This module has now been deprecated. https://github.com/ben-eb/gulp-symlink#deprecation-notice


Is Transcrypt Dead?

Another issue with the same name #650, was closed last week by @JennaSys. But as far as I can tell, there have been no nontrivial changes in 2 years. And there are a few outstanding, recent issues with no work done on them.
Is this project something that will be maintained moving ahead? It seems worth asking again. Last time it was asked, in #650, back in 2019, a lot happened after that. Will it again?

TL;DR - Yes, it will be maintained moving forward.
Despite his strong desire to work on the project, after many months, Jacques (the creator of Transcrypt) concluded that he was no longer able to devote any significant time to the project. He reluctantly decided to pass the Transcrypt torch, and I agreed to take on the responsibility of continuing to move it forward. As (bad) luck would have it, as soon as I started to take on the task of working on it, I too ended up getting busy to where I was unable to devote time on it until recently.
My first step was to get the repo moved to it's new home on GitHub, familiarize myself with the deployment steps, update some doc links and and get a new version deployed to PyPI without breaking anything. Now that those initial steps are done, my next task will be to work on some bug fixes and low hanging new feature additions and enhancements. I've been spending the last week doing some housekeeping by going through open issues, and categorizing/closing out old questions/discussions that didn't require further response to try and get a better handle on what needed addressing first.
There is quite a bit that needs to be done, and at some point I am certain to be reaching out for additional help/expertise in areas where I know my own knowledge is not sufficient. My goal is to continue to improve the usability of Transcrypt and work towards adding functionality, at the same time keeping in mind the philosophy and goals that Jacques had originally set for the project.
I can not guarantee that there will be regularly scheduled updates, but I will keep Transcrypt moving forward to the best of my ability. If the time comes when I am no longer able to do so, I too will pass the torch.  As such, I hope to see it continue to grow. I have opened up the GitHub discussion area for the repo and encourage open discussion and the sharing of ideas, usage tips, and helping out anyone that gets stuck. I will continue to monitor that area, as well as addressing any new issues that get submitted.
-John

Thanks for your efforts John, they are very much appreciated.
Here is another vote of confidence from a happy Transcrypt user. Have been using it for years now, very happily.

Great to hear that, John! Thank you.

Is this still true?
I see no commits or activity since April, which seems a bit concerning.
I'm considering using transcrypt to port an application to JS...

No not dead, it has just been dormant again unfortunately. "Best-laid plans" and all that happened last year. There will be updates in the upcoming months though.

Closing as answered


Fix goto cell in the interactive pane to scroll

For #7639
Storing react refs in a map is a bad idea as a rerender doesn't update the object in the map.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0f4ba4e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7687   +/-   ##
=========================================
  Coverage          ?   57.92%
=========================================
  Files             ?      493
  Lines             ?    21647
  Branches          ?     3529
=========================================
  Hits              ?    12539
  Misses            ?     8290
  Partials          ?      818

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 0f4ba4e...21bd1f0. Read the comment docs.


Bypass getting assembly map on targeting .NetStandard 2.0

Unfortunately, loading DIA is failing when targeting .NET Standard 2.0. Just the same as targeting .NET Standard 1.6. Bypass it to avoid exceptions that break the proper symbol resolving for other cases.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #620   +/-   ##
=======================================
  Coverage   17.51%   17.51%
=======================================
  Files         216      216
  Lines      125013   125013
  Branches    12071    12071
=======================================
  Hits        21898    21898
  Misses     102252   102252
  Partials      863      863

Flag
Coverage Δ

#2017
17.51% <ø> (ø)
:arrow_up:

#Debug
17.51% <ø> (ø)
:arrow_up:

#Release
?

Impacted Files
Coverage Δ

src/TraceEvent/Symbols/NativeSymbolModule.cs
0% <ø> (ø)
:arrow_up:

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 5d55e45...f43b932. Read the comment docs.

While ifdefed code in .NET Core V1.6 it was a hack.  I don't want to extend the hack to 2.0.
I did a little research and I understand why it is failing now.  The issue is that we were using a foreach, which requires special conversion routines in CustomMarshalers, which is not supported on .net Core.
It is very easy, however to avoid the foreach (we can use a for(....)), which should work everywhere.
PR #621 includes this fix.   See

https://github.com/Microsoft/perfview/pull/621/files#diff-bfe16fd8ed848d802a238c52165149c7

I am going to close this PR in preference to that one.


docs: add twenty forty-eitght to 'in the wild'

Hey @SkYler163, could you open a PR in https://github.com/charm-and-friends/charm-in-the-wild?


Notice if a filesystem overwrites a partitioned disk

A common configuration error is to create a filesystem over a whole-disk device rather than the partition that was intended:
variant: fcos
version: 1.4.0
storage:
  disks:
  - device: /dev/sdb
    wipe_table: false
    partitions:
    - label: data
  filesystems:
    - path: /dev/sdb
      format: ext4
      with_mount_unit: true

Add a warning if a storage.filesystems.path matches a storage.disks.device.

I'm wondering if we should even do this warning at the Ignition level (which I think butane also surfaces Ignition warnings). That means the user would actually get the warning on the console because of our recent addition in https://github.com/coreos/fedora-coreos-config/pull/1621

Actually, yeah, that's a good point.  I'll leave this issue here for now so other people can weigh in, but if there's consensus we can move it over to Ignition.

This seems relevant to any distro using Ignition, so having this in Ignition directly SGTM!


Improving performance of input normalization

Related issue https://github.com/scrapinghub/dateparser/issues/167

is there a way we normalize input only once and delegate this responsibility somewhere at a higher level, may be in DateDataParser.get_date_data()?

Yes, albeit a couple of tests have to be modified. I have made those changes, please have look again.

Thanks @ammar-azif!


CLI available?

Very nice formatter! I especially like inlineShortArrays (something that is missing from many other beautifiers).
My question is: Is there a CLI package available, so I can run it and format files/input on command line?

Not as of yet. Good feature request. Added to my todo list.

Thank you!


optimize: use url to simplify the configuration center

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #4064 (60e3fa9) into develop (9d5ff40) will decrease coverage by 0.22%.
The diff coverage is 2.58%.

:exclamation: Current head 60e3fa9 differs from pull request most recent head b55c687. Consider uploading reports for the commit b55c687 to get more accurate results

@@              Coverage Diff              @@
##             develop    #4064      +/-   ##
=============================================
- Coverage      49.44%   49.22%   -0.23%
- Complexity      3750     3754       +4
=============================================
  Files            700      702       +2
  Lines          23571    23681     +110
  Branches        2912     2931      +19
=============================================
+ Hits           11654    11656       +2
- Misses         10731    10842     +111
+ Partials        1186     1183       -3

Impacted Files
Coverage Δ

...rc/main/java/io/seata/config/ConfigurationUrl.java
0.00% <0.00%> (ø)

...ery/registry/consul/ConsulRegistryServiceImpl.java
0.86% <ø> (-0.85%)
:arrow_down:

...a/io/seata/discovery/registry/RegistryService.java
0.00% <0.00%> (ø)

.../java/io/seata/discovery/registry/RegistryURL.java
0.00% <0.00%> (ø)

...covery/registry/etcd3/EtcdRegistryServiceImpl.java
10.76% <ø> (-0.69%)
:arrow_down:

...very/registry/zk/ZookeeperRegisterServiceImpl.java
60.74% <ø> (-0.29%)
:arrow_down:

.../main/java/io/seata/config/ConfigurationCache.java
73.26% <100.00%> (ø)

...gure/provider/SpringBootConfigurationProvider.java
53.33% <0.00%> (+8.33%)
:arrow_up:

此pr的作者由于时间冲突,不跟进最后一部分的改进了,如果有感兴趣的小伙伴欢迎基于此pr,将我在pr中留言的部分修正即可,可以说是个几乎现成的pr,注:为了尊重原作者的贡献,相关类上的author需要保留

已经solved了嘛 没得话 我接个盘 熟悉熟悉现在代码 @a364176773 😝

https://github.com/seata/seata/issues/3745 请来此issue认领,非常抱歉现在才看到


Hovering over dictionary key in the inspector results in error

Godot version
v4.2.dev.custom_build [6b727ebdd] (master at the time of writing)
System information
Godot v4.2.dev (6b727ebdd) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 Ti (NVIDIA; <IP_ADDRESS>42) - Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz (4 Threads)
Issue description
Hovering over an existing key of an exported Dictionary in the inspector results in the following error:
Invalid tooltip formatting. The expect string should be formatted as 'type|class|property|args'.

I discovered this while testing this pull request of mine: https://github.com/godotengine/godot/pull/82947 - however the error is not caused by it... I made a debug build of master to confirm, which showed that the error comes from here: https://github.com/godotengine/godot/blob/6b727ebdd298bdfad8b5c5ea78100bfb6a537d79/editor/editor_help.cpp#L2858
Steps to reproduce
Export a dictionary:
@export var x:Dictionary

Add some keys in the inspector, and hover over the key.
Note v4.2.dev6.official [57a6813bb] is not affected.
Minimal reproduction project
N/A

Duplicate of #82934.

Thanks for reporting the bug nonetheless!


Deleting the second 'rating metric' makes the text input field for the first disappear

If you add a second "Rating Metric" block, and then remove it again, this also deletes the text input field for the first rating metric.

I could not reproduce this problem again, let's close until we have a more solid description of how to trigger the issue.


framework limitations

This is not meant to be comprehensive, just to get the basics out in the open.  We can look to do a more in-depth report on accuracy and region as time allows.


Add no_std compatibility

Adds no_std compatibility  by adding a std feature and changing stds-import to core or alloc.
Updates scale-info from v2.2 to v 2.7
Fixes some clippy deprecated warnings.

Fixed it :)

Looks awesome! We should also add a CI check to ensure no_std compat isn't accidentally broken going forwards; adding this to the rust.yml file I think will do the trick:
  no_std:
    name: Check no_std build
    runs-on: ubuntu-latest
    steps:
      - name: Checkout sources
        uses: actions/checkout@v2

      - name: Install Rust stable toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          target: thumbv6m-none-eabi
          override: true

      - name: Rust Cache
        uses<EMAIL_ADDRESS>
      - name: Check all features
        uses<EMAIL_ADDRESS>        with:
          command: check
          # The thumbv6m-none-eabi doesn't support `std`, so
          # will fail if the crate is not no_std compatible.
          args: --no-default-features --target thumbv6m-none-eabi

I suppose it's fine to start with an architecture that's simple. If there's the need for a specific one that does not work, then there's always the possibility to open an issue.

Ah just need to also change the --target in the CI to aarch64-unknown-none too (maybe it defaults to the toolchain listed above already; not sure so I played it safe here!)

Edit: I did that :)


not suppoer IntermediateLayersKnowledgeDistillationLossConfig and SelfKnowledgeDistillationLossConfig?

The error occurred in compute_distillation_loss method of train.py file
    def compute_distillation_loss(self, student_outputs, teacher_outputs):
        """
        How the distillation loss is computed given the student and teacher outputs.
        """
        distillation_loss = None
        temperature = self.distillation_callback.criterion.temperature // error 1
        for student_output, teacher_output in zip(student_outputs, teacher_outputs):
            student_output = student_output / temperature
            teacher_output = teacher_output / temperature
            loss = self.distillation_callback.criterion.teacher_student_loss_cal(student_output, teacher_output) // error 2
            distillation_loss = loss if distillation_loss is None else distillation_loss + loss
        distillation_loss *= temperature**2
        return distillation_loss

'PyTorchIntermediateLayersKnowledgeDistillationLoss' object has no attribute 'temperature'
'PyTorchIntermediateLayersKnowledgeDistillationLoss' object has not teacher_student_loss_cal
'PyTorchSelfKnowledgeDistillationLoss' object has not teacher_student_loss_cal

What is the reason for this? Is it not supported by itself or am I using it in a wrong way
python：3.8.8
neural-compressor：2.2
optimum-intel：1.9.1.dev0

Hi @lewis-v,
Apologies for the late reply, intra-layer distillation is currently not supported by the INCTrainer. An error should be raised on our side when an unsupported distillation config is provided, thanks for letting us know !


Reducing Repository Size

Probably best to cut down on the size of the repository, possibly making it easier to create a "binary" that isn't already big enough.
Already opened a PR

Done in rewrite, closing.


Validations model specs

Added the following validations:
For the User model:
Name is not blank.
PostsCounter is an integer greater than or equal to zero.
For the Post model:
Title is not blank.
Title does not exceed 250 characters.
CommentsCounter is an integer greater than or equal to zero.
LikesCounteris an integer greater than or equal to zero.
Added unit specs for all of my models' methods and validations.
test for my like class model are failing, kindly help

Hi @mosidrum
Rubocop and Rspec linters are failing. Kindly ensure to resolve it asap!


adding support for SSML in responses

I have added initial support for making SSML responses, converting each plain_text response to SSML. There is utility associated such that it knows to remove the SSML in a card, and can handle linking of speechOutputs such that there is only one outer  element.
This allows you to embed SSML in your response.say() calls and makes it easy to use that text in the response.card() call as it will strip out only the SSML.
I left .clear() alone as having an empty response in PLAIN_TEXT should not break anything. The first assigment will change it to SSML.
NOTE: One of the other things SSML.fromStr provides is a mapping of number literals to word phrases through the numbered module. Even though Alexa speaks the number literals, if it is at the end of the sentence, it will also say "dot" after reading the number. I believe the API states that the word should be used instead of the literal.

Note - This change introduced a dependency on numbered, which wasn't in package.json as a dependency. Resolved in version 2.3.1

Although version 2.3.2 will take that module back out, haha!


Weird behavior of configureOnOpen with external source directory

Brief Issue Summary
When cmake.sourceDirectory is set to a place which is not under the workspace directory, CMake Tools doesn't start configuration automatically after opening VSCode even though cmake.configureOnOpen is set to true. But the first time you invoke configuration manually, CMake Tools double-runs configuration and you'll get an error "Configuration is already in progress."
Similar to #783
Steps to reproduce:

Create a workspace directory. (e.g. D:/Projects/_test/codetest/workspace here)
Write .vscode/settings.json like below

{
    "cmake.configureOnOpen": true,
    "cmake.cmakePath": "C:/Program Files/CMake/bin/cmake.exe",
    "cmake.buildDirectory": "D:/Projects/_test/codetest/build",
    "cmake.generator": "Ninja",
    "cmake.configureSettings": {
        "CMAKE_MAKE_PROGRAM": "C:/Development/depot_tools/ninja.exe"
    },
    "cmake.sourceDirectory": "D:/Projects/_test/codetest/src",
}

Put appropriate CMakeLists.txt under the source directory specified in .vscode/settings.json.
Open the workspace directory with VSCode.

Expected:
CMake configuration runs at startup automatically.
Apparent Behavior:
Configuration doesn't run automatically. After invoking configuration manually, "Configuration is already in progress." error is shown.
Platform and Versions

Operating System: Windows Pro x64
CMake Version: 3.17.3
VSCode Version: 1.47.2
CMake Tools Extension Version: 1.4.1
Compiler/Toolchain: Visual C++ 2017 Express

Other Notes/Information
As workaround, putting a dummy CMakeLists.txt under the workspace directory solves the problem.

Because the CMakeLists.txt is outside of the workspace folder, VS Code doesn't end up activating the CMake Tools extension until you run the configuration command.  The extension doesn't know the condition that activates it and ends up trying to configure again.  We'll see if there is anything we can do to detect this case and prevent it.  Your workaround sounds like exactly the right thing to trick VS Code and the extension into doing the right thing for now.


[TASK] Remove DeclarationBlock::getSelector

Removing one function after another.

I fixed the changelog message.

Rebased and force-pushed.


Update guava to 28.1-jre

Updates com.google.guava:guava from 25.1-jre to 28.1-jre.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.guava", artifactId = "guava" } ]

scio's still on 25 https://github.com/spotify/scio/blob/master/build.sbt#L51


Files with uppercase extensions are not uploaded with azcopy

We are migrating to Azure, but we have a lot of files. I have a copy script for every file extension we want to copy to blob storage. We are using AzCopy 8. For example png files:
For regular png files we get the result:
Finished 1252 of total 1252 file(s).
[2018/08/24 00:36:15] Transfer summary:
-----------------
Total files transferred: 1252
Transfer successfully:   1252
Transfer skipped:        0
Transfer failed:         0
Elapsed time:            00.00:00:26

This command however
.\AzCopy.exe /@:"C:\Path\inputParams.txt" /Pattern:"*.PNG /V:"C:\LogPath\png-cap.log"

inputParams.txt is this:
/Source:"D:\RootPath"
/Dest:https://blip.blob.core.windows.net/root/
/DestKey:{omitted}==
/SetContentType
/NC:4
/S
/XO
/Y

Prints this
Finished 0 of total 0 file(s).
[2018/08/24 00:36:32] Transfer summary:
-----------------
Total files transferred: 0
Transfer successfully:   0
Transfer skipped:        0
Transfer failed:         0
Elapsed time:            00.00:00:17

The output of C:\LogPath\png-cap.log is:
[2018/08/24 00:36:15.362+02:00] >>>>>>>>>>>>>>>>
[2018/08/24 00:36:15.378+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 00:36:15.378+02:00][VERBOSE] 8.0.0 : AzCopy /@:C:\Path\inputParams.txt /Pattern:*.PNG /V:C:\LogPath\png-cap.log
[2018/08/24 00:36:15.471+02:00][VERBOSE] Attempt to parse address 'D:\RootPath' to a directory as a candidate location succeeded.
[2018/08/24 00:36:15.471+02:00][VERBOSE] Source is interpreted as a Local directory: D:\RootPath\.
[2018/08/24 00:36:15.502+02:00][VERBOSE] Attempt to parse address 'https://blip.blob.core.windows.net/root/' to a directory as a candidate location succeeded.
[2018/08/24 00:36:15.518+02:00][VERBOSE] Attempt to parse address 'https://blip.blob.core.windows.net/root/' to a single file location failed: Invalid location 'https://blip.blob.core.windows.net/root/', cannot get valid account, container and blob name.
[2018/08/24 00:36:15.518+02:00][VERBOSE] Destination is interpreted as a Cloud blob directory: https://blip.blob.core.windows.net/root/.
[2018/08/24 00:36:20.370+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 00:36:25.377+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 00:36:30.369+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 00:36:32.647+02:00] Transfer summary:
-----------------
Total files transferred: 0
Transfer successfully:   0
Transfer skipped:        0
Transfer failed:         0
Elapsed time:            00.00:00:17

Is there a way to have the files with capital letters as an extension uploaded?

Hi @Jogai, thanks for reaching out! We’ll investigate and get back to you shortly.

Much appreciated

Sorry, was using an older version indeed. But the latest version does give the same result
[2018/08/24 01:43:43.055+02:00] >>>>>>>>>>>>>>>>
[2018/08/24 01:43:43.227+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 01:43:43.414+02:00][VERBOSE] 8.1.0 : AzCopy /@:C:\inputParams.txt /Pattern:*.PNG /V:C:\png-cap.log
[2018/08/24 01:43:43.867+02:00][VERBOSE] Attempt to parse address 'E:\RootPath' to a directory as a candidate location succeeded.
[2018/08/24 01:43:43.867+02:00][VERBOSE] Source is interpreted as a Local directory: E:\RootPath\.
[2018/08/24 01:43:43.945+02:00][VERBOSE] Attempt to parse address 'https://blip.blob.core.windows.net/root/' to a directory as a candidate location succeeded.
[2018/08/24 01:43:44.007+02:00][VERBOSE] Attempt to parse address 'https://blip.blob.core.windows.net/root/' to a single file location failed: Invalid location 'https://blip.blob.core.windows.net/root/', cannot get valid account, container and blob name.
[2018/08/24 01:43:44.007+02:00][VERBOSE] Destination is interpreted as a Cloud blob directory: https://blip.blob.core.windows.net/root/.
[2018/08/24 01:43:48.188+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 01:43:50.918+02:00] Transfer summary:
-----------------
Total files transferred: 0
Transfer successfully:   0
Transfer skipped:        0
Transfer failed:         0
Elapsed time:            00.00:00:08

And I'm sure the files do exist...

@EmmaZhu for azcopy v8

@Jogai  Could you share the exact command line you were using?
I just tried to upload files with extension ".TXT" and ".txt" with following command successfully:
AzCopy.exe /source:AzCopySourceFolder /dest:http://myaccount.blob.core.windows.net/container1 /destkey:*** /pattern:*.TXT

@Jogai
I just tried to upload files with extension ".TXT" and ".txt" with following command successfully:
AzCopy.exe /source:AzCopySourceFolder /dest:http://myaccount.blob.core.windows.net/container1 /destkey:*** /pattern:*.TXT
From the command line you shared, could you check whether there's file with exact the same name on destination which has newer last modified time? It might have been filtered out for /XO option.

Sorry, logical error on my part.
I made a script that outputted my parameter files and the commands I needed to run. It ouputs the file types I want to copy in a azcopy statement, ordered by how many files there are with an extension. For png files it gives me this:
.\AzCopy.exe /@:"C:\Path\inputParams.txt" /Pattern:"*.png" /V:"C:\LogPath\png-270560.log"

.\AzCopy.exe /@:"C:\Path\inputParams.txt" /Pattern:"*.PNG" /V:"C:\LogPath\PNG-109203.log"

I always have more files with normal lowercase extension, and that command does copy the uppercase ones as well... Then the uppercase command is run, but because of the XO parameter the files are skipped indeed.
If I look in my log files the count is indeed the sum for both (the file names of the actual log do have the number of files per extension in them).
Thanks for pointing me in the right direction!


Helm3 not working on OSX 10.15.5/6 - X509 certificate complaints doing repo update

Attempting to run
helm update repo

results in this:
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "ibm-charts" chart repository (https://raw.githubusercontent.com/IBM/charts/master/repo/stable/):
	Get https://raw.githubusercontent.com/IBM/charts/master/repo/stable/index.yaml: x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "stable" chart repository (https://kubernetes-charts.storage.googleapis.com):
	Get https://kubernetes-charts.storage.googleapis.com/index.yaml: x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "bitnami" chart repository (https://charts.bitnami.com/bitnami):
	Get https://charts.bitnami.com/bitnami/index.yaml: x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "nginx-stable" chart repository (https://helm.nginx.com/stable):
	Get https://helm.nginx.com/stable/index.yaml: x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "jetstack" chart repository (https://charts.jetstack.io):
	Get https://charts.jetstack.io/index.yaml: x509: failed to load system roots and no roots provided; exit status 49
Update Complete. ⎈ Happy Helming!⎈

The same type of errors are occuring with kubectl and many unrelated programs that use "go get"
I have tried binaries from brew, and the official binaries of the latest 3.2 and 3.3 versions.

Output of helm version:
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:30:33Z", GoVersion:"go1.15", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"9f2892aab98fe339f3bd70e3c470144299398ace", GitTreeState:"clean", BuildDate:"2020-08-13T16:04:18Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
N/A -- bare metal.

Hi, @richard-fairthorne - I think this may be a go issue, not specific to Helm. There are some ideas for solving it in https://github.com/GoogleCloudPlatform/cloudsql-proxy/issues/341 and even in a very old post here: https://groups.google.com/g/golang-nuts/c/gyL_jeOyxQA
I can't replicate the problem so I cannot test solutions, but I suspect it is something to do with how your go is installed and what your macOS system has in the keychain.

I am using a pre-built binary from the helm website. Would this use my system "go"? I got the impression from the version strings that helm is compiled in advance.

The problem began after upgrading helm, but I cannot recall what version I had earlier :(

Richards-MacBook-Pro:~ rich$ sudo rm -rf /usr/local/go
Richards-MacBook-Pro:~ rich$ sudo rm /etc/paths.d/go
Richards-MacBook-Pro:~ rich$ go
-bash: go: command not found
Richards-MacBook-Pro:~ rich$ which go
Richards-MacBook-Pro:~ rich$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "ibm-charts" chart repository (https://raw.githubusercontent.com/IBM/charts/master/repo/stable/):
	Get "https://raw.githubusercontent.com/IBM/charts/master/repo/stable/index.yaml": x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "stable" chart repository (https://kubernetes-charts.storage.googleapis.com):
	Get "https://kubernetes-charts.storage.googleapis.com/index.yaml": x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "bitnami" chart repository (https://charts.bitnami.com/bitnami):
	Get "https://charts.bitnami.com/bitnami/index.yaml": x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "nginx-stable" chart repository (https://helm.nginx.com/stable):
	Get "https://helm.nginx.com/stable/index.yaml": x509: failed to load system roots and no roots provided; exit status 49
...Unable to get an update from the "jetstack" chart repository (https://charts.jetstack.io):
	Get "https://charts.jetstack.io/index.yaml": x509: failed to load system roots and no roots provided; exit status 49
Update Complete. ⎈Happy Helming!⎈

Doesn't the error originate from the golang that the binary is build against?

Yes, that is correct.

x509: failed to load system roots and no roots provided; exit status 49

A similar error reported in https://github.com/kubeless/kubeless/issues/748 seems to suggest that /etc/ssl is not present on your machine. Have you tried installing your operating system's default root chain certificates? An apt install ca-certificates ought to do the trick.

@bacongobbler Thanks for your reply.
My system does have /etc/ssl -- but most importantly, it is a mac running OSX. I believe the command "apt install ca-certificates" is intended for debian derivative linux distributions. It certainly won't run on my system.
Reverting to older binaries, I still have the same problem. I have found the same problem with kubectl when trying to apply yaml files from https locations. But it seems like everything not relying on GO works just fine.
I'm very stuck with this, and cannot support my cluster from my own laptop anymore.
All help is appreciated.

I have solved the problem! This is an OSX specific problem cause by a corrupted or somehow broken keychain.
I was able to solve the problem by resetting to my default keychain.
Keychain Access -> Preferences... -> Reset my Default Keychains
Thank you for your time and consideration.


Updated Astro_Images.ipynb

Hello @StupidPork, this is a pretty old and unused repo. I don't think anyone will be coming to review or merge this.
In fact, I will be asking for this repo to be archived or removed in the future.


⚠ Bofrost.at has degraded performance

In 20a4cfd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 814 ms

Resolved: Bofrost.at performance has improved in 971f5e2.


Convex collision shapes + kinematic body + look_at + move = cpu catches fire

Arch Linux x86_64 - godot v.2.1.3
Issue description:

Create a convex body autogenerated by godot, run look_at() and the move() in the same _fixed_update() call while 2 of these bodies are colliding.
Expected result: Works fine, handles it properly
Actual result: CPU spikes to 100% and framerate drops from 60fps to 0.2
Steps to reproduce:
Create a kinematicbody2d
Add collision shape
Apply convex shape to it (I'm not sure of the specifics, I know a cube doesn't work but the attached one does)
Spawn 2 so they move in the same direction
Fry eggs with your CPU (CPU spikes)
I apologize for these not giving enough specifics, I am unsure as to exactly what about this body causes godot to murder my computer. It isn't particularly complex.
Link to minimal example project:

Bug.zip

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.


avoid force unwrapping in tests

Some tests use the try! operator, resulting in crashes instead of test failures. Updating to a combination of try? followed by XCTAssertNotNil().

@swift-ci please test


Laravel 8.70.1 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v8.70.1 branch.
Before merging, you need to:

Checkout the shift-ci-v8.70.1 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8. If you are still running PHP 7.4 or lower you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP 7 environment.


Plugin not installed

I did the following operations respectively. But I get the plugin not installed.
How can I solve this problem?
ionic cordova platform rm android
cordova plugin remove cordova-plugin-firebase
cordova plugin add cordova-plugin-firebase-lib
ionic cordova plugin add cordova-plugin-androidx
ionic cordova plugin add cordova-plugin-androidx-adapter
ionic cordova run android
Link

Can you please follow the checklist which you have seen while creating the issue. It's hard for us to know the environment of the issue author.

Can you please follow the checklist which you have seen while creating the issue. It's hard for us to know the environment of the issue author.

I don't know exactly what you mean. If you can give me a more specific answer, I will do what I have to do. Excuse me. Thank you.

On a quick note, you must be using an old version of ionic-cli. Also, since you are using Ionic, instead of cordova plugin add cordova-plugin-firebase-lib, you need to do ionic cordova plugin add cordova-plugin-firebase-lib. So do the following steps:
cordova plugin remove cordova-plugin-firebase-lib
ionic cordova plugin add cordova-plugin-firebase-lib

Can you please follow the checklist which you have seen while creating the issue. It's hard for us to know the environment of the issue author.

I don't know exactly what you mean. If you can give me a more specific answer, I will do what I have to do. Excuse me. Thank you.

When you have started raising this issue, you must have seen this template https://github.com/wizpanda/cordova-plugin-firebase-lib/issues/new?template=bug_report.md. Before debugging an issue, the repository author needs to know about the system environment of the reporter.

@mustafabekec did that worked?

@mustafabekec did that worked?

That was exactly my problem
ionic info
Ionic:
Ionic CLI          : 5.2.3 (C:\Users\Meftun\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework    : ionic-angular 3.9.3
@ionic/app-scripts : 3.2.1
Cordova:
Cordova CLI       : 8.1.1<EMAIL_ADDRESS>Cordova Platforms : android 8.0.0
Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 19 other plugins)
Utility:
cordova-res : not installed
native-run  : 0.2.7
System:
Android SDK Tools : 26.1.1 (C:\Users\Meftun\AppData\Local\Android\sdk)
NodeJS            : v10.16.0 (C:\Program Files\nodejs\node.exe)
npm               : 6.10.0
OS                : Windows 10
The solution

npm uninstall -g cordova

npm cache clean --force

npm i -g<EMAIL_ADDRESS>

ionic cordova platform rm android

cordova plugin remove cordova-plugin-firebase

cordova plugin add<EMAIL_ADDRESS>--save

ionic cordova plugin add cordova-plugin-androidx

ionic cordova plugin add cordova-plugin-androidx-adapter

ionic cordova platform add<EMAIL_ADDRESS>

cordova run android

It worked that way. That was the first problem I had in Github. So I'm sorry for the wrong format. Thank you so much for your support!

@mustafabekec did that worked?

@sagrawal31
Why doesn't this extension add the firebase folder to node_modules@ionic-native? That's why I'm getting errors now. It's about Firebase. Can you please help?
Normally when we install this Firebase extension it adds firebase to the node_modules@ionic-native directory. But that does not add?
I think the problem will be solved when you add firebase to this directory. How can I do this with your plugin? Help me please..

Ionic is not related to this plugin. It's (@ionic-native/firebase@4) just a typescript wrapper to use the API of this plugin in Angular/Ionic code. So you must be adding the wrong version of that wrapper. Please try installing @ionic-native/firebase@4.
Closing this issue considering the issue not related to this Cordova plugin.


Crash at starting the bot

Any ideas?
Api Keys were copy pasted

how are you pasting them inside the csv?

I have tried both ways, either the csv and the web interface
Sent from my iPhone

On Apr 10, 2020, at 17:29, Mohamed Rashad<EMAIL_ADDRESS>wrote:

how are you pasting them inside the csv?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

can you please try python3 ?

Nothing happens

On Apr 10, 2020, at 17:48, Mohamed Rashad<EMAIL_ADDRESS>wrote:
can you please try python3 ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/MohammedRashad/Crypto-Copy-Trader/issues/8#issuecomment-612232559, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCMQVOWG65WPK5LL4A3IZDRL6HZZANCNFSM4MFS3AQA.

I'm just testing with 1 master and 1 slave

Well this is ODD
I figured it out but I'm not sure if is correct...
The console was showing that found 3 slave APIs (but I'm just using one)
So I put my API keys twice (image attached) and It appears to be working
Is that correct?

yes this is correct

Minimun 2 Slaves then!, Great!!
Thanks!


Can we set fixed height for AlertDialog !

Can we set fixed height of alertdialog and inflate dialog_fragment.xml into it ...
I had setup listview in dialog_fragment.xml and i want to set fixed height for alertdialog ... Is it possible !

Hi @deshario
Inside you the  onStart of your DialogFragment you cant specify a fixed height in px using dialog.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, height);.
You might want to use a resource with a height in dp and resources.getDimensionPixelSize(R.dimen.popup_height) to avoid hardcoded pixel size.
Happy coding and have a good day (=

Background Blur can  the background screen be stopped to shift upward while the screen is blurred?


Security: Compass artisan command is arbitrary

Version information

Laravel: v5.6.28
Voyager: v1.1.3 (Installed 2018-07-31)
PHP: 7.2.7
Database:  MySQL 5.7.22-0ubuntu18.04.1

Description
Any artisan command can be run by the compass user (not just the ones listed in the compass GUI).
Steps To Reproduce
Under /admin/compass > commands.
The php artisan "command" string is pulled verbatim out of the POST request. This means a user can run ANY php artisan command, not just the ones listed in the GUI. All they need to do is hand-craft the POST request.  For example, a user can run the "voyager:admin" command even though it is not listed in the GUI.
Expected behavior
To fix this, the code must vet the input data, to make sure the user-requested command is in the list of allowed "php artisan ..." commands. (NEVER trust user submitted data -- code like it is always an attack!)
Alternatively, the GUI must make is absolutely clear that this tool allows you to run any / every php artisan command, and give a box at the top that lets you type in whatever "php artisan ..." you want to run, including "voyager:admin" or anything else. That way there is no false sense of security.
Additional context
Bug #3267

This is a duplicate of #3032 and #3227.
You already found #3267 which will fix the problem.

@emptynick
Thank you for your quick response.
With respect, I believe you are incorrect. This is a separate issue from the bugs you listed.

#3032 (and first half of #3227) Allowed any shell command to be run by appending " && whatever.sh" to the command's options.
#3227 (the second half) Allowed an arbitrary file path for download by hacking the Log filename.

Both of those appear to be fixed by #3267, as you describe.
This bug report is new and is about the fact that any php artisan command can be run. This is a less severe version of #3032, as it restricts the user to php artisan commands only. But that is still dangerous, as some of those commands can be destructive and they are not all presented as options in the GUI (such as php artisan voyager:admin).
In short, the feature presents itself as allowing the user to run only certain php artisan commands. But in truth it allows an attacker to run any and all php artisan commands. The code should verify the command is one that is okay to run -- or else make it clear that the user can run any and all php artisan commands.

I've been thinking through this feature today.
There are many php artisan commands that require filesystem write permissions, e.g. some to create .php files, and some to edit the .env file. These are things a public webserver (e.g. Apache) process should never be able to do, due to the inherent risk. It's a known attack vector with a proven history.
But for developers running a local server with php artisan serve, the webserver will be running under their own UID. That is very convenient for development because the same user can own and edit the .php source code files, including ones generated by php artisan commands, and easily work with it using git. For this, the one-click access to stub creators (like php artisan make:...) is very convenient. (The same is true for users of Laravel Homestead or Valet.)
However, there are some php artisan commands which should clearly be part of the admin panel. Putting the application into (or out of) maintenance mode, flushing cache, and retrying queue jobs are all examples of things that should be an easy button click on the admin panel. These do not (?) need filesystem access beyond the ones installed for Laravel, and are things one would want to do on a production server.
So what if the php artisan commands are put into two groups:

The "Production" group. If you have Voyager admin privs, you can run these. These are commands an admin might need to run on a Production server. None of these commands require filesystem write access by the webserver (but they might modify the database using the DB_PASSWORD in .env, or modify Laravel's files under ./bootstrap/cache and ./storage).

The rest of the commands. These are suitable for development only, and might touch the filesystem. For these, we assume a development environment where the webserver runs under the UID of the developer.

As for user interface, I think the second group should be disabled (made grey) unless APP_DEBUG=true in the .env file. This way the commands are all still visible in Voyager (with the help text), even though the admin may need to log in remotely via SSH to execute them. This will prevent developers from trying to tell admins to click buttons that don't exist if an emergency comes up. Maybe there could be a button to copy the command to clipboard for easy paste into a shell terminal.
As a first draft, here are the php artisan commands I think should be in the Production group.
Laravel Framework 5.6.28

Usage:
  command [options] [arguments]
...
Available commands:

  down                 Put the application into maintenance mode
  env                  Display the current framework environment
  up                   Bring the application out of maintenance mode
  migrate              Run the database migrations
  list                 Lists commands
  help                 Displays help for a command
auth
  auth:clear-resets    Flush expired password reset tokens
cache
  cache:clear          Flush the application cache
  cache:forget         Remove an item from the cache
config
  config:clear         Remove the configuration cache file
  config:cache         Create a cache file for faster configuration loading
 migrate
  migrate:fresh        Drop all tables and re-run all migrations
  migrate:install      Create the migration repository
  migrate:refresh      Reset and re-run all migrations
  migrate:reset        Rollback all database migrations
  migrate:rollback     Rollback the last database migration
  migrate:status       Show the status of each migration
 queue
  queue:failed         List all of the failed queue jobs
  queue:failed-table   Create a migration for the failed queue jobs database table
  queue:flush          Flush all of the failed queue jobs
  queue:forget         Delete a failed queue job
  queue:listen         Listen to a given queue
  queue:restart        Restart queue worker daemons after their current job
  queue:retry          Retry a failed queue job
  queue:table          Create a migration for the queue jobs database table
  queue:work           Start processing jobs on the queue as a daemon
 route
  route:cache          Create a route cache file for faster route registration
  route:clear          Remove the route cache file
  route:list           List all registered routes
 schedule
  schedule:run         Run the scheduled commands

"any artisan command" is a subset of "any shell command".  I don't see how this isn't a duplicate of #3032.
As mentioned in one of your other issues.  If you want to restrict access to commands, you can restrict write access to the filesystem by that user.  The command will simply fail.  Security is ALL of our responsibility, not just that of the package you're using.


Defining the difference between System and Equipment

To me, I'm not sure I understand why all *_Systems are a subclass of an Equipment.  The distinction is somewhat arbitrary.  A system to me is something made up of a bunch of interacting components, but often times what people refer to as a piece of equipment (AHU) is a system in a sense, it is just contained to a smaller physical location.
I'm not sure I know of a good solution, I just think maybe it needs some consideration, focusing on answering some questions:

Is a system a logical grouping of individual equipment intended to achieve a similar purpose / have similar functions?
Should a system be a distinct type of equipment, or do these run parallel to one another?
At what point does a system break down into an equipment, and vice versa?  I wouldn't consider a Coil as a specific system, but I could see somebody making the case of a Fan and Motor assembly being defined as a system, even more so for an AHU (built up of fans, coils, filters, etc.), and even more so for an AHU and Terminal_Unit combination.

Apologies if there has already been discussion / justification to this.

Can you point to where you're seeing System classes as subclasses of Equipment? They should have been separated out into their own hierarchy as of the 1.1.0 release. Other ontologies such as SAREF adopt a much more generic approach to describing these kinds of things: an HVAC system would be a System just as an AHU or a VAV would be. In Brick we draw a distinction between the discrete, "packaged" assets that one might buy (e.g. an AHU) vs the system that one would assemble from a set of components (e.g. an HVAC system or chilled water system).

Is a system a logical grouping of individual equipment intended to achieve a similar purpose / have similar functions?

Our definition for a System is : "A System is a combination of equipment and auxiliary devices (e.g., controls, accessories, interconnecting means, and terminal elements) by which energy is transformed so it performs a specific function such as HVAC, service water heating, or lighting. (ASHRAE Dictionary)."

Should a system be a distinct type of equipment, or do these run parallel to one another?

I'm not quite sure what you mean by "run parallel": are you asking whether the concepts are disjoint or orthogonal?

At what point does a system break down into an equipment, and vice versa? I wouldn't consider a Coil as a specific system, but I could see somebody making the case of a Fan and Motor assembly being defined as a system, even more so for an AHU (built up of fans, coils, filters, etc.), and even more so for an AHU and Terminal_Unit combination.

A coil would probably be part of a couple systems, e.g. Hot Water System and the HVAC system. A Fan/Motor assembly and AHU or AHU/TerminalUnit could also be systems as well but it is my feeling that this is somewhat of an arbitrary distinction as well. Personally, I like the idea of the Systems representing as much of the "whole" as possible --- not just the AHU, TerminalUnit but the Boiler, Chiller etc --- Equipment are modelled discretely, but you can always "drill down" through the hasPart relationship. That will likely remain true regardless if the entities are modelled as equipment or systems.

One note: I just noticed website documentation hasn't been updated yet, hence the possible confusion. I plan on getting that fixed today, so take a look later this afternoon.

Website should be updated by PR https://github.com/BrickSchema/brick-website/pull/84 when that gets merged

Ok - those things make sense to me - thanks for the clarification, Gabe.  I have mainly just been looking at the website definitions, so that is probably true for the confusion.  I will wait for that PR to go through and will check back in a day.

Website should be updated now!


update the official guide

+ document how people can use p-s with gitlab

merging since this is better than saying up front we don't support gitlab - we do!

merging since this is better than saying up front we don't support gitlab - we do!


The "root" user without password failed to connection FE-Server

Describe the bug
The "root" user without password failed to connection FE-Server
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 0

The root should be add to currentUser?

Could you provide us you connect command?


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1649 ms

Resolved: Bofrost.lu performance has improved in e306ab8 after 14 minutes.


Settings UI: beam node section

Size of field 'Node address' for remote node should automatically lengthen if we have a long address (f. ex. eu-nodes.testnet.beam.mw:8100)

Checked


Remove extra semicolon in Oracle query for retrieving organization meta attributes

Purpose
&subject
Fixes: https://github.com/wso2/product-is/issues/21602

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11676858764

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11676858764
Status: success


python3Packages.django4: allow build on python >= 3.8.

Description of changes
See #224557, now python39Packages.django can build but python38 can't.
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

[ ] 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
[ ] 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.

For consistency, there should not be a period at the end of the commit message's summary line (the first line of the commit message).

https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#commit-conventions


Clicking on Help from some screens doesn't navigate to help screen.

STR (Steps to Reproduce)-
Go to Homepage
Click on Listing Management
Choose Help Menu Icon
RESULTS - Navigates user to homepage
EXPECTED RESULTS - Should open Help Modal.
****This also happens on Center Settings Screen, and Submit/Edit Listing Form

Modifications made. https://github.com/aml-development/ozp-center/compare/center_style_fixes
No pull request yet.


I have made a change on README.md file on creating a pull request section

I have made a small change on README.md file on creating a pull request section. As this is not mandatory to create a feature branch only, I have made the clarification by changing a line. Hope, this will help our contributor to understand our pull request policy.

Please let me know if there is anything wrong.
Thank you


update traineddata

traineddata hasn't been updated for 2 years. Is there newer traineddata after 4.1.1 released？

You are right, the model files don't get many updates because nobody trains newer better models to replace the existing ones. But of course there also exist other models for Tesseract which were trained later, for example my own training results.
Please use the Tesseract user forum for questions.


Particle coloring is broken

Particles only accept the first color in the array, not the others.
Example: If the car is pointing at the particles with the brake lights within the camera frustum, then all particles accept the brake light color and discard the rest.
Car within frustum:

Car outside frustum:

The original PC shader needs investigation to see how it actually uses cavLightColours

the PC version in general is really weird with how it handles lights
I ported MW's car shader to it and lighting is pretty wonky there too, with most pointing in the wrong direction and some just flatout missing