Error MSB8029 and MSB3073 when doing flet build windows

I get a problem every time I do a flet build windows. I've tried upgrading my Flutter and Visual Studio. I even tried changing my TEMP file, but the error warnings MSB8029 and MSB3073 kept appearing. What should I do?
here is the error log:
Flutter bootstrap directory: D:\TEMP\flet_flutter_build_RwfXu2c21J
Additional Flutter dependencies:
{}
Creating Flutter bootstrap project...OK
Customizing app icons and splash images...OK
Generating app icons...
Run subprocess: ['C:\\Users\\nadiy\\dev\\flutter\\bin\\dart.BAT', 'run', 'flutter_launcher_icons']
Resolving dependencies in `D:\TEMP\flet_flutter_build_RwfXu2c21J`... (2.8s)
Downloading packages...
Got dependencies in `D:\TEMP\flet_flutter_build_RwfXu2c21J`.
Building package executable... (1.8s)
Built flutter_launcher_icons:flutter_launcher_icons.
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.13.1)
  ════════════════════════════════════════════

• Creating default icons Android
• Overwriting the default Android launcher icon with a new icon
• Overwriting default iOS launcher icon with new icon
Creating Icons for Web...
Creating Icons for Windows...
Creating Icons for MacOS...

✓ Successfully generated launcher icons
OK
Packaging Python app...
Run subprocess: ['C:\\Users\\nadiy\\dev\\flutter\\bin\\dart.BAT', 'run', 'serious_python:main', 'package',
'D:\\KULIAH\\SEMESTER 6\\ASN\\Try GUI', '--dep-mappings', 'flet=flet-embed', '--req-deps', 'flet-embed',
'--exclude', 'build']
Resolving dependencies in `D:\TEMP\flet_flutter_build_RwfXu2c21J`...
Downloading packages...
Got dependencies in `D:\TEMP\flet_flutter_build_RwfXu2c21J`.
Building package executable...
Built serious_python:main.
Running package command
Creating asset directory: D:\TEMP\flet_flutter_build_RwfXu2c21J\app
Copying Python app from D:\KULIAH\SEMESTER 6\ASN\Try GUI to D:\TEMP\serious_python_temp1ff4e45
Installing dependencies [flet-embed] with pip command to D:\TEMP\serious_python_temp1ff4e45\__pypackages__
Extracting Python distributive from D:\TEMP\cpython-3.11.6+20231002-x86_64-pc-windows-msvc-shared-install_only.tar.gz to D:\TEMP\hostpython3.11_117fc14c
Compiling Python sources at D:\TEMP\serious_python_temp1ff4e45
Delete unnecessary files with extensions: [.py, .c, .h, .typed, .exe]
Delete unnecessary files and directories: [__pycache__, bin]
Creating app archive at D:\TEMP\flet_flutter_build_RwfXu2c21J\app/app.zip from D:\TEMP\serious_python_temp1ff4e45
Deleting temp directory D:\TEMP\serious_python_temp1ff4e45
Deleting Python directory D:\TEMP\hostpython3.11_117fc14c
OK
Building Windows app...
Run subprocess: ['C:\\Users\\nadiy\\dev\\flutter\\bin\\flutter.BAT', 'build', 'windows']
Resolving dependencies...
Downloading packages...
  file_picker 6.2.1 (8.0.2 available)
  fl_chart 0.65.0 (0.67.0 available)
  flutter_lints 2.0.3 (3.0.2 available)
  flutter_markdown 0.6.23 (0.7.1 available)
  flutter_native_splash 2.3.7 (2.4.0 available)
  js 0.6.7 (0.7.1 available)
  leak_tracker 10.0.4 (10.0.5 available)
  leak_tracker_flutter_testing 3.0.3 (3.0.5 available)
  lints 2.1.1 (3.0.0 available)
  material_color_utilities 0.8.0 (0.11.1 available)
  meta 1.12.0 (1.14.0 available)
  package_info_plus 4.2.0 (8.0.0 available)
  package_info_plus_platform_interface 2.0.1 (3.0.0 available)
  petitparser 5.4.0 (6.0.2 available)
  sensors_plus 4.0.2 (5.0.1 available)
  test_api 0.7.0 (0.7.1 available)
  toml 0.14.0 (0.15.0 available)
  xml 6.3.0 (6.5.0 available)
Got dependencies!
18 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.

windows/flutter/CMakeLists.txt does not use FLUTTER_TARGET_PLATFORM, updating.
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\ZERO_CHECK.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\plugins\serious_python_windows\CopyPythonDLLs.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\flutter\flutter_assemble.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\flutter\flutter_wrapper_app.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\flutter\flutter_wrapper_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\plugins\screen_retriever\screen_retriever_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\plugins\serious_python_windows\serious_python_windows_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\format(42): warning STL4038: The contents of <format> are available only with C++20 or later. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\plugins\serious_python_windows\serious_python_windows_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\plugins\url_launcher_windows\url_launcher_windows_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\plugins\window_to_front\window_to_front_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\runner\try_gui.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\ALL_BUILD.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: The command "setlocal [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: :cmEnd [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: :cmErrorLevel [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: exit /b %1 [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: :cmDone [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: :VCEnd" exited with code 1. [D:\TEMP\flet_flutter_build_RwfXu2c21J\build\windows\x64\INSTALL.vcxproj]
Building Windows application...                                   156.9s
Build process failed.
Deleting Flutter bootstrap directory D:\TEMP\flet_flutter_build_RwfXu2c21J

Run subprocess: ['C:\\Users\\nadiy\\dev\\flutter\\bin\\flutter.BAT', '--version']
Error building Flet app - see the log of failed command above.

The information from my flutter doctor does not show any errors and the version of flet is 0.22.0
C:\Users\nadiy>flutter doctor -v
[√] Flutter (Channel beta, 3.22.0-0.3.pre, on Microsoft Windows [Version 10.0.22631.3447], locale en-US)
    • Flutter version 3.22.0-0.3.pre on channel beta at C:\Users\nadiy\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 87b652410d (3 days ago), 2024-04-23 21:41:18 -0500
    • Engine revision b4bfd45986
    • Dart version 3.4.0 (build 3.4.0-282.3.beta)
    • DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\nadiy\AppData\Local\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = C:\Users\nadiy\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.9.6)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
    • Visual Studio Build Tools 2022 version 17.9.34728.123
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.88.1)
    • VS Code at C:\Users\nadiy\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.86.0

[√] Connected device (4 available)
    • Preview (desktop) • preview • windows-x64    • preview
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3447]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 122.0.6261.131
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 124.0.2478.51

[√] Network resources
    • All expected network resources are available.

• No issues found!

I'm having the exact same problem like you have
I'm running Python 3.12.2
My flet program lies in a /src/ subdir (/src/main.py)
I'm attaching the logs I'm getting when I run flet build windows src\ -vv
log.txt

Hi.
I had the same prob recently.
It was working  in the past but I decided to install a "full" version of Visual studio not only the components. Bu I forget to check the case for the installation of the  desktop development tools in c++ and .net. When I installed them again and I stop to have the MSB8029 and MSB3073 errors

Thank you for your suggestion. I have tried installing the C++ and .NET development tools as you recommended, but I am still encountering the same errors (MSB8029 and MSB3073).
Could you provide a more detailed explanation on how to check if the C++ and .NET development tools are installed correctly? Is it necessary to install a previous version of MSVC? Perhaps there are specific steps or settings that I might have missed?

I had the same problem and I thought it was the reason for my app to crash after compilation, but in my case, I ignore it and my app works. A small advice, try to create a new environment and check the requirements.txt again and run, I miss one package and that was the error.

@Azka79  do you have only one Visual Build tools installed? Check also if C++ and . net development are installed using modify in the Visual Studio Installer and look if they are checked in "Desktop and Mobile" .

I had the same problem and I thought it was the reason for my app to crash after compilation, but in my case, I ignore it and my app works. A small advice, try to create a new environment and check the requirements.txt again and run, I miss one package and that was the error.

Is there a way to ignore these errors? In my case, the build folder always gets deleted when the build fails. I don't believe there's an issue with my requirements.txt file. I've successfully published it on the web, but these errors keep appearing when I try to 'build web'.

@echidne I believe I already have the necessary C++ and .NET.

Hi @Azka79 ,
in your screen shot the components look to be correctly installed.
Do you have only one visual studio installed? In my case the prob come because I had several version installed and the one that was using flet did not have the C++ and .Net for desktop installed

Other thing to try : to get rid of problem with requirements:
- flet create helloworld

main.py should be:

import flet as ft

def main(page: ft.Page):
    page.add(ft.SafeArea(ft.Text("Hello, Flet!")))

ft.app(main)

Check in requirements.txt you have flet
then flet build windows

If that works that means the visual studio components are correctly installed

Hi @echidne ,
I'm really sorry for the delayed response to your suggestions. I truly appreciate your patience and am grateful for your valuable input. I only have one version, could this cause problems?
I also tried your suggestion to build on the flet create myapp . But I still get the same error

Hi @echidne ,
I'm really sorry for the delayed response to your suggestions. I only have one version, could this cause problems?
I also tried your suggestion to build on the flet create myapp . But I still get the same error

Hi @Azka79,
If the simple "hello world" app is not building that means we can exclude problemes with external packages. The most logical explannation I'm able to think about is something is wrong with your VS components installation.
Can you install that tool from Microsoft ? To do that type that in your Powershell Terminal :
Install-Module VSSetup -Scope CurrentUser

Choose the 'Y' option to install it.
then
Get-VSSetupInstance

and show us the result

Hi,
I have the same error a few minutes ago, the solution it work for me was creating a requirements.txt on top of my application folder, inside that file I add flet==0.22.
Sorry for my bad english.

