bug: Failed to run config for mason.nvim

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0
Operating system/version
Linux
Describe the bug
A change introduced in https://github.com/LazyVim/LazyVim/commit/649fa9d52188e0c28733402f2f65014fa73308bc makes neovim unusable. Resulting in issues like:

mason.nvim has not been set up. Make sure to set up '<lang here>' before 'mason-lspconfig'. :h mason-lspconfig-quickstart

Failed to run config for mason.nvim

vim/keymap.lua:0: E31: No such mapping

# stacktrace:
- vim/keymap.lua:0 _in_ **del**
- /LazyVim/lua/lazyvim/plugins/extras/util/gitui.lua:26 in values

Removing that introduced line, makes the issue go away.
Steps To Reproduce

Expected Behavior

Repro
-

Same here + a bunch of other spam about LSPs, like so:
   Error  20:21:14 notify.error lazy.nvim Failed to run `config` for mason.nvim

vim/keymap.lua:0: E31: No such mapping

# stacktrace:
  - vim/keymap.lua:0 _in_ **del**
  - /LazyVim/lua/lazyvim/plugins/extras/util/gitui.lua:22 _in_ **values**
  - /overseer.nvim/lua/overseer/init.lua:262 _in_ **patch_dap**
  - /overseer.nvim/lua/overseer/init.lua:300 _in_ **setup**
  - overseer.lua:17 _in_ **init**
  - ~/.config/nvim/lua/config/lazy.lua:10
  - ~/.config/nvim/init.lua:2
   Error  20:21:14 notify.error lazy.nvim Failed to run `config` for nvim-dap-python

...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:80: Cannot find package "debugpy".

# stacktrace:
  - /mason.nvim/lua/mason-registry/init.lua:80 _in_ **get_package**
  - /LazyVim/lua/lazyvim/plugins/extras/lang/python.lua:109 _in_ **config**
  - /overseer.nvim/lua/overseer/init.lua:262 _in_ **patch_dap**
  - /overseer.nvim/lua/overseer/init.lua:300 _in_ **setup**
  - overseer.lua:17 _in_ **init**
  - ~/.config/nvim/lua/config/lazy.lua:10
  - ~/.config/nvim/init.lua:2
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "docker_compose_language_service" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "dockerls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "terraformls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "tsserver" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "ansiblels" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "lua_ls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "yamlls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "helm_ls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "eslint" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "jsonnet_ls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "bashls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "vimls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "tflint" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "pyright" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "ruff_lsp" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "gopls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "marksman" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "jsonls" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "clangd" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Warn  20:21:14 notify.warn mason-lspconfig.nvim [mason-lspconfig.nvim] Server "neocmake" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.
   Error  20:21:14 notify.error lazy.nvim Failed to run `config` for nvim-dap

...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:80: Cannot find package "js-debug-adapter".

# stacktrace:
  - /mason.nvim/lua/mason-registry/init.lua:80 _in_ **get_package**
  - /LazyVim/lua/lazyvim/plugins/extras/lang/typescript.lua:112 _in_ **values**
  - /overseer.nvim/lua/overseer/init.lua:262 _in_ **patch_dap**
  - /overseer.nvim/lua/overseer/init.lua:300 _in_ **setup**
  - overseer.lua:17 _in_ **init**
  - ~/.config/nvim/lua/config/lazy.lua:10
  - ~/.config/nvim/init.lua:2
   Warn  20:21:14 notify.warn mason-lspconfig.nvim mason.nvim has not been set up. Make sure to set up 'mason' before 'mason-lspconfig'. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "helm_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "marksman" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "pyright" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "lua_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "neocmake" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "tflint" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "dockerls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "taplo" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "vimls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "yamlls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "docker_compose_language_service" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "bashls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "ruff_lsp" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "terraformls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "ansiblels" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "autotools_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "jsonls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "jsonnet_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "luau_lsp" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "tsserver" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "ruff" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "eslint" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "gopls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "clangd" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Info  20:21:14 notify.info listchars toggled ON
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "clangd" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "ruff_lsp" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "vimls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "dockerls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "yamlls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "bashls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "jsonls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "jsonnet_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "gopls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:14 notify.warn mason-lspconfig.nvim Server "lua_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "vimls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "dockerls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "yamlls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "bashls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "jsonls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "jsonnet_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "gopls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "lua_ls" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "ruff_lsp" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart
   Warn  20:21:15 notify.warn mason-lspconfig.nvim Server "clangd" is being set up before mason.nvim is set up. :h mason-lspconfig-quickstart

Rolling back to 4614666d1ee5864e95a08eb5b85808d7834ce85f alleviates the issue for me.


Fixes not-rendered headlines in README

Hey 👋
I've seen that a couple of headlines in the README didn't render correctly due to a missing space (e.g. ###Overview). This fixes it :)

Thanks a lot! :)


Page loading incorrectly - Passcore-3.0.1

I have followed all the instructions and get get the page to load but all I get is 4 un-titled lines horizontally down the page. No other text appears on the page. The top blue bar, and logos load correctly, please see attachment. I have tried multiple browsers, Chrome, Firebox, IE.

Please help if you know what I have missed.

You don't need the source code. Please try to use the powershell script.
On Wed, Jul 11, 2018, 8:25 PM maria-valen<EMAIL_ADDRESS>wrote:

Hi!
I am also trying to install PassCore on my server (Windows Server 2012 R2

IIS 8). My site is also stuck with Loading Passcore... Can you guide me
what should be the right directory? I have downloaded the PassCore web app
and the source code zip file, but I'm not sure to which folder this file
must be located to.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/unosquare/passcore/issues/106#issuecomment-404360203,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsYsAWYqYGPw46IQzQzxWzovA-4RJ3Nks5uFqWQgaJpZM4RqnhH
.


center images in mobile view

fixed #116 and fixed #105

@jobara and @sachin10101998  plz check

@mugymb from what I see, you are sending this PR by making changes to your master branch. While sending feature requests, try to write your code in a feature branch and then send PR through that branch. Sending PRs from the master will make your future PRs have these commits present in the history again and in case the PR is not merged, you'd have to manage these commits using rebasing, which gets complex as the number of commits increase.

Can be closed.


Script missing steps.

Running these steps "As Is" you encounter an error at Step 4.
First, we should be including this step more prominently :
$resourceGroup = Get-AzureRmResourceGroup -name "YourResourceGroupName"
Then, we cannot define $geoPolicy and create a new one in the same step. This needs to be 2 steps.

New-AzureRmFrontDoorFireWallPolicy -Name "geoPolicyAllowUSOnly" -resourceGroupName $resourceGroup.ResourceGroupName -Customrule $nonUSBlockRule  -Mode Prevention -EnabledState Enabled

4b. $geoPolicy = Get-AzureRmFrontDoorFireWallPolicy -resourceGroupName $resourceGroup.ResourceGroupName -name "geoPolicyAllowUSOnly"
Finally, you will notice "-resourceGroupName $resourceGroup.ResourceGroupName"
There may be a better way to refer to the "-name" of the resource group than this, by re-writing the $resourceGroup argument.
I could not figure it out.  In any case, the script fails. The documentation needs updated.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e990f6b4-e42a-1945-b45a-4864e0bf1ca4
Version Independent ID: e6ee527e-3ea0-b300-36c2-b99ea0fabed6
Content: Tutorial - Configure geo-filtering on a domain for Azure Front Door Service
Content Source: articles/frontdoor/front-door-tutorial-geo-filtering.md
Service: frontdoor
GitHub Login: @sharad4u
Microsoft Alias: sharadag

@n0ttsweet Thank you for pointing this out . We will investigate and update further.

@n0ttsweet , Thanks for your feedback. We are working on it to update the document.

@n0ttsweet , The document has been enhanced and updated. We really appreciate your feedback.We are closing this issue for now.If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

Whoever edited this documentation, seems to have

converted it to Azure CLI.
Not mentioned this fact.
Did not make any of the necessary changes that I outlined in this issue.
Made the article fail from step one. (made it worse than before.)

Just a side note, the doc is using PowerShell. The lastest module now is Az instead of AzureRM

Ahh, I have not updated my module.
Thank you, I will do that.
It may work now, if the commands are recognized by the new module update. There were 2 that failed prior.


Not being able to add a custom icon

Describe the bug
The custom icon field is not working. Neither clicking or dragging an image on it works
To Reproduce
Steps to reproduce the behavior:

Go to 'Edit service'
Click on 'Custom Icon field'
Nothing happens

Expected behavior
Open a file selector to select an image
Screenshots

Desktop (please complete the following information):

OS:
ProductName:	macOS
ProductVersion:	11.0.1
BuildVersion:	20B29

Also a duplicate of #1913.

Also a duplicate of #1913.

Was fixed by resolving #1951. Can be closed now.

Was fixed by resolving #1951. Can be closed now.


Is the forum (forum.restic.net) down permanently?   replacements?

Hi
https://forum.restic.net is unreachable for and wondering if this is temporary or permanent and there would be replacement?  I have support type query on how to manage backups and wanted to put there rather here as it isn't really a technical issue with restic itself.

The forum is working again.


brogue: pull upstream fix for -fno-common toolchains

