.NET 7: Alpine 3.17 package issue tracker

Issue tracker for Alpine 3.17
Goals

Prepare .NET 7.0 for Alpine 3.17 (x64, arm64, arm)
Work towards targetting x86, armv6, s390x, ppc64le

Steps for 1.

[x] runtime: Add RIDs for Alpine 3.17 (https://github.com/dotnet/runtime/pull/75396)
[ ] installer: Add arm support (https://github.com/dotnet/installer/pull/13378)
[ ] installer: Confirm MicrosoftAspNetCoreAppRuntimePackageVersion is remembered along the way (https://github.com/dotnet/installer/issues/14492)
[ ] installer: Add musl support (https://github.com/dotnet/installer/pull/13410)

Steps for 2.

[x] runtime: Add RIDs for x86, armv6, s390x, ppc64le (https://github.com/dotnet/runtime/pull/75396)
[ ] runtime: Port mono to musl (ref)
[ ] all: port to s390x(https://github.com/dotnet/source-build/issues/2839)
[ ] all: port to x86 (ref)
[ ] all: port to armv6 (ref)
[ ] all: explore feasability of ppc64le port

@omajid
In trying to build current release/7.0.1xx-rc1 of source-build-reference-packages, I get this error:
    /var/build/dotnet7/testing/dotnet7-stage0/src/dotnet-v7.0.1xx-rc1/src/source-build-reference-packages/artifacts/source-build/self/src/src/targetPacks/Directory.Build.targets(108,5): error : Package runtime.linux-musl-x64.microsoft.netcore.ilasm\7.0.0-rc.1.22403.8 was not restored

runtime.linux-musl-x64.Microsoft.NETCore.ILAsm.7.0.0-rc.1.22411.12.nupkg was built via ./build.sh -arch x64 -c Release -clang /p:NoPgoOptimize=true /p:EnableNgenOptimization=false /p:VersionSuffix=rc.1.22411.12.
Any idea what might be causing this error?

Sorry, I don't have a good idea. The various release/7.0.1xx* branches are broken for me too at the moment, in various different ways, mostly complaining about error : Unable to find package Microsoft.DotNet.Arcade.Sdk with version (= 7.0.0-beta.22403.1). Maybe try this again in a day or so, hoping upstream has fixed these issues?

Unrelated, but currently backporting various patches for release/6.0.1xx:

installer: Fix for portable runtme id (https://github.com/dotnet/installer/pull/14477)
runtime: deprecate icu ucol-safeclone (https://github.com/dotnet/runtime/pull/75527)
runtime: detect armv8 (https://github.com/dotnet/runtime/pull/75528)
runtime: musl 1.2.3 support (https://github.com/dotnet/runtime/pull/75529)
runtime: Alpine 3.17 RIDs (https://github.com/dotnet/runtime/pull/75530)
runtime: Workaround for build with clang-14 (https://github.com/dotnet/runtime/pull/75526)
sdk: portable runtime id fix (https://github.com/dotnet/sdk/pull/27849)

Sorry, I don't have a good idea. The various release/7.0.1xx* branches are broken for me too at the moment, in various different ways, mostly complaining about error : Unable to find package Microsoft.DotNet.Arcade.Sdk with version (= 7.0.0-beta.22403.1). Maybe try this again in a day or so, hoping upstream has fixed these issues?

Copy that. Should I wait till rc1 is properly released?

Copy that. Should I wait till rc1 is properly released?

I was just told that this should all be working. Probably a good idea to file issues. I am going to do that for the arcade issues I mentioned above.

Does this build error in sdk ring any bells for you?

/var/build/aports/main/dotnet6-cross/src/dotnet-8a0eb58a5a825e10ea2bf06a892dd441355818c8/src/sdk/src/Cli/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj(27,5): error : Something moved around in Microsoft.Build.Runtime, adjust code here accordingly.
CSC : error CS2008: No source files specified. [/var/build/aports/main/dotnet6-cross/src/dotnet-8a0eb58a5a825e10ea2bf06a892dd441355818c8/src/sdk/template_feed/Microsoft.DotNet.Common.ItemTemplates/Microsoft.DotNet.Common.ItemTemplates.csproj]
CSC : error CS2008: No source files specified. [/var/build/aports/main/dotnet6-cross/src/dotnet-8a0eb58a5a825e10ea2bf06a892dd441355818c8/src/sdk/template_feed/Microsoft.DotNet.Common.ProjectTemplates.7.0/Microsoft.DotNet.Common.ProjectTemplates.7.0.csproj]
    0 Warning(s)
    3 Error(s)

It occurs in current release/7.0.1xx, but not in release/7.0.1xx-rc1

What is a good space to share issues on dotnet/llvm-project? I'm encountering problems crossbuilding to arm64 / armv7 from x64 via
CLANG_TARGET=$CHOST ROOTFS_DIR="$CBUILDROOT" ./eng/build.sh -c Release -arch arm64 -clang -cross --restore --build --pack /p:VersionSuffix=alpha.1.22411.1 /p:OSRid=linux-musl

This is after forcing use of clang-14.
Error:
  [ 73%] Building IntrinsicsHexagon.h...
  [ 73%] Building IntrinsicsR600.h...
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 1: line 1: ELF�4g@�8@8: not foundELF�4g@�8@8: not found

  ../../../bin/llvm-tblgen: line 1: ELF�4g@�8@8: not found
  [ 73%] Building IntrinsicsMips.h...
  [ 73%] Building IntrinsicsPowerPC.h...
  [ 73%] Building IntrinsicsNVPTX.h...
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 10: line 10: syntax error: unexpected "(" (expecting ")")syntax error: unexpected "(" (expecting ")")

  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 10: line 1: syntax error: unexpected "(" (expecting ")")ELF�4g@�8@8: not found

  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:148: include/llvm/IR/Attributes.inc] Error 2
  make[3]: *** Waiting for unfinished jobs....
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:272: include/llvm/IR/IntrinsicImpl.inc] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:210: include/llvm/IR/IntrinsicEnums.inc] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:334: include/llvm/IR/IntrinsicsAArch64.h] Error 2
  ../../../bin/llvm-tblgen: line 1: ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 1: ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 1: ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:520: include/llvm/IR/IntrinsicsBPF.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:582: include/llvm/IR/IntrinsicsHexagon.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:396: include/llvm/IR/IntrinsicsAMDGPU.h] Error 2
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 1: line 1: ELF�4g@�8@8: not foundELF�4g@�8@8: not found

  [ 73%] Building IntrinsicsRISCV.h...
  ../../../bin/llvm-tblgen: line 1: ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 1: ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:706: include/llvm/IR/IntrinsicsNVPTX.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 1: line 10: ELF�4g@�8@8: not found
  syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:644: include/llvm/IR/IntrinsicsMips.h] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:830: include/llvm/IR/IntrinsicsR600.h] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:458: include/llvm/IR/IntrinsicsARM.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:768: include/llvm/IR/IntrinsicsPowerPC.h] Error 2
  ../../../bin/llvm-tblgen: line 1: ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:892: include/llvm/IR/IntrinsicsRISCV.h] Error 2
  make[2]: *** [CMakeFiles/Makefile2:4991: include/llvm/IR/CMakeFiles/intrinsics_gen.dir/all] Error 2
  make[2]: *** Waiting for unfinished jobs....
  [ 73%] Linking CXX static library ../libLLVMMC.a
  [ 73%] Built target LLVMMC
  make[1]: *** [CMakeFiles/Makefile2:20876: tools/objwriter/CMakeFiles/objwriter.dir/rule] Error 2
  make: *** [Makefile:7079: objwriter] Error 2
/var/build/aports/main/dotnet6-cross/src/llvm-project-c1304304028d603e34f6803b0740c34441f80d2e/llvm.proj(98,5): error MSB3073: The command " make objwriter llvm-mca FileCheck -j36" exited with code 2.

Build FAILED.

/var/build/aports/main/dotnet6-cross/src/llvm-project-c1304304028d603e34f6803b0740c34441f80d2e/llvm.proj(98,5): error MSB3073: The command " make objwriter llvm-mca FileCheck -j36" exited with code 2.
    0 Warning(s)
    1 Error(s)

This is likely caused by bin/llvm-tblge being built for arm64, build ought to compile and use a native x64 version.

@omajid Alpine aport for dotnet7 rc1 is implemented here, and it sems to build: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/39122

@omajid Build on armv7 takes 4x longer than aarch64 due to a strange bug with non-portable building of runtime. Would you have any hypotheses that could explain why portable build of runtime takes 20 minutes but non-portable takes 6 hours?

Note that rc2 currently does not build. For some reason, restoring stalls. I don't time to debug this, thus hoping that it'll be squared away once general release is done.

The following issue is blocking release for s390x and ppc64le on dotnet7 which plagues mono-flavored runtime: https://github.com/dotnet/runtime/issues/77364

How can we get mono to use system libunwind rather than built-in? I see that the test unit for system-libunwind is disable for s390x. Is it always using bundled?

Yes, it is always using bundled for me :(

I tried setting --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE, but of course that doesn't work. I don't see any switches in mono to force use of system libunwind, and it does seem like mono looks for unwind.h so I find it curious that libcoreclr.so doesn't link to libunwind.

.NET 7 is now merged and will be released for 3.17 on x86_64, aarch64 and armv7. s390x and  ppc64le support, while very close, is still blocked by https://github.com/dotnet/runtime/issues/77364, so didn't make the cut. They will be supported for 3.18.

Rebuilding dotnet7 with itself yields an odd error for Aspnetcore:
Emitting PerfMap file: /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/Microsoft.Net.Http.Headers.ni.r2rmap
    EXEC : error : Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj]
    ##vso[task.logissue type=error;sourcepath=EXEC;linenumber=0;columnnumber=0;code=;](NETCORE_ENGINEERING_TELEMETRY=Build) Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll
      Internal.CommandLine.CommandLineException: Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll
         at Internal.CommandLine.Helpers.AppendExpandedPaths(Dictionary`2 dictionary, String pattern, Boolean strict)
         at ILCompiler.Program.ProcessCommandLine(String[] args)
         at ILCompiler.Program.Run(String[] args)
         at ILCompiler.Program.Main(String[] args)
    /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj(496,5): error MSB3073: The command ""/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.alpine.3.17-x64/7.0.0/tools/crossgen2" --composite --targetarch:x64 --targetos:linux /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/*.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/*.dll --out:"/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/obj/Composite/Release/full-composite.r2r.dll"" exited with code 1.
    ##vso[task.logissue type=error;sourcepath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj;linenumber=496;columnnumber=5;code=MSB3073;](NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.alpine.3.17-x64/7.0.0/tools/crossgen2" --composite --targetarch:x64 --targetos:linux /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/*.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/*.dll --out:"/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/obj/Composite/Release/full-composite.r2r.dll"" exited with code 1.

    Build FAILED.

    EXEC : error : Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj]
    /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj(496,5): error MSB3073: The command ""/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.alpine.3.17-x64/7.0.0/tools/crossgen2" --composite --targetarch:x64 --targetos:linux /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/*.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/*.dll --out:"/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/obj/Composite/Release/full-composite.r2r.dll"" exited with code 1.
        0 Warning(s)
        2 Error(s)

    Time Elapsed 00:01:38.25
  /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets(192,5): error MSB3073: The command "/builds/ayakael/aports/community/dotnet7-build/src/bootstrap//dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:false /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj -p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/ /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/packages/reference/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/lib/dotnet/artifacts/7.0.100/ /p:SourceBuildUseMonoRuntime=false /p:RestoreDisableParallel= /p:PublishCompressedFilesPathPrefix=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blobs/aspnetcore/Runtime/ /p:PortableBuild=false /p:TargetRuntimeIdentifier=alpine.3.17-x64 /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0 /p:EnablePackageValidation=false /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props -p:BuildNodeJS=false -p:BuildManaged=true -p:Restore=true -p:Build=true -p:Pack=true -p:Test=false -p:TargetArchitecture=x64 -p:TargetOsName=linux -p:Configuration=Release /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/log/Release/Build.binlog -logger:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll  /p:SourceBuildRuntimeIdentifier=alpine.3.17-x64 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/ /p:ArtifactsDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/ /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props" exited with code 1. [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj]
  ##vso[task.logissue type=error;sourcepath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets;linenumber=192;columnnumber=5;code=MSB3073;]The command "/builds/ayakael/aports/community/dotnet7-build/src/bootstrap//dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:false /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj -p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/ /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/packages/reference/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/lib/dotnet/artifacts/7.0.100/ /p:SourceBuildUseMonoRuntime=false /p:RestoreDisableParallel= /p:PublishCompressedFilesPathPrefix=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blobs/aspnetcore/Runtime/ /p:PortableBuild=false /p:TargetRuntimeIdentifier=alpine.3.17-x64 /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0 /p:EnablePackageValidation=false /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props -p:BuildNodeJS=false -p:BuildManaged=true -p:Restore=true -p:Build=true -p:Pack=true -p:Test=false -p:TargetArchitecture=x64 -p:TargetOsName=linux -p:Configuration=Release /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/log/Release/Build.binlog -logger:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll  /p:SourceBuildRuntimeIdentifier=alpine.3.17-x64 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/ /p:ArtifactsDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/ /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props" exited with code 1.

  Build FAILED.

  /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets(192,5): error MSB3073: The command "/builds/ayakael/aports/community/dotnet7-build/src/bootstrap//dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:false /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj -p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/ /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/packages/reference/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/lib/dotnet/artifacts/7.0.100/ /p:SourceBuildUseMonoRuntime=false /p:RestoreDisableParallel= /p:PublishCompressedFilesPathPrefix=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blobs/aspnetcore/Runtime/ /p:PortableBuild=false /p:TargetRuntimeIdentifier=alpine.3.17-x64 /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0 /p:EnablePackageValidation=false /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props -p:BuildNodeJS=false -p:BuildManaged=true -p:Restore=true -p:Build=true -p:Pack=true -p:Test=false -p:TargetArchitecture=x64 -p:TargetOsName=linux -p:Configuration=Release /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/log/Release/Build.binlog -logger:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll  /p:SourceBuildRuntimeIdentifier=alpine.3.17-x64 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/ /p:ArtifactsDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/ /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props" exited with code 1. [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj]
      0 Warning(s)
      1 Error(s)

@tmds Could this be related to eliminating portable runtime build?

Should be fixed in 7.0.1, closing


connection issues

Hi All,
I am new in docker as well as postgres, as per requirement I am exploring these new areas and i am happy to learn.
but i got stuck in between, I followed this video to setup and test;
https://www.youtube.com/watch?v=edPrPcgjTgw
docker compose yml file content is:
version: '3'
services:
  api:
    container_name: api
    build: ./api/
    links:
      - db
    environment:
      - DATABASE_URL=postgres://postgres:sa123@db:5432/koa_api
    command: npm start
    ports:
      - '3000:3000'
    volumes:
      - ./api:/web
  db:
    image: postgres:10
    container_name: db
    ports:
      - '5432:5432'
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=sa123
      - POSTGRES_DB=koa_api

I have installed postgres datbas ein my local machine(Windows 10) and have create one database which is running in port no 5432 so if i keep same port for external database  and one in containr it gives me this error:

And if i change my Windows 10 postgres server port to 5431 then it gives that error and yaml for the same is:
version: '3'
services:
  api:
    container_name: api
    build: ./api/
    links:
      - db
    environment:
      - DATABASE_URL=postgres://postgres:sa123@db:5432/koa_api
    command: npm start
    ports:
      - '3000:3000'
    volumes:
      - ./api:/web
  db:
    image: postgres:10
    container_name: db
    ports:
      - '5431:5432'
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=sa123
      - POSTGRES_DB=koa_api

Error:

A couple questions:

Do you need to expose the postgres port for external use, or is the only thing using it the api container?  If only the api container is going to use it, you can skip the port mapping, and access it directly by name via docker's internal networking (still just db:5432).  That will completely avoid any port conflicts with the host.

Are you using the postgres config file from your Windows local instance as the config for this linux postgres instance (or maybe just mounting the db directly)?  If so, some of the contents of that config file will not work, and you'll get errors like in the first image.


List Relationships not represented correctly

When using erdantic with pydantic model, the one to many relationships are not rendered properly
As shown below the erdantic examples work as expected, however the simple example I have shown is not rendered correctly. I can't see the difference between the A class I have written and the party example. Any help much appreciated!
import erdantic as erd
from erdantic.examples.pydantic import Party

# Easy one-liner
erd.draw(Party, out="diagram.png")

class B(BaseModel):
    """
    B Class
    """

    id: str

class A(BaseModel):
    """
    A Class
    """

    list_b: List[B]

erd.draw(A, out="A.jpg")

Sorry, I didn't copy the full code, please see full segment below:
import erdantic as erd
from erdantic.examples.pydantic import Party
from typing import List
from pydantic import BaseModel

# Easy one-liner
erd.draw(Party, out="diagram.png")

class B(BaseModel):
    """
    B Class
    """

    id: str

class A(BaseModel):
    """
    A Class
    """

    list_b: List[B]

erd.draw(A, out="A.jpg")
result = erd.create(A).to_dot()
print(result)

This provides the output:
digraph "Entity Relationship Diagram" {
        graph [fontcolor=gray66,
                fontsize=9,
                label="Created by erdantic v0.6.0 <https://github.com/drivendataorg/erdantic>",
                nodesep=0.5,
                rankdir=LR,
                ranksep=1.5
        ];
        node [fontsize=14,
                label="\N",
                shape=plain
        ];
        "__main__.A"    [label=<

A

list_b	List[B]

>,
                tooltip="__main__.A

A Class
"];
        "__main__.B"    [label=<

B

id	str

>,
                tooltip="__main__.B

B Class
"];
        "__main__.A":list_b:e -> "__main__.B":_root:w   [arrowhead=crowodot];
}

Name: erdantic
Version: 0.6.0
Name: pydantic
Version: 2.3.0
Name: pygraphviz
Version: 1.11
GraphViz version 9.0.0 on Windows 10 x64
Only other thing I found is that it seems very specific to crow notation; when I changed "crow" to "icurve" on line 55 in erd.py it all works as expected (although showing the curve notation not the required crows foot)

Thank you for clarifying. I agree it does appear to be some sort of bug/unexpected behaviour within pygraphviz/graphviz. I couldn't find any relevant reports of crow foot notation having issues. I guess next step is understanding whether it is in the graphviz or the pygraphviz layer?

I'm not seeing this anymore with pygraphviz 1.12, graphviz 9.0.0. Closing as resolved unless there are additional details provided.


Confirmation on copy/paste

We should have a confirmation prompt, with the name of the source and target hosts in it.

So in fact it's not trivial.. :) CopyQ is the only clipboard manager I found that offers a scripts/hooks system. And it doesn't offer any way to run a script when a paste is done. I opened an issue (https://github.com/hluk/CopyQ/issues/2562) to ask if this was possible, but I have little hope of getting a positive answer (just because it doesn't already exist..).
On the other hand, there is definitely an event when the clipboard is modified (when you copy/cut)! this is what allows us to do a workaround to bypass NX protection between two hosts. So a priori it should be easy to display a confirmation dialog box when we do a "copy".. i.e. when we pass data from an untrusted domain (the host) to a trusted domain (the thinclient where the clipboard is stored).
@adamkrellenstein does that make sense?

Yup! We can deprioritize!


[SU-53] Consolidate billing account management options, per UX

UX has provided a few small tweaks that they'd like us to implement for the billing project page. This is the first one, which consolidates the two icons for changing or removing a billing account into a three-dot dropdown menu.
See SU-53 comments for additional details.
Before

After

<!--
Hello, friend!
Remember to mention what sort of testing/verification you performed in the course of building this PR, i.e. checking functionality in the browser locally.
Also, so if a screen recording [1] and/or screenshots would be a helpful way to communicate context, please consider including some in your PR description.
Thanks!

[1] https://support.apple.com/guide/quicktime-player/record-your-screen-qtp97b08e666/mac
--!>

Make sure that there is some accessible description on the menu.

@cahrens for sure! That's on my list of things to test out before undrafting

From inspecting the boxes around the new triple-dot menu, it looks like the icon is not vertically centered whereas the text to the left of it is. Is this intentional?

@kyuksel thanks for catching that. That dropdown shouldn't be visible if you're a User on the billing project (which is the case in your video, so I'll fix that). But if you're an Owner, it should still be visible because changing the billing account doesn't require access to the existing billing account (this is also in line with current behavior)

@kyuksel Icon has been centered in https://github.com/DataBiosphere/terra-ui/pull/2976/commits/8d8b6c1df23e77e1f4ff64a1e88a0ab21cd217f9


Resource not accessible by integration

Hi,
I attempted to increase the version number variable on my GitHub however I receive this error. Did I not set it up correctly or does it not work for this kind of variable.

Thanks,
Litorom (@MinicraftPlus)

How do I add a token to my repo then? What kind of token do I need

Okay thanks. It works now!


JSON with versions

I've added semver specs to the Pulumi CLI GHA (pulumi/action-install-pulumi-cli#20). In this implementation, I'm downloading all releases directly from the Github API. Since Pulumi has more than 100 releases, we have to paginate in order to get all the versions.
I feel it might be better to maintain a simple JSON that is stored on pulumi.com (e.g. pulumi.com/versions.json). Similar to latest-version.
I'd happily help with a pull request on it!

Could use gh (Github CLI), which comes preinstalled in Github Actions. Read more about it here: https://github.blog/2021-03-11-scripting-with-github-cli/#using-gh-in-github-actions


I want to make short cut function in Visualizer

We make GUI of simulation software using Visualizer. Then, I make short cut functions. For example, the function can load vtk file with automatically changing scale like the transform function of ParaView.
Does Visualizer have a script function like ParaView? Any figure can be visualized on the browser by loading script file. If there, teach me how to use script.
As the other way, I will edit the Visualizer's javascript program. I think that I can edit the program, if I understand below programs. Then, I have questions.

I want to know how to edit props.
/src/panels/ControlPanel/FilterPanel/index.js
export function FilterPanel(props)

I want to know how to edit state parameter.
/src/panels/ControlPanel/FilterPanel/index.js
export default connect((state)
Furthermore, I want the manual of Visualizer's program if it exists.

In order to achieve what you plan to do, you should create a small Python based plugin for ParaView that expose only the settings your are planning to use that combine a suite of filters.
Once you have that plugin working in ParaView, you just need to load it to have it available inside Visualizer. The only constraint will be to properly add it to the white listed proxies of Visualizer so you could find it in the content of the (+) panel.

Thank you for your advises. But I do not well understand plugin for Paraview now. At first, I study the plugin. And then, I try to load it as you said.


GameWorld - Add overloaded query methods that take Array

In addition to existing List<Entity> queries which can now return new lists / streams, we should add GC-friendly alternative, e.g.
Array<Entity> query = ...
// query will be populated with the result
gameWorld.getEntitiesByType(EntityType.ENEMY, query);

this way both the concise stream approach and GC-friendly approaches can be used depending on game type

done in 0.2.8


Extension Improvements

See related issue for description.
Depends on #526. Currently based on that PR
Closes #529

Don't think this spelling mistake was introduced by this branch but DiscoveredExtension.java, /** Version of this extension, highly reccomended to set it. */ should be recommended

Very dead


Keep history of visited notes for buffer with ability to go back

Done with commit https://github.com/KevinBockelandt/notoire/commit/ecafcea170200ea770758f684fb79529312bdef6


websocket reconnect backoff

https://articles.wesionary.team/building-and-maintaining-seamless-socket-connections-in-flutter-3a9ac0228504

for now using web_socket_client with inbuilt reconnect backoff


Is anyone experiencing problems with inputs being cutoff?

I had a look at the troubleshooting section

[ X] Yes
[ ] No

Describe your problem
When I write in the Alfred chat box using cf I am consistently having my message cutoff before the end and chatgpt is confused. It seems to be an issue related to chatfred catching up to the input, like its interpreting the input on the fly.
This is particularly problematic when I try to paste text into the chatfred chat box.
To Reproduce
Try to paste text into chatfred chat box. (This also happens with regular inputs if you type fast).
Screenshots

It seems to be more of a problem since I switched to gpt-4.

Hey @craldaz!
Any news on this? Unfortunately, I was not able to reproduce it.

Thanks for the update. I will close this issue. Feel free to open it up again.


Add bower manifest and (re)publish to bower

Somehow zone is available in bower, but zone does not contain a bower manifest. Please consider adding a bower manifest and republishing to bower.

Somehow zone is available in bower

Anyone can register a package on bower.
At this point, I generally recommend against using Bower. npm will gradually be adding better support for client-side JS libs.
However, it's not that much work to add a manifest.

jspm.io is getting quite popular.  It's much friendlier for client-side than the current version of npm.  By default you can consume libraries from npm or straight from github.


Docs updates

Reduced readme to a minimum
Moved docs rst files
Added new documentations

Coverage remained the same at 65.291% when pulling e2176e4f9451a5a5eb7c0cc880dc46f29e63eaa0 on docs_update_readme into bfd219a6879f656b58f8f92d5345a85edbd67336 on master.


Expose controller and focus node to AutoComplete widget

Use case
The current implementation of the AutoComplete widget in Flutter does not expose the text editing controller and focus node. This leads to several issues:

I need to make my controller equal to the AutoComplete controller, which is not intuitive.
When the AutoComplete widget is not visible, it disposes of the controller, causing errors if I try to change the value through my controller.
Specifically, the following error occurs:
A TextEditingController was used after being disposed. Once you have called dispose() on a TextEditingController, it can no longer be used.

Proposal
Expose the TextEditingController and FocusNode used by the AutoComplete widget. This will allow developers to manage these objects themselves, preventing unwanted disposal and making it easier to control the widget’s behavior programmatically.
class CustomAutoComplete extends StatelessWidget {
  final TextEditingController controller = TextEditingController();
  final FocusNode focusNode = FocusNode();

  @override
  Widget build(BuildContext context) {
    return AutoComplete<String>(
      optionsBuilder: (TextEditingValue textEditingValue) {
        // Your options logic here
      },
      controller: controller, // Proposed property
      focusNode: focusNode, // Proposed property
    );
  }
}

Benefits

Prevents disposal of the controller and focus node.
Allows greater flexibility and control over the AutoComplete widget.
Aligns with other Flutter widgets that expose their controllers and focus nodes.

Related Pull Request
There was a related pull request (PR #146995)  that attempted to address this issue, but there hasn't been any recent activity on it. It proposed changes to expose the controller and focus node in the AutoComplete widget. However, it seems to be stalled.

Closing this as a duplicate of https://github.com/flutter/flutter/issues/146994. Please follow up on it for updates.


[BUG] Can't use node imports in ESM config

Bug Report Quick Checklist

[x] I am on the latest version of Snowpack & all plugins.
[x] I use package manager npm
[x] I run Snowpack on OS Linux
[x] I run Snowpack on Node.js v12+

Describe the bug
If I use an ESM config file for snowpack (either type: "module" in package.json OR snowpack.config.mjs), I cannot import node modules.
To Reproduce
https://github.com/adamburgess/snowpack-test-import

npm install --save snowpack
create a snowpack.config.mjs file with content:

import fs from 'fs'
export default {};

run snowpack dev

> snowpack dev

[15:21:30] [snowpack] Welcome to Snowpack! Because this is your first time running
this project, Snowpack needs to prepare your dependencies. This is a one-time step
and the results will be cached for the lifetime of your project. Please wait...
[15:21:30] [snowpack] Package "fs" not found. Have you installed it?

Expected behavior
fs should be imported and the build should configure as normal.
Using an equivalent cjs file with standard require works fine.
Anything else?
If I use another module from node_modules it gets compiled (as if it were in used in a client-side script). This seems like a bug too... using a module from a CJS require does not do this.
For example, snowpack.config.js:
import lodash from 'lodash-es'
export default {};

[15:29:38] [snowpack] Welcome to Snowpack! Because this is your first time running
this project, Snowpack needs to prepare your dependencies. This is a one-time step
and the results will be cached for the lifetime of your project. Please wait...
[15:29:38] [snowpack] +<EMAIL_ADDRESS>[15:29:41] [snowpack] Ready!
...

May be a duplicate of #3045, although this issue is specifically for the config files which should be ran in node and nothing else (right? the config files aren't ever used in the browser, yeah?)

Verbose output of esm snowpack.config.mjs config:
[15:53:22] [snowpack] Welcome to Snowpack! Because this is your first time running
this project, Snowpack needs to prepare your dependencies. This is a one-time step
and the results will be cached for the lifetime of your project. Please wait...
[15:53:22] [snowpack] Skip scanning README.md for imports (unknown file extension .md)
[15:53:22] [snowpack] Scanning index.html for imports as HTML
[15:53:22] [snowpack] Skip scanning package-lock.json for imports (unknown file extension .json)
[15:53:22] [snowpack] Skip scanning package.json for imports (unknown file extension .json)
[15:53:22] [snowpack] Scanning snowpack.config.mjs for imports as JS
[15:53:22] [snowpack] Package "fs" not found. Have you installed it?
[15:53:22] [snowpack] Error: Package "fs" not found. Have you installed it?
    at Object.resolveEntrypoint (/home/adam/WSLProjects/snowpack-test-import/node_modules/snowpack/lib/index.js:43664:15)
    at Object.resolvePackageImport (/home/adam/WSLProjects/snowpack-test-import/node_modules/snowpack/lib/index.js:54611:34)
    at /home/adam/WSLProjects/snowpack-test-import/node_modules/snowpack/lib/index.js:54584:31
    at Array.map (<anonymous>)
    at Object.prepare (/home/adam/WSLProjects/snowpack-test-import/node_modules/snowpack/lib/index.js:54582:80)
    at async startServer (/home/adam/WSLProjects/snowpack-test-import/node_modules/snowpack/lib/index.js:131204:9)
    at async Object.command (/home/adam/WSLProjects/snowpack-test-import/node_modules/snowpack/lib/index.js:131805:9)
    at async cli (/home/adam/WSLProjects/snowpack-test-import/node_modules/snowpack/lib/index.js:132393:9)

Verbose output of cjs snowpack.config.js config:
[15:55:15] [snowpack] Welcome to Snowpack! Because this is your first time running
this project, Snowpack needs to prepare your dependencies. This is a one-time step
and the results will be cached for the lifetime of your project. Please wait...
[15:55:15] [snowpack] Skip scanning README.md for imports (unknown file extension .md)
[15:55:15] [snowpack] Scanning index.html for imports as HTML
[15:55:15] [snowpack] Skip scanning package-lock.json for imports (unknown file extension .json)
[15:55:15] [snowpack] Skip scanning package.json for imports (unknown file extension .json)
[15:55:15] [snowpack] Scanning snowpack.config.js for imports as JS
[15:55:15] [snowpack] No dependencies detected. Ready!
[15:55:15] [snowpack] attaching console.log listeners
[15:55:15] [snowpack] dashboard started
[15:55:15] [snowpack] Mounting directory: '/home/adam/WSLProjects/snowpack-test-import' as URL '/'
[15:55:15] [snowpack] Using in-memory cache: [object Object]
[15:55:15] [snowpack] Server started in 13ms.

Ok. If I follow the blank template which adds a mount for the src directory, and then put all my browser code in src, then only src is scanned, and everything works fine.
Maybe user error, I'm not sure. I feel like this shouldn't cause an error. Anyways, closing for now.


Support both SymbolInformation as well as DocumentSymbol for textDocument/documentSymbol

Should resolve #519. @carlevison, @jfcherng, could you take a look and see if this works?

@rwols For some reason this stops LSP working for me, I don't see LSP initializedwhen opening Sublime.

Strange. It seems to be working fine here. Are you sure you pulled my latest diff? Can you enable debug logging via Preferences: LSP in the command palette?

Okay so I originally copied the changes myself after extracting the package but this time I removed it and cloned the branch and LSP is starting.
The error in the console has gone but I still don't see the method or property names.
I also noticed if I trigger  lsp_document_symbolsand then press esc to cancel the whole contents of the file is selected.

Coverage decreased (-0.06%) to 26.77% when pulling 48663f9aed0a290a7aafa553df62c36fd09a9f0d on bugfix/update-document-symbol-request into cbf13fbe143f706dd406f9ea0b15eec0571a1312 on master.

I could successfully do textDocument/documentSymbol with this patch (and the current master branch LSP).

I also noticed if I trigger  lsp_document_symbolsand then press esc to cancel the whole contents of the file is selected.

I could confirm this. After press ESC, ST selects the whole class codes in my case.

Should we open up a new issue for this?

I also noticed if I trigger  lsp_document_symbolsand then press esc to cancel the whole contents of the file is selected.

Or we can add them to this pr?
diff --git a/plugin/symbols.py b/plugin/symbols.py
index 4d00e56..c6e553a 100644
--- a/plugin/symbols.py
+++ b/plugin/symbols.py
@@ -81,6 +81,9 @@ class LspDocumentSymbolsCommand(LspTextCommand):
         self.view.window().show_quick_panel(symbols, self.on_symbol_selected)

     def on_symbol_selected(self, symbol_index):
+        if symbol_index < 0:
+            return
+
         selected_symbol = self.symbols[symbol_index]
         try:
             range = selected_symbol['location']['range']
@@ -90,6 +93,6 @@ class LspDocumentSymbolsCommand(LspTextCommand):
             debug('could not recognize the type: expected either SymbolInformation or DocumentSymbol')
             return
         region = range_to_region(Range.from_lsp(range), self.view)
-        self.view.show_at_center(region)
+        self.view.show_at_center(region.begin())
         self.view.sel().clear()
-        self.view.sel().add(region)
+        self.view.sel().add(region.begin())

Should we open up a new issue for this?

I consider this a separate issue, just want to get the bugs fixed for now.


Add argparse option for NWL mode

Add an option in argparse that allows parastell to run in an NWL mode that only generates as much as necessary to run a NWL calculation

Should this be addressed in PR #65?

I think there is some refactoring that might happen as described in #66

I think this can be a separate PR from #65 as it's probably an addition to parastell.py

This depends on #53

Closing this as largely redundant to #53


Dead link to "Manifest mode: CMake Example"

Hi,
I was looking for an example of how to use vcpkg.json (Manifest mode) with CMake from the command-line (i.e. without the Visual Studio IDE). This page https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/installing-and-using-packages.md refers to a promising example ("Manifest mode: CMake Example") but the link https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/manifest-mode-cmake.md is unfortunately a 404.

@patrikhuber
Thanks for the report, the articles you linked are old.
Did you get to them through the main repository's README?
The new "Get Started" series of articles should help you out: https://learn.microsoft.com/vcpkg/get_started/get-started

Closing this as it appears to be addressed.


Add support for response_requested in trust ping

https://identity.foundation/didcomm-messaging/spec/#trust-ping-protocol-20

Done


Uncaught Error: The specified module could not be found./?~\AppData\Local\Temp\360zip$Temp\36...

[Enter steps to reproduce:]

...
...

Atom: 1.27.2 ia32
Electron: 1.7.15
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\Administrator.Q7RXMCP4DMS87AQ\AppData\Local\Temp\360zip$Temp\360$0\Atom\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:173

Error: The specified module could not be found.
\\?\C:\Users\Administrator.Q7RXMCP4DMS87AQ\AppData\Local\Temp\360zip$Temp\360$0\Atom\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/static/<embedded>:96:26)
    at get_KeyboardLayoutManager (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:7:65)
    at get_manager (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:16:42)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:32:17)
    at exports.keystrokeForKeyboardEvent (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/node_modules/atom-keymap/lib/helpers.js:201:42)
    at KeymapManager.module.exports.KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:467:20)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:347:30)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/Temp/360zip$Temp/360$0/Atom/resources/app/src/window-event-handler.js:110:40)

Commands
     -2:21 application:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

Thanks for contributing!
We noticed that this looks like a duplicate of #14461 so you can subscribe there for updates if you'd like.  If you have an anti-virus program running, temporarily disabling it and then reinstalling may get you past the error.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Cannot place structures more than 15 tiles away from a CC even with Comm towers

The tile just south of the comm tower (circled) is out of range of the Command Center but is within range of the communications tower. Robots can be placed properly but not structures.

Line 796 of MapViewState.cpp. Change !isPointInRange(tile.xy(), ccLocation(), constants::RobotCommRange) to !inCommRange(tile.xy()).

So I just remembered that this was originally as intended as that's how the original game did it. Restricted buildings to within comm range of the CC only.
I'm going to extend this to maybe 30 - 40 tiles from the CC. Will place a reasonable limit on the size/sprawl of a colony while allowing for large enough colony sizes for things to breath.

Some final thoughts on this one --
15 tiles may need to be expanded a little bit, possibly with the concept of 'colony sprawl'. But this is a larger topic. For now I'm going to close this as intended behavior.


Fix README CIS-2 token section header

Purpose
Fix incorrect section header in readme. (I guess I can't read)

This was made obsolete by #68, I guess.


webapp:az webapp config hostname add fails

This is autogenerated. Please review and update as needed.
az webapp config hostname add fails with
Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
Command Name
az webapp config hostname add
Errors:
The command failed with an unexpected error. Here is the traceback:
Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
AttributeError: 'str' object has no attribute 'get'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 620, in body
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1446, in _deserialize
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
msrest.exceptions.DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 712, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 37, in _ex_handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1426, in add_hostname
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/v2020_09_01/operations/_web_apps_operations.py", line 17868, in create_or_update_host_name_binding_slot
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 622, in body
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 620, in body
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1446, in _deserialize
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
msrest.exceptions.SerializationError: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp config hostname add --hostname {} --resource-group {} --slot {} --webapp-name {}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.23.0

Additional Context

route to appropriate team

@therealradler Thanks for your feedback. I am able to repro this issue. Will work on the fix.

Closing this since this has been fixed Please install latest version of CLI & re-try.

Still experiencing this issue on Azure-CLI 2.27.0.
Running this command: az webapp config hostname add --hostname $HostName --resource-group $ResourceGroupName --webapp-name $WebAppName --slot $SlotName
See full log below:
2021-08-06T10:47:32.7379599Z ##[section]Starting: Azure CLI: Add Custom Hostname to Slot
2021-08-06T10:47:32.7557238Z ==============================================================================
2021-08-06T10:47:32.7557556Z Task         : Azure CLI
2021-08-06T10:47:32.7558018Z Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
2021-08-06T10:47:32.7558460Z Version      : 2.1.1
2021-08-06T10:47:32.7558687Z Author       : Microsoft Corporation
2021-08-06T10:47:32.7558998Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
2021-08-06T10:47:32.7559361Z ==============================================================================
2021-08-06T10:47:33.1338140Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" --version"
2021-08-06T10:47:34.0476923Z
2021-08-06T10:47:34.0479581Z azure-cli                         2.27.0
2021-08-06T10:47:34.0481054Z Please let us know how we are doing: https://aka.ms/azureclihats
2021-08-06T10:47:34.0481383Z
2021-08-06T10:47:34.0482235Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2021-08-06T10:47:34.0482861Z core                              2.27.0
2021-08-06T10:47:34.0483662Z telemetry                          1.0.6
2021-08-06T10:47:34.0484035Z
2021-08-06T10:47:34.0484503Z Extensions:
2021-08-06T10:47:34.0485111Z azure-devops                      0.18.0
2021-08-06T10:47:34.0485487Z
2021-08-06T10:47:34.0486165Z Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
2021-08-06T10:47:34.0487020Z Extensions directory 'C:\Program Files\Common Files\AzureCliExtensionDirectory'
2021-08-06T10:47:34.0487510Z
2021-08-06T10:47:34.0488182Z Python (Windows) 3.8.9 (tags/v3.8.9:a743f81, Apr  6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]
2021-08-06T10:47:34.0488694Z
2021-08-06T10:47:34.0489306Z Legal docs and information: aka.ms/AzureCliLegal
2021-08-06T10:47:34.0489981Z
2021-08-06T10:47:34.0490277Z
2021-08-06T10:47:34.0490810Z Your CLI is up-to-date.
2021-08-06T10:47:34.0509506Z Setting AZURE_CONFIG_DIR env variable to: D:\a\_temp\.azclitask
2021-08-06T10:47:34.0534397Z Setting active cloud to: AzureCloud
2021-08-06T10:47:34.0724898Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" cloud set -n AzureCloud"
2021-08-06T10:47:34.6158832Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" login --service-principal -u *** "--password=***" --tenant *** --allow-no-subscriptions"
2021-08-06T10:47:35.7790980Z [
2021-08-06T10:47:35.7791740Z   {
2021-08-06T10:47:35.7792172Z     "cloudName": "AzureCloud",
2021-08-06T10:47:35.7792744Z     "homeTenantId": "***",
2021-08-06T10:47:35.7793182Z     "id": "cfb3e226-ce0a-434e-8271-7c1f1d5e0651",
2021-08-06T10:47:35.7793634Z     "isDefault": true,
2021-08-06T10:47:35.7793973Z     "managedByTenants": [],
2021-08-06T10:47:35.7794274Z     "name": "Visual Studio Professional",
2021-08-06T10:47:35.7794548Z     "state": "Enabled",
2021-08-06T10:47:35.7794874Z     "tenantId": "***",
2021-08-06T10:47:35.7795126Z     "user": {
2021-08-06T10:47:35.7800211Z       "name": "***",
2021-08-06T10:47:35.7800771Z       "type": "servicePrincipal"
2021-08-06T10:47:35.7801036Z     }
2021-08-06T10:47:35.7801239Z   }
2021-08-06T10:47:35.7801415Z ]
2021-08-06T10:47:35.8110749Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account set --subscription cfb3e226-ce0a-434e-8271-7c1f1d5e0651"
2021-08-06T10:47:36.3538829Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\azureclitaskscript1628246853078.ps1'"
2021-08-06T10:47:36.7490609Z Resource-type:
2021-08-06T10:47:36.7509402Z Adding custom host-name: [sc-sandbox-qa-cd-1.apoteket-online.dk], Deploy-slot: [staging], Webapp: [sc-qa-cd-webapp-1], Resource-grp: [sc-sandbox-1].
2021-08-06T10:47:36.7543668Z Adding to slot
2021-08-06T10:47:38.1176248Z ERROR: The command failed with an unexpected error. Here is the traceback:
2021-08-06T10:47:38.1208466Z ERROR: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
2021-08-06T10:47:38.1209810Z Traceback (most recent call last):
2021-08-06T10:47:38.1210545Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
2021-08-06T10:47:38.1211579Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
2021-08-06T10:47:38.1212642Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
2021-08-06T10:47:38.1213520Z AttributeError: 'str' object has no attribute 'get'
2021-08-06T10:47:38.1213813Z
2021-08-06T10:47:38.1214354Z During handling of the above exception, another exception occurred:
2021-08-06T10:47:38.1214703Z
2021-08-06T10:47:38.1215150Z Traceback (most recent call last):
2021-08-06T10:47:38.1215893Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 620, in body
2021-08-06T10:47:38.1216715Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1446, in _deserialize
2021-08-06T10:47:38.1217517Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
2021-08-06T10:47:38.1218446Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
2021-08-06T10:47:38.1219244Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
2021-08-06T10:47:38.1219867Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
2021-08-06T10:47:38.1220504Z msrest.exceptions.DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
2021-08-06T10:47:38.1220806Z
2021-08-06T10:47:38.1221131Z During handling of the above exception, another exception occurred:
2021-08-06T10:47:38.1221337Z
2021-08-06T10:47:38.1221591Z Traceback (most recent call last):
2021-08-06T10:47:38.1222012Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
2021-08-06T10:47:38.1222530Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
2021-08-06T10:47:38.1223122Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
2021-08-06T10:47:38.1223704Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 712, in _run_job
2021-08-06T10:47:38.1224287Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 37, in _ex_handler
2021-08-06T10:47:38.1224832Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
2021-08-06T10:47:38.1225406Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
2021-08-06T10:47:38.1225989Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
2021-08-06T10:47:38.1227042Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1433, in add_hostname
2021-08-06T10:47:38.1227835Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/v2020_09_01/operations/_web_apps_operations.py", line 17868, in create_or_update_host_name_binding_slot
2021-08-06T10:47:38.1228660Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 622, in body
2021-08-06T10:47:38.1229224Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
2021-08-06T10:47:38.1229772Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 620, in body
2021-08-06T10:47:38.1230310Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1446, in _deserialize
2021-08-06T10:47:38.1230846Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
2021-08-06T10:47:38.1231395Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
2021-08-06T10:47:38.1231980Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
2021-08-06T10:47:38.1232600Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
2021-08-06T10:47:38.1233453Z msrest.exceptions.SerializationError: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
2021-08-06T10:47:38.1855358Z To open an issue, please run: 'az feedback'
2021-08-06T10:47:38.4614739Z ##[error]Script failed with exit code: 1
2021-08-06T10:47:38.4701953Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account clear"
2021-08-06T10:47:39.1214265Z ##[section]Finishing: Azure CLI: Add Custom Hostname to Slot

@Kotasudhakarreddy could you validate this still fails on slot with the latest CLI version? Thanks!

Yes. As mentioned in post, I'm running 2.27.0 which is currently the latest and its against a deploy-slot.

I am unable to repro the issue. Find the below image for details.

What happens when you do it against a deploy-slot?

@panchagnula Yes the issue is reproable against a Slot

@panchagnula Yes the issue is reproable against a Slot

Thanks can

Still getting same error on Azure CLI 2.27.2
2021-09-08T10:30:25.3483592Z ##[section]Starting: Azure CLI: Add Custom Hostname to Slot
2021-09-08T10:30:25.3613157Z ==============================================================================
2021-09-08T10:30:25.3613719Z Task         : Azure CLI
2021-09-08T10:30:25.3614482Z Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
2021-09-08T10:30:25.3615230Z Version      : 2.1.1
2021-09-08T10:30:25.3615646Z Author       : Microsoft Corporation
2021-09-08T10:30:25.3616229Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
2021-09-08T10:30:25.3616869Z ==============================================================================
2021-09-08T10:30:26.3307548Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" --version"
2021-09-08T10:30:27.0653487Z
2021-09-08T10:30:27.0654562Z azure-cli                         2.27.2
2021-09-08T10:30:27.0655786Z Please let us know how we are doing: https://aka.ms/azureclihats
2021-09-08T10:30:27.0656161Z
2021-09-08T10:30:27.0657067Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2021-09-08T10:30:27.0657856Z core                              2.27.2
2021-09-08T10:30:27.0658751Z telemetry                          1.0.6
2021-09-08T10:30:27.0659239Z
2021-09-08T10:30:27.0659800Z Extensions:
2021-09-08T10:30:27.0660434Z azure-devops                      0.20.0
2021-09-08T10:30:27.0660788Z
2021-09-08T10:30:27.0661482Z Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
2021-09-08T10:30:27.0662338Z Extensions directory 'C:\Program Files\Common Files\AzureCliExtensionDirectory'
2021-09-08T10:30:27.0662781Z
2021-09-08T10:30:27.0663516Z Python (Windows) 3.8.9 (tags/v3.8.9:a743f81, Apr  6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]
2021-09-08T10:30:27.0663992Z
2021-09-08T10:30:27.0664633Z Legal docs and information: aka.ms/AzureCliLegal
2021-09-08T10:30:27.0665044Z
2021-09-08T10:30:27.0665318Z
2021-09-08T10:30:27.0665888Z Your CLI is up-to-date.
2021-09-08T10:30:27.0678026Z Setting AZURE_CONFIG_DIR env variable to: D:\a_temp.azclitask
2021-09-08T10:30:27.0684276Z Setting active cloud to: AzureCloud
2021-09-08T10:30:27.0817042Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" cloud set -n AzureCloud"
2021-09-08T10:30:27.5508839Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" login --service-principal -u *** "--password=" --tenant *** --allow-no-subscriptions"
2021-09-08T10:30:28.6336167Z [
2021-09-08T10:30:28.6337051Z   {
2021-09-08T10:30:28.6337706Z     "cloudName": "AzureCloud",
2021-09-08T10:30:28.6338565Z     "homeTenantId": "",
2021-09-08T10:30:28.6339338Z     "id": "a9285634-5b2d-4b9d-827f-6b849e281ce6",
2021-09-08T10:30:28.6340086Z     "isDefault": true,
2021-09-08T10:30:28.6340758Z     "managedByTenants": [],
2021-09-08T10:30:28.6341438Z     "name": "Pay-As-You-Go",
2021-09-08T10:30:28.6342380Z     "state": "Enabled",
2021-09-08T10:30:28.6343140Z     "tenantId": "",
2021-09-08T10:30:28.6343778Z     "user": {
2021-09-08T10:30:28.6344492Z       "name": "",
2021-09-08T10:30:28.6345167Z       "type": "servicePrincipal"
2021-09-08T10:30:28.6345805Z     }
2021-09-08T10:30:28.6346371Z   }
2021-09-08T10:30:28.6346924Z ]
2021-09-08T10:30:28.6538339Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account set --subscription a9285634-5b2d-4b9d-827f-6b849e281ce6"
2021-09-08T10:30:29.1529883Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a_temp\azureclitaskscript1631097026292.ps1'"
2021-09-08T10:30:29.5434057Z Resource-type:
2021-09-08T10:30:29.5446452Z Adding custom host-name: [qa-preprc-stage.apoteket-online.dk], Deploy-slot: [staging], Webapp: [aa-qa-sc-prc], Resource-grp: [aa-qa-sc-resourcegrp].
2021-09-08T10:30:29.5471020Z Adding to slot
2021-09-08T10:30:31.1385759Z ERROR: The command failed with an unexpected error. Here is the traceback:
2021-09-08T10:30:31.1395670Z ERROR: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
2021-09-08T10:30:31.1397020Z Traceback (most recent call last):
2021-09-08T10:30:31.1397975Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
2021-09-08T10:30:31.1399082Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
2021-09-08T10:30:31.1400238Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
2021-09-08T10:30:31.1401218Z AttributeError: 'str' object has no attribute 'get'
2021-09-08T10:30:31.1401627Z
2021-09-08T10:30:31.1402347Z During handling of the above exception, another exception occurred:
2021-09-08T10:30:31.1402808Z
2021-09-08T10:30:31.1403854Z Traceback (most recent call last):
2021-09-08T10:30:31.1404720Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 620, in body
2021-09-08T10:30:31.1405742Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1446, in _deserialize
2021-09-08T10:30:31.1406700Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
2021-09-08T10:30:31.1407652Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
2021-09-08T10:30:31.1408670Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
2021-09-08T10:30:31.1409785Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
2021-09-08T10:30:31.1410857Z msrest.exceptions.DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
2021-09-08T10:30:31.1411352Z
2021-09-08T10:30:31.1411972Z During handling of the above exception, another exception occurred:
2021-09-08T10:30:31.1412333Z
2021-09-08T10:30:31.1412855Z Traceback (most recent call last):
2021-09-08T10:30:31.1413614Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
2021-09-08T10:30:31.1414548Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 657, in execute
2021-09-08T10:30:31.1415582Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 720, in _run_jobs_serially
2021-09-08T10:30:31.1416807Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 712, in _run_job
2021-09-08T10:30:31.1417801Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 37, in _ex_handler
2021-09-08T10:30:31.1418812Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 691, in _run_job
2021-09-08T10:30:31.1419780Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 328, in call
2021-09-08T10:30:31.1420767Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
2021-09-08T10:30:31.1422365Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1433, in add_hostname
2021-09-08T10:30:31.1423492Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/v2020_09_01/operations/_web_apps_operations.py", line 17868, in create_or_update_host_name_binding_slot
2021-09-08T10:30:31.1424568Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 622, in body
2021-09-08T10:30:31.1425516Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
2021-09-08T10:30:31.1426514Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 620, in body
2021-09-08T10:30:31.1427445Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1446, in _deserialize
2021-09-08T10:30:31.1428414Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
2021-09-08T10:30:31.1429396Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1428, in _deserialize
2021-09-08T10:30:31.1430380Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
2021-09-08T10:30:31.1431420Z   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
2021-09-08T10:30:31.1432804Z msrest.exceptions.SerializationError: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
2021-09-08T10:30:31.1857997Z To open an issue, please run: 'az feedback'
2021-09-08T10:30:31.3438321Z ##[error]Script failed with exit code: 1
2021-09-08T10:30:31.3580126Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account clear"
2021-09-08T10:30:31.8370063Z ##[section]Finishing: Azure CLI: Add Custom Hostname to Slot

The current version of the Azure CLI is 2.28.0. Please install and try it should work.


libdbus-1.so.3: no version information available

VSCode Version: Stable 1.32.3

OS Version: Fedora 22

OS Type: 64-bit

Steps:

dnf install code
code
I got this error :[ /usr/share/code/bin/../code: /usr/lib64/libdbus-1.so.3: no version information available (required by /usr/share/code/bin/../code) ], vscode can't open

We only support fedora 23+ https://code.visualstudio.com/docs/supporting/requirements


Add font caching to Chapter 3

This PR takes the Chapter 13 code and text on font caching and ports it to Chapter 3. I think it's a better place since Ch3 already discusses text, while Ch13 is mostly about something else; plus, it means the browser won't be super-slow for most of the book.
I updated the code for Chapters 3-9 to account for this change, but didn't remove the relevant part of Chapter 13, since we might want further reorganization there.

Actually - please don't merge until the one question I asked is answered.

Ok, I did a pass on the "Go Further" block. I think it's not redundant—but it would be nice to link to some description of fast text rendering or the caches involved. @chrishtr, do you know if there is, say, a good description of the caches in Harfbuzz? I know Patrick Walton has some great blog posts on Pathfinder text rendering, and I'd love to link to those but they are on a slightly different topic

In either case, I think we should merge this, not least so we can unravel the discussion in Ch 13 that this is pulled from and also because my class is going to get here soon.


cannot import name Handler from telegram.ext

I installed all dependencies, but cannot run, Can you help me see what's going on?

new situation
I tried using vpn, checking token and id, still can't fix it

Looks like a problem with dependencies. The telegram API is unable to connect to the server.
Check if you have the correct version of python-telegram-bot and if you are able to use Telegram correctly. The VPN should be a system-wide tunnel.

Dear Sir
I confirmed all the dependencies and it still doesn't work, even started flashing back
How should this be handled?
BTW，Also can this be used on the VFS website for China and Iceland?

Hello,
I have the same issue

C:\Users\LLCOOLR\VFSBot>vfsbot.py
C:\Users\LLCOOLR\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\utils\request.py:49: UserWarning: python-telegram-bot is using upstream urllib3. This is allowed but not supported by python-telegram-bot maintainers.
warnings.warn(
after edit url & token & chatid & install dependecies still errors
any fix


Update 01_constructors.ipynb

install Dataframe package

This is not required. All dependencies are specified in Project.toml. You might need to instantiate your environment as described here.

Thanks for the tips.

You might want to watch https://juliaacademy.com/p/introduction-to-dataframes-jl. In the first part of the tutorial on environment setup it is explained in more detail.


updated holopin.yaml #4104

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[*] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[*] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

This pull request updates the .github/holopin.yaml file. #4104

@SilentSobs there are a few other repos left that don't have the updated badge: https://github.com/search?q=org%3Adapr+holopin.yaml++&type=issues&state=open. Please choose one of these and type /assign in a comment of that issue to assign to you, so it's clear you're working on it. Thank you!


How do I write a Nix expression for new Lua packages?

I need to install the Lua packages

dpnn
csvigo
torchx
tds

They are available from luarocks.  I have looked in pkgs/top-level/lua-packages.nix but I don't understand it because this is my first time writing Nix expressions.  Can anyone give me a hand?

Can you make a more concrete question, what you don't understand? Otherwise I would suggest to join #nixos on IRC to get a more interactive introduction.

I've never built a Lua package before and I've never written a Nix expression before so I'm in the worst possible place to make progress with this problem.  Nonetheless I think these packages would be a good addition to the Nix ecosystem.  Could someone who knows about Lua and Nix specifically help me out?
As will be able to see from the #nixos logs I have been there this afternoon but no one could help me with this specific issue.

@domenkozar Any chance you could help out with this when you get some time?

You can have a look at https://nixos.org/nixpkgs/manual/#sec-language-lua.
The best solution would be to import luarocks available packages into nixos.

Close as answered?

I am no longer trying Nix or Lua so I can't verify whether the answer works or not.  AFAIR I already knew about the section of the manual that teto linked to so I imagine I tried it and it didn't work for the lua packages that I wanted.


EXSWHTEC-83 - Implement new and reimplement existing tests for hipMemAdvise

Negative parameter tests
Validate that setting and resetting of flags works as expected
Validate that setting one flag does not lead to the resetting of another
Validate round down for base address and roundup for base address + count behavior
Validate that memory can still be read and write after applying each advice
Validate that prefetching after setting flags does not interfere with them.

@music-dino : Some tests fail on CI. Details shared separately.

PR updated, please proceed.


Add static typing to CI

Add configuration for mypy (disallow untyped defs in this repo) and get this running in CI.

There's already a mypy hook in pre-commit-config:
https://github.com/stac-utils/stac-geoparquet/blob/50f2886b7d8acfe5053c936f42c6240c0aecb3d7/.pre-commit-config.yaml#L21-L37
I generally dislike putting the mypy check in pre-commit because it doesn't have access to any dependencies, or, in this case, you have to re-define dependencies (and I assume that anything listed in additional_dependencies is not constrained to the same versions in any other lockfile)

Ah right, forgot about that.
I agree with moving it out of pre-commit now that this is growing a bit.

Closed by #44


Unhandled 'error' event spawn ENOENT

Running the gulp e2etests:run after updating the webdriver and the new references in the config file, I got the following error, both in my project and the exemple_2 of this repo :
Starting selenium standalone server...

events.js:72
    throw er; // Unhandled 'error' event
          ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)
{ plugin: 'gulp-protractor',
    showStack: false,
    message: 'protractor exited with code 8' }

Running tests give me 5 passing and 1 pending.
I'm under Archlinux, but maybe linked with #13 ?
Thanks !

+1 :+1:


Conda yml file

Can

a conda yml file for requirements be created
a txt file with instructions on how to use it

@dlf57 can you do this one

Yeah, I can take care of this. I can set up a simple yml that creates a separate environment for the work we do so that it does not conflict with anyone's base environment. Instead of a text file with instructions how about a short blurb in the readme with instructions on how to download anaconda if you don't have it already and then how to:
conda env create -f qmmm_environment.yml

This should be fixed with #6 and can be closed now


[BUG] Connect-PnPOnline does not respect ErrorAction parameter

Reporting an Issue or Missing Feature
Issue (migrated from https://github.com/pnp/PnP-PowerShell/issues/2196)
Expected behavior
Connect-PnPOnline -ErrorAction Stop stops script execution on error, e.g. when the URL is wrong.
Actual behavior
The -ErrorAction parameter is being ignored, script execution continues.
Steps to reproduce behavior
Connect-PnPOnline to a bogus tenant url
What is the version of the Cmdlet module you are running?
2.2.0
Which operating system/environment are you running PnP PowerShell on?

[X] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

There is the -ValidateConnection parameter which provides this feature.
It is described in the Documentation.

I do not think -ErrorAction and -ValidateConnection work the same, for example when invalid credentials are given. I am using 1.1.12 in which -ErrorAction was supposedly added, but I do not think it works as expected.
 -Filename "bar" -ErrorAction Stop
Write-Host "finished"

This will show 4 errors and "finished" message. If I uncomment the -ErrorAction in the first line, the script will terminate after the first error.

ErrorAction was not added in any version, it is integral part of every cmdlet/advanced function.
Some errors in PowerShell are terminating, some are not. By setting -ErrorAction Stop you ensure that the error will be terminating. Get-Content for example does not throw a terminating error if it cant find the file.
This is what often tricks people that wants error handling with try/catch. If the error is not terminating, it will not go into the catch and trigger your error handling!
For the case with Connect-PnPOnline, this was not treated as a "real" error, so you could not force the error into a catch to ensure your code flow. This was fixed when -ValidateConnection was added. Was it the right solution? I would have preferred a terminating error, and adding a new parameter also has issues for legacy code, but hey ho it works :)
https://devblogs.microsoft.com/scripting/understanding-non-terminating-errors-in-powershell/

@AndersRask thanks for the explanation. I read the article you linked, and I guess I understand the difference between terminating and a non-terminating errors.
Compare the following script:
Get-InstalledModule -Name "PnP.PowerShell"
Connect-PnPOnline -Url "https://foo.bar" -Credentials "foobar" -ErrorAction Stop
Write-Host "finished"

And this one:
$ErrorActionPreference = "Stop"
Get-InstalledModule -Name "PnP.PowerShell"
Connect-PnPOnline -Url "https://foo.bar" -Credentials "foobar"
Write-Host "finished"

Note that the "finished" line is missing. Shouldn't -ErrorAction Stop and $ErrorActionPreference = "Stop" be equivalent? Adding -ValidateConnection does not change anything.


CI builds fails with Swift 5.9 and Swift nightly

Expected behavior
CI build should succeed without errors
Actual behavior
CI builds fails with
docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.al2.59.yaml -p swift-aws-lambda-runtime-swift59-prb run --rm test

fails with a fatal error.
/code/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/code/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
/code/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/code/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {

...

15:48:54 /code/Sources/AWSLambdaRuntimeCore/LambdaContext.swift:15:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
15:48:54 @preconcurrency import Dispatch
15:48:54 ~~~~~~~~~~~~~~~~^
15:48:54 [282/295] Compiling AWSLambdaRuntimeCore LambdaContext.swift
15:48:54 /code/Sources/AWSLambdaRuntimeCore/LambdaContext.swift:15:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
15:48:54 @preconcurrency import Dispatch
15:48:54 ~~~~~~~~~~~~~~~~^
15:48:54 [283/295] Compiling AWSLambdaRuntimeCore Lambda+String.swift
15:48:54 /code/Sources/AWSLambdaRuntimeCore/Lambda.swift:88:23: error: 'install()' is deprecated: This is no longer needed in Swift 5.9
15:48:54             Backtrace.install()
15:48:54                       ^
15:48:54 [284/295] Compiling AWSLambdaRuntimeCore Lambda.swift
15:48:54 /code/Sources/AWSLambdaRuntimeCore/Lambda.swift:88:23: error: 'install()' is deprecated: This is no longer needed in Swift 5.9
15:48:54             Backtrace.install()
15:48:54                       ^
15:48:54 error: fatalError
15:48:54 error: fatalError

Steps to reproduce
Submit a PR and issue @swift-server-bot test this please
If possible, minimal yet complete reproducer code (or URL to code)
See https://github.com/swift-server/swift-aws-lambda-runtime/pull/300
What version of this project (swift-aws-lambda-runtime) are you using?
1.0.0-alpha1
Swift version
bash-4.2# swift --version && uname -a
Swift version 5.9-dev (LLVM 9cdc27a2fb48dda, Swift f42cd3b53880c62)
Target: aarch64-unknown-linux-gnu
Linux e7a81f99736b 5.15.49-linuxkit-pr #1 SMP PREEMPT Thu May 25 07:27:39 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Amazon Linux 2 docker image version
al2-5.9

root cause : https://github.com/swift-server/swift-backtrace/pull/68

https://github.com/swift-server/swift-aws-lambda-runtime/pull/305

Thanks !

I confirm this is fixed now - thank you


Added option to skip linking against libunwind

It may sometimes be desired not to use libunwind.  Added a bool_flag that allows the user to disable linking against the libunwind library.
To disable linking against libunwind use the following command line
parameter:
--@toolchains_llvm//toolchain/config:libunwind=False

Instead of making this a toolchain rule attribute, could we make it a feature? That would allow for greater flexibility and is a more well-known mechanism for C++ toolchain configuration.

I am not sure i understand how the feature would work in this case. It seems that there is no option to provide custom features to unix_cc_toolchain_config. It seems to me that we would have to call the cc_common.create_cc_toolchain_config_info directly

Any updates here ?

Apologies — will take a look later today

@rrbutani did you have a change to look at this ?

gentle ping @rrbutani

pushed version allowing disabling the complier-rt library separately from libunwind

Ping @fmeum @rrbutani

Ping @fmeum @rrbutani