@echidne , i got this error when running Get-VSSetupInstance
Get-VSSetupInstance : The 'Get-VSSetupInstance' command was found in the module 'VSSetup', but the module could not be
loaded. For more information, run 'Import-Module VSSetup'.
At line:1 char:1

Get-VSSetupInstance

  + CategoryInfo          : ObjectNotFound: (Get-VSSetupInstance:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

@echidne , I got this
InstanceId          : 8caa50c6
DisplayName         : Visual Studio Build Tools 2022
InstallationVersion : 17.9.34728.123
InstallationPath    : C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
InstallDate         : 4/8/2024 6:50:33 PM

Hi, I have the same error a few minutes ago, the solution it work for me was creating a requirements.txt on top of my application folder, inside that file I add flet==0.22.*
Sorry for my bad english.

I think I've done that when I run flet create myapp, the requrement.txt file automatically contains flet == 0.22.*

Hi @Azka79 ,
What I did today :

I Installed a Windows virtual machine to be sure to start from a fresh environment
I installed the Visual Studio with components as stated in the medium article cited in the Flet documentations  to create Windows apps and choosing the c++ and .net workloads to develop desktop apps (the same ones you picked)
I enabled the Developer mode of windows and allow the scripts to be executed in powershell
I installed Python 3.12 from python.org and PyCharm(to have an IDE) each time choosing the option that they are Path added
I installed the Flutter SDK as described on their website
In a virtual environment, I pip install flet
then I create the helloworld app and build it  .... without problems !!
I installed the Microsoft tool to check the Visual studio installation and I obtained:

So i compare to your result and I noticed that there is a difference: you have only the build tools installed when I have the community edition.
I have the feeling your problem could come from that. Perhaps you could try to install teh Visual Studio community editions with the c++ and .net workloads for destop development and see if that fix your bugs?

what is your Windows 10 SDK version, i got the same issue with flet build

i can build a flutter project through the following command
flutter create test
cd test
flutter build windows

is there a build flag to specify a build target directory for flet?

@nanakura yes you can build from outside the app directory as :
flet build windows path_to_app

you can also specify where you want the build to be done as :
flet build windows -o OUTPUT_DIR

@nanakura yes you can build from outside the app directory as :
flet build windows path_to_app

you can also specify where you want the build to be done as :
flet build windows -o OUTPUT_DIR

-o flag does not work in my computer, and i find some log

It looks like the build error is caused by cmake not finding vcruntime140_1.dll, but I can find this file on the disk

hi @nanakura ,
What version of visual studio is installed in your system?
Please show a result of the flutter doctor -v command
You say its the -o that causes the error but the error look to happen at building app step not when the build is copyed to the ouput_dir.
Perhaps posting the full log of the building coudl help to know what is happening (you can obtain it in adding the --verbose flag)
I'm not very experimented with Flet but I can try help you.

hi @nanakura , What version of visual studio is installed in your system? Please show a result of the flutter doctor -v command You say its the -o that causes the error but the error look to happen at building app step not when the build is copyed to the ouput_dir. Perhaps posting the full log of the building coudl help to know what is happening (you can obtain it in adding the --verbose flag) I'm not very experimented with Flet but I can try help you.

I didn't mean that this error was caused by "-o". Instead, I meant that the build process of flet is performed in the tmp path, and flet deletes the build files after a build failure. I encountered the exact same issue as @Azka79. Here is my flutter doctor -v:
C:\Users\reika>flutter doctor -v
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure
you trust this source!
[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [版本 10.0.22631.3593],
    locale zh-CN)
    • Flutter version 3.22.1 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (2 weeks ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Windows Version (Installed version of Windows is version 10 or higher)

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit
      https://flutter.dev/docs/get-started/install/windows#android-setup for
      detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio 生成工具 2022 17.10.1)
    • Visual Studio at d:\Program Files (x86)\Microsoft Visual
      Studio\2022\BuildTools
    • Visual Studio 生成工具 2022 version 17.10.34928.147
    • Windows 10 SDK version 10.0.22621.0

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit
      https://flutter.dev/docs/get-started/install/windows#android-setup for
      detailed instructions).

[√] VS Code (version unknown)
    • VS Code at C:\Users\reika\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
    X Unable to determine VS Code version.

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本
      10.0.22631.3593]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome
      124.0.6367.209
    • Edge (web)        • edge    • web-javascript • Microsoft Edge
      125.0.2535.92

hi again @nanakura,
since you said that you could build from a test app and directory but after you said -o flag was not working for you I assumed that the error you shown was raized by the -o flag.
AS I said to @Azka79 the difference I note beetween my working environment and yours is that I'm using Visual Studio Community Edition and not only the components

I had problems when I was using components but that problemes stopped when i installed the Community edition.

hi again @nanakura, since you said that you could build from a test app and directory but after you said -o flag was not working for you I assumed that the error you shown was raized by the -o flag. AS I said to @Azka79 the difference I note beetween my working environment and yours is that I'm using Visual Studio Community Edition and not only the components  I had problems when I was using components but that problemes stopped when i installed the Community edition.

you are right. I installed the Visual Stusio Community Edition and build success

Have installed the Visual Studio and VS Tool only C++ as here in screenshot.

Activate Virtual environment and build the windows app with command "flet build windows" using the Powershell from Visual Studio as shown in screenshot. App build will become successfull.

Hi,
I have the same error a , the solution it work for me was INSTALL Visual Studio community 2022 ， after installed . build successd

Sorry for the late response,
I just tried this suggestion and it worked. The problem is exactly as described, because my visual studio before is not the community edition. Thank you very much for the suggestions given

@Yagniksojitra answer works very well.  Thank you :+1:
If you don't want to open visiual studio, and just need the build.
You can simply refer to the developer environment in a batch file
I use it like this in a batch file:
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat"
flet build --build-number=1 --build-version="1.0.0"  windows


Alpha Fold Colab Pro not working

I have been using the colab notebook version with success to generate several structures thus far.  Today It has stopped working.  I am using colab pro with a high ram runtime and have done a factory reset all.  Everthing seems good until I search against genetic databases.  The following is the error I get -
NotFoundError                             Traceback (most recent call last)
 in ()
24 import py3Dmol
25
---> 26 from alphafold.model import model
27 from alphafold.model import config
28 from alphafold.model import data
6 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/load_library.py in load_library(library_location)
152
153     for lib in kernel_libraries:
--> 154       py_tf.TF_LoadLibrary(lib)
155
156   else:
NotFoundError: /opt/conda/lib/python3.7/site-packages/tensorflow/core/kernels/libtfkernel_sobol_op.so: undefined symbol: _ZN10tensorflow6StatusC1ENS_5error4CodeEN4absl14lts_2020_09_2311string_viewEOSt6vectorINS_10StackFrameESaIS7_EE

ISSUE SOLVE -
Hi, I used the last version of Alphafold notebook however I got the same error. Also, I'm sure that I run all cells in order. I tried to install Tensorflow 2.2.0 but I got another error in the Alphafold Prediction step. When I install Tensorflow 2.5.0 by !pip install -U tensorflow==2.5.0 at the begging of the notebook all problems were solved and notebook run properly.
I did the above and it appears to be running again.  Sorry, I am guilty of writing up an issue without looking over recent issues and their fixes.

Yes, this was indeed a TensorFlow version issue and should now be fixed (see #124 for details).


PRs with lots of commits will not load in github, showing unicorn instead.

Description:
This is really a github issue, but listing it as an Envoy issue because it's affecting our development flow.  There is no public github tracker on the github scalability issue, but I thought I'd use this issue to track interaction with github support on it.
Examples of PRs that have exploded are: #2932 and #3059.

Original report sent to github:

It looks like after a medium-size PR has enough comments and commits, it unicorns. https://github.com/envoyproxy/envoy/pull/3059 is an example of such a PR.
There is a large number of comments, but not an outrageous number. Is there some scalability issue in github that needs to be sorted out?

Response from Tiara (support@github.com):

Hi Joshua,
Thank you for reaching out to GitHub Support, and sorry for the trouble here.
We're currently investigating other similar reports regarding this issue, and I've added your report to our list.
While we can't share a specific ETA just yet, we'll be sure to update you as soon as there's any news to share.
Best regards,
Tiara
GitHub Support

Follow-up from me:

Thanks -- is there a github issue about github we could follow?

Response from Tiara:

Hi again Joshua,
I'm afraid our issue tracker is internal, so I don't have a public facing issue that you can follow -- but we will definitely update you when we can, though!
If you need to merge that pull request soon, we recommend using git merge locally on the command line as a workaround. We apologize for any inconvenience, and thank you for your patience.
Do let us know if there's anything else we can do to help.
Best regards,
Tiara
GitHub Support

Follow-up from me:

Thanks.  It would be helpful to know...if you have discovered & can share this...is this a scalability issue related to the commit-count, comment-count, or both?
The workaround you suggested might be helpful at some point, but it's a complicated multi-person project with tons of code-review scrutiny and the person who created this PR does not have write-access; it must be merged by an OWNER.  And we haven't really finished iterating on the PR yet.  So right now we have a situation where the PR owner has made a new version of the CL to workaround, but that quickly unicorned as well, making me think this was more about the commit-count (he cloned all the commits).

Response from John (GitHub Staff):

Hi Joshua,
I'm afraid I'm not able to provide much more detail here, but it does appear that the issue relates to the size of the pull request (you could call this the commit count) but this is not the only factor :)
Our engineers are looking into this though and we'll be sure to let you know once we have any news to share.
Have a great day further!
Cheers,
John
GitHub Support

I reported this as well, and I got a few slightly different suggestions for those interested:
We're continually seeing a unicorn with the following accompanying text:
"
This page is taking way too long to load.
Sorry about that. Please try refreshing and contact us if the problem persists.
"
The PR in question is this one: https://github.com/envoyproxy/envoy/pull/3059.