Without the change build fails on upstream gcc-10 as:
ld: src/brogue/Time.o:/build/brogue-1.7.5/src/brogue/IncludeGlobals.h:51:
  multiple definition of `messageArchive'; src/brogue/Architect.o:/build/brogue-1.7.5/src/brogue/IncludeGlobals.h:51: first defined here

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 173625 run on x86_64-linux 1

1 package built:

brogue


Create ArrayModifierPath2D

This was actually solved in https://github.com/miskatonicstudio/godot-array-modifier/commit/0d8953f5bd051f1c35b09f2e7e25e63139222cb2.


try to fix win run time errors for graph constructors

Description
Please include a summary of the change. For large or complex changes please include enough information to introduce your change and explain motivation for it.
Changes proposed in this pull request:

/intelci: run

/intelci: run

/intelci: run


AppVeyor: increment build number with pull requests, in order to avoid conflicts

This is required because we are currently using build-{build}-{commit-sha1} as build name pattern.
There may be multiple builds for the same commit.

SoftEther VPN Patch Acceptance Policy:
http://www.softether.org/5-download/src/9.patch
I choose option 1.

Looks very good. Merged. With gratitude

You're welcome.


Master to main

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

https://github.com/kyma-project/test-infra/pull/3504

/retest


[1.31.0, 1.30.4] xcuitest.XCTestDriverClient$XCTestDriverUnreachable

Describe the bug
When running maestro test, I'm getting an exception
xcuitest.XCTestDriverClient$XCTestDriverUnreachable: Failed to reach XCUITest Server in restart
	at xcuitest.XCTestDriverClient.restartXCTestRunnerService(XCTestDriverClient.kt:52)
	at ios.xctest.XCTestIOSDevice.open(XCTestIOSDevice.kt:33)
	at ios.LocalIOSDevice.open(LocalIOSDevice.kt:25)
	at maestro.drivers.IOSDriver.open(IOSDriver.kt:84)
	at maestro.Maestro$Companion.ios(Maestro.kt:579)
	at maestro.cli.session.MaestroSessionManager.createIOS(MaestroSessionManager.kt:329)
	at maestro.cli.session.MaestroSessionManager.createMaestro(MaestroSessionManager.kt:157)
	at maestro.cli.session.MaestroSessionManager.access$createMaestro(MaestroSessionManager.kt:50)
	at maestro.cli.session.MaestroSessionManager$newSession$session$1.invoke(MaestroSessionManager.kt:82)
	at maestro.cli.session.MaestroSessionManager$newSession$session$1.invoke(MaestroSessionManager.kt:81)
	at maestro.cli.db.KeyValueStore.withExclusiveLock(KeyValueStore.kt:37)
	at maestro.cli.session.SessionStore.withExclusiveLock(SessionStore.kt:74)
	at maestro.cli.session.MaestroSessionManager.newSession(MaestroSessionManager.kt:81)
	at maestro.cli.session.MaestroSessionManager.newSession$default(MaestroSessionManager.kt:58)
	at maestro.cli.command.TestCommand.call(TestCommand.kt:126)
	at maestro.cli.command.TestCommand.call(TestCommand.kt:44)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
	at picocli.CommandLine.access$1200(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
	at maestro.cli.DisableAnsiMixin$Companion.executionStrategy(DisableAnsiMixin.kt:22)
	at picocli.CommandLine.execute(CommandLine.java:2058)
	at maestro.cli.AppKt.main(App.kt:131)

Also, you can see the maestro-driver app getting installed after maestro exit from command line.
To Reproduce

Clone a new simulator from existing simulator (iOS 16.4, iPhone 14 Pro)
Run this command. Using and operator for convenience. You could remove the and operator and put into a script, and it will still produce the same result.

xcrun simctl boot <device uuid> && xcrun simctl install <device uuid> ABC.app && maestro --device=<device uuid> test flow.yaml

Adding explicit sleep command for 30 seconds, didn't have much effect. I got it to run once out of five attempts.

Expected behavior
Launch the app and execute the tests.
Screenshots
NA
Environment information (please complete the following information):

Maestro version - 1.30.4
Platform - iOS 16.4.1
Framework - Native
Device model and OS version - iPhone 14 Pro, iOS 16.4
Simulator, emulator or physical device - Simulator
Host - Macbook Pro M1, 16 GB

Workspace (if applicable)
NA
Bugreport output (if applicable)
Archive.zip
Additional context
NA

https://mobile-dev-inc.slack.com/archives/C041FU72T54/p1689668746779869
im having same issue, hope they can fix it soon 🙏🏼

Issue still exists on 1.31.0

Having this issue only when upgrading to the latests macOS Venture https://mobile-dev-inc.slack.com/archives/C041FU72T54/p1693599067865679

@larryng it seems maestro's connection keeps getting reset, every time it sends a SYN packet, whereas in the curl it gets the ack and establishes a TCP connection and proceeds to communicate data.
If the localhost is pointed to ipv4, is the curl request working?

If the localhost is pointed to ipv4, is the curl request working?

Originally my /etc/hosts only had <IP_ADDRESS> localhost and the curl request did work, although it still uses IPv6 (maybe curl has special support for localhost?). However, the curl request fails if using the -4, --ipv4 flag to force IPv4.

I seem to have mixed results with the workaround.
It started to work fine at first, but after opening a tcpdump session, it stopped working :(
Will have to check how it behaves in CI.

but after opening a tcpdump session, it stopped working :(

Can you check if that doesn't reset your /etc/hosts file. You should have ::1 localhost to ensure localhost ipv6 gets resolved

Yup, it still had it. This was the state it was in.
::1            localhost
<IP_ADDRESS>	localhost
<IP_ADDRESS>	broadcasthost


[BP-1.16][FLINK-32869][e2e] Fix Kubernetes tests on aarch64

What is the purpose of the change
See https://github.com/apache/flink/pull/23235. This is backport for 1.16.

The CI failure is related to FLINK-32751 and independent of this PR's change. I will go ahead and merge.


Removing the "fv3net" environment and image

The concept of the global fv3net image and environment have led to some maintainability problems:

the fv3net image is hard to maintain, differs from the prognostic run image, and otherwise doesn't follow patterns we understand well
the environment of the fv3net image is quite different from the prognostic run environment.
The concept of a "global" default environment is convenient, but leads to many of the problems above.

The setup.py, and pyproject.toml files of many of the external sub-packages and workflows are not accurate or tested

The fv3net image uses the anaconda package manager. Whereas the prognostic run uses apt-get and pip to manage its dependencies. conda does not fit our version locking strategy well...there has always been incompatibilities in the conda and pip dependencies of the fv3net image. Also, we only really need conda for cartopy anyway.

When using multiple package managers it is hard to even figure out what are dependencies are...

How hard would it be to kill "the fv3net environment".
cc @oliverwm1 @frodre

I think this is still an issue. Especially the inconsistent treatment of setup.py etc. See #1012.


AttributeError: 'str' object has no attribute 'inject_path'

Hello shellphish I am having an error attempt to crash a program using the crashing input from AFL.
The error being :
AttributeError: 'str' object has no attribute 'inject_path'
Here is the full output :
Traceback (most recent call last):
File "", line 1, in
File "/opt/angr-dev/rex/rex/crash.py", line 79, in init
self.tracer_bow = tracer_bow if tracer_bow is not None else archr.arsenal.QEMUTracerBow(self.target)
File "/opt/angr-dev/archr/archr/arsenal/qemu_tracer.py", line 41, in init
super().init(target, **kwargs)
File "/opt/angr-dev/archr/archr/arsenal/init.py", line 23, in init
self.nock()
File "/opt/angr-dev/archr/archr/arsenal/init.py", line 31, in nock
self.target.inject_path(b, os.path.join(self.target.tmpwd, self.REQUIRED_ARROW))
AttributeError: 'str' object has no attribute 'inject_path'
P.S. Thx For working on this project

what is Crash.target? It seems that you provided a string there.

Okay. I've done some experimenting and found the that archr.targets.LocalTarget can work but now for this specific binary i'm getting an error about desynced with the libc.so.6

And now i'm getting AttributeError: 'module' object has no attribute 'Tracer'

desynced with the libc.so.6

This is a common bug with no easy solution. The most common reason for this issue is that angr and the qemu tracer have different versions of the dynamic libraries to load, but with archr that shouldn't be a problem.

AttributeError: 'module' object has no attribute 'Tracer'

This is generally caused by installing tracer from pip (which is not our tracer) as opposed to installing https://github.com/angr/tracer

hi, @KittyTechnoProgrammer , sorry to bother you.
I just have the same problem as you.
I tried  archr.targets.LocalTarget but didn't work.
Here is my way:
>>> tt = archr.targets.LocalTarget(["./legit_00003"]).build()
>>> crash = rex.Crash(tt, b"\x00\x0b1\xc1\x00\x0c\xeb\xe4\xf1\xf1\x14\r\rM\r\xf3\x1b\r\r\r~\x7f\x1b\xe3\x0c`_222\r\rM\r\xf3\x1b\r\x7f\x002\x7f~\x7f\xe2\xff\x7f\xff\xff\x8b\xc7\xc9\x83\x8b\x0c\xeb\x80\x002\xac\xe2\xff\xff\x00t\x8bt\x8bt_o_\x00t\x8b\xc7\xdd\x83\xc2t~n~~\xac\xe2\xff\xff_k_\x00t\x8b\xc7\xdd\x83\xc2t~n~~\xac\xe2\xff\xff\x00t\x8bt\x8b\xac\xf1\x83\xc2t~c\x00\x00\x00~~\x7f\xe2\xff\xff\x00t\x9e\xac\xe2\xf1\xf2@\x83\xc3t")

