[boost] build failure

Host Environment

OS: Windows10

To Reproduce
Steps to reproduce the behavior:
./vcpkg install boost:x64-windows
Failure logs
Additional packages (*) will be modified to complete this operation.
Starting package 1/146: boost-compatibility:x64-windows
Building package boost-compatibility[core]:x64-windows...
-- Using cached D:/vcpkg/downloads/boostorg-compatibility-boost-1.73.0.tar.gz
-- Using source at D:/vcpkg/buildtrees/boost-compatibility/src/ost-1.73.0-44642da97c
-- Packaging headers
-- Packaging headers done
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.73.0/LICENSE_1_0.txt...
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.73.0/LICENSE_1_0.txt... Failed. Status: 56;"Failure when receiving data from the peer"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):
  Failed to download file.
  If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
  variables to "https://user:password@your-proxy-ip-address:port/".
  Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
installed/x64-windows/share/boost-vcpkg-helpers/boost-modular-headers.cmake:17 (vcpkg_download_distfile)
ports/boost-compatibility/portfile.cmake:12 (boost_modular_headers)
scripts/ports.cmake:76 (include)
Error: Building package boost-compatibility:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-compatibility:x64-windows
Vcpkg version: 2020.02.04-nohash

Could you try to install that again, sometimes it does fail to download, :smile:

Could you try to install that again, sometimes it does fail to download, 😄

Actually I have already install it for so many times. I doubt that it might be my network issue at first, then I try to install opencv4 and it worked. So I guess maybe there is something wrong with the install URL(the 'raw.githubuserxxxxx')? I copy it to my browser and still cannot open it.

The link does open in my browser, if that is the one from the log which you post. Also I too installed that package a few hours back.

That means it would something wrong with my setting, I'll go to check it, thanks bro.


REPL breaks on some errors

Some errors break a REPL session in such way that it can't be used anymore, arrow keys for browsing history break etc.
This is on 1.4 from npm
$ lsc -d
LiveScript 1.4.0 - use 'lsc --help' for more information
ls> map 1, null