We've already closed and reopened this PR once, but again, after a few review cycles, it became unreachable (I've tried refreshing many times throughout the day). Is there anything we can do to preserve our comments and alleviate this issue now and in the future?

Thank you!

Matt Rice

Response:
Hi Matt,

Thanks for writing to GitHub support and sorry for the trouble!

We have received a few similar reports regarding big pull requests. I can confirm that our team is working on fixing this problem, and I've added your report to that issue.

Unfortunately I won't be able to provide an estimated time on when this might get fixed. We know this is not ideal, but hope you understand.

Is there anything we can do to preserve our comments and alleviate this issue now and in the future?

You should be able to use our API to get a copy of the comments in this pull request:

https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request

https://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request

If you have any question regarding using API we can definitely offer more detailed instructions.

Unfortunately I'm not sure if there's anything you can do on your part to view this pull request normally.

One thing you could try is viewing this PR in Incognito window or logged out.

I was actually able to view the PR you linked because I don't have write access to this repository, so GitHub will try to load less things for me such as edit buttons and so on. Of course this won't allow you to merge the pull request and so on, but perhaps it would help for you to look at its content?

Lastly, while we are working on consistently supporting large pull requests, you might consider keeping pull requests relatively short for now to avoid running into this again.

I hope this helps clear things up, and please let us know if you have any other questions.

Best 🕶
Cici
GitHub Support
👉Find support and come learn with other GitHub users in our new GitHub Community Forum!

Follow-up from me:

Can you tell me at least how long this problem has been present? I don't
know if this was always a limitation for github that we've just started
bumping into on a regular basis, or whether this is a transient issue.
The suggested workaround doesn't, as far as I can tell, address the problem
of continuing an ongoing code-review conversation.
We hope a remedy arrives soon.

And reply from github:

This is not an expected limitation of our system, though it's hard for us to pinpoint when this exact issue cropped up since we haven't nailed down the specific cause yet.
We've been making improvements to the pull requests feature regularly to handle larger PRs with more commits and more timeline events, like comments and reviews. We also resolved a large number of size-related issues with PRs recently, but as you're experiencing there's more work to do.
The team is actively investigating and we'll follow up as soon as we have news to share.

This happens on/off with a number of istio PRs too - for some reason though, using incognito window usually allows to load the content/see it

Calling this fixed for now given the recent perf updates shipped by GH.

This issue still exists 2 years later.
Same use case: large PR (273 files, +20k lines, -15k lines), 417 pending comments
Same issue: 504 Bad Gateway on comments POST.

^Same, I've just pull an all nighter finishing review of a large PR leaving over 60 comments and I'm unable to submit it for review 😞 https://github.com/Shopify/polaris-react/pull/2725/files

Still same issue in our private repo... PR with 15 commits, Showing 243 changed files with 2,295 additions and 1,465 deletions.
Interestingly the compare view works just fine, but not the PR view.
✅ works fine: https://github.com/.../.../compare/CL-2025
❌ 🦄 unicorn: https://github.com/.../.../pull/2774
Incognito doesn't help...

Hi,
Same here on a large PR.
48 files changed. +15k lines, -142 lines.
39 pending comments.
We just lost a lot of comments today.

I also saw the unicorn today with a PR containing 411 files changed.

As a workaround, you can navigate to the "files" part manually and mark as many conversations as you can as resolved (use the commit filter to see previous conversations) and then the PR body should load.
Just append "/files" to get to the files section:
https://github.com/account/repo/pull/1000/files
Obviously this isn't for everyone, but in our case, most of the conversations were actually resolved, just not marked as resolved. It's amazing how nearly 5 years later and github still can't handle mere 300 comments.


[Docker] Minor Dockerfile enhancements to stabilize & speed up automated builds

References

Follow-up to #10120 which further speeds up our Docker builds

Description
This PR makes small changes to two Dockfiles to speed up & stabilize our builds:

Update several Dockerfiles to use curl to download Apache Ant.  This switch was made to allow us to use the --retry flag which can try the download again if it initially fails.  This update was applied to Dockerfile, Dockerfile.cli and Dockerfile.test
Update Dockerfile.dependencies to perform a build using only the Maven POMs.  The purpose of this image is just to download all our Maven dependencies.  By building using only the POMs. this significantly speeds up the building of this image (as we skip all code compilation steps).

On my local machine, previously this 'dspace-dependencies' image would take about 4.5 - 5 minutes to build.  It now takes 30-40 seconds.

Instructions for Reviewers

No DSpace code is changed
No change in DSpace build behavior should be visible.
These refactors only impact Dockerfiles, and these Dockerfiles are all built automatically by our automated tests.  Therefore, if tests succeed, that's a sign that there was no adverse behavior to these changes.

Merging immediately as this provides a significant speed boost for building the dspace-dependencies image.  In GitHub Actions it now builds in 2 mins (for linux/amd64) instead of previously in 5+ mins.


Smooth Scroll action is being updated too frequently. Make sure you are not changing it unless necessary

Smooth Scroll action is being updated too frequently. Make sure you are not changing it unless necessary.
How to fix this message error?

Thank you for opening the issue.
I'm not sure what's causing the problem exactly, as I couldn't reproduce it.
Some folks online say that it seems that it's related to the SmoothScroller that is being used, and it should be used only once for each trigger of a smooth scroll. And indeed, the logcat is printing warning messaging regarding this, so I will add this change to the next release.
But for further investigation, kindly provide me with a minimal working project that produces these error messages.


Defined isEqual and hash value getters for various collection classes

Defined isEqual and hash value getters for NSArray, NSDictionary and NSSet

As a follow up it might be interesting to have unit tests to verify mutable versions of isEqual etc


npx hardhat etherscan-verify not working: Invalid API Key

Describe the bug
When I try to use the contract verification task, I get an invalid API Key error. I have (properly?) configured hardhat.config.js:
networks: {
    ...
    polygonMainnet: {
      url: "https://polygon-mainnet.g.alchemy.com/v2/lP6lP_6hE-DN59hifFzJbMOM8vnZP7-g",
      accounts: [process.env.PRIVATE_KEY],
      verify: {
        etherscan: {
          apiUrl: 'https://api.polygonscan.com/'
        }
      }
    },
    avalancheMainnet: {
      url: "https://api.avax.network/ext/bc/C/rpc",
      accounts: [process.env.PRIVATE_KEY],
    },
  },
  verify: {
    etherscan: {
      apiKey: process.env.SNOWTRACE_API_KEY,
    }
  },

To Reproduce
Steps to reproduce the behavior:
I've tried running npx hardhat --network avalancheMainnet etherscan-verify and npx hardhat --network polygonScan etherscan-verify in the command line, loading in the proper API_KEY for the given chain.
I've set the right values in my .env file. When looking at the explorers, however, the requests don't seem to be reaching the endpoint with the API Key. Maybe the variables aren't being exported correctly?
I ran the same task on Rinkeby, and the contracts were verified successfully—is something going on with my config?
Expected behavior
A clear and concise description of what you expected to happen.
versions

hardhat-deploy [e.g. 0.9.14]
hardhat
nodejs

Additional context
Add any other context about the problem here.

passing in the api key in the CLI through flags. I'm guessing it has to do with .env exports—maybe the order the dependencies are imported?, but I'm honestly too lazy to figure it out atm.

I have the same problem with my configuration. If I pass the apikey as a cli parameter it works correctly.
cc @wighawag

I even tried hardcoding the api key but same result as you folks:

Same key works though CLI flags.

This is the logic hardhat-deploy uses:
https://github.com/wighawag/hardhat-deploy/blob/55c0b6831744432d889def5c5e7da474fd309f38/src/index.ts#L840-L849

oh, thanks, I haven't tested again but I think I can see the problem now, in my environment variables I had also defined the variable ETHERSCAN_API_KEY (which contains the etherscan.io API Key, not the Polygon scan one)

This is the logic hardhat-deploy uses:
https://github.com/wighawag/hardhat-deploy/blob/55c0b6831744432d889def5c5e7da474fd309f38/src/index.ts#L840-L849


Allow changing subnet/kube annotation prefix

Description

Fixes https://github.com/coreos/flannel/issues/804
It adds new --kube-annotation-prefix flag which defaults to flannel.alpha.coreos.com so the current behavior remains unchanged.
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

@tomdee is there any way I can move it forward?

@tomdee PTALA

@kopiczko Thanks for making the markups. The changes look good. Merging.


Buffering / Stream support