It occured new problem as below:
WARNING | 2019-11-25 11:15:16,522 | cle.loader | <cle.patched_stream.PatchedStream object at 0x7f39d53ff908>: base_addr was specified but the object is not PIC. specify force_rebase=True to override
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/angr/angr-dev/rex/rex/crash.py", line 105, in __init__
    self._initialize(angrop_object, rop_cache_path, checkpoint_path, crash_state, prev_state)
  File "/home/angr/angr-dev/rex/rex/crash.py", line 511, in _initialize
    self.project = self.angr_project_bow.fire()
  File "/home/angr/angr-dev/archr/archr/arsenal/angr_project.py", line 47, in fire
    _,_,_,self._mem_mapping = self.scout_bow.fire()
  File "/home/angr/angr-dev/archr/archr/arsenal/datascout.py", line 119, in fire
    aslr=aslr, **kwargs) as p:
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/angr/angr-dev/archr/archr/targets/__init__.py", line 455, in shellcode_context
    hooked_binary = hook_entry(original_binary, asm_code=asm_code, bin_code=bin_code)
  File "/home/angr/angr-dev/archr/archr/utils.py", line 42, in hook_entry
    main_bin.write(b.main_object.arch.asm(asm_code) if asm_code else bin_code)
  File "/home/angr/angr-dev/archinfo/archinfo/arch.py", line 444, in asm
    encoding, _ = ks.asm(string, addr, as_bytes) # pylint: disable=too-many-function-args
  File "/home/angr/.virtualenvs/angr/lib/python3.6/site-packages/keystone/keystone.py", line 213, in asm
    raise KsError(errno, stat_count.value)
keystone.keystone.KsError: Invalid operand (KS_ERR_ASM_INVALIDOPERAND)

I am wondering how do you solve the problem with  archr.targets.LocalTarget ?

Hmmm. Hold on let me see. It could be because your using keystone instead of keystone-engine
try this -
"pip3 uninstall keystone"
"pip3 install keystone-engine"

Hi, @Yuuoniy , did you solve that problem? I use the same statements as you, but I met the different problem:
"ArchrError: Specified magic page dump on non-cgc architecture"

@Anhang512 , sorry, I haven't solved this. Due to I am just getting busy with other stuff these day, I would look into this when I have time.

@Yuuoniy OK, Thanks for your reply.

Hi, @Yuuoniy  I referenced the file rex/tests/test_rex.py. The correct format is :
tt = archr.targets.LocalTarget(["/home/allen/angr-dev/binaries/tests/defcon24/legit_00003"], target_os='cgc')
crash = rex.Crash(tt, b"\x00\x0b1\xc1\x00\x0c\xeb\xe4\xf1\xf1\x14\r\rM\r\xf3\x1b\r\r\r~\x7f\x1b\xe3\x0c`_222\r\rM\r\xf3\x1b\r\x7f\x002\x7f~\x7f\xe2\xff\x7f\xff\xff\x8b\xc7\xc9\x83\x8b\x0c\xeb\x80\x002\xac\xe2\xff\xff\x00t\x8bt\x8bt_o_\x00t\x8b\xc7\xdd\x83\xc2t~n~~\xac\xe2\xff\xff_k_\x00t\x8b\xc7\xdd\x83\xc2t~n~~\xac\xe2\xff\xff\x00t\x8bt\x8b\xac\xf1\x83\xc2t~c\x00\x00\x00~~\x7f\xe2\xff\xff\x00t\x9e\xac\xe2\xf1\xf2@\x83\xc3t")

@Anhang512  OK, thank you so much!


Wrong gradient for tf.atan with complex input

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
tf 2.9
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The theoretical and numerical gradient are different when input is complex for `tf.atan`

Standalone code to reproduce the issue
import tensorflow as tf

def fn(x): return tf.atan(x)
x = tf.complex([[0.]], [[1.1262]])

value = fn(x)

theoretical, numerical = tf.test.compute_gradient(fn, [x])
print(theoretical)
print(numerical)

assert tf.experimental.numpy.allclose(theoretical, numerical)

Relevant log output
(array([[-3.7268043, -0.       ],
       [ 0.       , -3.7268043]], dtype=float32),)
(array([[1604.7687   ,    0.       ],
       [   0.       ,   -3.7269287]], dtype=float32),)
AssertionError

@VictoriaGriffith I tried to reproduce the issue reported, could you please find the gist here and confirm the same?
Thank you!

Hi @sushreebarsa , thanks for reproducing the issue.

Indeed, the bug only appears in TF 2.9.1 because TF 2.8 lack support for Atan on DT_COMPLEX64.
For your workaround, I can see you passed a list of complex numbers instead of tensor. However, that does not avoid the bug, because this bug only happens with a special complex input whose real=0.
Below is an buggy example that modifies your workaround example by changing [1.+4.563j] to [0.+4.563j] and still raises AssertionError, could you please confirm the same? Thank you!

# Run in TF 2.9.1
# !pip install tensorflow==2.9.1
import tensorflow as tf
print(tf.__version__)

def fn(x): return tf.atan(x)

theoretical, numerical = tf.test.compute_gradient(fn, [0.+4.563j])#The arguments for the function as a list or tuple of values convertible to a Tensor
print(theoretical)
print(numerical)

assert tf.experimental.numpy.allclose(theoretical, numerical) # AssertionError

@VictoriaGriffith Thank you for the update!
@gadagashwini I was able to replicate the issue here. Please find the attached gist for reference. Thank you!

@VictoriaGriffith , Did you face similar behavior in any dtype other than complex?

Hi @sachinprasadhs  this behavior only happens with complex, for example, float32 will pass:
import tensorflow as tf
print(tf.__version__)

def fn(x): return tf.atan(x)

theoretical, numerical = tf.test.compute_gradient(fn, [0.18])
print(theoretical)
print(numerical)

assert tf.experimental.numpy.allclose(theoretical, numerical) # Pass

Oututs:
(array([[0.9686168]], dtype=float32),)
(array([[0.9686203]], dtype=float32),)

Could you please refer this comment and let us know if this is useful for you. Thanks!


feat: SDA-1713 (Add logic to monitor network request and display banners)

Description
Display a red banner whenever a network connection is interrupted.
SDA-1713
Solution Approach

Listen for network request that fails to display a red banner
Reload the page and remove the banner when the network connection is bank online
Monitor pod URL to fix the VPN issue

List of errors where the network banner will be displayed

ERR_INTERNET_DISCONNECTED
ERR_NETWORK_CHANGED
ERR_NAME_NOT_RESOLVED

Screencast

Closing this PR due to GitHub actions issue


path update does not work if similar paths found

tried to use this to migrate sonarr v4 db from windows to linux

If I change S:\TV to /tv/  then it wrongly changes ALL the paths rather than just the expected 350
even though it says:

which results in broken paths:

and trying to just start from bottom of list to use S:\TV-UHD since it wouldnt match any of the above..  looks like that worked per looking at the db.

gui has wrong totals for S:\TV as theres 350 total, but only 288
select count(*) from series where Path like 'S:\TV\%'
288

so what will prob happen if I was to keep converting these from bottom up, the ending result should just be what is actually just S:\TV

Thanks for the feedback! I will improve this. :)

A possible fix for this is available on the unstable download page. Please try it out and let me know if it works any better. Happy to keep fixing bugs if you find them. Thank you!
https://unstable.golift.io/toolbarr

grabbed latest dev, tested and looks like it works now:

and confirmed db paths look correct

Woo!
I'd appreciate any other feedback you may have. Design, layout, look, feel, other features.
Thank you for the bug report and testing the fix!


OCPP 2.0(.1) implementation

Hello @matth-x,
First, I would like to thank you for your great work here. Truly remarkable.
It seems that no one have asked for it yet, so I had to open a new issue.
Are there any plans to implement OCPP 2.0 and preferably 2.0.1?
I understand that this is big, but given the talent I see here it probably ain't that hard for you.

Sorry that your issue remained unanswered. I'm closing this assuming it's no longer relevant.


fetchSignInMethodsForEmail returning nil when email has providers associated.

Description
Running fetchSignInMethodsForEmail returns nil even when there are providers associated with the email account.
Firebase documentation:
https://firebase.google.com/docs/reference/ios/firebaseauth/api/reference/Classes/FIRAuth#-fetchsigninmethodsforemail:completion:
I expect an array with the associated providers for the given email address.
Reproducing the issue
Setup the following API in your app with relevant Firebase setup:
[[FIRAuth auth] fetchSignInMethodsForEmail:@"EMAIL ADDRESS WITH PROVIDER ASSOCIATED"
                        completion:^(NSArray<NSString *> *_Nullable providers,
                                     NSError *_Nullable error) {
                          if (error != nil) {
                            NSLog(@"error");
                          } else {
                            if (providers == nil) {
                              NSLog(@"providers is nil");
                            } else {
                              NSLog(@"providers: %@", providers);
                            }
                          }
                        }];

Replace the "EMAIL ADDRESS WITH PROVIDER ASSOCIATED" with an email address that has providers associated in your Firebase console.
Firebase SDK Version
10.15
Xcode Version
14.3.1
Installation Method
CocoaPods
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
There are no relevant logs outputted with `-FIRDebugEnabled` from app boot up or when executing the API.

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