/usr/local/lib/node_modules/livescript/node_modules/prelude-ls/lib/List.js:13
  for (i$ = 0, len$ = xs.length; i$ < len$; ++i$) {
                        ^
[TypeError: Cannot read property 'length' of null]
ls>

...

undefined
ls> ^[[A^[[A^[[A^[[A^[[A

I had a look at this and can't figure it out.
The exception happens here https://github.com/gkz/LiveScript/blob/master/src/command.ls#L314 and is caught below but it screws up the repl somehow.
A peculiar thing I noticed is that if you ^D after getting an exception with throw \foo, the uncaughtException handler triggers with
TypeError: Cannot read property 'setRawMode' of null
    at ReadStream.setRawMode (tty.js:67:15)
    at Interface._setRawMode (readline.js:177:23)
    at Interface.close (readline.js:286:10)
    at ReadStream.ontermend (readline.js:105:10)
    at ReadStream.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickDomainCallback (node.js:381:11)

Why is it that throw \foo breaks the repl but this doesn't?
ls> test
[ReferenceError: repl:2
test is not defined]


flowchart.js integration with angular

I am trying to integrate flowchart.js with angular. I have included all the required files. But, I am getting some error like this..
zone-evergreen.js:172 Uncaught TypeError: Raphael is not a constructor
at new FlowChart (flowchart-latest.js:955)
at Object.drawSVG (flowchart-latest.js:675)
at btn.onclick (check.js:14)
at window.onload (check.js:57)
at wrapFn (zone-evergreen.js:1202)
at ZoneDelegate.invokeTask (zone-evergreen.js:400)
at Zone.runTask (zone-evergreen.js:168)
at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:481)
at invokeTask (zone-evergreen.js:1596)
at globalZoneAwareCallback (zone-evergreen.js:1633)
Can anyone find the issue..
Thanks in Advance.

Have you included the raphael script? https://github.com/adrai/flowchart.js/blob/master/example/index.html#L9

Yes, I have included it. Please find the attachment of my angular app
app files.zip

Sorry, I'm not familiar with angular...
but when I open your files, I get:

How did you execute the above files? In angular or just opened normal html file?
I am not getting the output in angular...!

I opened the served html

Can you create a codesandbox example?


Why DefaultInstanceId does not include hostname?

https://github.com/spring-cloud/spring-cloud-consul/blob/38928ae253e7d6760fdccd14df856ed3dd6fd5b4/spring-cloud-consul-discovery/src/main/java/org/springframework/cloud/consul/serviceregistry/ConsulAutoRegistration.java#L139
If user doesn't config the instanceId, it will fall back to this line to getDefaultInstanceId();
I wonder why includeHostname param is fixed to false?
I have several instances running in different host and same port, same appName, they will share a same  instanceId.
Maybe there should be annother config option instanceIdIncludeHostname?

Looks this PR.
I add a property to control 'whether hostname is included into the default instance id when registering service'.
And I think instanceId won't be used in 'consul dns query', so it is no necessary to be dns compliant ?

Has been fixed in #570


Generic Repository: NonNullable<EntityProps<..>> gets wrong fields?

Describe the bug
If you have a generic Repository somehow NonNullable<EntityProps<..>> returns the wrong fields making findOne(..) and the other functions unusable.
To Reproduce
Steps to reproduce the behavior:

Generic Repository:

export class GenericRepository<
  EntityType extends { id: string }
> extends EntityRepository<EntityType> {

Any call to the repository

async test(id: string): Promise<void> {
    await this.findOne({ id }); // Has error displayed on number 3 in this list

Error:

Argument of type '{ id: string; }' is not assignable to parameter of type 'FilterQuery<EntityType>'.
  Object literal may only specify known properties, and 'id' does not exist in type 'NonNullable<EntityProps<EntityType> & OperatorMap<EntityType>> | FilterQuery<EntityType>[]'

To be precice, EntityType has no fields, even if I add more fields to the base class that it extends
Expected behavior
Generic repositories have the correct type informations in their functions
Versions

Dependency
Version

node
19.5.0

typescript
4.8.2

mikro-orm
5.6.8

your-driver
mariadb

Not sure if this is really an issue or if I am just to dumb. Thanks anyways!

Duplicate of #1405


upgrading flux, influxdb, influx-cli

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Change Log

Fixed libflux.so file linking in flux package
Upgraded flux from 0.179.0 to version 0.191.0
Upgraded influxdb from 2.4.0 to version 2.6.1
Upgraded influx-cli from 2.4.0 to version 2.6.1

Does this affect the toolchain?

NO
Associated issues

Links to CVEs
Test Methodology

Local
Official Pipeline

Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x]  The toolchain has been rebuilt successfully (or no changes were made to it)
[x]  The toolchain/worker package manifests are up-to-date
[x]  Any updated packages successfully build (or no packages were changed)
[x]  Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x]  Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x]  All package sources are available
[x]  cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x]  LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x]  All source files have up-to-date hashes in the *.signatures.json files
[x]  sudo make go-tidy-all and sudo make go-test-coverage pass
[x]  Documentation has been updated to match any changes to the build system
[ ]  Ready to merge

Summary
What does the PR accomplish, why was it needed?
Change Log

Fixed libflux.so file linking in flux package
Upgraded flux from 0.179.0 to version 0.191.0
Upgraded influxdb from 2.4.0 to version 2.6.1
Upgraded influx-cli from 2.4.0 to version 2.6.1

Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology

Local
Official Pipeline

Contributing.md

Contributing.md


Support using txn.del() with key/data pair when dupSort enabled

Fixes #79.
txn.del() will now use the third argument, if given and if dupSort is enabled on the dbi, and pass it to mdb_del(). This allows deletion of a specific key/value pair, instead of deleting all entries with the given key.
I've also added the flags used when opening as a member of DbiWrap, which could prove useful in other things as well.

Hi @Venemo, any concerns with merging this PR?

@rneilson Nice work, thank you!


[camerax] camera_android_camerax doesn't support wide field of view on Galaxy XCover6 Pro (SM-G736B)

What package does this bug report belong to?
camera
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://pub.dev"
    source: hosted
    version: "2.11.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  camera:
    dependency: "direct main"
    description:
      name: camera
      sha256: "9499cbc2e51d8eb0beadc158b288380037618ce4e30c9acbc4fae1ac3ecb5797"
      url: "https://pub.dev"
    source: hosted
    version: "0.10.5+9"
  camera_android:
    dependency: transitive
    description:
      name: camera_android
      sha256: ae5b9a996dfb8d77b02031b67f5500873d6402f33bd6a5283e932eef08542a51
      url: "https://pub.dev"
    source: hosted
    version: "0.10.9"
  camera_android_camerax:
    dependency: "direct main"
    description:
      name: camera_android_camerax
      sha256: "6a67149f9b05119eb9d047ff9f79280288c88690c390a6a3b5f0993bc7ccb39e"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.2"
  camera_avfoundation:
    dependency: transitive
    description:
      name: camera_avfoundation
      sha256: "608b56b0880722f703871329c4d7d4c2f379c8e2936940851df7fc041abc6f51"
      url: "https://pub.dev"
    source: hosted
    version: "0.9.13+10"
  camera_platform_interface:
    dependency: transitive
    description:
      name: camera_platform_interface
      sha256: a250314a48ea337b35909a4c9d5416a208d736dcb01d0b02c6af122be66660b0
      url: "https://pub.dev"
    source: hosted
    version: "2.7.4"
  camera_web:
    dependency: transitive
    description:
      name: camera_web
      sha256: "9e9aba2fbab77ce2472924196ff8ac4dd8f9126c4f9a3096171cd1d870d6b26c"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.3"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
      url: "https://pub.dev"
    source: hosted
    version: "1.17.2"
  cross_file:
    dependency: transitive
    description:
      name: cross_file
      sha256: "2f9d2cbccb76127ba28528cb3ae2c2326a122446a83de5a056aaa3880d3882c5"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.3+7"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
      url: "https://pub.dev"
    source: hosted
    version: "1.0.6"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_lints:
    dependency: "direct dev"
    description:
      name: flutter_lints
      sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
      url: "https://pub.dev"
    source: hosted
    version: "2.0.3"
  flutter_plugin_android_lifecycle:
    dependency: transitive
    description:
      name: flutter_plugin_android_lifecycle
      sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da
      url: "https://pub.dev"
    source: hosted
    version: "2.0.17"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  js:
    dependency: transitive
    description:
      name: js
      sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
      url: "https://pub.dev"
    source: hosted
    version: "0.6.7"
  lints:
    dependency: transitive
    description:
      name: lints
      sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
      url: "https://pub.dev"
    source: hosted
    version: "0.12.16"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
      url: "https://pub.dev"
    source: hosted
    version: "0.5.0"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
      url: "https://pub.dev"
    source: hosted
    version: "1.9.1"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
      url: "https://pub.dev"
    source: hosted
    version: "1.8.3"
  plugin_platform_interface:
    dependency: transitive
    description:
      name: plugin_platform_interface
      sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.8"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
      url: "https://pub.dev"
    source: hosted
    version: "1.10.0"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
      url: "https://pub.dev"
    source: hosted
    version: "1.11.0"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  stream_transform:
    dependency: transitive
    description:
      name: stream_transform
      sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.0"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  web:
    dependency: transitive
    description:
      name: web
      sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
      url: "https://pub.dev"
    source: hosted
    version: "0.1.4-beta"
sdks:
  dart: ">=3.1.1 <4.0.0"
  flutter: ">=3.13.0"

Steps to reproduce
With the camera package (prior to the camera_android_camerax implementation), initializing the controller with cameras[2] would give access to the wide FoV camera.
In the new camera_android_camerax implementation, this does not work.
On a different device (Galaxy S22), setting zoom level to 0.6 worked.
However on this device (Galaxy XCover6 Pro) the minimum zoom is limited to 1.0.
So - on the Xcover6 Pro device, using the camera_android_camerax implementation, there is no way to get wide FoV images.

Initialize camera controller
Set zoom level to 0.6
Take picture

OR

Initialize camera controller with cameras[2]
Take picture

Expected results
Get wide FoV image
Actual results
Get normal FoV (zoom = 1.0) image
Code sample
Code sample
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:camera/camera.dart';

void main() {
  runApp(const MyApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;
  CameraController? controller;
  FileImage? fileImage;
  XFile? xFile;

  @override
  void initState() {
    super.initState();
    initCamera();
  }

  void initCamera() async {
    final cameras = await availableCameras();
    controller = CameraController(
        cameras[0],
        ResolutionPreset.ultraHigh,
        enableAudio: false,
        imageFormatGroup: ImageFormatGroup.jpeg
    );
    await controller!.initialize();
    await controller!.setFlashMode(FlashMode.off);

    await controller!.setZoomLevel(0.6);
    print("Minimum zoom level: ${await controller!.getMinZoomLevel()}");
  }

  void _incrementCounter() async {
    xFile = await controller!.takePicture();
    fileImage = FileImage(File(xFile!.path));
    setState(() {
      _counter++;
    });
  }

  SizedBox imageBox() {
    return
      SizedBox(
          height: 163,
          width: 210,
          child: Center(
              child: (fileImage != null) ? Image(
                  image: fileImage!,
                  height: 163,
                  width: 210,
                  fit: BoxFit.fitWidth
              ) : const Text('No image')
          )
      );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
            imageBox(),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Screenshots or Videos

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.3, on macOS 14.4.1 23E224 darwin-arm64, locale)
    • Flutter version 3.13.3 on channel stable at
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (7 months ago), 2023-09-06 14:32:31 -0700
    • Engine revision b8d35810e9
    • Dart version 3.1.1
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.72.0)
    • VS Code at
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] VS Code (version 1.84.0)
    • VS Code at
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • SM G736B (mobile) • android-arm64  • Android 14 (API 34)

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

! Doctor found issues in 1 category.

Hi @livnehra

However on this device (Galaxy XCover6 Pro) the minimum zoom is limited to 1.0.

I think this is intended behavior since the supplied zoom value should be between 1.0 and the maximum supported zoom level (please see this)

On a different device (Galaxy S22), setting zoom level to 0.6 worked.

Does this mean getMinZoomLevel will return 0.6 with camerax? (expected result) And this is a device-specific issue on Galaxy XCover6 Pro, right?
I checked this on my device Realme 6, Android 11, getMinZoomLevel returns 1.0 too.

Yes:

On the XCover6 Pro, getMinZoomLevel returns 1.0, and that is what we can set.
On the S22 getMinZoomLevel returns 0.6 and that is what we can set.

So you could say that everything is working as intended.
But the point is that until now my app worked on XCover6 Pro by choosing cameras[2] - so I had a way to get the wide FoV. That method does not work anymore in the camerax implementation - there doesn't seem to be a difference between choosing cameras[0] or cameras[2] (the 2 back side cameras). Since the default Android implementation of camera is planned to be camerax starting next month - I will not be able to use it, since it offers no way to get the wide FoV on this model.
It should be noted that using the native camera app on the XCover6 pro allows zooming out all the way to 0.5 - so this is definitely a feature that the hardware supports, but does not seem to be supported by the camerax implementation.
For my purposes, a good enough solution would be to still allow choosing cameras[2] - I don't need access to the whole range of zooms between 0.5..1.0.

Thanks for the update. I don't have such a device (XCover6 Pro) to check this. I will label this for other's input.

@camsim99 this is a feature that seems to be different between the 2 packages.

@camsim99 this is a feature that seems to be different between the 2 camera_android packages.

Yes this is true. My understanding from this issue, though, is that some devices still allow the wide angle and some do not using the CameraX plugin. This may be a result of some manufacturers not exposing it as described in this discussion, so we may need to try Camera2 interop to try exposing it for all devices that support it.

Based on that thread I would consider closing this as a device manufacture issue since the root of the problem seems to be manufactures providing a non deterministic way to expose wide angle as opposed to a bug in our (or camerax's) implementation)

From triage: We recognize that this is a feature regression. We will leave this open, but we believe the right place for this change is the CameraX library.

Hi, I am having the same behaviour on the following Samsung Galaxy devices:

S23 SM-S911B/DS
A23 SM-A236B/DSN
XCover Pro SM-G715FN/DS

On all of them, when cycling through the available cameras, while using camera_android, I get wide FoV, but not while using camera_android_camerax.

@camsim99 do you have a link to the internal camerax bug tracking this?

Based on https://b.corp.google.com/issues/247725855 it is supported.

My understanding from this issue, though, is that some devices still allow the wide angle and some do not using the CameraX plugin. This may be a result of some manufacturers not exposing it as described in this discussion, so we may need to try Camera2 interop to try exposing it for all devices that support it.

I think we just believe that it may not be available for all devices based on that discussion.


Error in trying to run the software developer challenge test.

Summary: I Can't test the compiler function in the software developer challenge because of a json error.
Expected Behavior
The program should tell me how much faster and better my compiler is compared to the QISkit reference compiler.
Current Behavior
This is what I get instead
vtomole@vtomole:~/noy/challenge$ python test.py
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
 File "/home/vtomole/anaconda/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
   r = call_item.fn(*call_item.args, **call_item.kwargs)
 File "/home/vtomole/anaconda/lib/python3.6/site-packages/qiskit/_jobprocessor.py", line 54, in run_backend
   return backend.run(q_job)
 File "/home/vtomole/anaconda/lib/python3.6/site-packages/qiskit/backends/_qiskit_cpp_simulator.py", line 83, in run
   result = run(qobj, self._configuration['exe'])
 File "/home/vtomole/anaconda/lib/python3.6/site-packages/qiskit/backends/_qiskit_cpp_simulator.py", line 160, in run
   cresult = json.loads(cout.decode())
 File "/home/vtomole/anaconda/lib/python3.6/json/__init__.py", line 354, in loads
   return _default_decoder.decode(s)
 File "/home/vtomole/anaconda/lib/python3.6/json/decoder.py", line 339, in decode
   obj, end = self.raw_decode(s, idx=_w(s, 0).end())
 File "/home/vtomole/anaconda/lib/python3.6/json/decoder.py", line 357, in raw_decode
   raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
 File "test.py", line 33, in <module>
   result = evaluate(compiler_function, test_circuits, verbose=True, backend = backend)
 File "/home/vtomole/noy/challenge/challenge_evaluation.py", line 271, in evaluate
   data_original = res_original.get_data(name)
 File "/home/vtomole/anaconda/lib/python3.6/site-packages/qiskit/_result.py", line 204, in get_data
   raise exception
 File "/home/vtomole/anaconda/lib/python3.6/site-packages/qiskit/_jobprocessor.py", line 99, in _job_done_callback
   result = future.result()
 File "/home/vtomole/anaconda/lib/python3.6/concurrent/futures/_base.py", line 398, in result
   return self.__get_result()
 File "/home/vtomole/anaconda/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result
   raise self._exception
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Steps to Reproduce (for bugs)
Run a script that contains:
# Import your solution function
from challenge_submission import compiler_function

# Import submission evaluation and scoring functions
from challenge_evaluation import evaluate, score

# Possibly useful other helper function
from challenge_evaluation import qasm_to_dag_circuit, load_coupling, get_layout

# Select the simulation backend to calculate the quantum states resulting from the circuits
# On Windows platform the C++ Simulator is not yet available with pip install
backend = 'local_qiskit_simulator'

ex_nr = 1
test_circuit_filenames = {}

for i in range(ex_nr):
    test_circuit_filenames['circuits/random%d_n5_d5.qasm' % i] = get_layout(5)
for i in range(ex_nr):
    test_circuit_filenames['circuits/random%d_n16_d16.qasm' % i] = get_layout(16)
for i in range(ex_nr):
    test_circuit_filenames['circuits/random%d_n20_d20.qasm' % i] = get_layout(20)

    test_circuits = {}

for filename, cmap in test_circuit_filenames.items():
    with open(filename, 'r') as infile:
        qasm = infile.read()
        test_circuits[filename] = {"qasm": qasm, "coupling_map": cmap}

result = evaluate(compiler_function, test_circuits, verbose=True, backend = backend)

myres = score(compiler_function, backend = backend)
print("Your compiler scored %6.5f x better \
and was %6.5f x faster than the QISKit reference compiler." % myres)

Context
This issue is preventing me from testing the performance of my implementation of the compiler function.
Your Environment

Version used: qiskit version: 0.4.5

Environment name and version (e.g. Python 3.6.1): Python 3.6.2 :: Anaconda custom (64-bit)

Operating System and version: Ubuntu 16.04

The missing file in the last comment is restored (download the latest version of the developer challenge).
I have not been able to reproduce the original issue though.

I ran  HowTo-QISKit_Developer_Challenge.ipynb again on 8 GB RAM. Specifically: https://github.com/vtomole/qchackers/blob/master/software/qiskit/test.py. I got
vtomole@vtomole:~/qchackers/software/qiskit/challenge_24_1_2018$ python test.py
['ibmqx5',
 'ibmqx4',
 'ibmqx_hpc_qasm_simulator',
 'ibmqx2',
 'ibmqx_qasm_simulator',
 'local_qasm_simulator',
 'local_clifford_simulator',
 'local_qiskit_simulator',
 'local_unitary_simulator']
An error occurred in the user compiler while running circuits/random3_n20_d20.qasm on {0: [5, 1], 2: [3], 7: [6], 8: [13, 9, 7], 11: [10], 12: [17, 7, 13, 11], 13: [14], 15: [16], 18: [13, 19, 17], 6: [1], 3: [8], 9: [14, 4], 16: [11], 19: [14]}.
An error occurred in the QISKit compiler while running circuits/random3_n20_d20.qasm on {0: [5, 1], 2: [3], 7: [6], 8: [13, 9, 7], 11: [10], 12: [17, 7, 13, 11], 13: [14], 15: [16], 18: [13, 19, 17], 6: [1], 3: [8], 9: [14, 4], 16: [11], 19: [14]}.
Traceback (most recent call last):
  File "test.py", line 42, in <module>
    myres = score(compiler_function, backend = backend)
  File "/home/vtomole/qchackers/software/qiskit/challenge_24_1_2018/challenge_evaluation.py", line 80, in score
    res = evaluate(compiler_function, test_circuits, verbose=True, backend = backend)
  File "/home/vtomole/qchackers/software/qiskit/challenge_24_1_2018/challenge_evaluation.py", line 226, in evaluate
    res_original = qp.run(qobj_original, timeout=GLOBAL_TIMEOUT)
  File "/home/vtomole/anaconda3/lib/python3.6/site-packages/qiskit/_quantumprogram.py", line 1233, in run
    self.wait_for_results(timeout)
  File "/home/vtomole/anaconda3/lib/python3.6/site-packages/qiskit/_quantumprogram.py", line 1341, in wait_for_results
    'seconds.'.format(timeout))
qiskit._qiskiterror.QISKitError: 'Error waiting for Job results: Timeout after 10800 seconds.'

It looks like my machine is not powerful enough to test these circuits. What do you recommend i do?

@vtomole, are you running on Windows? I'm wondering if that's why you get errors from the faster local_qiskit_simulator.
Your test script shows you are using the local_qasm_simulator, which is a slow simulator written in Python. So I'm not not surprised that the simulations do not finish in a reasonable time. You may use this slower backend to test your solution on the smaller circuits for now (5 and perhaps 16 qubits). But for the 20 qubits you really need the local_qiskit_simulator, implemented in C++.
@atilag is working on a Windows solution to this I think (#265).

@ajavadia  I'm on Ubuntu 16.04. Re-running with local_qasm_simulator now.  I'll update you on the results.

@vtomole Your hardware should not be a problem. The largest circuits in the tests have 20 qubits, so the quantum state vector easily fits inside memory (~16MB). The problem is just that local_qasm_simulator is Python-based and slow. You will have to run the large circuits using a c++ simulator. QISKit's native c++ simulator is local_qiskit_simulator.
Here is another solution:
You can run your circuits using Project Q's simulator. This is another fast c++ simulator. Here are the steps:

First install projectq: python -m pip install --user projectq
If you successfully got projectq, including its simulator, then you should be able to see it in QISKit's available backends by running this in Python:

import Qconfig
from qiskit import QuantumProgram
qp = QuantumProgram()
qp.set_api(Qconfig.APItoken, Qconfig.config['url'])
qp.available_backends()

Verify that you have local_projectq_simulator.
3. Change backend=local_projectq_simulator
4. In challenge_evaluation.py, wherever you see seed=None, change it to seed=1.
5. In challenge_evaluation.py, change GLOBAL_TIMEOUT = 3600 to GLOBAL_TIMEOUT = 7200.
6. Run the score function again.
Let me know if this works.

vtomole@vtomole:~/qchackers/software/challenge_24_1_2018$ python test.py
An error occurred in the user compiler while running circuits/random3_n20_d20.qasm on {0: [5, 1], 2: [3], 7: [6], 8: [13, 9, 7], 11: [10], 12: [17, 7, 13, 11], 13: [14], 15: [16], 18: [13, 19, 17], 6: [1], 3: [8], 9: [14, 4], 16: [11], 19: [14]}.
An error occurred in the QISKit compiler while running circuits/random3_n20_d20.qasm on {0: [5, 1], 2: [3], 7: [6], 8: [13, 9, 7], 11: [10], 12: [17, 7, 13, 11], 13: [14], 15: [16], 18: [13, 19, 17], 6: [1], 3: [8], 9: [14, 4], 16: [11], 19: [14]}.
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/home/vtomole/anaconda3/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/vtomole/anaconda3/lib/python3.6/site-packages/qiskit/_jobprocessor.py", line 54, in run_backend
    return backend.run(q_job)
  File "/home/vtomole/anaconda3/lib/python3.6/site-packages/qiskit/backends/_qiskit_cpp_simulator.py", line 84, in run
    result = run(qobj, self._configuration['exe'])
  File "/home/vtomole/anaconda3/lib/python3.6/site-packages/qiskit/backends/_qiskit_cpp_simulator.py", line 161, in run
    cresult = json.loads(cout.decode())
  File "/home/vtomole/anaconda3/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/home/vtomole/anaconda3/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/home/vtomole/anaconda3/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "test.py", line 38, in <module>
    myres = score(compiler_function, backend = backend)
  File "/home/vtomole/qchackers/software/challenge_24_1_2018/challenge_evaluation.py", line 80, in score
    res = evaluate(compiler_function, test_circuits, verbose=True, backend = backend)
  File "/home/vtomole/qchackers/software/challenge_24_1_2018/challenge_evaluation.py", line 299, in evaluate
    data_original = res_original.get_data(name)
  File "/home/vtomole/anaconda3/lib/python3.6/site-packages/qiskit/_result.py", line 204, in get_data
    raise exception
  File "/home/vtomole/anaconda3/lib/python3.6/site-packages/qiskit/_jobprocessor.py", line 99, in _job_done_callback
    result = future.result()
  File "/home/vtomole/anaconda3/lib/python3.6/concurrent/futures/_base.py", line 398, in result
    return self.__get_result()
  File "/home/vtomole/anaconda3/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

test.py: https://github.com/vtomole/qchackers/blob/master/software/qiskit/challenge_24_1_2018/test.py

@vtomole this is the original issue you reported, with local_qiskit_simulator. Did you try the Project Q simulator that I mentioned above?

I installed projectq, but the back-end is not being detected.
vtomole@vtomole:~/qchackers/software/qiskit/challenge_24_1_2018$ python -m pip install --user projectq
Requirement already satisfied: projectq in /home/vtomole/.local/lib/python3.6/site-packages
Requirement already satisfied: numpy in /home/vtomole/anaconda3/lib/python3.6/site-packages (from projectq)
Requirement already satisfied: future in /home/vtomole/.local/lib/python3.6/site-packages (from projectq)
Requirement already satisfied: pytest>=3.1 in /home/vtomole/.local/lib/python3.6/site-packages (from projectq)
Requirement already satisfied: pybind11!=2.2.0,>=1.7 in /home/vtomole/.local/lib/python3.6/site-packages (from projectq)
Requirement already satisfied: requests in /home/vtomole/anaconda3/lib/python3.6/site-packages (from projectq)
Requirement already satisfied: scipy in /home/vtomole/anaconda3/lib/python3.6/site-packages (from projectq)
Requirement already satisfied: py>=1.5.0 in /home/vtomole/.local/lib/python3.6/site-packages (from pytest>=3.1->projectq)
Requirement already satisfied: pluggy<0.7,>=0.5 in /home/vtomole/.local/lib/python3.6/site-packages (from pytest>=3.1->projectq)
Requirement already satisfied: six>=1.10.0 in /home/vtomole/anaconda3/lib/python3.6/site-packages (from pytest>=3.1->projectq)
Requirement already satisfied: attrs>=17.2.0 in /home/vtomole/.local/lib/python3.6/site-packages (from pytest>=3.1->projectq)
Requirement already satisfied: setuptools in /home/vtomole/anaconda3/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg (from pytest>=3.1->projectq)
vtomole@vtomole:~/qchackers/software/qiskit/challenge_24_1_2018$ python
Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import Qconfig
>>> from qiskit import QuantumProgram
>>> qp = QuantumProgram()
>>> qp.set_api(Qconfig.APItoken, Qconfig.config['url'])
>>> qp.available_backends()
['ibmqx5', 'ibmqx4', 'ibmqx_hpc_qasm_simulator', 'ibmqx2', 'ibmqx_qasm_simulator', 'local_qasm_simulator', 'local_clifford_simulator', 'local_qiskit_simulator', 'local_unitary_simulator']

@ajavadia I solved that problem here: https://github.com/ProjectQ-Framework/ProjectQ/issues/202#issuecomment-363472926.
It runs on local_projectq_simulator now.
vtomole@vtomole:~/qchackers/software/qiskit/challenge_24_1_2018$ python test.py
An error occurred in the user compiler while running circuits/random3_n20_d20.qasm on {0: [5, 1], 2: [3], 7: [6], 8: [13, 9, 7], 11: [10], 12: [17, 7, 13, 11], 13: [14], 15: [16], 18: [13, 19, 17], 6: [1], 3: [8], 9: [14, 4], 16: [11], 19: [14]}.
An error occurred in the QISKit compiler while running circuits/random3_n20_d20.qasm on {0: [5, 1], 2: [3], 7: [6], 8: [13, 9, 7], 11: [10], 12: [17, 7, 13, 11], 13: [14], 15: [16], 18: [13, 19, 17], 6: [1], 3: [8], 9: [14, 4], 16: [11], 19: [14]}.
Your compiler scored 0.96774 x better and was 0.96675 x faster than the QISKit reference compiler.

Thank you.

@vtomole, great, i'm glad it worked.
that is a numerical precision issue that has been observed on some systems with some input circuits. it is being tracked elsewhere (#158). it is specific to the current compiler implementation, so the improved compiler that you submit does not have to encounter this error.
i will close this issue but feel free to reopen if you run into other problems.


pycon21: Update to add NumPy

Description
Added a mentored sprint project.
Related issue
N/A
List of changes
Added numpy in a manner analogous to the scipy implementation.
Feedback request
N/A.

Can't seem to add the Labels mentioned in the contributing guide somehow; but this should be ready for review.


ffe-buttons-react: element prop type should accept elementType

Which package is this issue related to?
ffe-buttons-react
possibly others?
Describe your issue (screenshots welcome!)
Buttons are complaining when Link from react-router-dom is provided as element.
This component is wrapped in React.forwardRef(), and this creates an element object. This is fully usable as element for the buttons, but the prop types are complaining.
What is the expected behavior?
I expect element objects created by things like React.forwardRef() and React.memo() to be accepted by the prop types for button's element property.
Suggested solution
Add the prop type elementType to the array of accepted types.
Be sure to do this for each button, and the base button components.
Steps to reproduce
The following code will work just fine, but will produce prop type warnings in the console:
<TertiaryButton element={ Link } to={ somePath }>
  Click me
</TertiaryButton>

Other notes
This issue might also apply to other packages and components.
Possibly anywhere we have element: oneOfType([func, string]), we could add elementType to the list.

Can't we just add node and be done with it? :)

Can't we just add PropTypes.node and be done with it? :)

No, because it's not a node either. Here's an example showing what the various prop types are for:
const SomeComponent = () =>
Hello world
;
const ComponentWithForwardRef = React.forwardRef(SomeComponent);

<MyComponent
  func={ SomeComponent }
  string={ 'div' }
  node={ <SomeComponent /> }
  elementType={ ComponentWithForwardRef }
/>

Note that node is not useful/usable for our buttons at all, but the three others are.

Ah right, a node is just anything that can be rendered but a class reference can't be rendered directly.


feat: configure fluentbit

Which issue(s) this PR fixes

Fixes #221
Additional comments

Depends on:

https://github.com/TOSIT-IO/tdp-collection-prerequisites/pull/63
https://github.com/TOSIT-IO/tdp-collection/pull/652

This PR showcases how to configure Fluentbit through tdp-collection-prerequisites to take advantage of the automatic Fluentbit configuration files creation for log tailing in tdp-collection.
Agreements

[X] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004.
[X] I hereby agree to grant TOSIT a copyright license to use my contributions.

Closing since https://github.com/TOSIT-IO/tdp-collection-prerequisites/pull/63 won't be merged in favor of https://github.com/TOSIT-IO/tdp-observability/pull/24


Jib log refactor

@rohanKanojia
ConsoleLogger from Jib is asynchronous and event based so it required some synchronization.
ConsoleLogger was added here https://github.com/fabric8io/fabric8-maven-plugin/commit/cef5ab136af5d3b10177db0dcd06c2cd0ca4f44f .
The logs get scattered and disorganized whenever the build fails, if not synchronized with a singleThreadExecutor. The PR does that.

Please, consider trying the suggestion we discussed yesterday first.

The only reason why ConsoleLogger prints messages before the maven build complete (failed/success) message is print is because the singleThreadExecutor in ConsoleLogger acts as a blocking queue for log messages posted there. So it will block execution until all messages sent to the logger are posted before the shutDownAndAwaitTermination method in singleThreadExecutor is invoked. This doesn't translate in your method waiting for jib build to finish which is what you're assuming here.
The only way to wait for jibContainerBuilder to finish its' parallel execution is to provide our own executor setExecutorService(jibBuildExecutor) and await termination of the submitted jobs. (JibContainerBuilder internally performs a Future#get of the jobs posted to the provided ExecutorService)
e.g. for buildContainer method:
    static void buildContainer(JibContainerBuilder jibContainerBuilder, TarImage image, Logger logger)
    throws InterruptedException {
        final ExecutorService jibBuildExecutor = Executors.newSingleThreadExecutor();
        try {
            jibContainerBuilder.setCreationTime(Instant.now());
            jibContainerBuilder.containerize(Containerizer.to(image)
              .setExecutorService(jibBuildExecutor)
              .addEventHandler(LogEvent.class, log(logger))
              .addEventHandler(TimerEvent.class, new TimerEventHandler(logger::debug))
              .addEventHandler(ProgressEvent.class, new ProgressEventHandler(logUpdate(logger))));
        } catch (CacheDirectoryCreationException | IOException | ExecutionException | RegistryException ex) {
            logger.error("Unable to build the image tarball: ", ex);
            throw new IllegalStateException(ex);
        } catch (InterruptedException ex) {
            logger.error("Thread interrupted", ex);
            throw ex;
        }
        jibBuildExecutor.awaitTermination(THREAD_EXECUTOR_TIMEOUT_SECONDS, TimeUnit.SECONDS);
    }

Closing this as #1798 takes care of the issue.


user guide doc on how to scrape coherence server members with external prometheus server

Requirements:

Describe how to discover coherence cache server members endpoint
without relying on the cohernece-operator subchart prometheusoperator.enabled set to true.

Prerequisites for coherence versions required.

Troubleshooting section for when failing to scrape coherence metrics.

@jfialli we should include these instructions in the sample here - https://github.com/oracle/coherence-operator/tree/issue-77-support-for-external-prometheus-server/docs/samples/operator/metrics/own-prometheus

https://github.com/oracle/coherence-operator/pull/199


Support running tests against java builds with no bin/java.exe

The AdoptOpenjdk java 8 builds do not have a bin/java(.exe) file, they only have a jre/bin/java(.exe) file.
STF requires that JAVA_HOME points to the directory above the /bin containing java(.exe).  If that is set to /jre it is OK for most tests, but tests which need access to tools such as javac, javah or jar cannot then locate them via JAVA_HOME.

The latest AdoptOpenJDK java 8 builds do have a bin/java.exe file, so this doesn't need to be done unless we encounter any other jre builds with no bin/java.exe in future.

@lumpfish yeah that shouldn't have been happening.... Have you got a copy of the Binary that didn't have bin/java.exe?

I had deleted the old binary I was using when I got the latest version.  I've re downloaded it from the AdtopOpenJDK download site, but the bin/java.exe is there.  I can only assume I had accidentally deleted the java.exe on my local machine.


Cobigen CLI commands are not working

Expected behavior
As a developer, I want to perform some operations related to CobiGen through command Line  so that I can use different command for further development
Actual behavior
It is giving error. Attached image for reference.

Steps to reproduce (bug)

Install devon
Follow https://devonfw.com/website/pages/docs/master-cobigen.asciidoc_cobigen-cli.html for further details on commands.

I've checked the scripts of devonfw. It looks like the verbose option is enabled by default now.
https://github.com/devonfw/ide/blob/f1a4a8775c6428adccac8118b28198c09a786247/scripts/src/main/resources/scripts/command/cobigen#L40
You can use devon cobigen -q to disable verbose output instead now.
You can also check devon cobigen help for available commands.
The documentation seems to be outdated.

the primary bug couldn't be reproduced with the current version of devonfw, even though there is an open Ticket to fix it:
https://github.com/devonfw/ide/issues/598

This does not seem to happen anymore with the latest version of devon and cobigen.
If this does happen again, plese notify us.


Online payment page not in the proper language

Hi,
our site has two languages, English and French. We're using Woocommerce, Polylang and Hyyan Woo Poly integration. Whatever the language that we're using when using the web site - English or French - , we're always redirected to the French version of the bank page (Monetico system). We can see with the debug page that the site does always call the French version of the bank page, so not an issue on the bank side.
Would you know what might be wrong?
Thanks,
Thomas

What plugin do you use for your payment system (it's working for me with WooCommerce ATOS Gateway)

We're using WooCommerce Monetico Gateway, but it seems we have resolved the issue. Thanks.

Hi,
We have the same problem, and we do not know how to solve the issue.
Any clue ?
Bests,
Daniel


HDDS-5885. OM Auth Validate for read requests and handle non ratis enabled code.

What changes were proposed in this pull request?
When OMRequest has S3Authentication for read requests validate S3Authentication and then proceed with processing the request.
Note: This PR is dependent on HDDS-5884, for ease of review included HDDS-5884.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5884
How was this patch tested?
Added tests

Thank You @avijayanhwx for the review


Response code indication while using Modbus RTU

I am using Modbus RTU protocol to read data. I have Slave Id = 1 and Modbus Address = 40023. I am configuring Start Address = 22. Is it correct with my Modbus Address?
If I am configuring following details:
Slave Id= 1
Baud Rate = 115200
Stop Bits = 2
Data Bits = 8
Parity = None
Start Address = 22
I am reading data with following code

var master = ModbusSerialMaster.CreateRtu(port);
ushort[] registers = master.ReadHoldingRegisters(slaveId, startAddress, 2);  //2 is number of points

With these details I am getting this response in console:
INFO Modbus.IO.ModbusSerialTransport - TX: 1, 3, 0, 22, 0, 2, 37, 207
In above response I only know some of them what they indicate like first digit 1 indicate Slave Id, 3 indicate function Code, 22 indicate Start Address, 2 indicate number of points.
Can anyone please explain me remaining code? What they indicate?
Thanks,
Ankita

http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf


Initial setup of Homepage

You will need to go to Settings > Pages. As Source, select "Deploy from a branch" and simply select the main branch below.


Update D:\Git\winget-pkgs\manifests\m\MediaArea\MediaInfo\GUI\22.03

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114447&drop=dogfoodAlpha

@Trenly I'm guessing this error is due to the addition of quotes around the version, as everything else related to the name appears unchanged. What are your thoughts?

@Trenly I'm guessing this error is due to the addition of quotes around the version, as everything else related to the name appears unchanged. What are your thoughts?

My thoughts are that it's just an error with how the data got processed; Pushed a fix

@wingetbot run


Not able to connect to a Secure Stomp Connection

I am trying to connect to a secure connection but receiving following errors :

Stomp --> onSocketEvent
2024-01-10 09:51:28 SwiftStomp [SOCKET ERROR]:     Socket: Error: Optional(Starscream.HTTPUpgradeError.notAnUpgrade(403))

2.Stomp --> onError
2024-01-10 09:51:28 SwiftStomp [SOCKET ERROR]:     Socket: Error: Optional(Starscream.WSError(type: Starscream.ErrorType.protocolError, message: "masked and rsv data is not currently supported", code: 1002))
I am using follwing versions :
SwiftStomp - v1.1.1
Starscream - v4.0.4
url for the reference : wss://abc.xyz/topic/subtopic

The Starscream has been removed from the project and now we are using the native URLSessionWebSocketTask to make Websocket connections. I didn't test the secure connection TBH with the new URLSessionWebSocketTask. Please try again and keep me posted if the problem exists.


Add more typing to the Command manager

Slightly better typing for the command manager
Add more typing to the Command manager

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable
[x] Documentation in docs/ or install-docs/ was updated, if applicable
[x] I have tested all changes


README.md: Fix broken documentation link

Note that I've also done this for homebrew-x11 (see https://github.com/Homebrew/homebrew-x11/pull/267) and there's a few other places where it needs to be done. I'll try and clean up all the ones I'm aware of over the next couple of days.

👍


org.eclipse.jgit.errors.MissingObjectException: Missing unknown ba07cec424cee7979d5d8354e52c4237a4e572b7

I am trying to setup verigreen application. I've downloaded  war file with hook jar files from the:
https://github.com/Verigreen/verigreen/releases
My configuration is following:
Bitbucket - runs on 7990 port
VG on Tomcat - runs on 8081 port (Java 7.45)
Jenkins on Tomcat (different than for VG) - runs on 8080 port (Java 8+)
OS - Windows 10 64BIT (Virtual machine)

My bitbucket repository (master) is with "Public access" enabled.
I've downloaded "External Pre Receive Hook" plugin in Bitbucket and the configuration is following:

Executeable: "C:\Users\kultasev\tmp\veri_hook\vg_hook.bat"
Parameters: "master"

Tomcat settings:

CATALINA_BASE:   "C:\Users\kultasev\tmp\apache-tomcat-7.0.81"
CATALINA_HOME:   "C:\Users\kultasev\tmp\apache-tomcat-7.0.81"
CATALINA_TMPDIR: "C:\Users\kultasev\tmp\apache-tomcat-7.0.81\temp"
JRE_HOME:        "C:\Program Files\Java\jdk1.7.0_45"
CLASSPATH:       "C:\Users\kultasev\tmp\apache-tomcat-7.0.81\bin\bootstrap.jar;C:\Users\kultasev\tmp\apache-tomcat-7.0.81\bin\tomcat-juli.jar"

Tomcat setenv.bat:

set "VG_HOME=C:\Users\kultasev\tmp\veri_conf"
set JPDA_OPTS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y
exit /b 0

config.properties (Located at C:\Users\kultasev\tmp\veri_conf\config.properties)

###############################################################################
# Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and limitations under the License.
###############################################################################

# Jenkins Configuration
jenkins.url=http://localhost:8080/
jenkins.user=dimka
jenkins.password=da9085a7bd334a187d1cf9d12e10ccce
##############Changes in this field will be effected after save (no restart is needed)################
#Warning! Do not change the jobName parameter while there are commits being verified in the system!
jenkins.jobName=btbckt_test
jenkins.branchParamName=SCM_BRANCH
#The maximum number of seconds Verigreen waits for a verification build to complete.
jenkins.timeoutInSeconds=3600

# Git configuration
git.repositoryLocation=C:\\Users\\kultasev\\tmp\\tmp_source\\.git
##############Changes in this field will be effected after save (no restart is needed)################
git.protectedBranches=refs/heads/master
##############Changes in this field will be effected after save (no restart is needed)################
git.permittedUsers=

#JGitOperator configuration
#These sets Verigreen's user.name and user.email git configuration parameters.
commited.by.collector=VeriGreen
<EMAIL_ADDRESS>

# Mail Configuration
#The SMTP server Verigreen will use to send its emails.
#SMTP authentication is not currently supported.
mail.server=localhost

#Collector Display Name
collectors=VeriGreen
#The URL of the Verigreen collector.
#This is the address that need be configured in the Verigreen git-hook configuration file, hook.properties.
# Add /<warName> after the port number, if deployed as war.
#This parameter is required for Verigreen to work.
collector.address=http://localhost:8081/verigreen/rest

# Verigreen Internal Configuration
#CacheCleanerJob and BranchCleanerJob configuration.
#0 => Remove all but Running commits.
daysThreashold=3
#How many hours to wait before Verigreen runs its cache and branch cleaning jobs.
repeatHourlyForever=24

#JobScheduler configuration
#The number of seconds after which Verigreen wakes up to process any undone items in the commit item list.
repeatSecondlyForever=10
#The number of iterations to wait before attempting to re-trigger a new build for a verification.
timeout.counter=4
#The number of Jenkins build re-trigger attempts before it is setting the commit as Trigger_Failed.
default_count=3

#Queue Manager:
#The maximum number of commits Verigreen will run verification for at the same time.
#Set this to no more than the number of concurrent verification builds that Jenkins can run simultaneously.
number.commits=5

#The number of attempts Verigreen makes to verify the configured Jenkins Job exists.
job.retry.counter=3

#Force push password hash
hash.password=c21e299d9ec8db9718e162aca10689317d94f34f

##############Changes in this field will be effected after save (no restart is needed)################
#enable/disable retry of Failed commits
full.push=disabled

#Additional parameters that be be sent to Jenkins.
#Set value to 'true' (without quotes) to send the key/value pair using below key name.
#Alternatively, set the value to the Jenkins String Parameter name.
jenkinsparam.mode=params
jenkinsparam.longid=false
jenkinsparam.parent=false
jenkinsparam.protected=false
jenkinsparam.commitid=false
jenkinsparam.committer=false

# FAQ Page Configuration
#Enable offline FAQ page
#In case the Internet connection is limited or restricted this parameter should be set to true in order to have access to the FAQ page
#If there are no restrictions this parameter should be set to false, the FAQ page being accessed directly on the github page
#Set to true and provide below offline URLs and files as needed.
faq.offline=true
faq.offline.git=faqpage.html#q-i-got-a-git_failure-status-what-does-it-mean
faq.offline.timeout=faqpage.html#q-i-got-a-time_out-status-what-does-it-mean
#These properties should not be changed
faq.online.git=https://github.com/Verigreen/verigreen/wiki/Verigreen-FAQ#q-i-got-a-git_failure-status-what-does-it-mean
faq.online.trigger=https://github.com/Verigreen/verigreen/wiki/Verigreen-FAQ#q-i-got-a-trigger_failed-status-what-does-it-mean
faq.online.timeout=https://github.com/Verigreen/verigreen/wiki/Verigreen-FAQ#q-i-got-a-time_out-status-what-does-it-mean

faq.offline.git=faqpage.html#q-i-got-a-git_failure-status-what-does-it-mean
faq.offline.trigger=faqpage.html#q-i-got-a-trigger_failed-status-what-does-it-mean
faq.offline.timeout=faqpage.html#q-i-got-a-time_out-status-what-does-it-mean

git-hook.jar (+ all related jars), hook.properties, vg_hook.bat are located at C:\Users\kultasev\tmp\veri_hook
vg_hook.bat

@ECHO OFF
REM #*******************************************************************************
REM # Copyright 2015 Hewlett-Packard Development Company, L.P.
REM #
REM # Licensed under the Apache License, Version 2.0 (the "License");
REM # you may not use this file except in compliance with the License.
REM # You may obtain a copy of the License at
REM #
REM #        http://www.apache.org/licenses/LICENSE-2.0
REM #
REM # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM # See the License for the specific language governing permissions and limitations under the License.
REM #*******************************************************************************
REM # Sample git pre-receive shell script to execute the Verigreen hook.
REM # Please use this carefully to avoid any issues with git hook triggering
REM # can and should be adapted for use with/for other hooks.
REM #*******************************************************************************
REM # Parameters: Accepts one required parameter - the repository name which is protected
REM #*******************************************************************************
SETLOCAL enabledelayedexpansion
SET "DEBUG_FILE=C:\Users\kultasev\tmp\vg.txt"
REM #*******************************************************************************
REM # Required parameters - Set these as needed
REM #*******************************************************************************
REM The IF conditions are used to set the value only if the variable in undefined
REM Remove the IF part and use only the SET part in case variable need be overwritten

REM Set the path to the hook.properties file
REM modify as needed.
echo %username% > "C:\Users\kultasev\tmp\vg2.txt"
SET "VG_HOOK=C:\Users\kultasev\tmp\veri_hook"
REM ECHO VG_HOOK: %VG_HOOK%

REM Set the path to the git-hook.jar file
REM modify as needed.
SET "VG_PATH=C:\Users\kultasev\tmp\veri_hook"
REM ECHO VG_PATH: %VG_PATH%

REM This sets the JAVA_HOME for use.
REM modify as needed.
SET "JAVA_HOME=C:\Program Files\Java\jdk1.7.0_45"

REM #*******************************************************************************
REM # Main
REM #*******************************************************************************

REM Check number of arguments specified on run
REM First parameter passed to this script is the repository name
IF "%1" == "" (
	ECHO "Error: Script must be run with one (1) argument!"
    EXIT /B 2
)

REM Read STDIN (oldrev newrev ref)
for /F "tokens=*" %%a in ('more') do (
  SET LINE=%%a
  REM echo #LINE: %LINE%
)

REM debug
ECHO VG HOOK:   %VG_HOOK%       >  %DEBUG_FILE%
ECHO Vector:    %LINE%          >> %DEBUG_FILE%
ECHO JAVA_HOME: %JAVA_HOME%     >> %DEBUG_FILE%

REM Note: !!!   Each hook call must exit if its result is not 0   !!!
echo CALL: "%JAVA_HOME%\bin\java.exe" -jar "%VG_PATH%\git-hook.jar" %1 %LINE%
REM >> %DEBUG_FILE%
call "%JAVA_HOME%\bin\java.exe" -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 "%VG_PATH%\git-hook.jar" %1 %LINE% 2>"C:\Users\kultasev\tmp\vg_err.txt"

ECHO ERRORLEVEL: %ERRORLEVEL% >> %DEBUG_FILE%
EXIT /B %ERRORLEVEL%

hook.properties
collector.address=http://localhost:8081/verigreen/rest

My local repo is synced with the remote master.
When I try to push I am getting following errors:
this is what I get in UI (git):

repository: Remote error: Repository not found
The requested repository does not exist, or you do not have permission to
access it.

This is what I get in the log file:

VG HOOK: C:\Users\kultasev\tmp\veri_hook
Vector: b37c01369c8fdd661a28031baee072cd4cf3051a ba07cec424cee7979d5d8354e52c4237a4e572b7 refs/heads/master
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_45
ERRORLEVEL: 1

This is what I get in the code:

Exception in thread "main" java.lang.RuntimeException: Failed retrieving commit data [ba07cec424cee7979d5d8354e52c4237a4e572b7]
at com.verigreen.jgit.JGitOperator.getRevCommit(JGitOperator.java:122)
at com.verigreen.hook.BranchOperator.processBranch(BranchOperator.java:54)
at com.verigreen.hook.EntryPoint.main(EntryPoint.java:38)
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown ba07cec424cee7979d5d8354e52c4237a4e572b7
at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:148)
at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:229)
at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:809)
at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:722)
at com.verigreen.jgit.JGitOperator.getRevCommit(JGitOperator.java:120)
... 2 more

I tried to find the place where is it failing and it is:
class: verigreen/git-hook/src/com/verigreen/common/spring/GitHookApi.java
method: public RevCommit getRevCommit(String commitId)
line (120): ret = walk.parseCommit(_repo.resolve(commitId));
error message:

org.eclipse.jgit.errors.MissingObjectException: Missing unknown ba07cec424cee7979d5d8354e52c4237a4e572b7

@edagan can you take a look? why aren't we able to retrieve the commit?

Hi,
The UI response you're getting is from Git, not from VG ("repository: Remote error: Repository not found
The requested repository does not exist, or you do not have permission to
access it.")
If you disable VG, can you push to the remote BitBucket?
If so, it means VG can't access BitBucket (which user does it use? does it have the access to BB? FW issues).

I can push if I disable VG. All the applications are ran under the same user (my user) as I start tomcat manually.

Anyway, as I wrote that the repository is with Public access

Hi,
All indications show, IMO, that VG cannot find its work repository.
@dkultasev, in the config.properties file of VG, could you please try replacing:
git.repositoryLocation=C:\\Users\\kultasev\\tmp\\tmp_source\\.git
with:
git.repositoryLocation=C:/Users/kultasev/tmp/tmp_source/.git
Then, restart Verigreen.
If this doesn't help, msg me and we delve into this further.

Opening repositories:
C:\Users\kultasev\tmp\tmp\tmp
The following errors were reported during push:
refs/heads/master, pre-receive hook declined

Looks like VG finds its work repo now.

Any more lines to the push failure message?
Is there any data in the VG web page?
What is your Jenkins version?
@soninob - To my knowledge VG only supports Jenkins 1.x, though there was some code submitted to support Jenkins 2.x.

@flaresolar - it is to earlier for jenkins. the hook should first communicate with the collector. only after notification that we need to run VG, we are triggering Jenkins after dealing with the branches and merges.
@dkultasev if you have more details on the error, it will help, 10x.

https://content.screencast.com/users/sdks/folders/Jing/media/2c9891eb-9a09-4b69-89e3-09d0d5cc3ae2/2017-09-28_1039.png
What else can I provide?
There is no lines in UI.

I'm getting 404 on the link :-)

Jenkins 2,73,1

https://content.screencast.com/users/sdks/folders/Jing/media/2c9891eb-9a09-4b69-89e3-09d0d5cc3ae2/2017-09-28_1039.png

https://content.screencast.com/users/sdks/folders/Jing/media/2c9891eb-9a09-4b69-89e3-09d0d5cc3ae2/2017-09-28_1039.png

Hyperlink is not working somehow. Copy paste URL in the browser

Getting 404 on both link.
No lines in UI means that the hook is not communicating with VG.
Lets check the hooks debug file: C:\Users\kultasev\tmp\vg.txt
@dkultasev could you please share its contents?

VG HOOK:   C:\Users\kultasev\tmp\veri_hook
Vector:    ba07cec424cee7979d5d8354e52c4237a4e572b7 e07a3ccf5a3939ea8a9d6d759eeb2d293dd6f165 refs/heads/master
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_45
ERRORLEVEL: 1

@flaresolar copy paste the url to the browser. I do not know why, but hyperlink is not working

Looks like the repo cannot find or pull the new commit.
Is the repo in both below folders is the same? Why was this changed? Due to the "_" character?

C:\Users\kultasev\tmp\tmp\tmp
C:/Users/kultasev/tmp/tmp_source/.git

C:\Users\kultasev\tmp\tmp\tmp - is the folder where the bitbucket gets the data
C:/Users/kultasev/tmp/tmp_source/.git - is the cloned folder from bitbucket

Thanks, understood.
Please check BitBucket for VG's temporary branch for this repository. If I recall correctly, VG's temporary branches begin with "vg_", and should be shown in near the top of BitBucket's Branches for this repository, in BitBucket's UI.
If the temp. branch does not exist on BitBucket, then the hook failed to create it.
If it the temp. branch exists, then it seems the work repository at tmp_source could not pull it.

I do not have such branches

@dkultasev one more thing - Could you please show me the hook config in BitBucket?

sure

@dkultasev not sure I understood:
C:\Users\kultasev\tmp\tmp\tmp - is the folder where the bitbucket gets the data
C:/Users/kultasev/tmp/tmp_source/.git - is the cloned folder from bitbucket
as we talked earlier, the second path is your VG working repository (and it is importent that you will not push from it.
I guess you meant the first path is where you did the push - if so, the error you got is related not to VG but to your repositroty from where you push the commits:

(Opening repositories:
C:\Users\kultasev\tmp\tmp\tmp
The following errors were reported during push:
refs/heads/master, pre-receive hook )

this is getting a tad hard to debug like this.
@dkultasev We can try a short Skype session. If possible, PM me and I'll give you my skype handle.

One more clarification, please - Is BitBucket on the same machine as well? otherwise, the URL in hook.properties is unreachable from BitBucket

Everything is the on the same machine (localhost), on the same physical and logical drive
about git paths:
I cloned repository to the new location, and used this path in the VG config --> C:\Users\kultasev\tmp2\tmp.git
All the changes and the place where I am trying pushes are located at -->C:\Users\kultasev\tmp\tmp_source.git
In the config file I've tried following values:
C:\Users\kultasev\tmp2\tmp.git
C:\Users\kultasev\tmp2\tmp\.git
C:/Users/kultasev/tmp2/tmp/.git

@flaresolar  I am on $kype --> dmitrij[replace_with_dot]kultasev

thanks for the @flaresolar as we made 1 step further. We've found that the problem is with the directory where the batch file is executed from. We were able to run the hook jar file manually after we changed directory to the repository data. In my case it was "C:\Atlassian\ApplicationData\Bitbucket\shared\data\repositories\1" however we still couldn't achieve how to make it working automatically

I've tried to merge pull request made by @shivarajugowda. The only difference I've made is that I am using the latest jGit version instead of the one that was provided in that PR.

hey @dkultasev - what is the status of this one?

This has been reproduced on both Windows and Linux.
Trying to determine which version(s)  introduced a change that broke the
git-hook.jar
Also looking into the hook's code.

@flaresolar - any chance you tried with the old version of jgit?

I am working with the 2.5.6 release version files, so yes, using old jGit
version.
Looks like the hook is no longer able to read the commit info for the new
push. I can read the info correctly within the .sh file which calls the
hook, so it's not a git or bitbucket issue.

Hello @dkultasev, it's been a while :-) Can you tell if you managed to solve this issue?
Can you suggest which version of Bitbucket did you use? I suspect that Atlassian did some changes in their latest versions...
I checked the hook code and when we are creating the jgitoperator instance we are giving it as a repo path the value '.'
Also, you mentioned that you managed to run it, from the path C:\Atlassian\ApplicationData\Bitbucket\shared\data\repositories\1, I test it and still received that same result. Maybe you did anything else?

Hi @soninob. We don't need that anymore, but for the record the Bitbucket is of v4.1.0


fix: Spawn task for block proof verification (#288)

Wrap call to triton_vm::verify in spawn_blocking.
Make function async and percolate async markers.
Sandwich relevant call between debug messages.

All observations point to this change eliminating issue #282. However, we do not have a mechanical explanation as to what causes the apparent fix.

Based on this thought from the discussion in #282 --

Here is a thought though: we cannot rule out that the peer thread/task crashed, without affecting other running threads/tasks. You expect that the main_loop() would still be running, and Ctrl-C should still respond etc. Then how would we observe that the peer thread/task crashed? One possible outcome could be never terminating connections. Maybe https://github.com/Neptune-Crypto/neptune-core/issues/307 is linked after all.

-- I tend to think that this change limits the crash to the thread/task as opposed to the whole application, but does not fix it. While I do think it is good practice to wrap long-running computations like triton_vm::verify inside of spawn_blocking calls, I think it is a good idea to delay proceeding with this PR until issue #282 is comprehensively resolved.


feat: add authProvider dockerConfig to configmap

Signed-off-by: HDYA-BackFire<EMAIL_ADDRESS>Description
What this PR does / why we need it:

authentication with docker config is documented but not properly supported in the chart
add authProvider dockerConfig to configmap.yaml, so it will be easier for test clusters to use docker config as oras authentication
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] this has been tested offline on our test clusters

Checklist:

[?] Does the affected code have corresponding tests?
[?] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[N] Does this introduce breaking changes that would require an announcement or bumping the major version?
[Y] Do all new files have appropriate license header?

@HDYA following up on this PR. Do you still see a need for these changes?


Preemptively close the channel when receiving SslCloseCompletionEvent

Sometimes a server can throw the following exception io.netty.handler.ssl.SslClosedEngineException: SSLEngine closed already, - a remote peer can send a CLOSE_NOTIFY with its last SSL packet, which immediately closes the SSL engine. Armeria won't know about it until an attempt is made to send a message over that connection. Since the SSL engine is closed by that point, a SslClosedEngineException will be thrown. The right way to handle this is to preemptively close the engine.

discussion ref: https://discord.com/channels/1087271586832318494/1087272728177942629/1223443540982370407


Gradle Inspector terminates with OutOfMemory

Describe the bug
Since Ort versions 32.x and later, Gradle Inspector start to explode with Out of Memory crash.
Same unmodified code that worked with Ort 30.0.0.
To Reproduce
Download Demo Test tarball and run ort analyze -i . -o output
Expected behavior
Analyzer file to be created
Console / log output
Add console and / or log output that shows the error and additional context.
No screenshots of plain text please, to keep text searchable.
 ______________________________
/        \_______   \__    ___/       The OSS Review Toolkit, version 33.1.0,
|    |   | |       _/ |    |          built with JDK 11.0.24+8, running under Java 17.0.12.
|    |   | |    |   \ |    |          Executing 'analyze' as '***' on Mac OS X
\________/ |____|___/ |____|          with 10 CPUs and a maximum of 8192 MiB of memory.

Environment variables:
ORT_CONFIG_DIR = /Users/*****/data/ort-config
ORT_DATA_DIR = /Users/****/.ort
HOME = /Users/******
SHELL = /bin/zsh
TERM = xterm-kitty
http_proxy = *****
https_proxy = *****
JAVA_HOME =<EMAIL_ADDRESS>
ANDROID_HOME = /Users/*****/.local/toolchains/android/android-sdk

Looking for ORT configuration in the following file:
        /Users/*****/data/ort/config_host.yml

Looking for analyzer-specific configuration in the following files and directories:
        /Users/*****/code/testcode/.ort.yml
        /Users/****/data/ort-config/resolutions.yml
The following 1 package manager(s) are enabled:
        GradleInspector
The following 3 package curation provider(s) are enabled:
        RepositoryConfiguration, DefaultFile, DefaultDir
Analyzing project path:
        /Users/****/code/testcode
12:34:45.884 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/****/code/testcode/.gradle' as it is hard-coded to be ignored.
12:34:45.908 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/****/code/testcode/.git' as it is hard-coded to be ignored.
12:34:45.909 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/****/code/testcode/src/test/resources' as it is hard-coded to be ignored.
12:34:45.911 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/****/code/testcode/src/main/resources' as it is hard-coded to be ignored.
Found 1 GradleInspector definition file(s) at:
        build.gradle
Found in total 1 definition file(s) from the following 1 package manager(s):
        GradleInspector
12:34:45.941 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManagerRunner - Starting GradleInspector analysis.
12:34:45.944 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Using GradleInspector to resolve dependencies for path 'build.gradle'...
12:34:46.347 [DefaultDispatcher-worker-1] INFO  org.gradle.tooling.GradleConnector - The project at '/Users/DHXBWM7/code/cariad/user-push-service' uses Gradle version 8.5.0.
12:34:52.551 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.utils.ort.OrtProxySelector - Proxy selector was successfully installed.
12:34:52.559 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.utils.ort.OrtAuthenticator - Authenticator was successfully installed.
12:34:52.747 [DefaultDispatcher-worker-1] ERROR org.ossreviewtoolkit.analyzer.PackageManager - GradleInspector failed to resolve dependencies for path 'build.gradle': BuildException: Could not fetch model of type 'OrtDependencyTreeModel' using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.5-bin.zip'.
Caused by: LocationAwareException: Java heap space
    Caused by: OutOfMemoryError: Java heap space
12:34:52.749 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.PackageManager - GradleInspector resolved dependencies for path 'build.gradle' in 6.802362833s.
12:34:52.752 [DefaultDispatcher-worker-1] INFO  kotlinx.coroutines.CoroutineScope - Finished GradleInspector analysis.
12:34:52.787 [main] INFO  org.ossreviewtoolkit.utils.config.ConfigurationResolver - Getting 0 package curation(s) from provider 'RepositoryConfiguration' took 117.834us.
12:34:52.787 [main] INFO  org.ossreviewtoolkit.utils.config.ConfigurationResolver - Getting 0 package curation(s) from provider 'DefaultFile' took 1.167us.
12:34:52.788 [main] INFO  org.ossreviewtoolkit.utils.config.ConfigurationResolver - Getting 0 package curation(s) from provider 'DefaultDir' took 457.25us.
Wrote analyzer result to '/Users/****/code/testcode/output/analyzer-result.yml' (0,00 MiB) in 306.559417ms.
The analysis took 6.859496s.
Found 1 project(s) and 0 package(s) in total (not counting excluded ones).
Applied 0 curation(s) from 0 of 3 provider(s).
Resolved issues: 0 errors, 0 warnings, 0 hints.
Unresolved issues: 1 error, 0 warnings, 0 hints.
There is 1 unresolved issue with a severity equal to or greater than the ERROR threshold.

Or manually specify:

ORT version: 33.1.0
Java version: 17.0.12
OS: MacOS

Additional context
Add any other context about the problem here.
Tried with Java 21, and with extended 16Gb memory option for both JAVA_OPTS and GRADLE_OPTS

Same unmodified code that worked with Ort 30.0.0.

Back then "legacy" Gradle was still the default. Did you rely on that default, or did you explicitly enable Gradle Inspector with ORT 30.0.0?

Same unmodified code that worked with Ort 30.0.0.

Back then "legacy" Gradle was still the default. Did you rely on that default, or did you explicitly enable Gradle Inspector with ORT 30.0.0?

Nope, always using GradleInspector, even with 30.0.0

Just to confirm:
❯ ort --info analyze -i . -o output
13:52:28.912 [main] INFO  org.ossreviewtoolkit.model.config.OrtConfiguration - Using ORT configuration file '/Users/DHXBWM7/data/ort/config_host.yml'.
13:52:29.175 [main] INFO  org.ossreviewtoolkit.utils.common.EnvironmentVariableFilter - EnvironmentVariableFilter initialized with denySubstrings = [PASS, SECRET, TOKEN, USER] and allowNames = [PASSPORT, USER_HOME, GITHUB_TOKEN].
 ______________________________
/        \_______   \__    ___/       The OSS Review Toolkit, version 30.0.0,
|    |   | |       _/ |    |          built with JDK 11.0.24+8, running under Java 17.0.12.
|    |   | |    |   \ |    |          Executing 'analyze' as 'DHXBWM7' on Mac OS X
\________/ |____|___/ |____|          with 10 CPUs and a maximum of 8192 MiB of memory.

Environment variables:
ORT_CONFIG_DIR = /Users/DHXBWM7/data/ort-config
ORT_DATA_DIR = /Users/DHXBWM7/.ort
HOME = /Users/DHXBWM7
SHELL = /bin/zsh
TERM = xterm-kitty
http_proxy = http://<IP_ADDRESS>:9000
https_proxy = http://<IP_ADDRESS>:9000
JAVA_HOME =<EMAIL_ADDRESS>
ANDROID_HOME = /Users/DHXBWM7/.local/toolchains/android/android-sdk

Looking for ORT configuration in the following file:
        /Users/DHXBWM7/data/ort/config_host.yml

Looking for analyzer-specific configuration in the following files and directories:
        /Users/DHXBWM7/lixo/demo/.ort.yml
        /Users/DHXBWM7/data/ort-config/resolutions.yml
The following 1 package manager(s) are enabled:
        GradleInspector
The following 3 package curation provider(s) are enabled:
        RepositoryConfiguration, DefaultFile, DefaultDir
Analyzing project path:
        /Users/DHXBWM7/lixo/demo
13:52:30.043 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/DHXBWM7/lixo/demo/.gradle' as it is hard-coded to be ignored.
Found 1 GradleInspector definition file(s) at:
        build.gradle
Found in total 1 definition file(s) from the following 1 package manager(s):
        GradleInspector
13:52:30.078 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManagerRunner - Starting GradleInspector analysis.
13:52:30.080 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Using GradleInspector to resolve dependencies for path 'build.gradle'...
13:52:30.548 [DefaultDispatcher-worker-1] INFO  org.gradle.tooling.GradleConnector - The project at '/Users/DHXBWM7/lixo/demo' uses Gradle version 8.10.2.
13:52:37.058 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.utils.ort.OrtProxySelector - Proxy selector was successfully installed.
13:52:37.065 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.utils.ort.OrtAuthenticator - Authenticator was successfully installed.
13:52:38.740 [DefaultDispatcher-worker-1] INFO  OrtDependency - Fixed up invalid SCM connection without a provider in 'org.mongodb:mongodb-driver-sync:4.11.1' to VcsInfo(type=Git, url=https://github.com/mongodb/mongo-java-driver.git, revision=, path=).
13:52:38.760 [DefaultDispatcher-worker-1] INFO  OrtDependency - Fixed up invalid SCM connection without a provider in 'org.mongodb:bson:4.11.1' to VcsInfo(type=Git, url=https://github.com/mongodb/mongo-java-driver.git, revision=, path=).
13:52:38.762 [DefaultDispatcher-worker-1] INFO  OrtDependency - Fixed up invalid SCM connection without a provider in 'org.mongodb:mongodb-driver-core:4.11.1' to VcsInfo(type=Git, url=https://github.com/mongodb/mongo-java-driver.git, revision=, path=).
13:52:38.780 [DefaultDispatcher-worker-1] INFO  OrtDependency - Fixed up invalid SCM connection without a provider in 'org.mongodb:mongodb-driver-reactivestreams:4.11.1' to VcsInfo(type=Git, url=https://github.com/mongodb/mongo-java-driver.git, revision=, path=).
13:52:38.782 [DefaultDispatcher-worker-1] INFO  OrtDependency - Fixed up invalid SCM connection without a provider in 'org.mongodb:mongodb-crypt:1.8.0' to VcsInfo(type=Git, url=https://github.com/mongodb/libmongocrypt.git, revision=, path=).
13:52:40.375 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/wiremock/wiremock.git' in 'com.github.tomakehurst:wiremock-jre8:3.0.1' lacks the required 'scm' prefix.
13:52:40.375 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/wiremock/wiremock.git' in 'org.wiremock:wiremock:3.0.1' lacks the required 'scm' prefix.
13:52:40.409 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'git@github.com:hamcrest/JavaHamcrest.git' in 'org.hamcrest:hamcrest-core:2.2' lacks the required 'scm' prefix.
13:52:40.410 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'git@github.com:hamcrest/JavaHamcrest.git' in 'org.hamcrest:hamcrest:2.2' lacks the required 'scm' prefix.
13:52:40.416 [DefaultDispatcher-worker-1] INFO  OrtDependency - Fixed up invalid SCM connection without a provider in 'com.networknt:json-schema-validator:1.0.86' to VcsInfo(type=Git, url=https://github.com/networknt/json-schema-validator.git, revision=, path=).
13:52:40.505 [DefaultDispatcher-worker-1] INFO  OrtDependency - Fixed up invalid SCM connection without a provider in 'org.mongodb:bson-record-codec:4.11.1' to VcsInfo(type=Git, url=https://github.com/mongodb/mongo-java-driver.git, revision=, path=).
13:52:40.649 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/vaadin/vaadin-router.git' in 'org.mvnpm.at.vaadin:router:1.7.5' lacks the required 'scm' prefix.
13:52:40.650 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/vaadin/vaadin-usage-statistics.git' in 'org.mvnpm.at.vaadin:vaadin-usage-statistics:2.1.2' lacks the required 'scm' prefix.
13:52:40.651 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/vaadin/vaadin-development-mode-detector.git' in 'org.mvnpm.at.vaadin:vaadin-development-mode-detector:2.0.6' lacks the required 'scm' prefix.
13:52:40.652 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/pillarjs/path-to-regexp.git' in 'org.mvnpm:path-to-regexp:2.4.0' lacks the required 'scm' prefix.
13:52:40.653 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/vaadin/web-components.git' in 'org.mvnpm.at.mvnpm:vaadin-webcomponents:24.3.7' lacks the required 'scm' prefix.
13:52:40.654 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/open-wc/open-wc.git' in 'org.mvnpm.at.open-wc:dedupe-mixin:1.4.0' lacks the required 'scm' prefix.
13:52:40.676 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/lit/lit.git' in 'org.mvnpm:lit:3.1.2' lacks the required 'scm' prefix.
13:52:40.696 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/lit/lit.git' in 'org.mvnpm.at.lit:reactive-element:2.0.4' lacks the required 'scm' prefix.
13:52:40.697 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/lit/lit.git' in 'org.mvnpm.at.lit-labs:ssr-dom-shim:1.2.0' lacks the required 'scm' prefix.
13:52:40.719 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/lit/lit.git' in 'org.mvnpm:lit-element:4.0.4' lacks the required 'scm' prefix.
13:52:40.720 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/lit/lit.git' in 'org.mvnpm:lit-html:3.1.2' lacks the required 'scm' prefix.
13:52:40.721 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/DefinitelyTyped/DefinitelyTyped.git' in 'org.mvnpm.at.types:trusted-types:2.0.7' lacks the required 'scm' prefix.
13:52:40.722 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/Polymer/polymer.git' in 'org.mvnpm.at.polymer:polymer:3.5.1' lacks the required 'scm' prefix.
13:52:40.723 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/webcomponents/polyfills.git' in 'org.mvnpm.at.webcomponents:shadycss:1.11.2' lacks the required 'scm' prefix.
13:52:40.724 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/gitaarik/lit-state.git' in 'org.mvnpm:lit-element-state:1.7.0' lacks the required 'scm' prefix.
13:52:40.725 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/apache/echarts.git' in 'org.mvnpm:echarts:5.5.0' lacks the required 'scm' prefix.
13:52:40.726 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/Microsoft/tslib.git' in 'org.mvnpm:tslib:2.3.0' lacks the required 'scm' prefix.
13:52:40.727 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/ecomfe/zrender.git' in 'org.mvnpm:zrender:5.5.0' lacks the required 'scm' prefix.
13:52:40.745 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/quarkusio/webcomponents.git' in 'org.mvnpm.at.mvnpm:codeblock:1.0.12' lacks the required 'scm' prefix.
13:52:40.746 [DefaultDispatcher-worker-1] INFO  OrtDependency - Maven SCM connection 'https://github.com/guybedford/es-module-shims.git' in 'org.mvnpm:es-module-shims:1.8.3' lacks the required 'scm' prefix.
13:52:41.213 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.PackageManager - GradleInspector resolved dependencies for path 'build.gradle' in 11.129162042s.
13:52:41.214 [DefaultDispatcher-worker-1] INFO  kotlinx.coroutines.CoroutineScope - Finished GradleInspector analysis.
13:52:41.305 [main] INFO  org.ossreviewtoolkit.model.utils.ConfigurationResolver - Getting 0 package curation(s) from provider 'RepositoryConfiguration' took 422.375us.
13:52:41.305 [main] INFO  org.ossreviewtoolkit.model.utils.ConfigurationResolver - Getting 0 package curation(s) from provider 'DefaultFile' took 1.083us.
13:52:41.351 [main] INFO  org.ossreviewtoolkit.model.utils.ConfigurationResolver - Getting 48 package curation(s) from provider 'DefaultDir' took 45.292208ms.
Wrote analyzer result to '/Users/DHXBWM7/lixo/demo/output/analyzer-result.yml' (0,83 MiB) in 334.504875ms.
The analysis took 11.242312s.
Found 1 project(s) and 496 package(s) in total (not counting excluded ones).
Applied 70 curation(s) from 1 of 3 provider(s).
Resolved issues: 0 errors, 0 warnings, 0 hints.
Unresolved issues: 0 errors, 0 warnings, 0 hints.

Could be related to 7c421cc445bd0aaf703ef9b0329f1060cb94b723.

Could be related to 7c421cc.

Bingo, i reverted this specific commit and got results now, using main upstream revision.

Could you also check whether the same project works with "legacy" Gradle?

I am experiencing the same issues when inspecting certain projects with 34.0.0 (cannot confirm whether it works for some projects). My test project is using Gradle 8.10.2, the analysis is performed with Java 21. Interestingly, I am receiving both error messages that @heliocastro mentions.
I am not an expert in analysing JVM statistics, but here is a small snapshot of the memory usage of the Gradle daemon spawned by the ORT:

Seems like the threshold of 500MB heap is not sufficient.

I got a second big internal Android project with monorepo, that was fine before, now some of the entries are issuing the same error:
07:04:09.939 [DefaultDispatcher-worker-1] ERROR org.ossreviewtoolkit.analyzer.PackageManager - GradleInspector failed to resolve dependencies for path 'cat-nav/ui-vw/build.gradle.kts': BuildException: Could not fetch model of type 'OrtDependencyTreeModel' using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.7-bin.zip'.
Caused by: LocationAwareException: Java heap space
    Caused by: OutOfMemoryError: Java heap space

@sschuberth revert temporary that commit you mentioned above is out of question ?

@sschuberth revert temporary that commit you mentioned above is out of question ?

Unfortunately IMO yes, as simply reverting it will result in a slightly different dependency graph...

Fixed the tested tarball URL. Github appends their url if you forgot to add the https:// ahead.
Adding link here again to reinforce: https://dev.heliocastro.info/demo.tar.xz

I have the same "Out of Memory" problems with a large Android Project, using GradleInspector as Analyzer Plugin.
ORT Server with ORT 34.0.0
GradleInspector failed to resolve dependencies for path 'app/build.gradle': GradleConnectionException: Could not fetch model of type 'OrtDependencyTreeModel' using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.9-all.zip'.
Caused by: DaemonStoppedException: Gradle build daemon has been stopped: since the JVM garbage collector is thrashing

GradleInspector failed to resolve dependencies for path 'xxx/build.gradle': BuildException: Could not fetch model of type 'OrtDependencyTreeModel' using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.9-all.zip'.
Caused by: LocationAwareException: Java heap space
    Caused by: OutOfMemoryError: Java heap space

I will try your patch.
4 Gb not even touch the bare minimum. 8 Gb. is the one that we start to have some results.


Fix launching debugger when Launch type is set to Executable

Fixes #655
@BillHiebert @jinujoseph
The debug properties page is setting the commandName in launchSettings.json to Executable, while the ConsoleDebugTargetsProvider wasn't coded to expect that.

Tagging @MattGertz for ask mode approval.


Do not import ecmwf-api-client for standalone MARS access

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

Please upload report for BASE (main@b047a25). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #489   +/-   ##
=======================================
  Coverage        ?   90.58%
=======================================
  Files           ?      123
  Lines           ?     8340
  Branches        ?      361
=======================================
  Hits            ?     7555
  Misses          ?      654
  Partials        ?      131

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


[Select] MuiNativeSelect-iconOpen is not applied when control is opened

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
The issue is visible on the component's demo page in the documentation: Select.
Steps:

Open the demo page on a mobile device or a browser's emulated mobile view
Click on the Native Select demo component

Current behavior 😯
The icon does not rotate because the MuiNativeSelect-iconOpen class is not applied to the icon when the control is opened.
Expected behavior 🤔
The icon rotates because the MuiNativeSelect-iconOpen class is applied to the icon, just like it works for the regular Select component.
Context 🔦
I was trying to implement a custom dropdown icon and overriding the MuiNativeSelect-iconOpen did not do anything despite being mentioned on the component's api documentation, leading me to notice that said class is never actually applied to the icon.
Your environment 🌎
Irrelevant considering this issue also occurs on the component's demo page.

Thanks for reporting this. The docs clearly don't match the implementation.
BTW, does it work for you on a desktop browser?

It does not work on desktop either, seems like its broken for the Native Select in general.

@michaldudak i've inspected code, it looks like NativeSelect does't have a way to know if pop up is opened or not. code has variable named open but value of this open is always undefined.
https://github.com/mui/material-ui/blob/c1936ad4764f84f9e1788af79daef7280cc7b4da/packages/mui-material/src/NativeSelect/NativeSelectInput.js#L11

The problem here is that the NativeSelectInput styles are also used by the (non-native) SelectInput. The SelectInput should have its own styles. Feel free to implement such a change.
As for the root cause of the problem, I'm not aware of the way to determine if a native select is open, so updating the docs to describe the actual behavior is the most we can do here.


Failing to add integration to Home Assistant

When I try to add the Integration to Home Assistant, I get a message that says "Device is already configured" even though it is not already configured.

It's the L10s Ultra.  That device is not supported?

Model is RLS6LADC