Is there a plan to support buffering / stream support?
I've tried to use the sound from the network but I wasn't successful. There is this module (https://github.com/tlenclos/react-native-audio-streaming) that is not really maintained anymore but it is able to stream from the network. Do you think that this can be supported at some point in react-native-sound?

@stavros-zavrakas  use react-native-video for streaming for now

That's a pretty sucky response to what is clearly a needed feature. Why wontfix vs, at a minimum, putting it on the backlog?

OK, sorry. I didn't explain because I felt that the issue had been discussed in other topics.
The deal is that this library doesn't use a library that supports streaming #292. We would have to rewrite and use the correct library. I don't know the amount of work required, but I bet it's not trivial. If someone wants to tackle that, great, but I'm not aware of anyone so far.
If someone wants to submit a PR with the correct AVPLayer, I'm all game for that.

@johncblandii @trepidity I agree that supporting streaming is not easy because it requires lots of work in native side (almost equivalent to re-writing this library). Since this library is used by production apps including our team's, I guess we need to focus on stabilization of the existing functionality. Currently, too many issues open, so this library is getting messy.

@trepidity that's clearer. If I get enough free time, I'll push a PR.
@ohtangza feel free to focus on stabilization. Just when network playback becomes a feature the natural next step is streaming audio (either via progressive download or otherwise). Labeling it as help wanted is a great step forward to getting the help from those of us in the community capable of such a rewrite.

@johncblandii Thanks for your prompt input on this. As you said, we'd like to make it clear somewhere in docs about the directions. Please understand that this is not a judgment on whether the feature is important or not. It's just not a trivial work because we need to change the core part of this library as @trepidity commented.  If you submit a pull request to implement streaming, my team would be happy to review it because we could enhance our user's experience to a certain degree :)
In the meantime, react-native-audio-toolkit could be your second choice because it supports streaming very well in ios and android when we prototyped with this library earlier.

No problem, @ohtangza. I get where you guys are coming from for sure.

Regarding react-native-audio-toolkit, it seems they have a problem of not being maintained either (https://github.com/futurice/react-native-audio-toolkit/issues/83) and they don't support local playback in ios, which is kinda important (SOURCES.md)

If you are looking for other options, there is also https://github.com/react-native-kit/react-native-track-player which supports streaming

If you are looking for other options, there is also https://github.com/react-native-kit/react-native-track-player which supports streaming

Curious to know how this performed for everybody?


experiment: raw repro for drun crash

see history.txt
(only occurs on my machine)

Crash due to lack of disk space for tmp folder.


SD TTNN: TtDownBlock2D

Implement subgraph TtDownBlock2D and make two tests: one for 256x256 image size and one for 512x512 image size.
Have one test file named something like test_ down_block_2d.py and inside it two tests test_down_block_2d_256x256 and test_down_block_2d_512x512. Tests should be parametrized with following input shapes:

[ ] Shape 1:  256x256

[ ] hidden_states case 1: [2, 1280, 4, 4]

[ ] Shape 2:  512x512

[ ] hidden_states case 1: [2, 1280, 8, 8]

For the 2 cases mentioned above:

temb: [1, 1, 2, 1280]

In the shared architecture, there is a downblock2D incorporating downsample2D and resnetblock2D. However, upon inspecting the model architecture, we observe a singular downblock2D with resnetblock2D, without downsample2D. Consequently, the weights of the downsample layer are not being obtained.
Additionally, there is a significant drop in pcc:
For the hidden_states in case 1 : [2, 1280, 4, 4], the PCC is 0.3451950805518363.
For the hidden_states in case 1 : [2, 1280, 8, 8], the PCC is 0.3129265698011713.
Corresponding commit: commit

PR is merged, closing the ticket.


Ego Vehicle Info and Status Messages ROS

Hi,
I am using the ROS Branch of the Leaderboard and everthing works fine so far (Connection to ROS and running through scenarios) but i did not receive Info and Status topics of the Ego Vehicle. Do i have to modify the ROS Agent or is there a simple solution like a specific sensor?
Thanks for your answer!

Hi,
Facing same issue. How should I read can_bus information? For ros https://github.com/carla-simulator/leaderboard/blob/master/leaderboard/autoagents/ros_agent.py#L141 doesn't work. It throws illegal sensor used exception.


Read Value Error when the sensor exceeds the 80000 lux

Thanks for reporting, I will look into it coming days.
What board are you using? (Just curious)

@Beerocket7
What settings do you use?
Can you post your code?
What is the exact error code you get?
For high LUX rates you need to reduce integration time, and possibly use **MX.setManualMode(uint8_t CDR, uint8_t TIM) **

I noticed that reading back the CDR flag is missing.
I will add a int getCurrentDivisorRatio() function and make a develop branch.

@Beerocket7
Have you tried the other setting?
If so did it solve your problem?

As there are no answers to my questions I assume the problem is solved with the other settings.


Posibility of using Admin as IdentityServer Area page

It is possible to set Admin.UI as part of identityServer UI in separated Area for Admin role? Creating Admin app as separated client is not comfortable in my case - I need merge this two projects into one. How can I do this? I have existing IS4 instance.

@pkozak2 It's a great idea. I will create a razor class library for this purpose, but in the future. :)
Thank you.


[BUG] Cannot read properties of undefined (reading 'filter')

What happened?
application was broken whe I click to "wallet" button
Version
1.3.5
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
Cannot read properties of undefined (reading 'filter')

URL
#/dashboard/wallets/1

Stacktrace
at webpack://@chia/wallets/dist/esm.js:3754:30 wallets.filter(function
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:168:376 $h
at webpack://@chia/gui/node_modules/react/cjs/react.production.min.js:23:112 useLayoutEffect
at webpack://@chia/wallets/dist/esm.js:3747:13 useMemo(function
at webpack://@chia/wallets/dist/esm.js:4296:39 WalletsManageTokens
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:157:136 Ch
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:180:153 oi
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:269:342 a=b.pendingProps;f=e._init;e=f(e._payload);b.type=e;f=b.tag=hk(e);a=lg(e,a);switch
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:346 Pj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:277 Pj

This issue was already fixed. It will work in the next release


strict dependency on nlopt 2.7.0

mfapy works nicely with nlopt=2.7.0. However, the nlopt version 2.7.1 throws an error. This should at least be mentioned in the installation guide.

Sorry for my prolonged response. In my environment, nlopt2.7.1 works well. However, I added a comment on your kind feedback to the project page.


k8s deployment - support to deploy images built locally

Currently, we are not able to deploy images built locally. In sandbox, we need the ability to make code changes, build the image locally, deploy with k8s and test without pushing to github.

Error from server (BadRequest): container "login-consent" in pod "login-consent-54c94bd49f-lmw4f" is waiting to start: image can't be pulled

would this be an option? https://minikube.sigs.k8s.io/docs/handbook/registry/#docker-on-macos

so far, this what worked for me from the above, per container runtime(s):
[crio]
edit /etc/containers/registries.conf
[[registry]]
location="<IP_ADDRESS>:5000"
insecure=true
podman build -t $(minikube ip):5000/test-img:latest .
podman push --tls-verify=false $(minikube ip):5000/test-img:latest
[docker]
edit /etc/docker/daemon.json
{
"insecure-registries": ["<IP_ADDRESS>:5000"]
}
docker push  <IP_ADDRESS>:5000/test-img
for both, the end result is to have image: <IP_ADDRESS>:5000/test-img:latest in the deployment, and per any of the component Makefiles:
make CSH_IMG=<IP_ADDRESS>:5000/csh:latest deploy

This has been completed.


WIP experiment switching doc blocks to PHP 8.1 attributes

Trying out the annotation PHP 8.1 approach for doc blocks in light of apparent Doctrine annotation clashes on v4 of the lib. Not working so far.

@NoelLH is this still relevant? Is it alright if I close it? My ambition is to see an empty list at https://github.com/pulls?q=is%3Aopen+is%3Apr+user%3Athebiggive+archived%3Afalse+ .

Closing as agreed


[BUG] total_shards_per_node setting can cause unassigned replica when primary count == node count

Describe the bug
This is best illustrated with an example. If I create an index with 90 primary shards and 1 replica on a cluster with 90 data nodes and I use the index setting total_shards_per_node: 2, then sometimes the 90th replica will be unable to be assigned due to the only node that has 1 shard on it also hosting the same primary of the shard we are trying to assign.
I believe this is due to the allocator assigning shards in a greedy manner, and in order to get out of this situation we have to manually reroute a shard to the node with 1 shard.
Here is a sample output of _cluster/allocation/explain: shards_per_node.txt
Related component
Cluster Manager
To Reproduce
Create an index with a N / 1 shard configuration on a cluster with N nodes and total_shards_per_node: 2, typically when N is a larger number (N == 1 or 2 will clearly not reproduce this)
Expected behavior
Indices with such configurations should not go yellow on creation.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

[Catch All Triage - 1, 2,  3,  4]

[Triage - attendees 1 2 3]
Thanks @jed326 for filing the issue.


jq: error (at :8): Cannot iterate over null (null)

I cloned the repo, ran the install.sh, and added my api key.
When I try to enter anything after the prompt, I receive this error message:
"jq: error (at :8): Cannot iterate over null (null)"
I am running Ubuntu 22.10 and I have curl and jq already installed.

I am assuming that the error you get is because the Open AI key is added to your profile but is not sourced to the terminal session you are running. So if you just restart your terminal it should work.
I just pushed some changes that fix this and should make the install script more robust. Also just added error handling that will inform the user on the error type. You can install it again with curl -sS https://raw.githubusercontent.com/0xacx/chatGPT-shell-cli/main/install.sh | sudo -E bash to get the latest version.

I am closing this issue, as it has been properly addressed. If you run into it again, please lmk.


OSIDB-2916: Add Contributors field

OSIDB-2916: Add Contributors field
Checklist:

[x] Linting passed
[x] Type checks passed
[x] Tests suite passed
[x] Commits consolidated
[x] Changelog updated
[x] Test cases added/updated
[x] Jira ticket updated

Summary:
Added the Contributors field from Jira to OSIM

Censored for privacy reasons. There's an uncensored video attached to the jira ticket

Changes:
~While working on this task I got the [object Object] error and added the missing return that fixes the issue when osidb returns html (i.e stack trace of error).~ Fixed in https://github.com/RedHatProductSecurity/osim/pull/308
Created new FlawContributors component, is similar to the TagsInput widget, decided not to reuse the component because the auto-suggestions behavior is hard to implement in a reusable way. All the logic is inside the useJiraContributors composable.
I've added a generic type parameter to the jiraFetch function in JiraService so we can type the response easily, as well as some basic zod schemas and types for the response of the 2 new methods I added
Considerations
https://github.com/RedHatProductSecurity/osidb/pull/598 needs to be merged/deployed first for editing the jira task to work

I think there are some general concerns that would be interesting to discuss in a huddle.

We can discuss them on tomorrow's code review or make an ad-hoc call if you want


Fix documentation typo

Thanks for spotting and fixing this @affectiosus !
/ok-to-test
/lgtm
/approve


How to get InstanceInfo using service name and instance id?

Hello,
Version:
Hoxton.RELEASE
Problem Statement:
Looking at the code CloudEurekaClient's getInstanceInfo(String, String)  would be a good candidate. However some of these methods are not provided by  [EurekaClient].(https://github.com/Netflix/eureka/blob/6438fba6a42a6d2a1dd2e4cb48eab66c34bd0a21/eureka-client/src/main/java/com/netflix/discovery/EurekaClient.java#L29) interface.
I have a special service that invokes other services on cloud foundry. However, I noticed that there were some edge cases of where eureka client and server were out of sync due to rolling deployment. So in my special service, I would like to check with eureka server if it has the status of a specific service and instance id for safety.
My goal is to:
In between the periodic 30s sync between eureka server and client, if my client cache seems to be outdated, I want to ask the eureka server directly or force synchronization manually because I have to use a sticky call to that very specific service instance.
Questions / Requests:
I am aware that EurekaClient is maintained by netflix eureka but I would like to ask for a feature/way to do the followings:

How can I make use of CloudEurekaClient by injecting EurekaClient? Would I have to override it using javaconfig?
It seems that if I inject EurekaClient, it is an instance of CloudEurekaClient but I cannot seem to cast it because it is a jdk proxy instance. Ideal code for me would be

@Autowired
EurekaClient eurekaClient;

((CloudEurekaClient) eurekaClient).getInstanceInfo(serviceName, instanceId); // this won't work

Another good way would be to manually trigger fetching a full list from the server and update local cache. I saw that this is provided somewhere but it was limited with private access. I think it was used during the registration upon startup.
Sample would look as like

@Autowired
EurekaClient eurekaClient;

eurakeClient.forceFetchAndUpdateLocalStore(); // let this update local cache manually

Please let me know.
Thanks.

@jskim1991  Hi man
FIRST

if my client cache seems to be outdated, I want to ask the eureka server directly or force synchronization manually

According to my understanding, Eureka server provides APIs, which allow you to tell Eureka server to let a specific client go offline or go online again later (registration, cancellation events). When these events arrive, the internal cache of Eureka server is updated immediately. The only thing you need to do is you may need to wait for 30s (maybe the longest time) (when the client gets the cache again)
SECOND
As far as I know, the principle of Eureka design is AP, that is, it does not have the function of real-time notification to the client. At present, it is only the client who actively asks Eureka serve
For this problem, I think we can solve it through some other ways. The solutions I come up with are as follows:
Opt 1:
You can adopt a specific deployment strategy for this special client, and ensure that there is a server that can provide services at any time
Opt2:
If you want to adopt the active notification function of the registry, you can use other components as the new registry.
Others:
For your point of view eurakeClient.forceFetchAndUpdateLocalStore (), I think we need to add one more item, that is, in addition to triggering the update mechanism, we need to ensure that the client in the local cache is up-to-date at this time.
thanks

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


langchain[patch]: fix:pass runManager to DocumentCompressor in MultiQueryRetriever

The MultiQueryRetriever can accept an instance of DocumentCompressor, but when executing compression - it will not pass the run manager and effectively, any chains executed inside DocumentCompressor will not get callbacks executed.
This PR fixes this issue.

Thank you!


Improve existing persistence rules

Improve existing persistence rules by limiting their scope, and adding some more details.
This PR requires https://github.com/mandiant/capa-rules/pull/952 to be merged.

@mr-tz Note that some of the changes here introduce new false negatives for other sandbox backends, as discussed here: https://github.com/mandiant/capa-rules/pull/954#discussion_r1871642065


Sphinx 5.0.2 is failing with SCons 4.4.0

Hi all.
Describe the bug
Running Sphinx v5.0.2
WARNING: html_static_path entry '_static' does not exist
[autosummary] generating autosummary for: SCons.Node.rst, SCons.Platform.rst, SCons.Scanner.rst, SCons.Script.rst, SCons.Tool.rst, SCons.Variables.rst, SCons.compat.rst, SCons.rst, index.rst
building [mo]: targets for 0 po files that are out of date
building [pdf]: targets for 9 source files that are out of date
updating environment: [new config] 9 added, 0 changed, 0 removed
reading sources... [ 11%] SCons
reading sources... [ 22%] SCons.Node
reading sources... [ 33%] SCons.Platform
reading sources... [ 44%] SCons.Scanner
reading sources... [ 55%] SCons.Script
reading sources... [ 66%] SCons.Tool
reading sources... [ 77%] SCons.Variables
reading sources... [ 88%] SCons.compat
reading sources... [100%] index
WARNING: autodoc: failed to determine SCons.Executor::NullEnvironment._instance (Null(0x3FFB9CD4BD0)) to be documented, the following exception was raised:
Handler <function _skip_member at 0x3ffba929ee0> for event 'autodoc-skip-member' threw an exception (exception: cannot unpack non-iterable Null object)
WARNING: autodoc: failed to determine SCons.Util::Null._instance (Null(0x3FFB9CD4BD0)) to be documented, the following exception was raised:
Handler <function _skip_member at 0x3ffba929ee0> for event 'autodoc-skip-member' threw an exception (exception: cannot unpack non-iterable Null object)
WARNING: autodoc: failed to determine SCons.Util::NullSeq._instance (Null(0x3FFB9CD4BD0)) to be documented, the following exception was raised:
Handler <function _skip_member at 0x3ffba929ee0> for event 'autodoc-skip-member' threw an exception (exception: cannot unpack non-iterable Null object)
/builddir/build/BUILD/scons-4.4.0/SCons/dblite.py:docstring of posix.chown:16: ERROR: Unexpected indentation.
/builddir/build/BUILD/scons-4.4.0/SCons/dblite.py:docstring of posix.chown:17: WARNING: Block quote ends without a blank line; unexpected unindent.
/builddir/build/BUILD/scons-4.4.0/SCons/Node/__init__.py:docstring of SCons.Node.Node.Attrs:1: WARNING: duplicate object description of SCons.Node.Node.Attrs, other instance in SCons.Node, use :noindex: for one of them
/builddir/build/BUILD/scons-4.4.0/SCons/Node/__init__.py:docstring of SCons.Node.Node.Attrs:1: WARNING: duplicate object description of SCons.Node.Node.Attrs, other instance in SCons.Node, use :noindex: for one of them
/builddir/build/BUILD/scons-4.4.0/SCons/Node/__init__.py:docstring of SCons.Node.Node.Attrs:1: WARNING: duplicate object description of SCons.Node.Node.Attrs, other instance in SCons.Node, use :noindex: for one of them
/builddir/build/BUILD/scons-4.4.0/SCons/Node/__init__.py:docstring of SCons.Node.Node.Attrs:1: WARNING: duplicate object description of SCons.Node.Node.Attrs, other instance in SCons.Node, use :noindex: for one of them
/builddir/build/BUILD/scons-4.4.0/SCons/Node/__init__.py:docstring of SCons.Node.Node.Attrs:1: WARNING: duplicate object description of SCons.Node.Node.Attrs, other instance in SCons.Node, use :noindex: for one of them
/builddir/build/BUILD/scons-4.4.0/SCons/Node/__init__.py:docstring of SCons.Node.Node.Attrs:1: WARNING: duplicate object description of SCons.Node.Node.Attrs, other instance in SCons.Node, use :noindex: for one of them
WARNING: autodoc: failed to determine SCons.Script.Main::BuildTask.progress (Null(0x3FFB9CD4BD0)) to be documented, the following exception was raised:
Handler <function _skip_member at 0x3ffba929ee0> for event 'autodoc-skip-member' threw an exception (exception: cannot unpack non-iterable Null object)
/builddir/build/BUILD/scons-4.4.0/SCons/Script/SConsOptions.py:docstring of optparse.OptionParser.parse_args:3: WARNING: Definition list ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
processing scons-api...
index
SCons
SCons.Node
SCons.Platform
SCons.Scanner
SCons.Script
SCons.Tool
SCons.Variables
SCons.compat
SCons.compat
SCons.Node
SCons.Platform
SCons.Scanner
SCons.Script
SCons.Tool
SCons.Variables
[ERROR] pdfbuilder.py:149 'BuildEnvironment' object has no attribute 'indexentries'
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/rst2pdf/pdfbuilder.py", line 140, in write
    doctree = self.assemble_doctree(docname,title,author,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/rst2pdf/pdfbuilder.py", line 214, in assemble_doctree
    t=copy(self.env.indexentries)
           ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'BuildEnvironment' object has no attribute 'indexentries'
FAILED
build succeeded, 14 warnings.
Install file: "build/doc/api/scons-api.pdf" as "build/doc/PDF/scons-api.pdf"
cd doc && make dirhtml BUILDDIR=/builddir/build/BUILD/scons-4.4.0/build/doc/HTML/scons-api
sphinx-build -M dirhtml -d "../build/doc/api" "sphinx" "/builddir/build/BUILD/scons-4.4.0/build/doc/HTML/scons-api"
Running Sphinx v5.0.2
/usr/lib/python3.11/site-packages/rst2pdf/rson.py:140: FutureWarning: Possible nested set at position 2
  splitter = re.compile(pattern).split
WARNING: html_static_path entry '_static' does not exist
[autosummary] generating autosummary for: SCons.Node.rst, SCons.Platform.rst, SCons.Scanner.rst, SCons.Script.rst, SCons.Tool.rst, SCons.Variables.rst, SCons.compat.rst, SCons.rst, index.rst
building [mo]: targets for 0 po files that are out of date
building [dirhtml]: targets for 9 source files that are out of date
updating environment: [new config] 9 added, 0 changed, 0 removed
reading sources... [ 11%] SCons

Required information

SCons-4.4.0
Python-3.11.0~b5
rst2pdf-0.97
I'm compiling SCons in Fedora 37 (devel branch)
Linux
Full build log: https://kojipkgs.fedoraproject.org//work/tasks/2339/90442339/build.log

Are you the scons packager for fedora?
If so we can give you access to dedicated channel on our discord server.
Note we prefer you bring issues to the scons users mailing list, IRC, or discord server before filing.
That said, there are a number of versions of sphinx which fail building our API docs.
If you check out the tree, you should get requirements.txt which list the versions we expect for all pypi packages to build the scons tree..
I think it was <= 5.0.0, or >= 5.1.1

Hmm, odd, we're able to build with rst2pdf at 0.99, which is what's being picked up by a pip install both locally and in our CI documentation build (github action) without hitting this, so we don't have rst2pdf pinned to any particular version. The rst2pdf code locally in the area in question in the version I'm looking at is:
            elif hasattr(self.env, 'indexentries'):
                # Sphinx 2.3.1 or lower stores the index entries in self.env.indexentries
                t = copy(self.env.indexentries)

Which suggests the AttributeError should not be able to happen, as the hasatter wouldn't let it be tried?

Are you the scons packager for fedora?

Yes

That said, there are a number of versions of sphinx which fail building our API docs.
If you check out the tree, you should get requirements.txt which list the versions we expect for all pypi packages to build the
scons tree..
I think it was <= 5.0.0, or >= 5.1.1

Ops! I didn't think of the requirements.txt file. Thank you
We have Sphing-5.0.2 in devel branch in this moment so i'm forced to pack pre-built SCons documentation in the rpms.

I was building the docs succesfully with 5.0.2 until 5.1.0 dropped (and broke, fixed in 5.1.1), and I'm working on Fedora 36 so I'm still a little mystified what's going wrong...
Using the pre-built manpages is fine, that's what they're there for, to use if needed.

@mwichmann - so currently we can't repro?
I just tried with python 3.10. and sphinx 5.0.2. No errors.

Update, I've still not seen this error, I continue building on Fedora frequently, sphinx now up to 7.2.6 (pip installed in a virtualenv, fwiw, rather than from packages). However, just for informational purposed, lxml version 5.x does break building - there's something in the schema files that it now errors out on that it didn't before.  Not sure where to take this specific issue... the requirements_dev.txt file in SCons does pin a 4.9 lxml version, and that still seems to be required.

I'm going to close this one.  I'm building okay with the current sphinx, 7.3.7.  if these are problems for folks on other platforms, please feel free to open a new issue... tracking something for Sphinx 5.0.2 doesn't seem productive since that project has moved well past that point.


'Tags' column is also needed, but not mentioned on this line

https://github.com/mustakimali/keep2notion/blob/7e447a04c0882a250c5f2c910f7c0163bde3492e/README.md?plain=1#L13

Thanks for the great app;)
I was able to migrate successfully!
There was a stumbling block, so I'm sharing it as an Issue.
The README says that the database fields must have 'Created' and 'Edited' fields, but in addition, if the 'Tags' field was missing, I got an execution error.
Hopefully this field will be added to the requirements as well.

Thanks for the reporting this. I thought Notion adds the Tags column automatically on all new databases however there might be situations where it won't. So I have clarified in the requirement list.


Implement pre-existing session support for dynamodb catalog

Looks like Dynamo is lacking some properties which are documented for other AWS-centric catalog types.

Thanks @waifairer for raising this! Could you also update the docs under mkdocs/docs/configuration.md?

Done, thanks @Fokko


Transfer page

Created a sub-menu route in the side-bar
Created a new component called GetStartedCard2 to fit the content of the cards
waiting for a feedback
issue no #19

Thank you, I couldn't view the error. I'll look into uit


Rename API.AI to their new name of Dialogflow

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[X] Your submissions are formatted according to the guidelines in the contributing guide.
[X] Your changes are made in the README file, not the auto-generated JSON.
[X] Your additions are ordered alphabetically.
[X] Your submission has a useful description.
[X] Each table column should be padded with one space on either side.
[X] You have searched the repository for any relevant issues or PRs.
[X] Any category you are creating has the minimum requirement of 3 items.

@jsonMartin thanks for this! You only need to edit the README file though, not the JSON.

@jbrooksuk Whoops! I ran the build script in the project, which made the changes to the JSON files.
OK, I removed the JSON changes from the PR, so it only the README that is modified now 😎

Thanks @jsonMartin !


Keybase fs reset.

I have two stucked users. I can't rekey or leave conversation with them.
As suggested on others bug reports, I'll try to "fs reset" them.
Can you please approve the following two resets?

logs id : f8a000782cc4234be0bb331c

/keybase/private/iouns,theartefact
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zkPOljs0 OO6bDVJnfwxyrfD N2VE7vmmTJQmJmJ 2iaOcrC1CQ9ajuS 0usixFm1N2XrkBv qnNVTF3RJgeZm0f GnytNwmK9qLo20i osE2L4cPMBqeB6t Vuto4B4yiunoda9 NDI1idfBnpTcQ07 jTpT8vSCAe0v6MK kIwhOH4wXP1UTU8 MJMxfKtKCz3VfTA v33xXPhanoNPpMl byL8KzvbIaKLk4D 65h1ViHWpztTn35 4dtR8ixPQEa6XZc UK1YIOSwrrqV7w5 X7Zajd8PqTA5Cqc iRbREgiXJcu0plM 8zLW83dcBJD9edf WqnileyudUePPv0 Rsbu. END KEYBASE SALTPACK SIGNED MESSAGE.

/keybase/private/iouns,flou
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zkPOljs0 OO6bDVJnfwxyrfD N2VE7vmmTJQmJmJ 2iaOcrC1CPiFiA4 KDgaAb9G5HgB6fo ELZwNUhuFFsvHDx DWCCjJQMW2NBpaD mQOcZ4ztSWrLkK2 vfC7P4puq6TYSjb XknHhYggOIKf1Dl gi3TFyPXL5U1Pmh SQ8OCOGHgqMiwDz 1nSVoAhNSr4Y29w 5fAwpPhanoNPpMl byL8KzvbIaKLk4D 65h1ViHWpztTmnC eE17g7L8hWeHXWU W3I9dyDZbBWXgP9 B280rYLmRYjmS0B t5zHte2YErjyDj2 EWf80MKIEfOcI12 gkEjnEEYw. END KEYBASE SALTPACK SIGNED MESSAGE.

The main issue is that it looks like I have stucked conversations with both users.
I can't tchat with them. You're right, conversations are old and probably before my account reset.
When I try to leave conversation:
Error: ERROR CODE 218 - Team does not exist in method keybase.1.teams.teamLeave
When I try to show the team details on the conversation:
Error: ERROR CODE 2614 - Root team does not exist in method chat.1.local.findConversationsLocal
Thank you for your time,

@mmaxim any ideas?


Make implementation more robust to renaming

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (9cfd52f) to head (95fdff3).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #512   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           59        59
  Lines         1632      1632
  Branches       194       194
=========================================
  Hits          1632      1632

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Features

Landing Page
Sign Up (Authentication into portal)

Signature verification if wallet enabled
Email/Password if wallet not enabled then create wallet and store in DB

Sign In  (Authentication into portal)

Sign if wallet
Password/Email combo if not enabled

Portal

User can create API keys
User can delete API Keys
User can only see the API Keys once

Validation

Check if password (api-key) and public key match
Check if password (api-key) is revoked or still active

Backend:

Custodial Wallet Generation (Optional / FLOW only):

API Endpoint: Generate a custodial wallet for an issuer based on their email and password.
Store the private and public key pair in MongoDB.

Issuer Sign Up API:

API Endpoint: Handle the signing up of an issuer by saving their public key and associated metadata in MongoDB.
Output: Return an encrypted password for the issuer.

Sign Up Button Integration API (3rd party app):

API Endpoint: Validate the issuer's existence by checking MongoDB using the public key and signature.
Output: Return a QR code image containing the encoded public key and metadata for the 3rd party app to invoke the ZK server callback.

ZK Server API for Sign Up Button Integration:

API Endpoint: Receive the QR code image from the 3rd party app and extract the encoded public key and metadata.
Validate the domain public key and encrypted password match the record.
Save the message with the mobile app user's public key.
Output: Return a successful response (HTTP 200) indicating the message is saved.

Sign In Button Integration API (3rd party app):

API Endpoint: Receive the QR code image (encrypted secret) from the ZK phone.
Use ZK proofs to verify the encrypted secret and authenticate the user.
Output: Return the transaction hash (tx) as a response.

Mobile:

Sign Up: Scan QR Code, generate a random DID and then encrypted with the QR code received publicKey and sends a request to ZK Auth Server
Sign In: Scan QR Code, generate a proof for having the DID and then send the proof to the blockchain.


proposal: have ability to implement core file templates for frameworks and libraries

Perhaps this is in the wrong section.
But I wanted to propose the ability to have a core template system for framesworks such as angular 2+ that would use certain portions of the files, i.e. core files, that could be integrated into a plunker that would not affect other areas of the plunker such as the exampled code.

@xtianus79  I think I might understand your idea, but I would love to hear you give a bit more detail. If I understand correctly, I can see how this would be very helpful.
The challenge with 'hiding the boilerplate' is basically the same challenge that is (mostly) solved by create-react-app's concept of 'ejecting'. Once you 'eject' there's no coming back. Maybe a similar approach would be helpful for Plunker.

@ggoodman  sorry, when I wrote that yesterday I was dead tired.  Let me provide more detail and context.
The issue is that materia, which uses angular, is usually contected of a system of npm packages that point to specific core @angular components... Pointing to these packages usually is something to the effect of this...
      '@angular/animations/browser': <EMAIL_ADDRESS>      '@angular/core': <EMAIL_ADDRESS>      '@angular/common': <EMAIL_ADDRESS>      '@angular/compiler': <EMAIL_ADDRESS>
The issue with this is that those versions are the equivilent of "your latest version" so things are updating out of any other codes control.
The problem is that while we want the latest code there are adjustments that need to happen to those core files along with example files that should be in and of itself seperate.
With material for Angular there are about 50 components that need to have in the least the core components adjusted all at once from a single point everytime there is an angular and or material update.
With this ability now the only thing a person would have to do is change any deprecating code, breaking code or add new functionality to that components api.
I dont' think anything needs to be hidden but rather the referrence ability to a single core set of files would be the goal here.
What are your thoughts.


Adding Text to Speech (Pull Request #3)

This pull request includes all of the changes requested from the last two pull requests (https://github.com/Microsoft/HoloToolkit-Unity/pull/26 and https://github.com/Microsoft/HoloToolkit-Unity/pull/38). It also adds the following changes from the latest request:

Corrected camel case of method name.
Changed logging strategy from exception to direct logging.
Completely removed WAV class and integrated conversion methods into the TextToSpeechManager.

Hi @jbienzms, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jared Bienz). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Code looks good to me!
Things I think would be also valuable to include:

An example scene that can also be used to verify the functionality.
Changes to the documentation to include this class and it's functionality.

I'm happy to contribute an example scene as well as updates to the documentation. Would you kindly be willing to accept this pull request so it an be done and then I can follow up with another one for documentation and sample purposes?
Oh, and by documentation, do you mean the readme.md file in the root of the repository or something else?

From the pull request, it looks like this file exists in a new Speech folder. With our current structure, I feel like it fits best in the Utilities folder, unless we expect an future increase in specifically speech related scripts and files.

If functionally equivalent I think using the BitConverter makes a lot of sense. Otherwise, I'm totally OK with merging this in and doing example and docs next.

Completed move of startup code from StartSpeech to just Start. Moved the TextToSpeechManager to the Utils folder instead of its own Speech folder. Did not adopt BitConverter for the reasons specified above. If possible I would love to get this pull request accepted today. I am helping with the Boston HoloLens hackathon for the next four days and would like to have this asset in the main toolkit for that event. I can add documentation and samples after I return. Thank you!

I am at the Boston Hackathon and need to use TTS - I am just going to reference Jared's branch.

Ditto..please merge...was heavily tested at the Boston Hackathon this weekend

@jbienzms, have you added a test scene to your pull?
Please check out the Contributing.md’s implementation section.
Once your test scene is added and readme updated, I’d be happy to merge.

Wow, thank you guys for all the support. I know it was used a lot and I'm really glad it was helpful.
The HL team has asked me to add a test scene to my pull request but I'm a little unclear what that entails so I'll follow up with them via e-mail and see if I can't get something submitted later today.
Thanks again!

Answering some of Jared's questions so everyone can benefit from them:
Contributing.md says:
“Make small and frequent commits that include tests which could be a unity scene showing usage of your feature.”

Where (in the folder structure) should the test scene be placed?

Recommendation: In every feature folder like Assets\HoloToolkit\Input or Utilities, there is a Scripts, Prefabs and Tests folder. Please add your test into the Assets\HoloToolkit\Utilities\Tests folder.
You can also read the README.md Tests sections as well for more ideas.

Should a test scene be as minimal as possible – just enough to show the feature, or should it be more extensive to show a real-world use case?

Recommendation: This is something you can decide as a developer. Imagine this scenario, Gina is a developer looking to use the component you added. Where should she start? Perhaps the ReadMe and Test scene is the best place. She would really benefit from a simple basic test scene that shows usage of your component.

Since speech is an audio sample and not visual one, does there need to be any visual description or visual assets showing up in the scene? Or is just a floating voice good enough?

Recommendation: It's ok to have your test scenes simple and easy. They should make it easier for developers to use your components and also act as a regression suite if some other developer modifies the code in that component.
For your scenario, you could just have a text panel displaying the text being converted to speech and a voice over.
Thank you for your contributions!

Excellent guidance @NeerajW, thank you! Will submit an update soon.

So awesome. Thank you guys so much.


[XLA] Add a 'custom' fusion op type

This allows backends that may have fusions that are not included in the main enumeration.

@eliben are you reviewing this?

Jenkins, test this please.

cool - thanks

@martinwicke Hi there.  Could this be merged now?  Cheers


No longer need to unset PIP_REQUIRE_VIRTUALENV

There is a comment https://github.com/asdf-community/asdf-poetry/blob/6176ff26132170c74a9daf1044e7d5ac62fe7546/bin/install#L25-L28 that says the PIP_REQUIRE_VIRTUALENV environment variable being unset can be removed once https://github.com/python-poetry/poetry/issues/4089 has been resolved. Well, just the other day it was fixed! Just thought I'd do my civic duty and report it.

@jondricek Regarding https://github.com/python-poetry/poetry/commit/8dc83b373a79d376b561f47fa5534f6db7b558ad
This is going to the install-poetry.py itself.  Does this bug also apply to get-poetry.py (which is used for older versions of poetry)


Error after the action commits new version tag

I have the following workflow file: found here
When I trigger it it runs fine until it gets to the end (based on looking at the action's index.js looks like it might be when the git push occurs) I get this:
New version: 0.1.0
/usr/bin/git add .
/usr/bin/git commit -m chore(release): v0.1.0 [skip ci]
On branch release
Your branch is up to date with 'origin/release'.

nothing to commit, working tree clean
Unhandled Rejection occurred. Error: The process '/usr/bin/git' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:592:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:575:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:469:27)
Error: Unhandled Rejection occurred. Error: The process '/usr/bin/git' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:592:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:575:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:469:27)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Socket.<anonymous> (node:internal/child_process:451:11)
    at Socket.emit (node:events:527:28)
    at Pipe.<anonymous> (node:net:709:12)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Socket.<anonymous> (node:internal/child_process:451:11)
    at Socket.emit (node:events:527:28)
    at Pipe.<anonymous> (node:net:709:12)

Also, is it possible to exclude "chore" commits from the change log?

I managed to fix it by removing skip-version-file: 'false' but its failing to bump the package.json's version field


[ButtonGroup] Children lacking information about position within the parent

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When wrapping Button children of ButtonGroup in an element, the styling that makes the buttons appear "connected" no longer applies since the buttons are no longer siblings.
The selector in question: .css-14mxhrp-MuiButtonGroup-root .MuiButtonGroup-grouped:not(:first-of-type).
In this case, that wrapper element is recommended to be able to show tooltips on disabled elements: https://mui.com/components/tooltips/#disabled-elements

Expected Behavior 🤔
I should be able to display a Tooltip on a Button within a ButtonGroup, and both:

be able to show the tooltip when the button is disabled
have correct ButtonGroup styling

Steps to Reproduce 🕹

Steps:

Go to https://codesandbox.io/s/mui-28645-forked-pyiny

This is based off of https://github.com/mui-org/material-ui/pull/28645 since it changed some ButtonGroup child implementation details, and at the time of writing this issue has not yet been released

Note that the buttons wrapped in <span> elements don't appear "connected" since the border and border-radius styles aren't being applied
Note that the buttons not wrapped in <span> elements have the correct styling, but the tooltip does not display for the disabled button

Context 🔦

I have a ButtonGroup where some Buttons can be disabled while others aren't, and I want to be able to display a Tooltip on each disabled Button to indicate why it's disabled.
In order to show the tooltip on the disabled button, the docs recommend a wrapper element https://mui.com/components/tooltips/#disabled-elements, but that interferes with the ButtonGroup styling.
Your Environment 🌎

`npx @mui/envinfo`
(relevant info only)
  System:
    OS: macOS 11.6
  Browsers:
    Chrome: 95.0.4638.69

Browser used: Chrome

The codesandbox link is not working, can you update it?

@michaldudak this is partially related to the first-of-type and last-of-type selectors issues. I think we definitely need separate classes fro the first and last child.

@mnajdova Sorry about that, it looks like I didn't save my changes in that sandbox. It should be working now!

The problem (and possible solution) was first mentioned in https://github.com/mui-org/material-ui/issues/17226#issuecomment-949425310. That issue was mainly about a different topic, so we can use this issue to track work related to the problem @greglittlefield-wf described.
To summarize, we've got two options:

Use cloneElement to inject class names (MuiButtonGroup-first, MuiButtonGroup-last, MuiButtonGroup-middle) to direct descendants of the ButtonGroup
Wrap each child of the ButtonGroup in a context that provides information about the position of the child within its parent.

The second solution seems to have more potential for customizability as it'll allow adding arbitrary class names to children (or even render them differently based on their position).

The second solution seems to have more potential for customizability as it'll allow adding arbitrary class names to children (or even render them differently based on their position).

+1 for this option, it would support scenarios where you want to wrap the component with something else, for example Tooltip.

It was handled as a won't fix in https://github.com/mui/material-ui/issues/21313#issuecomment-639057855 😁

For posterity, looks like this was fixed as part of https://github.com/mui/material-ui/pull/38520! 🎉


Add SCOTCH:  package for mesh/graph partitioning

Please describe the package or library you would like to add to spack-stack.
SCOTCH is a mesh/graph partitioning package hosted on Gitlab, https://gitlab.inria.fr/scotch/scotch.
It's use case is to perform domain decomposition for WW3 unstructured grid configurations. Unstructured
grids are under development for GFSv17-wave.
What applications will be using this package or library?
WAVEWATCHIII (WW3).
Is there already a package or library in spack-stack that provides this, or related, functionality?
The functionality provided is not available otherwise in a package or library.  SCOTCH is an NCO-approved
replacement for the package ParMetis, which has been used
for WW3 unstructured decomposition, but unable to receive NCO approval.
Additional context
NA
Will This Package be Needed in a NOAA Operational Application?
Yes.
WCOSS System Software Request Checklist
General questions:
Supervisor or sponsor of the requester:  Avichal Mehra (Lynker: Bin Liu)
Software name and version, specific URL to the software:  SCOTCH v7.0.2 https://gitlab.inria.fr/scotch/scotch
Software type - New or Upgrade existing?:  New
Justification ( List NPS models using the software):  WAVEWATCHIII (WW3)
Completion Time requested:  As soon as possible.
Software License including all Dependency Software Licenses:   https://gitlab.inria.fr/scotch/scotch/-/blob/master/LICENSE_en.txt
Support contact(s) who must have a WCOSS account: @MatthewMasarik-NOAA, @JessicaMeixner-noaa.
Dependency Software list: Modules used on Hera
cmake/3.20.1
intel/2022.1.2
impi/2022.1.2
hpc/1.2.0
hpc-intel/2022.1.2
hpc-impi/2022.1.2
hdf5/1.10.6
netcdf/4.7.4
gnu/9.2.0

Installation instructions:  Spack installation instruction are still
in progress.
Note: NCO has already approved this package.  This package is needed
asap, so if the information below here is still needed, we work to
answer them but needed to get the process in motion as it is needed
for GFSv17 development.
Technical Review Checklist for open source software - Review the source code to answer the following questions
Licenses for the requested software and its dependencies:
Licenses - confirm the software Licenses are acceptable
Maturity
Acceptable - Stable, production, or equivalent
Self-contained
No external http, https, ftp, or other URI exists except that in comments
No binary files in the package unless they are in the approved list
No publicly disclosed cybersecurity vulnerabilities and exposures
Searching https://cve.mitre.org/cve/
Security High Level Checklists
Is it prohibited by DHS/DOC/NOAA/NWS
Is it provided by a trusted source? Trusted sources include other NWS, NOAA, or DOC, agencies, or other Federal agencies that operate at a FISMA high or equivalent level. Additionally, trusted sources could be third-party agencies through which there is an existing SLA on file (such as RedHat).
Is software support offered (is it being updated and patched).
If maintained by a private entity, does the entity operate in a foreign country, especially a prohibited foreign country (China, Russia, Iran, North Korea, etc.).
Is there sufficient documentation to support maintenance
Are there known vulnerabilities or weaknesses
Is there a need for privileged processes
Are there software dependencies, are those dependencies approved or do they have any security concerns
Are there any other concerns related to SA, SI, and SC control families

@MatthewMasarik-NOAA I am looking at the license, I know it is compatible with GPL, but do you know if it is compatible with Apache 2?
This is an important question, because JCSDA software is licenses as Apache 2, and as https://www.apache.org/licenses/GPL-compatibility.html explains, Apache 2 is compatible one-way with GPLv3 (namely when including Apache 2 software in a GPLv3 product), but not the other way (i.e. including GPLv3 in Apache 2, where including can be as basic as "linking to").
If scotch is a 3rd-party dependency for WW3 and therefore the UFS, we'll need to know (1) what the compatibility of CeCILL-C free/libre with Apache is (yes/one-way/both-ways), and (2) how scotch gets used ("inline", i.e. compiled into the UFS code, vs "offline", i.e. used as a separate preprocessor step to generated meshes).
Any insight you can provide will be greatly appreciated. Thanks!

We have built WW3 with SCOTCH via CI with spack  (see here: )
In this, the specs for SCOTCH are:
 -<EMAIL_ADDRESS>The metis and mpi dependency seem to be important as we were not able to build WW3 without this.

We have built WW3 with SCOTCH via CI with spack (see here: ) In this, the specs for SCOTCH are:  -<EMAIL_ADDRESS>The metis and mpi dependency seem to be important as we were not able to build WW3 without this.

Wow, now I am confused, I thought scotch was being used because NCO didn't want metis? Or am I wrong?

The "metis" here is an option that builds the "you aren't using metis easy to use interface for your transition away".  Not actually using the metis library which is super confusing!
Also to your question about licence, this sounds like a question for experts in the topic, of which I am not.  I can pass you to the link that has more info.

@climbfuji
I thought of pasting the email response I got from the developers of the library a long time ago but that was a disaster in formatting so I am forwarding it to you

On orion, a new module has been created, so that we can use later gcc with intel, to load:
module load contrib/0.1
module load noaa-gcc/10.2.0

Note. Issue https://github.com/NOAA-EMC/spack-stack/issues/336 is more or less a duplicate of this issue, but provides additional information.


Add support for custom typefaces in the Android renderer

This is a possible implementation for adding custom Typeface support to the Android renderer. See issue #271. I've not yet updated the test suite to cover this feature, but if you're open to the idea I certainly can. Thanks!
Microsoft Reviewers: Open in CodeFlow

@almedina-ms can you help with the review here ? tx

@patgoley  , Could you add sample code for registering the custom typeface in the mobile app? We usually ask this to have an easier time testing that we have no regressions in the future
Similar to have we did in lines 585 to 604 for registering new elements or OnlineMediaLoaders as in this file
https://github.com/microsoft/AdaptiveCards/blob/master/source/android/mobile/src/main/java/io/adaptivecards/adaptivecardssample/MainActivityAdaptiveCardsSample.java


simple readme change

Fixes issue #6 to allow pull request

Looks good so far

OK.

Needed to make a change to poi


Error reading data from credential file

In the cqlsh.py there is code that checks where the login and password are read from:
    username_from_cqlshrc = option_with_default(configs.get, 'authentication', 'username')
    password_from_cqlshrc = option_with_default(rawconfigs.get, 'authentication', 'password')
    if username_from_cqlshrc or password_from_cqlshrc:
        if password_from_cqlshrc and not is_file_secure(os.path.expanduser(CONFIG_FILE)):
            print("\nWarning: Password is found in an insecure cqlshrc file. The file is owned or readable by other users on the system.",
                  end='', file=sys.stderr)
        print("\nNotice: Credentials in the cqlshrc file is deprecated and will be ignored in the future."
              "\nPlease use a credentials file to specify the username and password.\n", file=sys.stderr)

If they are read from cqlshrc, a notification is issued to stderr.
However, further in the code, the data from the file ~/.cassandra/credentials (or specified in the --credentials parameter) is ignored:
    if not options.username:
        credentials = configparser.ConfigParser()
        credentials.read(options.credentials)

        # use the username from credentials file but fallback to cqlshrc if username is absent from the command line parameters
        options.username = username_from_cqlshrc

    if not options.password:
        rawcredentials = configparser.RawConfigParser()
        rawcredentials.read(options.credentials)

        # handling password in the same way as username, priority cli > credentials > cqlshrc
        options.password = option_with_default(rawcredentials.get, 'plain_text_auth', 'password', password_from_cqlshrc)
        options.password = password_from_cqlshrc
    elif not options.insecure_password_without_warning:
        print("\nWarning: Using a password on the command line interface can be insecure."
              "\nRecommendation: use the credentials file to securely provide the password.\n", file=sys.stderr)

It is necessary to read data from credentials file like this:
    if not options.username:
        credentials = configparser.ConfigParser()
        credentials.read(options.credentials)

        # use the username from credentials file but fallback to cqlshrc if username is absent from the command line parameters
        options.username = option_with_default(credentials.get, 'plain_text_auth', 'username', username_from_cqlshrc)

    if not options.password:
        rawcredentials = configparser.RawConfigParser()
        rawcredentials.read(options.credentials)

        # handling password in the same way as username, priority cli > credentials > cqlshrc
        options.password = option_with_default(rawcredentials.get, 'plain_text_auth', 'password', password_from_cqlshrc)
    elif not options.insecure_password_without_warning:
        print("\nWarning: Using a password on the command line interface can be insecure."
              "\nRecommendation: use the credentials file to securely provide the password.\n", file=sys.stderr)

In fact, the notification sent to stderr is also erroneous
Link to the problematic code section:
https://github.com/scylladb/scylla-cqlsh/blob/9d198006aa3dcb8d2afeb391479fdc28b7eaee5c/bin/cqlsh.py#L2491C1-L2507C113

@fruch - thoughts?

From a quick look
That seems broken in
https://github.com/scylladb/scylla-cqlsh/commit/3230389058ba8cd467461e39966b8ef4dfe4e3a1
There is no real test coverage for that specific file, not sure why 2 configuration files are supported to begin with.
Anyhow @slavavrn you think you can issue a PR with the fix you suggested ?
We should also report it upstream (I'm guessing it's still broken there as well)

Based on the commit comment, 2 config files are supported because https://issues.apache.org/jira/browse/CASSANDRA-16983
But, in my opinion, it is also need to be fixed the notify output to stderr - the notify should be sent to stdout:
        print("\nNotice: Credentials in the cqlshrc file is deprecated and will be ignored in the future."
              "\nPlease use a credentials file to specify the username and password.\n", file=sys.stderr)

Yes I can issue a PR


"Select a default formatter for {0}-files" shouldn't have a hyphen

Steps to Reproduce:

choose Format Document from command palette when there are multiple formatters
the placeholder for the box to choose which formatter to use says "Select a default formatter for Flow-files" (in my case, the language is set to "Flow")

"Flow-files" is weird, I don't think there should be a hyphen:
https://github.com/microsoft/vscode/blob/ac719087ef99fe95ed1555da517b040a7e83e3d5/src/vs/workbench/contrib/format/browser/formatActionsMultiple.ts#L137
Also here, but I don't know how to repro this one:
https://github.com/microsoft/vscode/blob/ac719087ef99fe95ed1555da517b040a7e83e3d5/src/vs/workbench/contrib/format/browser/formatActionsMultiple.ts#L109

I will prepare a PR.