PODS:
  - AppAuth (1.6.2):
    - AppAuth/Core (= 1.6.2)
    - AppAuth/ExternalUserAgent (= 1.6.2)
  - AppAuth/Core (1.6.2)
  - AppAuth/ExternalUserAgent (1.6.2):
    - AppAuth/Core
  - Firebase/Auth (10.15.0):
    - Firebase/CoreOnly
    - FirebaseAuth (~> 10.15.0)
  - Firebase/CoreOnly (10.15.0):
    - FirebaseCore (= 10.15.0)
  - Firebase/Messaging (10.15.0):
    - Firebase/CoreOnly
    - FirebaseMessaging (~> 10.15.0)
  - firebase_auth (4.9.0):
    - Firebase/Auth (= 10.15.0)
    - firebase_core
    - Flutter
  - firebase_core (2.15.1):
    - Firebase/CoreOnly (= 10.15.0)
    - Flutter
  - firebase_messaging (14.6.7):
    - Firebase/Messaging (= 10.15.0)
    - firebase_core
    - Flutter
  - FirebaseAppCheckInterop (10.15.0)
  - FirebaseAuth (10.15.0):
    - FirebaseAppCheckInterop (~> 10.0)
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GTMSessionFetcher/Core (< 4.0, >= 2.1)
    - RecaptchaInterop (~> 100.0)
  - FirebaseCore (10.15.0):
    - FirebaseCoreInternal (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/Logger (~> 7.8)
  - FirebaseCoreInternal (10.15.0):
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
  - FirebaseInstallations (10.15.0):
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - PromisesObjC (~> 2.1)
  - FirebaseMessaging (10.15.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleDataTransport (~> 9.2)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/Reachability (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - Flutter (1.0.0)
  - google_sign_in_ios (0.0.1):
    - Flutter
    - GoogleSignIn (~> 6.2)
  - GoogleDataTransport (9.2.5):
    - GoogleUtilities/Environment (~> 7.7)
    - nanopb (< 2.30910.0, >= 2.30908.0)
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleSignIn (6.2.4):
    - AppAuth (~> 1.5)
    - GTMAppAuth (~> 1.3)
    - GTMSessionFetcher/Core (< 3.0, >= 1.1)
  - GoogleUtilities/AppDelegateSwizzler (7.11.5):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
  - GoogleUtilities/Environment (7.11.5):
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleUtilities/Logger (7.11.5):
    - GoogleUtilities/Environment
  - GoogleUtilities/Network (7.11.5):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (7.11.5)"
  - GoogleUtilities/Reachability (7.11.5):
    - GoogleUtilities/Logger
  - GoogleUtilities/UserDefaults (7.11.5):
    - GoogleUtilities/Logger
  - GTMAppAuth (1.3.1):
    - AppAuth/Core (~> 1.6)
    - GTMSessionFetcher/Core (< 3.0, >= 1.5)
  - GTMSessionFetcher/Core (2.3.0)
  - nanopb (2.30909.0):
    - nanopb/decode (= 2.30909.0)
    - nanopb/encode (= 2.30909.0)
  - nanopb/decode (2.30909.0)
  - nanopb/encode (2.30909.0)
  - PromisesObjC (2.3.1)
  - RecaptchaInterop (100.0.0)

DEPENDENCIES:
  - firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
  - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
  - firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`)
  - Flutter (from `Flutter`)
  - google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/ios`)

SPEC REPOS:
  trunk:
    - AppAuth
    - Firebase
    - FirebaseAppCheckInterop
    - FirebaseAuth
    - FirebaseCore
    - FirebaseCoreInternal
    - FirebaseInstallations
    - FirebaseMessaging
    - GoogleDataTransport
    - GoogleSignIn
    - GoogleUtilities
    - GTMAppAuth
    - GTMSessionFetcher
    - nanopb
    - PromisesObjC
    - RecaptchaInterop

EXTERNAL SOURCES:
  firebase_auth:
    :path: ".symlinks/plugins/firebase_auth/ios"
  firebase_core:
    :path: ".symlinks/plugins/firebase_core/ios"
  firebase_messaging:
    :path: ".symlinks/plugins/firebase_messaging/ios"
  Flutter:
    :path: Flutter
  google_sign_in_ios:
    :path: ".symlinks/plugins/google_sign_in_ios/ios"

SPEC CHECKSUMS:
  AppAuth: 3bb1d1cd9340bd09f5ed189fb00b1cc28e1e8570
  Firebase: 66043bd4579e5b73811f96829c694c7af8d67435
  firebase_auth: 978da643e4c50d0850762c77cd92a534bccfdb04
  firebase_core: e617553c3f3cad53131d5679e3ca86fb336100d9
  firebase_messaging: 7e286d6a66bc283b1a3dbf5444b8561e1cd05807
  FirebaseAppCheckInterop: a8c555b1c2db1d9445e6c3a08a848167ddb7eb51
  FirebaseAuth: a55ec5f7f8a5b1c2dd750235c1bb419bfb642445
  FirebaseCore: 2cec518b43635f96afe7ac3a9c513e47558abd2e
  FirebaseCoreInternal: 2f4bee5ed00301b5e56da0849268797a2dd31fb4
  FirebaseInstallations: cae95cab0f965ce05b805189de1d4c70b11c76fb
  FirebaseMessaging: 0c0ae1eb722ef0c07f7801e5ded8dccd1357d6d4
  Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
  google_sign_in_ios: 1256ff9d941db546373826966720b0c24804bcdd
  GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2
  GoogleSignIn: 5651ce3a61e56ca864160e79b484cd9ed3f49b7a
  GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
  GTMAppAuth: 0ff230db599948a9ad7470ca667337803b3fc4dd
  GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2
  nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
  PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
  RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21

PODFILE CHECKSUM: 329a5fe659b48e1f9eb6aa93d909bbbadd8d6bbb

COCOAPODS: 1.12.1

As an FYI; this API appears to work on our emulators but not when using Firebase server.

Hmm, I've just confirmed that the corresponding sample at https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAuth/Tests/Sample/Sample/MainViewController%2BUser.m#L113 works for me, so not sure what is going on. We may need a full repro.

Related: https://github.com/firebase/firebaseui-web/issues/1040 (same issue on the web; seems to affect new projects).
Has something changed with the backend https://identitytoolkit.googleapis.com/v1/accounts:createAuthUri recently?

We have another issue related to this problem. This user reports that the issue can be replicated by enabling "Create multiple accounts for each identity provider".
However, I was able to replicate across web, android & ios without it enabled. It appears to be a Firebase server issue so not sure if this is in the right repository, and apologies for flagging here.
I've created a quick web script to demonstrate.
It requires:

inserting script into a html file with a button element with the ID "button-id". The html file also needs to import firebase-app and firebase-auth.
Updating firebase config with your Firebase project.
Adding email and password.

As a sanity check, I've also included sign-in.
import { initializeApp } from 'firebase/app';

import {
  getAuth,
  fetchSignInMethodsForEmail,
  signInWithEmailAndPassword,
  onAuthStateChanged,
} from 'firebase/auth';

var config = {
	//INSERT FIREBASE CONFIG
};

var app = initializeApp(config);

const auth = getAuth(app);

const email = 'INSERT EMAIL ADDRESS';
const password = 'INSERT PASSWORD';

onAuthStateChanged(auth, async (user) => {
  if (user) {
    console.log('user', user);
    // ...
  } else {
    console.log('Signing in.....');
    let userCred = await signInWithEmailAndPassword(
      auth,
      email,
      password
    );
    console.log('userCred', userCred);
  }
});

const button = document.getElementById('button-id');

// Attach an event listener to the button
button.addEventListener('click', async () => {
  fetchSignInMethodsForEmail(auth, email)
    .then((signInMethods) => {
	// This produces an empty array
      console.log('signInMethods', signInMethods);
    })
    .catch((error) => {
      console.log('error', error);
    });
});

thanks for the invsestigation @russellwheatley. Backend issue tracked internally at b/301111687

I have the same issue in javascript, except that the promise resolves to [] instead of giving me the correct signinmethods. I need to use the feature to decide whether I should link a currently signed in, anonymous account with a new email link sign in method or if I should just sign in the existing account and throw away the old account. Would be very glad if this were to be fixed.

@paulb777  Hello, can we downgrade to a specific version to make it work ? It blocks our authentication logic

@tolotrasamuel The issue is on the server side so changing the SDK will not help.

@paulb777 Hey, has there been any movement on this issue? It seems that implementing proper email/password auth flows has been broken for new projects for the past couple of weeks

@sgb-io There is ongoing progress. Hopefully, we can share something soon.

See https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection for context and a possible workaround

I can confirm once I disabled email enumeration protection via this API call:
curl -X PATCH -d "{'email_privacy_config':{'enable_improved_email_privacy':"false"}}" \
    -H 'Authorization: Bearer ACCESS_TOKEN' \
    -H 'Content-Type: application/json' -H 'X-Goog-User-Project: PROJECT_ID' \
    "https://identitytoolkit.googleapis.com/admin/v2/projects/PROJECT_ID/config?updateMask=email_privacy_config"

The provider list returned. I would say that the project I am testing against was created long before the date specified this feature would be default enabled - September 15, 2023.
I am going to put a note in the Firebase Flutter documentation here: https://firebase.google.com/docs/auth/flutter/email-link-auth#differentiating_emailpassword_from_email_link
regarding this protection here and put the PR up for review.

Documentation updated and switch is now available in the Firebase Console

I believe we can close this issue @morganchen12

API deprecation is in progress at #12081


Add ErrorBoundary Component

https://github.com/bvaughn/react-error-boundary

https://github.com/michaelBenin/react-ssr-spa/pull/66


Improve Session Security

This PR changes a few things around how sessions are handled in order to improve security.
Problem 1: The session secret is hard-coded. Few people will provide their own thus the security of the whole project is a risk for everyone who deploys it.
Solution: One first run, the start script generates a randomly generated session key and stores it to a file. If no secret key is provided, the start script will grab this one. WEBUI_JWT_SECRET_KEY is still accepted. I flagged the line in config.py to be deprecated in the next major release.
Problem 2: JWT signatures were not verified. This makes session stealing easy.
Solution: Remove the option turning off jwt signature verification.
Problem 3: JWTs use email address as the primary method to identify a user. This makes step 2 involve no guesswork at all. If you know someone has session, you can just build the correctly formed JWT and BE them.
Solution: Use database user ids in the JWT instead.
(same PR as https://github.com/ollama-webui/ollama-webui/pull/613, I just screwed up some metadata and had to re-create a new PR)

These are good changes. It should have a disclaimer in the docs somewhere this shouldn't be public-facing without some waf or proxy in front of it.

These are good changes. It should have a disclaimer in the docs somewhere this shouldn't be public-facing without some waf or proxy in front of it.

I disagree. I think we should be careful putting too much into the project. We should not have to explain all the tenants of web security in our documentation. It's out of scope.
I already feel like we explain too much how to get docker up and running. It's all out-of-scope (or should be).

I disagree. I think we should be careful putting too much into the project. We should not have to explain all the tenants of web security in our documentation.
I already feel like we explain too much how to get docker up and running. It's all out-of-scope (or should be).

I couldn't agree more, I'd much rather we focus on issues pertaining to the project itself, not its methods of deployment or operation in production (if you're doing that, you should know what you're doing).

We should at least post the current OSSF scorecard so users can make their own decisions.
Aggregate score: 5.2 / 10
Check scores:
|---------|------------------------|--------------------------------|-----------------------------------------------------------------------------------------------------------------------|

SCORE
NAME
REASON
DOCUMENTATION/REMEDIATION

10 / 10
Binary-Artifacts
no binaries found in the repo
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#binary-artifacts

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

3 / 10
Branch-Protection
branch protection is not
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#branch-protection

maximal on development and all

release branches

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

9 / 10
CI-Tests
12 out of 13 merged PRs
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#ci-tests

checked by a CI test -- score

normalized to 9

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

0 / 10
CII-Best-Practices
no effort to earn an OpenSSF
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#cii-best-practices

best practices badge detected

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

3 / 10
Code-Review
found 8 unreviewed changesets
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#code-review

out of 13 -- score normalized

to 3

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

10 / 10
Contributors
project has 29 contributing
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#contributors

companies or organizations

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

10 / 10
Dangerous-Workflow
no dangerous workflow patterns
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#dangerous-workflow

detected

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

0 / 10
Dependency-Update-Tool
no update tool detected
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#dependency-update-tool

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

0 / 10
Fuzzing
project is not fuzzed
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#fuzzing

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

10 / 10
License
license file detected
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#license

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

10 / 10
Maintained
30 commit(s) and 0 issue
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#maintained

activity found in the last 90

days -- score normalized to 10

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

10 / 10
Packaging
packaging workflow detected
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#packaging

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

0 / 10
Pinned-Dependencies
dependency not pinned by hash
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#pinned-dependencies

detected -- score normalized

to 0

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

0 / 10
SAST
SAST tool is not run on all
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#sast

commits -- score normalized to

0

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

4 / 10
Security-Policy
security policy file detected
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#security-policy

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

?
Signed-Releases
no releases found
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#signed-releases

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

0 / 10
Token-Permissions
detected GitHub workflow
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#token-permissions

tokens with excessive

permissions

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

9 / 10
Vulnerabilities
1 existing vulnerabilities
https://github.com/ossf/scorecard/blob/ba69f1346b6f2bc833b7c8e2e96123a35fb1da4c/docs/checks.md#vulnerabilities

detected

---------
------------------------
--------------------------------
-----------------------------------------------------------------------------------------------------------------------

@Collected5353 I appreciate that you seem very concerned about security. If you feel like the security scorecard would be valuable to add, please create a PR for it. While this current PR would likely change its how the project is scored, it is not relevant to this specific PR and I thus do not wish to include it here.

Oh yeah I wasn't saying to make it apart of this PR, just a general comment.

LGTM, Thanks for the hard work!


Add MODAC API Client + Example Docs

Fixes https://github.com/mass-matrix/AMPL/issues/64

This adds a feature I developed while working on pFDA. I used this client to quickly download models to the workstation. I included an example notebook in the same style as the other tutorials. Let me know if there are any other things I should do or documentation I should add. There are tests, and I added them to run in GithubActions

@mauvais2 the only issue with merging this into 1.7.0 is that I cannot add my tests from 7f6388a:

The reason is because the GitHub Actions pytest.yml doesn't exist on 1.7.0, so I think you'll probably want to rebase/merge with 1.6.0 after that is released


Error in atom 1.9.9

Previewing ApiBlueprint Failed
Command failed: aglio -i /tmp/atom.apib -t /Users/Ryota/.atom/packages/api-blueprint-preview/templates/api-blueprint-preview.jade -n /Users/Ryota/Documents/canvas-demo/src -o - /bin/sh: aglio: command not found

According to the README,

This plugin requires aglio to be installed and in your path, via e.g:
sudo npm install -g aglio

aye, it fixed . Thank U


🐛 Unable to create a VirtualCluster on k8 v1.20.2

Problem
Virtual cluster does not deploy with k8 v1.20.2. Output from vc-manager:

{"level":"info","ts":1621457612.1333222,"logger":"clusterversion-controller","msg":"reconciling ClusterVersion..."}
{"level":"info","ts":1621457612.1334903,"logger":"clusterversion-controller","msg":"new ClusterVersion event","ClusterVersionName":"cv-sample-np"}
{"level":"info","ts":1621457635.4177175,"logger":"virtualcluster-webhook","msg":"validate create","vc-name":"vc-sample-1"}
{"level":"info","ts":1621457635.4421399,"logger":"virtualcluster-controller","msg":"reconciling VirtualCluster..."}
{"level":"info","ts":1621457635.4824774,"logger":"virtualcluster-webhook","msg":"validate update","vc-name":"vc-sample-1"}
{"level":"info","ts":1621457635.511791,"logger":"virtualcluster-controller","msg":"a finalizer has been registered for the VirtualCluster CRD","finalizer":"virtualcluster.finalizer.native"}
{"level":"info","ts":1621457635.5118568,"logger":"virtualcluster-controller","msg":"will create a VirtualCluster","vc":"vc-sample-1"}
{"level":"info","ts":1621457635.53576,"logger":"virtualcluster-webhook","msg":"validate update","vc-name":"vc-sample-1"}
{"level":"info","ts":1621457635.556264,"logger":"virtualcluster-controller","msg":"reconciling VirtualCluster..."}
{"level":"info","ts":1621457635.5563915,"logger":"virtualcluster-controller","msg":"VirtualCluster is pending","vc":"vc-sample-1"}
{"level":"info","ts":1621457638.3632772,"logger":"virtualcluster-controller","msg":"creating secret","name":"root-ca","namespace":"default-a4a766-vc-sample-1"}
{"level":"info","ts":1621457638.400915,"logger":"virtualcluster-controller","msg":"creating secret","name":"apiserver-ca","namespace":"default-a4a766-vc-sample-1"}
{"level":"info","ts":1621457638.4276915,"logger":"virtualcluster-controller","msg":"creating secret","name":"etcd-ca","namespace":"default-a4a766-vc-sample-1"}
{"level":"info","ts":1621457638.4523375,"logger":"virtualcluster-controller","msg":"creating secret","name":"controller-manager-kubeconfig","namespace":"default-a4a766-vc-sample-1"}
{"level":"info","ts":1621457638.485505,"logger":"virtualcluster-controller","msg":"creating secret","name":"admin-kubeconfig","namespace":"default-a4a766-vc-sample-1"}
{"level":"info","ts":1621457638.5329306,"logger":"virtualcluster-controller","msg":"creating secret","name":"serviceaccount-rsa","namespace":"default-a4a766-vc-sample-1"}
{"level":"info","ts":1621457638.562718,"logger":"virtualcluster-controller","msg":"deploying StatefulSet for master component","component":""}
{"level":"error","ts":1621457638.5628488,"logger":"virtualcluster-controller","msg":"fail to create virtualcluster","vc":"vc-sample-1","retrytimes":3,"error":"try to deploy unknwon component: "}
{"level":"info","ts":1621457638.5843189,"logger":"virtualcluster-webhook","msg":"validate update","vc-name":"vc-sample-1"}
{"level":"info","ts":1621457638.6019728,"logger":"virtualcluster-controller","msg":"reconciling VirtualCluster..."}
{"level":"info","ts":1621457638.6020927,"logger":"virtualcluster-controller","msg":"VirtualCluster is pending","vc":"vc-sample-1"}

The namespace and secrets were created but none of the statefulsets from the ClusterVersion.
What I did
git clone https://github.com/kubernetes-sigs/cluster-api-provider-nested.git
cd cluster-api-provider-nested/virtualcluster

Build kubectl-vc
make build WHAT=cmd/kubectl-vc
sudo cp -f _output/bin/kubectl-vc /usr/local/bin

Create new CRDs
(see https://github.com/kubernetes-sigs/cluster-api-provider-nested/issues/62)
cd pkg
controller-gen "crd:trivialVersions=true,maxDescLen=0" rbac:roleName=manager-role paths="./..." output:crd:artifacts:config=config/crds

Install CRD
kubectl create -f config/crds/cluster.x-k8s.io_clusters.yaml
kubectl create -f config/crds/tenancy.x-k8s.io_clusterversions.yaml
kubectl create -f config/crds/tenancy.x-k8s.io_virtualclusters.yaml

Create ns, rbac, deployment, ...
kubectl create -f config/setup/all_in_one.yaml

I've added events to the RBAC because of this:

{"level":"info","ts":1621388803.9796872,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"clusterversion-controller","source":"kind source: /, Kind="}
E0519 01:46:43.981421       1 event.go:260] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"vc-manager-leaderelection-lock.16805486d7f96288", GenerateName:"", Namespace:"vc-manager", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, InvolvedObject:v1.ObjectReference{Kind:"ConfigMap", Namespace:"vc-manager", Name:"vc-manager-leaderelection-lock", UID:"5c94eb36-66a2-437a-a10f-6fc651533e96", APIVersion:"v1", ResourceVersion:"96800211", FieldPath:""}, Reason:"LeaderElection", Message:"vc-manager-76c5878465-6tq8f_e49ead0e-85c4-43f6-bb44-e4f0820e8ee8 became leader", Source:v1.EventSource{Component:"vc-manager-76c5878465-6tq8f_e49ead0e-85c4-43f6-bb44-e4f0820e8ee8", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xc0213960fa5d0488, ext:18231381017, loc:(*time.Location)(0x23049a0)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xc0213960fa5d0488, ext:18231381017, loc:(*time.Location)(0x23049a0)}}, Count:1, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events is forbidden: User "system:serviceaccount:vc-manager:vc-manager" cannot create resource "events" in API group "" in the namespace "vc-manager"' (will not retry!)

Create a new ClusterVersion
kubectl create -f config/sampleswithspec/clusterversion_v1_nodeport.yaml

Had to remove kind and apiVersion below controllerManager: to match the schema:

error: error validating "cv-sample-nb.yaml": error validating data: [ValidationError(ClusterVersion.spec.controllerManager): unknown field "apiVersion" in io.x-k8s.tenancy.v1alpha1.ClusterVersion.spec.controllerManager, ValidationError(ClusterVersion.spec.controllerManager): unknown field "kind" in io.x-k8s.tenancy.v1alpha1.ClusterVersion.spec.controllerManager]; if you choose to ignore these errors, turn validation off with --validate=false

Create a new VirtualCluster
kubectl vc create -f config/sampleswithspec/virtualcluster_1_nodeport.yaml -o vc.kubeconfig

I think the ClusterVersion crd schema introduces the problem. It is not a good idea to put StatefulSet schema directly in CRD Spec, we should define Pod spec instead.
To quickly workaround the problem, please change the ClusterVersion CRD schema to a much simpler version shown as below.
You can check the make file to see more tricks for manipulating the crd, e.g:
# To work around a known controller gen issue
# https://github.com/kubernetes-sigs/kubebuilder/issues/1544
ifeq (, $(shell which yq))
	@echo "Please install yq for yaml patching. Get it from here: https://github.com/mikefarah/yq"
	@exit
else
	@{ \
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.apiServer.properties.statefulset.properties.spec.properties.template.properties.spec.properties.containers.items.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.controllerManager.properties.statefulset.properties.spec.properties.template.properties.spec.properties.containers.items.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.etcd.properties.statefulset.properties.spec.properties.template.properties.spec.properties.containers.items.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.apiServer.properties.statefulset.properties.spec.properties.template.properties.spec.properties.initContainers.items.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.controllerManager.properties.statefulset.properties.spec.properties.template.properties.spec.properties.initContainers.items.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.etcd.properties.statefulset.properties.spec.properties.template.properties.spec.properties.initContainers.items.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.apiServer.properties.service.properties.spec.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.controllerManager.properties.service.properties.spec.properties.ports.items.required[1]" protocol;\
	yq w -i config/crds/tenancy.x-k8s.io_clusterversions.yaml "spec.validation.openAPIV3Schema.properties.spec.properties.etcd.properties.service.properties.spec.properties.ports.items.required[1]" protocol;\
	}
endif

Same result with controller-gen 0.3.0. I think the x-kubernetes-list-map-keys were added in 0.3.0 but at this time there was no validation in place. However, your workaround fixed the issue. Here is my first virtual cluster:
$ kubectl -n default-c16bb7-vc-sample-1 get all
NAME                       READY   STATUS    RESTARTS   AGE
pod/apiserver-0            1/1     Running   0          5m26s
pod/controller-manager-0   1/1     Running   0          4m59s
pod/etcd-0                 1/1     Running   0          5m50s

NAME                    TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE
service/apiserver-svc   NodePort    <IP_ADDRESS>   <none>        6443:30133/TCP   5m26s
service/etcd            ClusterIP   None           <none>        <none>           5m50s

NAME                                  READY   AGE
statefulset.apps/apiserver            1/1     5m26s
statefulset.apps/controller-manager   1/1     5m
statefulset.apps/etcd                 1/1     5m50s

Is there a way to enforce a specific runtimeClassName for pods with the syncer? This woudl be great to enforce tolerations and a container runtime like kata for pods running on the super cluster.

Forgot a make manifests... works fine with controller-gen 0.3.0 and the workaround too :)

Is there a way to enforce a specific runtimeClassName for pods with the syncer? This woudl be great to enforce tolerations and a container runtime like kata for pods running on the super cluster.

If vPod specifies runtimeClassName to Kata, it should work. If you want to enforce/overwrite vPod runtimeClassTime to be fixed to Kata, you need to change the syncer code.

/retitle 🐛 Unable to create a VirtualCluster on k8 v1.20.2

/remove-lifecycle stale
/lifecycle frozen

We have another issue creating VirtualCluster in 1.20:
{"level":"error","ts":1664969234.2211943,"logger":"controller-runtime.manager.controller.virtualcluster","msg":"Reconciler error","reconciler group":"tenancy.x-k8s.io","reconciler kind":"VirtualCluster","name":"test","namespace":"default","error":"VirtualCluster.tenancy.x-k8s.io \"test\" is invalid: [status.reason: Invalid value: \"null\": status.reason in body must be of type string: \"null\", status.message: Invalid value: \"null\": status.message in body must be of type string: \"null\", status.phase: Invalid value: \"null\": status.phase in body must be of type string: \"null\"]"}

It is very likely related to https://github.com/kubernetes/kubernetes/pull/95423 and I will test conversion of fields to pointers shortly


Appimage fails to run under Wayland

Describe the bug
The AppImage will not launch under a Wayland desktop on Linux.
To Reproduce

Run Wayland
Launch AppImage
Notice errors and crash

Expected behavior
Snort would launch normally under Wayland
Logs
RUST_BACKTRACE=1 ./snort_0.1.5_amd64.AppImage
thread 'main' panicked at 'data.len() must fit the width, height, and row_stride', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gdk-pixbuf-0.15.11/src/pixbuf.rs:52:13
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14
   2: tao::platform_impl::platform::icon::<impl core::convert::From<tao::platform_impl::platform::icon::PlatformIcon> for gdk_pixbuf::auto::pixbuf::Pixbuf>::from
   3: tao::platform_impl::platform::window::Window::new
   4: <tauri_runtime_wry::Wry<T> as tauri_runtime::Runtime<T>>::create_window
   5: tauri::app::Builder<R>::run
   6: app::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

My OS

OS: Arch Linux using Wayland on Gnome

Additional context
This seems to be an upstream issue with Tarui. https://github.com/tauri-apps/tauri-egui/issues/7

This doesn't seem to be Wayland specific. I get the same error on X11 with KDE on Debian 11. It's also not specific to AppImage, as I get the error there as well as with /usr/bin/snort from deb package.


(6) Count (Statistic)

[x] Implement function
[x] Include comments
[x] Write tests
[ ] Incorporate privacy proof

We have a decent implementation of this. One remaining issue is that it shouldn't use a raw as conversion.

This is just for the implementation of simple vector count (make_count()). This was completed in M1.
Histograms are in #65, stability-based calculation of the category set is in #116.
Issue for proof: #123.


Vulkan build error when compiling from Linux to Windows using MinGW (IDXGIFactory6)

Godot version: Git https://github.com/godotengine/godot/commit/169159c8aac5807725594145bf029c0ff7ac8ef1
OS/device including version:

Ubuntu 20.04 on GitHub Actions, with MinGW from the mingw-w64 package and POSIX threads configured.
Also reproduced on Fedora 33 with the MinGW package.

Issue description:
I'm in the process of porting godot-builds-ci to use GitHub Actions and am running into a build error on my Windows targets.
The build fails due to a Vulkan/DirectX SDK issue:
thirdparty/vulkan/loader/loader.c: In function 'loader_create_instance_chain':
thirdparty/vulkan/loader/loader.c:6059:5: error: unknown type name 'IDXGIFactory6'; did you mean 'IDXGIFactory1'?
 6059 |     IDXGIFactory6* dxgi_factory = NULL;
      |     ^~~~~~~~~~~~~
      |     IDXGIFactory1
thirdparty/vulkan/loader/loader.c:6060:42: error: 'IID_IDXGIFactory6' undeclared (first use in this function); did you mean 'IID_IDXGIFactory5'?
 6060 |     HRESULT hres = fpCreateDXGIFactory1(&IID_IDXGIFactory6, (void **)&dxgi_factory);
      |                                          ^~~~~~~~~~~~~~~~~
      |                                          IID_IDXGIFactory5
thirdparty/vulkan/loader/loader.c:6060:42: note: each undeclared identifier is reported only once for each function it appears in
thirdparty/vulkan/loader/loader.c:6063:21: error: request for member 'lpVtbl' in something not a structure or union
 6063 |         dxgi_factory->lpVtbl->Release(dxgi_factory);
      |                     ^~
thirdparty/vulkan/loader/loader.c: In function 'ReadSortedPhysicalDevices':
thirdparty/vulkan/loader/loader.c:7088:5: error: unknown type name 'IDXGIFactory6'; did you mean 'IDXGIFactory1'?
 7088 |     IDXGIFactory6* dxgi_factory = NULL;
      |     ^~~~~~~~~~~~~
      |     IDXGIFactory1
thirdparty/vulkan/loader/loader.c:7089:42: error: 'IID_IDXGIFactory6' undeclared (first use in this function); did you mean 'IID_IDXGIFactory5'?
 7089 |     HRESULT hres = fpCreateDXGIFactory1(&IID_IDXGIFactory6, (void **)&dxgi_factory);
      |                                          ^~~~~~~~~~~~~~~~~
      |                                          IID_IDXGIFactory5
thirdparty/vulkan/loader/loader.c:7106:32: error: request for member 'lpVtbl' in something not a structure or union
 7106 |             hres = dxgi_factory->lpVtbl->EnumAdapterByGpuPreference(dxgi_factory, i, DXGI_GPU_PREFERENCE_UNSPECIFIED, &IID_IDXGIAdapter1, (void **)&adapter);
      |                                ^~
Compiling ==> thirdparty/vulkan/loader/unknown_ext_chain.c
thirdparty/vulkan/loader/loader.c:7106:86: error: 'DXGI_GPU_PREFERENCE_UNSPECIFIED' undeclared (first use in this function)
 7106 |             hres = dxgi_factory->lpVtbl->EnumAdapterByGpuPreference(dxgi_factory, i, DXGI_GPU_PREFERENCE_UNSPECIFIED, &IID_IDXGIAdapter1, (void **)&adapter);
      |                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
thirdparty/vulkan/loader/loader.c:7190:21: error: request for member 'lpVtbl' in something not a structure or union
 7190 |         dxgi_factory->lpVtbl->Release(dxgi_factory);
      |                     ^~
scons: *** [thirdparty/vulkan/loader/loader.windows.debug.64.o] Error 1
scons: building terminated because of errors.

We should either fix this on our end, or document what to do to fix this on the user's end.
Steps to reproduce:
On Linux, run scons platform=windows to compile Godot for Windows.

This is a mingw bug fixed in 8.0.

I'm Using gcc (tdm64-1) 9.2.0

I'm Using gcc (tdm64-1) 9.2.0

Current on commit 122a27523da45d68b98e53dc5d6ca2b95f908ad1,
The problem persists on MinGW 9.2.0

@siew24 Can you try with llvm-mingw? This is how I fixed my Godot builds: https://github.com/Calinou/godot-builds-ci/commit/8f438f4d35e6a2fbcb6517e02e62fcc375e4b8d1

The problem persists on MinGW 9.2.0

That version hasn't been released, the latest is MinGW 8.0.0.
9.2.0 is the version of the GCC compiler that is included in your MinGW distribution, not the MinGW headers. You likely have MinGW 6.0.0 or 7.0.0.

The problem persists on MinGW 9.2.0

That version hasn't been released, the latest is MinGW 8.0.0.
9.2.0 is the version of the GCC compiler that is included in your MinGW distribution, not the MinGW headers. You likely have MinGW 6.0.0 or 7.0.0.

Thanks for the heads up! Now I have the incentive to just use MSYS2 to handle package version control XD

@siew24 Can you try with llvm-mingw? This is how I fixed my Godot builds: Calinou/godot-builds-ci@8f438f4

I'm trying to use llvm-mingw. What should I add to the path? I added only the bin folder and I'm getting this error
[  5%] Linking Static Library ==> modules\libmodules.windows.tools.64.a [  5%] scons: *** [modules\libmodules.windows.tools.64.a] The system cannot find the file specified
I guess something is missing?

@RenFontes I'm not on my Windows install right now, but I remember having to add two different folders to the PATH for llvm-mingw to work. Also, make sure to pass use_mingw=yes use_llvm=yes use_lld=yes on the SCons command line.


[WIP] Compatible version lookup

Two (unrelated) changes for pack management:
Version lookup for incompatible packs
If stackstorm_version is specified for a pack, and the installed StackStorm version isn’t compatible (e.g. you’re running 2.1, but the latest sensu pack has stackstorm_version: >=2.2), a lookup will be performed.
StackStorm will look through other versions of the same pack with the following logic:

If stackstorm_version is present and compatible, it’s considered a strict match (explicitly guaranteed to work by the pack author). The most recent strict match will always be suggested to a user.

If a previous version has no stackstorm_version parameter, it’s considered a loose match (might be compatible or not). The most recent loose match will be suggested, but only if there’s no strict match, and there will be a warning that the version is not guaranteed to work.

This is untested, and some parts are pretty much a boilerplate, but I’ll have a lot of other stuff next week, so I wanted to get this branch out there and announce what I’m trying to do here, so that someone could pick it up given spare cycles.
@Kami: you can be that someone, but mostly just FYI :) We’ve discussed the version suggestions before.

Current coverage is 76.49% (diff: 100%)

Merging #3020 into master will decrease coverage by 0.07%

@@             master      #3020   diff @@
==========================================
  Files           428        428
  Lines         21891      21891
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          16759      16744    -15
- Misses         5132       5147    +15
  Partials          0          0

Diff Coverage
File Path

•••••••••• 100%
st2client/st2client/commands/pack.py

Powered by Codecov. Last update 5efee11...c444f40

Merging #3020 into master will decrease coverage by 0.07%

Noooooooo.

@emedvedev Sweet.
What's our plan for this - do we plan to ship it in v2.1 or not (just so I know how top prioritize reviewing, testing, etc.)? :)

@Kami what's the status for it?

I haven't had time to work on the automated tests yet so I said leave it for post v2.1.
But I guess a compromise could be just take the pack register change and leave version stuff for afterwards.

Will open a new PR just for the register syntax change.

I'm continuing to work on the pack register changes in #3043.
We should leave the version stuff as is for now and pick it up later after the v2.1.0 release.

Closing. Please reopen if you are actively working on this @enykeev.


Ctrl+N after selecting a Server, doesn't create new window under the Server connection

SQL Operations Studio Version:
0.23.6
Steps to Reproduce:

Connect to Localhost using Windows Authentication
Select Localhost in SERVERS pane
Ctrl + N
expected: New window opens connected to Localhost
actual: New window opens in disconnected state

@afroz429 we're currently tracking this suggestion in https://github.com/Microsoft/sqlopsstudio/issues/6.  This is an issue we plan to fix in an upcoming release.


Schema: skeleton

This adds a quick draft of the planned top-level and testcase schemas, as Pydantic models.
Running the script (i.e. python schema/models.py) will produce a corresponding JSON Schema on stdout, for the time being.
This adds a little self-management tool called limbo; limbo schema dumps the current top-level schema onto stdout.

Expanding from #3: given the WIP limbo CLI here, what I'm thinking (roughly) is:
# (re)generate testcase assets
limbo build-assets -o ./testcases/assets/

# compile all testcases in `./testcases` into `limbo.json`, validating their contents
limbo compile --testcases ./testcases -o ./limbo.json

(Where compile and build-assets are haphazard verbs.)


Additon of PaRe-reports in Hades

Hi @schuemie I went ahead and forked the Hades repository, and added the PaRe reports as a column on the Package statuses page (This made the most sense to me).

I've also included the script and log-file under ./extras/.
Everything ran fine, except for:
DeepPatientLevelPrediction
#> ! error in pak subprocess
#> Caused by error:
#> ! Could not solve package dependencies:
#> * dplyr: dependency conflict
#> * ParallelLogger: dependency conflict
#> * rlang: dependency conflict
#> * withr: dependency conflict
#> * reticulate: dependency conflict
#> * ohdsi/PatientLevelPrediction: Can't install dependency ohdsi/ParallelLogger (>= 2.0.0)
#> * ohdsi/ParallelLogger: Conflicts with ParallelLogger

EnsemblePatientLevelPrediction
#> ! error in pak subprocess
#> Caused by error:
#> ! Could not solve package dependencies:
#> * dplyr: dependency conflict
#> * ParallelLogger: dependency conflict
#> * rlang: dependency conflict
#> * tidyr: dependency conflict
#> * ohdsi/PatientLevelPrediction: Can't install dependency ohdsi/ParallelLogger (>= 2.0.0)
#> * ohdsi/ParallelLogger: Conflicts with ParallelLogger

Do you think it fits here? Or did you have something else in mind?
Also I don't mind running this once in a while, but I'd prefer if we could run it on a CRON schedule somehow, or run for a specific repo when they push to main. I'm not entirely sure on what the best approach is, or what is possible.

Cool! Yes, let's add it to that page.
I'm assuming the ParalleLogger issue with de PLP packages is because PLP references the GitHub ParallelLogger repo while ParallelLogger  is also on CRAN?
How long does it take to run Pare? Would we want to add it to the GitHub Action of each package, just like R check?

Cool! Yes, let's add it to that page.
I'm assuming the ParalleLogger issue with de PLP packages is because PLP references the GitHub ParallelLogger repo while ParallelLogger is also on CRAN?

Yes.

How long does it take to run Pare? Would we want to add it to the GitHub Action of each package, just like R check?

I've updated the function to add times, per report to the log-file (see below). In total, on my laptop, using 10 cores it takes roughly 6.5 min to run all 35 packages (Except the Ensemble and Deep PLP).
[*] Generated PaRe report for BrokenAdaptiveRidge [53.08 secs]
[*] Generated PaRe report for CohortExplorer [55.26 secs]
[*] Generated PaRe report for Eunomia [1 mins]
[*] Generated PaRe report for OhdsiSharing [1.04 mins]
[*] Generated PaRe report for Characterization [1.09 mins]
[*] Generated PaRe report for ResultModelManager [1.14 mins]
[*] Generated PaRe report for MethodEvaluation [1.17 mins]
[*] Generated PaRe report for Andromeda [33.57 secs]
[*] Generated PaRe report for BigKnn [26.67 secs]
[*] Generated PaRe report for Capr [1.09 mins]
[*] Generated PaRe report for FeatureExtraction [1.34 mins]
[*] Generated PaRe report for ROhdsiWebApi [1.47 mins]
[*] Generated PaRe report for CirceR [30.25 secs]
[*] Generated PaRe report for Hydra [36.18 secs]
[*] Generated PaRe report for CohortMethod [2.97 mins]
[*] Generated PaRe report for ShinyAppBuilder [32.39 secs]
[*] Generated PaRe report for PhenotypeLibrary [3.29 mins]
[*] Generated PaRe report for IterativeHardThresholding [23.39 secs]
[*] Generated PaRe report for Achilles [2.44 mins]
[*] Generated PaRe report for Cyclops [2.52 mins]
[*] Generated PaRe report for CohortGenerator [58.45 secs]
[*] Generated PaRe report for SqlRender [37.9 secs]
[*] Generated PaRe report for DataQualityDashboard [41.97 secs]
[*] Generated PaRe report for SelfControlledCaseSeries [1.47 mins]
[*] Generated PaRe report for PatientLevelPrediction [4.48 mins]
[*] Generated PaRe report for CohortDiagnostics [1.24 mins]
[*] Generated PaRe report for OhdsiShinyModules [3.68 mins]
[*] Generated PaRe report for DatabaseConnector [1.5 mins]
[*] Generated PaRe report for SelfControlledCohort [29.46 secs]
[!] Generating PaRe report for DeepPatientLevelPrediction failed
! error in pak subprocess
Caused by error:
! Could not solve package dependencies:
* dplyr: dependency conflict
* ParallelLogger: dependency conflict
* rlang: dependency conflict
* withr: dependency conflict
* reticulate: dependency conflict
* ohdsi/PatientLevelPrediction: Can't install dependency ohdsi/ParallelLogger (>= 2.0.0)
* ohdsi/ParallelLogger: Conflicts with ParallelLogger

[*] Generated PaRe report for EmpiricalCalibration [1.01 mins]
[*] Generated PaRe report for PheValuator [39.94 secs]
[*] Generated PaRe report for ParallelLogger [35.9 secs]
[*] Generated PaRe report for EvidenceSynthesis [56.65 secs]
[!] Generating PaRe report for EnsemblePatientLevelPrediction failed
! error in pak subprocess
Caused by error:
! Could not solve package dependencies:
* dplyr: dependency conflict
* ParallelLogger: dependency conflict
* rlang: dependency conflict
* tidyr: dependency conflict
* ohdsi/PatientLevelPrediction: Can't install dependency ohdsi/ParallelLogger (>= 2.0.0)
* ohdsi/ParallelLogger: Conflicts with ParallelLogger

Hmmm, maybe better to make this something I run offline every once in a while using your script. Could you create a PR?


Event flipped page

How can i get position of flipped page?
onFoldRotation is not suitable

Hi, try
Math.round(getFoldRotation() / 180f)

Hi. When? Where to try it?
I tried it in the method onFoldRotation(float v, boolean b)
public void onFoldRotation(float v, boolean b) {
        float mod = v % 180;
        if (mod == 0 && !b) {
            int position = (int)v / 180;
            //action
        }
    }

But, it's not working, because method is called on the first page and on the end page several times

Method is called on the first page and on the end page several times, when I pull the extreme Page

You can keep track of last selected position and filter duplicate results.

Thanks, I did so, but it's badcode(

Agree, there is a room for improvements, I will keep it in my todo list.


Added semi-colon to end of statements

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #13049

Description

Added semicolons (;) to the end of the statements in this challenge. This change removes the "Missing semicolon" flag and is the adopted convention.
Before revision:

After revision:

freeCodeCamp-staging.zip


Code lens "recent change" shows on every Python import statement that imports a Class or Function SymbolKind

GitLens Version: 8.2.4
VSCode Version: 1.23.0
OS Version: Windows 10 Version 1803

Steps to Reproduce:

Include Python import statements of the form from X import Y, where Y is a class or function. Eg.,

from unittest import TestCase
from unittest.mock import patch, Mock
from unittest import mock

class SampleTestCase(TestCase):
    def test_something(self):
        mock_patch = Mock(patch)
        self.assertTrue(isinstance(mock_patch, mock.Mock))

Observe that Code lens "recent change" annotations are listed above every import statement that imports a class or function.

62a7eaf368ef10ae170a3f8d358afaab9dcbd9f3 removed these annotations for imports of the form import X or from X import Y, where Y is a SymbolKind.Module, but they remain when Y is any other SymbolKind. I know there are settings for disabling "recent change" Code lens annotations (gitlens.codeLens.recentChange.enabled) and for disabling Code lens annotations altogether for different SymbolKinds, but this removes annotations that would be helpful elsewhere in the file.
With added settings
  "gitlens.debug": true,
  "gitlens.codeLens.scopesByLanguage": [
    {
      "language": "python",
      "scopes": [
        "document",
        "containers",
        "blocks"
      ]
    }
  ]

the example above shows as follows:

Adding "symbolScopes": ["!Module", "!Function", "!Class"] to my settings would also remove helpful Code lens annotations on the class and function definitions in the file.
Would it be possible to have Python import statements be treated differently for purposes of Code lens and only have annotations show up for SymbolKind.File on those lines?

Awesome product, by the way! I love it.

Unfortunately right now I don't think there is much I can do to address this. Although once https://github.com/Microsoft/vscode/issues/34968 lands I might be in a better position to be able to address this issue depending on the data provided by the language service and how abstract it can be.
Thanks! 😄

I also had this issue but updating to VS Code (1.24.1) and Gitlens (8.4.0) seem to have fixed the issue. Thanks!

I'm not sure why this changed -- maybe the python language service changed at the same time. @phillipdwright are you seeing this fixed as well?

Err. Nevermind, this was fixed as part of https://github.com/eamodio/vscode-gitlens/issues/331

#331 fixes this for imports of the form import X or from X import Y, where Y is a SymbolKind.Module. But the "recent change" annotations remain when Y is any other SymbolKind.  In particular, I still see this issue for imports of the form from X import Y, where Y is a SymbolKind.Class or a SymbolKind.Function.
As a workaround, I have "gitlens.codeLens.recentChange.enabled": false in my User Settings, but I know I'm missing out on a helpful feature.
I have updated to VS Code 1.24.1 and GitLens 8.4.0.

The only real option there is to use gitlens.codeLens.scopesByLanguage to pick and choose how you want each SymbolKind to behave.
Maybe once Microsoft/vscode#34968 lands and the language services provide more information, I can detect that those symbols are within an import and then suppress them

Microsoft/vscode#34968 has landed, but it doesn't seem to give what we would need (unless I'm misunderstanding something).
I came to this issue because of a similar issue with @matklad's rust-analyzer, where there is recent changes for every simple mod statement, which doesn't seem right:

Microsoft/vscode#34968 didn't expose any more information to GitLens, but https://github.com/Microsoft/vscode/issues/57984 fixed that (which will be released when the vscode 1.28 ships).
I have also made some changes in the next release of GitLens, to stop adding the authorship codelens unless the symbol is more than 1 line -- which should help with this issue as well.

Yeah - that change to stop one line recent changes is a good thing - that looks like it should fix it. Sorry to have bothered you!

No bother at all -- your post prompted me to add the single line change! 😄

I'm going to close this, as I believe this has been addressed now.


Changing the height of the button globally, affects the width of the button i.e it spans to full width of the screen

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Add theme in your MaterialApp

MaterialApp(
            theme: ThemeData(
        filledButtonTheme: FilledButtonThemeData(
            style:
                FilledButton.styleFrom(minimumSize: const Size.fromHeight(48))),
        outlinedButtonTheme: OutlinedButtonThemeData(
            style: OutlinedButton.styleFrom(
                minimumSize: const Size.fromHeight(48))));
          );

Now check the width of the OutlinedButton or FilledButton. It will be full width.

 OutlinedButton(onPressed: () {}, child: "Hello".text())

Try commenting and uncommenting the style in the first step to understand the difference to understand the difference

Without theme setting, has a proper width of child

With theme setting of height, the width of the button is now full

Expected results
Expected is because I have given only the height constraints and have no mention about the width of the button in the styling as mentioned above, I expect the button width to take only the width of the child, not the complete width.
Try commenting and uncommenting the style to understand the difference
Something like this but with the said height in the theme.

Actual results

Code sample

Add theme in your MaterialApp

MaterialApp(
            theme: ThemeData(
        filledButtonTheme: FilledButtonThemeData(
            style:
                FilledButton.styleFrom(minimumSize: const Size.fromHeight(48))),
        outlinedButtonTheme: OutlinedButtonThemeData(
            style: OutlinedButton.styleFrom(
                minimumSize: const Size.fromHeight(48))));
          );

Now check the width of the OutlinedButton or FilledButton. It will be full width.

 OutlinedButton(onPressed: () {}, child: "Hello".text())

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.7.3, on Microsoft Windows [Version 10.0.19044.2846], locale en-IN)
    • Flutter version 3.7.3 on channel stable at C:\Users\krisarya\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (3 months ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

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

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\krisarya\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

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

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 4.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 11.0.8+10-b944.6842174)

[√] VS Code, 64-bit edition (version 1.78.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.64.0

[√] Connected device (4 available)
    • RMX1851 (mobile)  • 4879d7d7 • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.19044.2846]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 113.0.5672.93
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 112.0.1722.71

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Hi @krishnaacharyaa
You're using Size.fromHeight on minimumSize which provides a given height but infinite width.
https://api.flutter.dev/flutter/dart-ui/Size/Size.fromHeight.html
Instead of use fixedSize, this will maintain the same fixed width and adjust the height.

code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(useMaterial3: true),
      home: const Example(),
    );
  }
}

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Sample'),
      ),
      body: Column(
        mainAxisAlignment: MainAxisAlignment.spaceEvenly,
        children: <Widget>[
          OutlinedButtonTheme(
            data: OutlinedButtonThemeData(
              style: OutlinedButton.styleFrom(
                maximumSize: const Size.fromHeight(70),
                fixedSize: const Size.fromHeight(70),
              ),
            ),
            child: Center(
              child: OutlinedButton(
                onPressed: () {},
                child: const Text('Hello'),
              ),
            ),
          ),
          SizedBox.fromSize(
            size: const Size.fromHeight(48),
            child: const ColoredBox(color: Colors.yellow),
          )
        ],
      ),
    );
  }
}

Hope this solves your issue.