InferOutput not including fallbacks

Hey I'm a little confused while improving our schemas as I realized that InferOutput doesn't include fallbacks, if the type can be nullish/optional/nullable etc.
As stated in the docs

This means that no issues will be returned when using fallback and the schema will always return an output.

So I'd expect the InferOutput<schema> type to be of that resulting type.
As I'm using it mostly to parse API inputs to pass into our DB (using Kysely) it correctly complaints that certain fields don't accept null/undefined values, tho the parsed.output shouldn't be empty as I provided fallbacks where it makes sense, the idea being that I don't have to provide certain fields to get a default fallback generated.
I realized that I can move most of those types to just be optional or nullish tho shouldn't any of those wrapped in a fallback still provide a defined output type?

Hey 👋 thank you for reaching out! Can you provide a minimal example, e.g. via our playground?

sure
At least this is what I'd expect

Added isFalse which has a fallback but without nullish, which makes input not work as desired as isFalse will be required according to types.

I think there is a misunderstanding here. What you are looking for is the default value of optional, nullable and nullish. Have a look at this playground and the optionals guide in our docs.

Though why shouldn't I be able to compose fallback with one of the optionals?
Or different question how/when is fallback meant to be used?

optional, nullable, and nullish are schemas that use the default value as the schema's input when the original input is undefined or null. fallback works differently. fallback is a method that changes the behavior of a schema by returning the fallback value as output whenever the schema returns an issue. Therefore, your schema will never return an issue when fallback is used.
So in simple words... the default value is used as the input of the schema when there is "no input", and the fallback value is used as the output of the schema when the validation fails. Therefore, a default value can change the type signature because we know that there will always be a value, but fallback has no effect on the type signature because any valid input is accepted and does not trigger the fallback value.

because any valid input is accepted and does not trigger the fallback value.

And therefore also ensuring that there will always be a value in the output right?
So InferOutput could (and I think should) reflect that fallback overrides the optional type, or at least I still don't understand why it shouldn't and what the benefit is?
To me fallback is pretty much the same as all other optionals just "more insisting" on continuing the happy path "no matter what" and you combine it with one of the optionals to optionally reflect in the input type that you don't have to provide a value...

As shown in the provided playground, if undefined is the input, then undefined is also the output as the fallback value is not triggerd. Removing undefined from the type signature would be a bug.

Has this issue been resolved or do you have any other questions or ideas for improvement?


Error while trying to stop file streaming

Installed version of homebridge-homepod-radio: v3.0.0 - latest
Seeing the following error in HomeBridge log:
[9/29/2024, 10:35:07 PM] [HomepodRadioPlatform] [File Play Button] Error while trying to stop: Error: Command failed: kill -9 322466 /bin/sh: 1: kill: No such process
This happens because when a file is played, playFile spawns a child process and sets a callback for when the child exits. When the child process terminates, it calls endStreaming, which calls killProcess with the PID of the child process which has already exited. Therefore kill -9 ${procId} will always fail to find a process with that PID.
/src/lib/airplayDevice.ts
  public async playFile(filePath: string, volume: number): Promise<boolean> {
      ...
      this.streaming = child.spawn(
          'python3',
          ...
      );

      ...

      this.streaming.on('exit', async (code, signal) => {
          this.logger.info(`[${this.streamerName}] streaming exit: code ${code} signal ${signal}`);
          await this.endStreaming();
      });

      ...
  }

  private async endStreaming(): Promise<boolean> {
      try {
          ...

          await this.killProcess(this.streaming.pid);
          this.streaming = null;
      } catch (err) {
          this.logger.error(`[${this.streamerName}] Error while trying to stop: ${err}`);
          this.streaming = null;
      }

      ...
  }

  private async killProcess(procId: number): Promise<void> {
      const cmd = `kill -9 ${procId}`;
      const result = await execAsync(cmd);
      this.debug(`[${this.streamerName}] Executing "${result}" result: ${JSON.stringify(result)}`);
  }

This could be fixed by passing a boolean flag to endStreaming() and only kill the subprocess if it's not a file stream:
  private async endStreaming(fileStream: boolean = false): Promise<boolean> {
      try {
          ...

          if (!fileStream) {
              await this.killProcess(this.streaming.pid);
          }
          this.streaming = null;
      } catch (err) {
          this.logger.error(`[${this.streamerName}] Error while trying to stop: ${err}`);
          this.streaming = null;
      }

      ...
  }

And calling
  public async playFile(filePath: string, volume: number): Promise<boolean> {
      ...

      this.streaming.on('exit', async (code, signal) => {
          this.logger.info(`[${this.streamerName}] streaming exit: code ${code} signal ${signal}`);
          await this.endStreaming(true);
      });

      ...
  }

Noticed that startStreaming also sets an exit callback, so code update:
  private async endStreaming(streamExit: boolean = false): Promise<boolean> {
      try {
          ...

          if (!streamExit) {
              await this.killProcess(this.streaming.pid);
          }
          this.streaming = null;
      } catch (err) {
          this.logger.error(`[${this.streamerName}] Error while trying to stop: ${err}`);
          this.streaming = null;
      }
      return Promise.resolve(true);
  }

then:
  public async playFile(filePath: string, volume: number): Promise<boolean> {
      ...

      this.streaming.on('exit', async (code, signal) => {
          this.logger.info(`[${this.streamerName}] streaming exit: code ${code} signal ${signal}`);
          await this.endStreaming(true);
      });

      ...

      return true;
  }

and:
  private async startStreaming(
      streamUrl: string,
      streamName: string,
      volume: number,
      heartbeat: (source: string, heartbeatFailed: () => Promise<void>) => Promise<void>,
      heartbeatFailed: () => Promise<void>,
  ): Promise<boolean> {
      ...

      this.streaming.on('exit', async (code, signal) => {
          this.logger.info(`[${this.streamerName}] streaming exit: code ${code} signal ${signal}`);
          await this.endStreaming(true);
      });

      ...

      return true;
  }


How do I get it to work on yac reader windows 11?

I tried everything. Placed the DLLsin 'C:\Program Files\YACReader\imageformats'. Tried with both read only and write DLLs. Still yac says comic not found upon opening CBZs with avif files. Please help.

YACReader is made using Qt 6.3.1 but qavif.dll was built using Qt 5.15.2
DLL for Qt5 will not work in Qt6 application.
qavif.dll should be built with ideally same Qt version.
Try following DLL which was built with Qt 6.2.4, for me it worked when I put qavif.dll in C:\Program Files\YACReader\imageformats\ folder.
avif_plugin_for_Qt6_2_4.zip
Verify properties of Qt6Gui.dll file in the future to see what Qt version the application uses.

YACReader is made using Qt 6.3.1 but qavif.dll was built using Qt 5.15.2
DLL for Qt5 will not work in Qt6 application.
qavif.dll should be built with ideally same Qt version.
Try following DLL which was built with Qt 6.2.4, for me it worked when I put qavif.dll in C:\Program Files\YACReader\imageformats\ folder. avif_plugin_for_Qt6_2_4.zip
Verify properties of Qt6Gui.dll file in the future to see what Qt version the application uses.

Worked like a charm. Thanks.


[SPARK-16622][SQL] Fix NullPointerException when the returned value of the called method in Invoke is null

What changes were proposed in this pull request?
Currently we don't check the value returned by called method in Invoke. When the returned value is null and is assigned to a variable of primitive type, NullPointerException will be thrown.
How was this patch tested?
Jenkins tests.

Test build #62520 has started for PR 14259 at commit 1ba01e4.

Test build #62520 has finished for PR 14259 at commit 1ba01e4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62520/
Test FAILed.

Merged build finished. Test FAILed.

Test build #62527 has started for PR 14259 at commit 9807384.

Test build #62527 has finished for PR 14259 at commit 9807384.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62527/
Test FAILed.

Test build #62535 has started for PR 14259 at commit 1884a61.

Test build #62535 has finished for PR 14259 at commit 1884a61.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62535/
Test PASSed.

cc @cloud-fan @rxin Can you review this? Please take a look. Thanks.

When the returned value is null, NullPointerException will be thrown.

Can you explain a bit more about this? Why a method can't return null?

Use the added test case as example, the generated java code to access the second element in a Tuple2 (false, null) throws NullPointerException:
int value = isNull1? -1 : (Integer) obj._2();

To assign a null to int will cause NullPointerException. But isNull1 only checks if obj is null or not.

Test build #62665 has started for PR 14259 at commit faf0866.

Test build #62665 has finished for PR 14259 at commit faf0866.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62665/
Test PASSed.

Merged build finished. Test PASSed.

Test build #62720 has started for PR 14259 at commit 57c7fb6.

Test build #62720 has finished for PR 14259 at commit 57c7fb6.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ObjectExpressionsSuite extends SparkFunSuite with ExpressionEvalHelper

@cloud-fan Unit test is added. Please take a look if this PR is good for you now. Thanks.

Test build #62728 has started for PR 14259 at commit 7a07617.

Test build #62728 has finished for PR 14259 at commit 7a07617.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62728/
Test PASSed.

thanks, merging to master!

Thanks for reviewing this.


Normalize python-modules attribute names and pnames

Python attribute and pnames should be normalized according to https://packaging.python.org/en/latest/specifications/name-normalization/#normalization.
The following list of names, that need work, was provided by @adisbladis in the nixpkgs python room.
Cc'ing people who are currently doing the work in the python ecosystem.
@dotlambda @fabaff @SuperSandro2000 @tjni @natsukium
The workflow would be to

Normalize pname in the derivation
Normalize the directory name
Normalize attribute name and path in pkgs/top-level/python-packages.nix
Update all references to the old attribute name treewide
Create an alias in pkgs/top-level/python-aliases.nix for the old attribute name
Commit python310Packages.newname: rename from oldname

[x] Polygon3 https://github.com/NixOS/nixpkgs/pull/248010
[x] ViennaRNA https://github.com/NixOS/nixpkgs/pull/250922
[x] amazon_kclpy https://github.com/NixOS/nixpkgs/pull/248014
[x] async_generator https://github.com/NixOS/nixpkgs/pull/248081
[x] async_stagger https://github.com/NixOS/nixpkgs/pull/248082
[x] async-timeout https://github.com/NixOS/nixpkgs/pull/248083
[x] asyncio-mqtt https://github.com/NixOS/nixpkgs/pull/248084
[x] atsim_potentials https://github.com/NixOS/nixpkgs/pull/259675
[x] backports_csv https://github.com/NixOS/nixpkgs/pull/245894
[x] backports_functools_lru_cache https://github.com/NixOS/nixpkgs/pull/245894
[x] backports_tempfile https://github.com/NixOS/nixpkgs/pull/245894
[x] backports_unittest-mock https://github.com/NixOS/nixpkgs/pull/245894
[x] backports_weakref https://github.com/NixOS/nixpkgs/pull/245894
[ ] bash_kernel #266657
[x] beancount_docverif https://github.com/NixOS/nixpkgs/pull/259679
[x] bip_utils https://github.com/NixOS/nixpkgs/pull/260567
[ ] btsmarthub_devicelist
[x] clr-loader https://github.com/NixOS/nixpkgs/pull/247295
[ ] covCore
[x] cx_Freeze https://github.com/NixOS/nixpkgs/pull/246900
[ ] cx_oracle
[x] deep_merge https://github.com/NixOS/nixpkgs/pull/259944
[x] distutils_extra https://github.com/NixOS/nixpkgs/pull/260573
[x] django_classytags #245390
[x] django_colorful #245390
[x] django_compat #245390
[x] django_contrib_comments #245390
[x] django_nose #245390
[x] django_silk #245390
[x] django_tagging #245390
[x] django_treebeard #245390
[ ] docker_pycreds
[x] et_xmlfile https://github.com/NixOS/nixpkgs/pull/261328
[ ] eyeD3
[x] factory_boy https://github.com/NixOS/nixpkgs/pull/259729
[ ] fastnlo_toolkit
[ ] filebrowser_safe
[x] flask_assets https://github.com/NixOS/nixpkgs/pull/250993
[x] flask_elastic https://github.com/NixOS/nixpkgs/pull/250993
[x] flask_mail https://github.com/NixOS/nixpkgs/pull/250993
[x] flask_marshmallow https://github.com/NixOS/nixpkgs/pull/249441
[x] flask_migrate https://github.com/NixOS/nixpkgs/pull/250993
[x] flask_principal https://github.com/NixOS/nixpkgs/pull/250993
[x] flask_script https://github.com/NixOS/nixpkgs/pull/250993
[ ] flowlogs_reader
[ ] flufl_bounce https://github.com/NixOS/nixpkgs/pull/265198
[ ] flufl_i18n https://github.com/NixOS/nixpkgs/pull/265198
[ ] flufl_lock https://github.com/NixOS/nixpkgs/pull/265198
[ ] github3_py
[ ] gradient_statsd
[x] grappelli_safe https://github.com/NixOS/nixpkgs/pull/259732
[ ] groestlcoin_hash
[x] guzzle_sphinx_theme https://github.com/NixOS/nixpkgs/pull/261330
[ ] hcs_utils
[x] ipython_genutils https://github.com/NixOS/nixpkgs/pull/260593
[x] jinja2_pluralize https://github.com/NixOS/nixpkgs/pull/264721
[ ] jsonpath_rw
[x] jupyter_console https://github.com/NixOS/nixpkgs/pull/253281
[ ] jupyterlab_launcher
[ ] jupyterlab_server
[ ] keepkey_agent
[x] lazr_config https://github.com/NixOS/nixpkgs/pull/265243
[x] lazr_delegates https://github.com/NixOS/nixpkgs/pull/265243
[ ] lazy_import
[x] lazy_imports https://github.com/NixOS/nixpkgs/pull/261332
[ ] lcov_cobertura
[ ] ledger_agent
[ ] line_profiler https://github.com/NixOS/nixpkgs/pull/265256
[ ] linear_operator
[ ] ludios_wpull
[ ] mac_alias
[x] memory_profiler https://github.com/NixOS/nixpkgs/pull/259952
[ ] mir_eval
[x] multi_key_dict https://github.com/NixOS/nixpkgs/pull/265582
[ ] nose_warnings_filters
[x] opsdroid_get_image_size https://github.com/NixOS/nixpkgs/pull/261334
[ ] posix_ipc
[x] proxy_tools https://github.com/NixOS/nixpkgs/pull/265587
[ ] pyRFC3339
[x] pySmartDL https://github.com/NixOS/nixpkgs/pull/260345
[ ] py_scrypt
[ ] py_stringmatching
[ ] pygame_sdl2
[x] pymaging_png https://github.com/NixOS/nixpkgs/pull/265260
[ ] pyqt5_sip
[ ] pyqt5_with_qtmultimedia
[ ] pyqt5_with_qtwebkit
[x] pyramid_beaker https://github.com/NixOS/nixpkgs/pull/250999
[x] pyramid_chameleon https://github.com/NixOS/nixpkgs/pull/250999
[x] pyramid_exclog https://github.com/NixOS/nixpkgs/pull/250999
[x] pyramid_mako https://github.com/NixOS/nixpkgs/pull/250999
[x] pyramid_multiauth https://github.com/NixOS/nixpkgs/pull/250999
[ ] pysideShiboken
[ ] pysideTools
[x] python_docs_theme https://github.com/NixOS/nixpkgs/pull/265377
[ ] python_fedora
[ ] python_openzwave
[x] qds_sdk https://github.com/NixOS/nixpkgs/pull/262430
[ ] querystring_parser
[ ] radicale_infcloud
[x] radio_beam https://github.com/NixOS/nixpkgs/pull/265383
[ ] rank_bm25
[ ] readme_renderer
[x] recaptcha_client https://github.com/NixOS/nixpkgs/pull/262244
[ ] recursivePthLoader
[ ] repoze_lru
[ ] repoze_sphinx_autointerface
[ ] repoze_who
[ ] requests_download
[ ] requests_ntlm
[x] restructuredtext_lint https://github.com/NixOS/nixpkgs/pull/265269
[ ] retry_decorator
[ ] setuptoolsTrial
[ ] sip_4
[ ] sorl_thumbnail
[ ] spark_parser
[x] sphinx_pypi_upload https://github.com/NixOS/nixpkgs/pull/260349
[x] sphinxcontrib_httpdomain https://github.com/NixOS/nixpkgs/pull/259350
[x] sphinxcontrib_newsfeed https://github.com/NixOS/nixpkgs/pull/259350
[x] supervise_api https://github.com/NixOS/nixpkgs/pull/260353
[ ] sysv_ipc
[ ] thumborPexif
[x] torrent_parser https://github.com/NixOS/nixpkgs/pull/265386
[ ] trezor_agent
[x] tvdb_api https://github.com/NixOS/nixpkgs/pull/262250
[ ] ufoLib2
[ ] update_checker
[x] vega_datasets https://github.com/NixOS/nixpkgs/pull/265390
[ ] wxPython_4_2
[ ] x11_hash https://github.com/NixOS/nixpkgs/pull/265580
[ ] zc_lockfile
[x] zope_broken https://github.com/NixOS/nixpkgs/pull/245467
[x] zope_component https://github.com/NixOS/nixpkgs/pull/245808
[ ] zope_configuration
[x] zope_contenttype https://github.com/NixOS/nixpkgs/pull/260333
[ ] zope_copy
[x] zope_deprecation https://github.com/NixOS/nixpkgs/pull/259576
[ ] zope_dottedname
[ ] zope_event https://github.com/NixOS/nixpkgs/pull/265392
[ ] zope_exceptions
[ ] zope_filerepresentation
[x] zope_i18nmessageid https://github.com/NixOS/nixpkgs/pull/246044
[ ] zope_interface
[x] zope_lifecycleevent https://github.com/NixOS/nixpkgs/pull/260342
[ ] zope_location
[x] zope_proxy https://github.com/NixOS/nixpkgs/pull/259591
[ ] zope_schema
[ ] zope_size
[ ] zope_testing
[ ] zope_testrunner
[x] zxing_cpp https://github.com/NixOS/nixpkgs/pull/265575

Is there more context available to the name normalization reasoning?
As a user, the 1:1 mapping between pypi packages and nixpkgs package name is quite convenient. It allows me to copy-paste things around.

We follow PEP 503 normalization rules, according to the python contributing guidelines.

Attribute names in python-packages.nix as well as pnames should match the library's name on PyPI, but be normalized according to PEP 0503. This means that characters should be converted to lowercase and . and _ should be replaced by a single - (foo-bar-baz instead of Foo__Bar.baz). If necessary, pname has to be given a different value within fetchPypi.

Originated in https://github.com/NixOS/nixpkgs/pull/45822

for every entry there is now an PR ongoing, except for two package:

pysideShiboken
pysideTools

any idea what to do with them? they seem perfectly fine.

@adisbladis can you please check if all packages (except #285868) are correct? or some new unnormalized sneaked in?

I did myself a "quick" check and came up with this list of remaining packages:

[ ] backports_shutil_get_terminal_size
[ ] command_runner
[ ] connect-box
[ ] moderngl-window
[ ] setuptools_dso
[ ] smpp_pdu

imread's pname looks off

FYI: @dotlambda I just sorted your list. Otherwise documenting the progress is hard. Hope that is ok.

@dotlambda can you please verify again. I think we can close this issue.

found some more packages:

[ ] aspy-yaml
[ ] smpp-pdu
[ ] backports-shutil-which
[ ] backports-shutil-get-terminal-size

all the lists in this thread are now done. staging is merged into master.
Therefore I consider this done.


blurStyle property of BoxShadow widget looks weird when used with offset property

Steps to Reproduce

Recently added blurStyle property of the BoxShadow widget causes weird looking shadows when used with Offset.
Expected results:
Without setting the blurStyle property, there is no problem:
              BoxShadow(
                color: Colors.black54,
                offset: Offset(6.0, 6.0),
                blurRadius: 12.0,
              ),

Actual results:
Setting blurStyle property to BlurStyle.outer WITH offset, it looks like this:
              BoxShadow(
                color: Colors.black54,
                offset: Offset(6.0, 6.0),
                blurRadius: 12.0,
                blurStyle: BlurStyle.outer,
              ),

Setting blurStyle property to BlurStyle.outer WITHOUT offset, it looks normal:
              BoxShadow(
                color: Colors.black54,
                blurRadius: 12.0,
                blurStyle: BlurStyle.outer,
              ),

Code sample

import 'package:flutter/material.dart';

class Issue extends StatelessWidget {
  const Issue({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.grey.shade800,
      body: Center(
        child: Container(
          width: 192.0,
          height: 192.0,
          decoration: const ShapeDecoration(
            color: Color(0xFFE0E0E0),
            shape: RoundedRectangleBorder(
              borderRadius: BorderRadius.all(
                Radius.circular(20.0),
              ),
            ),
            shadows: <BoxShadow>[
              BoxShadow(
                color: Colors.black54,
                offset: Offset(6.0, 6.0),
                blurRadius: 12.0,
                blurStyle: BlurStyle.outer,
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Logs

[  +51 ms] Skipping pub get: version match.
[  +14 ms] Found plugin audio_session at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1\
[  +11 ms] Found plugin just_audio at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.20\
[   +4 ms] Found plugin just_audio_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.4\
[   +6 ms] Found plugin path_provider at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.9\
[   +2 ms] Found plugin path_provider_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.11\
[   +1 ms] Found plugin path_provider_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.7\
[   +2 ms] Found plugin path_provider_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +2 ms] Found plugin path_provider_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.5\
[   +2 ms] Found plugin path_provider_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +4 ms] Found plugin shared_preferences at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.12\
[   +1 ms] Found plugin shared_preferences_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_android-2.0.10\
[   +1 ms] Found plugin shared_preferences_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_ios-2.0.9\
[   +2 ms] Found plugin shared_preferences_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.4\
[   +3 ms] Found plugin shared_preferences_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\
[   +2 ms] Found plugin shared_preferences_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.3\
[   +1 ms] Found plugin shared_preferences_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.4\
[  +30 ms] Found plugin audio_session at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1\
[   +6 ms] Found plugin just_audio at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.20\
[   +2 ms] Found plugin just_audio_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.4\
[   +3 ms] Found plugin path_provider at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.9\
[   +1 ms] Found plugin path_provider_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.11\
[   +1 ms] Found plugin path_provider_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.7\
[   +1 ms] Found plugin path_provider_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +1 ms] Found plugin path_provider_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.5\
[   +1 ms] Found plugin path_provider_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +3 ms] Found plugin shared_preferences at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.12\
[   +1 ms] Found plugin shared_preferences_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_android-2.0.10\
[   +1 ms] Found plugin shared_preferences_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_ios-2.0.9\
[   +1 ms] Found plugin shared_preferences_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.4\
[   +1 ms] Found plugin shared_preferences_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\
[   +1 ms] Found plugin shared_preferences_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.3\
[   +1 ms] Found plugin shared_preferences_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.4\
[  +10 ms] Generating C:\src\Flutter Projects\local_hero_deneme\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +95 ms] Launching lib\main.dart on Chrome in debug mode...
[ +117 ms] Updating assets
[ +101 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[   +5 ms] Waiting for connection from debug service on Chrome...
[   +5 ms] Found plugin audio_session at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1\
[   +2 ms] Found plugin just_audio at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.20\
[   +1 ms] Found plugin just_audio_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.4\
[   +2 ms] Found plugin path_provider at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.9\
[        ] Found plugin path_provider_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.11\
[        ] Found plugin path_provider_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.7\
[        ] Found plugin path_provider_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[        ] Found plugin path_provider_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.5\
[   +1 ms] Found plugin path_provider_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +2 ms] Found plugin shared_preferences at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.12\
[   +1 ms] Found plugin shared_preferences_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_android-2.0.10\
[        ] Found plugin shared_preferences_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_ios-2.0.9\
[        ] Found plugin shared_preferences_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.4\
[        ] Found plugin shared_preferences_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\
[   +1 ms] Found plugin shared_preferences_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.3\
[        ] Found plugin shared_preferences_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.4\
[   +6 ms] Found plugin audio_session at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1\
[   +4 ms] Found plugin just_audio at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.20\
[   +1 ms] Found plugin just_audio_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.4\
[   +2 ms] Found plugin path_provider at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.9\
[        ] Found plugin path_provider_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.11\
[   +1 ms] Found plugin path_provider_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.7\
[        ] Found plugin path_provider_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[        ] Found plugin path_provider_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.5\
[   +1 ms] Found plugin path_provider_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +1 ms] Found plugin shared_preferences at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.12\
[        ] Found plugin shared_preferences_android at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_android-2.0.10\
[   +1 ms] Found plugin shared_preferences_ios at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_ios-2.0.9\
[   +1 ms] Found plugin shared_preferences_linux at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.4\
[        ] Found plugin shared_preferences_macos at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\
[   +1 ms] Found plugin shared_preferences_web at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.3\
[        ] Found plugin shared_preferences_windows at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.4\

[√] Flutter (Channel stable, 2.10.2, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
    • Flutter version 2.10.2 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (11 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Ercan\AppData\Local\Android\Sdk
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Ercan\AppData\Local\Android\Sdk
    • ANDROID_SDK_ROOT = C:\Users\Ercan\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.7.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
    • Visual Studio Enterprise 2019 version 16.7.30503.244
    • Windows 10 SDK version 10.0.18362.0

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

[√] VS Code (version 1.64.2)
    • VS Code at C:\Users\Ercan\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.34.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1526]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 98.0.4758.102
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 98.0.1108.62

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

• No issues found!

Verified this behavior on latest stable and master and do see the same behavior as reported, ie:

With blurStyle: BlurStyle.outer and offset: Offset(6.0, 6.0) we see below result:

While only using blurStyle: BlurStyle.outer, we see below proper result:

Since blurStyle property was added as part of this PR https://github.com/flutter/flutter/pull/88697, I tried to verify if this has caused the reported behavior or has regressed, so verified this on stable 2.8.1, 2.10.x versions, but the result is same as above.
Stable 2.5.3 probably didn't have blurStyle property, as I got below:

 complete code sample

import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      home: Scaffold(
        appBar: AppBar(), //AppBar
        body: Center(
          child: Padding(
            padding: const EdgeInsets.all(12.0),
            child: SizedBox(
              height: 200,
              width: 250,
              child: Container(
                decoration: BoxDecoration(
                  image: const DecorationImage(
                    image: NetworkImage(
                        'https://picsum.photos/250?image=9'), //NetworkImage
                    scale: 3.0,
                  ), //DecorationImage
                  border: Border.all(
                      color: Colors.green,
                      width: 4.0,
                      style: BorderStyle.solid), //Border.all

                  borderRadius: BorderRadius.only(
                    topLeft: Radius.circular(10.0),
                    topRight: Radius.circular(10.0),
                    bottomLeft: Radius.circular(10.0),
                    bottomRight: Radius.circular(10.0),
                  ),

                  boxShadow: [
                    BoxShadow(
                        color: Colors.black54,
                        offset: Offset(6.0, 6.0),
                        blurRadius: 12.0,
                        blurStyle: BlurStyle.outer),
                  ],
                ), //BoxDecoration
              ), //Container
            ), //SizedBox
          ), //Padding
        ), //Center
      ), //Scaffold
    ), //MaterialApp
  );
}

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.2, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.10.2 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (2 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.11.0-0.0.pre.731, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.731 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8f360c977a (5 hours ago), 2022-03-01 16:26:11 -0800
    • Engine revision a5718ab3c3
    • Dart version 2.17.0 (build 2.17.0-156.0.dev)
    • DevTools version 2.11.1

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

Same issue if spreadRadius is used with BlurStyle.outer. It seems if either offset or spreadRadius is used with BlurStyle.outer the shadow color (or when no color is specified the default color) applies to the "inner" part which should be transparent. Which is the case if BlurStyle.outer is used without spreadRadius or offset. This seems like a bug. While it might seem like a minor issue, it excludes creating more complex shadows or even something like an "outer" border for a container with transparent background.

What’s also noteworthy is that the logic for shadow painting is implemented in the _BoxDecorationPainter class in the box_decoration.dart file, as opposed to the BoxShadow class itself. This is very different from the abstract BoxBorder class which paints itself and can therefore be implemented in ways that are different from the Border class provided by Flutter.
This unfortunately makes it impossible to implement your own BoxShadow class that fixes this as far as I can tell. I wonder what the reasoning behind this decision is.

Any updates?


Support 'NO_BACKSLASH_ESCAPES' sql_mode

Description
Doris supports creating external MySQL table, and can query mysql table using SQL. When querying MySQL table, Doris simply assemble the predicates(filter) into a SQL and pass it to the MySQL server.
On the other hand, Doris, as a SQL query engine, is using backslash to escape characters. So the lexical parser will consume the backslash in parsing phase. But when we are querying a MySQL table, This may take the SQL injection risk. For example:
SELECT * FROM mysql_table WHERE  k1 = '1\') UNION ALL SELECT 1,2,3#'
The original statement expects to query the result where k1 equals to the string 1') UNION ALL SELECT 1,2,3#, where the ' is escaped by a backslash. But because this is a MySQL table, so we simply pass the value 1') UNION ALL SELECT 1,2,3# to the MySQL server, where the ' is NOT escaped by backslash, as in MySQL server view. So, the final query statement becomes:
SELECT * FROM mysql_table WHERE  (k1 = '1') UNION ALL SELECT 1,2,3#')
which is not what we expected. (We add the () to try protecting the integrity of the predicates. And# is treated as comments, so characters after # are ignored. )
Solution
The main reason why this happens is that Doris can not know whether user is querying a Doris table or an external MySQL table when in lexical parsing phase. So Doris can not determine whether to consume the backslash or not.
A simple solution is to escape the backlash itself. For example:
SELECT * FROM mysql_table WHERE  k1 = '1\\\\') UNION ALL SELECT 1,2,3#'
But this is inconvenient for user.
So we reference the MySQL variable sql_mode, which has a mode called 'NO_BACKSLASH_ESCAPES', which means Disable the use of the backslash character () as an escape character within strings.
Before a user querying a MySQL table, it can first execute:
SET [GLOBALE] VARIABLE sql_mode=NO_BACKSLASH_ESCAPES;
and then simple query MySQL table:
SELECT * FROM mysql_table WHERE  k1 = '1\') UNION ALL SELECT 1,2,3#'
without any further pre-processing of the SQL. And the Doris will pass the final statement to MySQL server as:
SELECT * FROM mysql_table WHERE  (k1 = '1\') UNION ALL SELECT 1,2,3#')
which is correct.

The 'NO_BACKSLASH_ESCAPES' sql_mode we supported before does not have same meaning as MySQL's sql_mode with same name.
In MySQL, 'NO_BACKSLASH_ESCAPES' means to ignore the backslash at the very beginning of lexical parsing phase. But what we implemented in Doris, is to ignore backslash just in accepted quoted string.
In MySQL, if sql_mode is set to 'NO_BACKSLASH_ESCAPES', the following stmt will not be accepted:
select * from tbl where k1 'ab\'c';
But in Doris, this stmt is accepted with sql_mode set to 'NO_BACKSLASH_ESCAPES'.
Because in Doris, jflex is used as lexical parser, which does not support ignoring backslash when parsing the origin string. So first, jflex will accept the string 'ab\'c' as ab'c. And than it makes a further analysis to this string, determine whether to keep the backslash or not. (ab'c or ab\'c).

Our original goal it to use this feature to avoid SQL injection risk. But first, user must know that it is querying a MySQL table before setting this variable. And it also add complexity to the implementation of many other feature, such as Creating View, which we will re-parsing the view stmt in replay process, so we have to save the sql_mode's value in Creating View operation's edit log. And also, we need to pass this sql_mode when we are forwarding the stmt to Master FE.

So we decides not implementing this feature right now. User can avoid SQL injection risk by adding more backslash to escape, for now.
And we may redesign this feature later, after thinking it twice.


OpenJS Foundation Security Collab Space Meeting 2023-10-23

Time
UTC Mon 23-Oct-2023 18:00 (06:00 PM):

Timezone
Date/Time

US / Pacific
Mon 23-Oct-2023 11:00 (11:00 AM)

US / Mountain
Mon 23-Oct-2023 12:00 (12:00 PM)

US / Central
Mon 23-Oct-2023 13:00 (01:00 PM)

US / Eastern
Mon 23-Oct-2023 14:00 (02:00 PM)

EU / Western
Mon 23-Oct-2023 19:00 (07:00 PM)

EU / Central
Mon 23-Oct-2023 20:00 (08:00 PM)

EU / Eastern
Mon 23-Oct-2023 21:00 (09:00 PM)

Moscow
Mon 23-Oct-2023 21:00 (09:00 PM)

Chennai
Mon 23-Oct-2023 23:30 (11:30 PM)

Hangzhou
Tue 24-Oct-2023 02:00 (02:00 AM)

Tokyo
Tue 24-Oct-2023 03:00 (03:00 AM)

Sydney
Tue 24-Oct-2023 05:00 (05:00 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Security Collab Space+Meeting+2023-10-23&iso=20231023T1800
or https://www.wolframalpha.com/input/?i=06PM+UTC%2C+Oct+23%2C+2023+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/12xd-T5G-mSecpzQjU5dzdBUs_RTK21-9b4psdZPEar4/edit

Agenda
Extracted from security-agenda labelled issues and pull requests from the openjs-foundation org prior to the meeting.
openjs-foundation/security-collab-space

Discuss: Request for Information on Open-Source Software Security: Areas of Long-Term Focus and Prioritization #53
Create a prescriptive best practices toolchain #45

Invited

OpenJS Foundation Security Collab Space Members
OpenJS Foundation Cross Project Council
OpenJS Foundation Project Maintainers
OpenJS Foundation Board of Directors
All are welcome

Observers/Guests
Notes
The agenda comes from issues labelled with security-agenda across all of the repositories in the openjs-foundation org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting
link for participants: Zoom link: https://zoom.us/j/94497273832

For those who just want to watch: https://livestream.openjsf.org

Invitees
Please use the following emoji reactions in this post to indicate your
availability.

:+1: - Attending
:-1: - Not attending
:confused: - Not sure yet

No meeting notes taken or perhaps meeting was canceled


  I figured, what the hell, give it a try.
This actually works like a charm.  Thanks!

:)


Undefined config

Hi everyone!
I have encountered an issue with the library while I was upgrading from Angular 6 to 10. The error occurs at Angular 9.1.
I am receiving the following issue on Chrome: TypeError: Cannot read property 'toast' of undefined and on Firefox: TypeError: this.config is undefined. The dependency injection is done as it is written in the documentation, but when I check the variable it has an undefined config.
I am using v9.0.1 of the library.
Thank your for the help in advance! :)

I have found a solution, I had to change the part with the dependency injection, so instead of
constructor(private snotifyService: SnotifyService) {}
it looks like
constructor(private snotifyService: SnotifyService) {snotify.config = ToastDefaults;}
ToastDefaults of course was imported form ng-snotify

I have found a solution, I had to change the part with the dependency injection, so instead of
constructor(private snotifyService: SnotifyService) {}
it looks like
constructor(private snotifyService: SnotifyService) {snotify.config = ToastDefaults;}
ToastDefaults of course was imported form ng-snotify

Thank you, it resolves the issue!


credentialsManager alters access token expiry upon storing credentials

Checklist

[X] The issue can be reproduced in the auth0_flutter sample app (or N/A).
[X] I have looked into the README and have not found a suitable solution or answer.
[X] I have looked into the API documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
Authenticating with the API.
My local timezone is UTC + 10 (Australia/Brisbane).
Initial value of expiresAt
The Credentials returned by auth0.api.login() print the following value for the expiresAt property (which is defined as "The absolute date and time of when the access token expires"): 2022-09-07 11:04:54.000Z (or<PHONE_NUMBER>000 ms since Epoch). This is expected and in line with the access token expiry value I set in Auth0's dashboard.
Value of expiresAt after storing credentials
After invoking the Credentials Manager's storeCredentials method to store the above, this is the value of expiresAt when retrieved by the credentials() method : 2022-09-07 01:04:54.000Z (or<PHONE_NUMBER>000 ms since Epoch).
Expected
expiresAt should be identical in both scenarios
Actual
Credentials Manager (CM) wrongly adjusts the initial timestamp to my timezone upon storing and / or subsequently retrieving.
Consequences / side effects

expiresAt, once stored, cannot be trusted if relied upon (to e.g. have a session timeout warning mechanism when user is inactive)
upon subsequently calling the CM's credentials() method, the wrong timestamp is interpreted and the following message is outputted: "Credentials have expired. Renewing them now..." even though the current credentials should still be valid.
even when the above happens and the CM wrongly thinks that credentials have expired, its hasValidCredentials() method still returns true

Reproduction

Set the Auth0 API access token expiry to 36060 if you're UTC+10 (adjust when necessary so it's ~1min past your current TZ)
Make provision to print expiresAt (for both what's retrieved by api.login() + a subsequent credentialsManager.credentials())
Login using the API with valid credentials

auth0_flutter version
1.0.0
Flutter version
3.3.0
Platform
Android
Platform version(s)
31

Hi @tom-smith-alex, thanks for raising this.
I tried to reproduce it, but was unsuccessful:
With iOS Credentials Manager

With Android Credentials Manager

Set the Auth0 API access token expiry to 36060 if you're UTC+10 (adjust when necessary so it's ~1min past your current TZ)

What is this for? The token expiry should not make any difference here.

Thanks @Widcket for looking into this. Looking at that second screenshot you posted (Android), the timestamps do look different (hence error is reproducible)?

Indeed, I missed it 🤦🏼♀. I'll look into this, which seems to be related to the Android Credentials Manager.

@tom-smith-alex this is now fixed in v1.0.1. Thanks again for reporting this!


[ERROR] Failed to load structure descriptor from h5df file.

https://github.com/idealo/image-quality-assessment
python -m keras2ncnn -i weights_mobilenet_aesthetic_0.07.hdf5 -o ./
get this error
Reading and parsing keras h5df file...
[ERROR] Failed to load structure descriptor from h5df file.
You may load a weight only file.
Such issue may caused by following ways:
1. You are using model.save_weights instead of model.save
2. You are trying to load a weight file download from somewhere.
If you are very confident of your file, please report a bug at:

Hi. I think the error message is pretty clear. The model in the repo is just the weight and does not contain model parameters and structure. You need to export the model with both the structure and the weight.


GL.createCapabilities - java.lang.IllegalStateException: There is no OpenGL context current in the current thread LWJGL 3.3.3 regression

Version
3.3.3
Platform
Linux x64
JDK
OpenJDK 21
Module
OpenGL
Bug description
I am getting IllegalStateException while attaching to GL context in an LWJGL application embeded into a native C++ app (X-Plane). I am getting the error in the following situation:

Platform is Linux
Machine is dual-gpu (Radeon & NVidia)
GL context is Mesa - ZINK powered, created by native app (X-Plane)

The exception is thrown only with LWJGL 3.3.3. With 3.3.2, the above works perfectly fine. The GL context must be valid because other native non LWJGL based plugins work OK.
Anything relevant changed in GL context init in version 3.3.3 which might be causing this?
Stacktrace or crash log output
java.lang.IllegalStateException: There is no OpenGL context current in the current thread.
        at org.lwjgl.opengl.GL.createCapabilities(GL.java:382)
        at org.lwjgl.opengl.GL.createCapabilities(GL.java:311)
        at org.lwjgl.opengl.GL.createCapabilities(GL.java:295)
        at com.airfoillabs.xjet.graphics.GLGraphics.init(GLGraphics.java:1194)

Hey @dpospisil,

Anything relevant changed in GL context init in version 3.3.3 which might be causing this?

Yes, LWJGL now prefers loading libGLX.so.0 over libGL.so.1 to be compatible with GLFW. See libglvnd for more information. I suspect that this succeeds, but the native application loaded libGL.so.1 instead.
You can verify this by passing these JVM arguments: -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true. A workaround would be -Dorg.lwjgl.opengl.libname=libGL.so.1, which overrides the default LWJGL behavior.

@Spasi Many thanks for quick response. Closing as this is expected behavior and the workaround -Dorg.lwjgl.opengl.libname=libGL.so.1 works.


Reporting via annotation for Testng and JUnit5

Very basic implementation to allow Testng and JUnit5 tests to be pushed into Angles with their final test status shown
Example runs given below for each testing framework

But the log4j appender works brilliantly 👍


SelfSizing returned cross-axis size should change if the align property is set to Stretch

If the item has a SelfSizing delegate returning a positive value for the cross-axis size and has Stretch set for its AlignSelf property and there is available space in the cross-axis plane, the item's cross-axis size will not change to fill up the remaining space.

Should be fixed by 72ec5e82b268cf5981185c90e908197260c9f8d6


Fisher: failed to lookup fish

Today i received following error when used mooched fish  Aether Eye at Delta Quadrant
OverlayPlugin: Hibiya
Game Language: DE
Plugin also does recognize DE as its language
Error:

15.10.2019 18:29:17: Info: fischer: BrowserConsole: failed to look up fish: in  (Source: file:///E:/FINAL%20FANTASY%20XIV%20-%20A%20Realm%20Reborn/AdditionalExtern/ACT/Plugins/OverlayPlugin_hibiya/cactbot/ui/fisher/seabase.js, Line: 221)
15.10.2019 18:29:17: Info: fischer: BrowserConsole: Uncaught (in promise) DataError: Failed to execute 'only' on 'IDBKeyRange': The parameter is not a valid key. (Source: file:///E:/FINAL%20FANTASY%20XIV%20-%20A%20Realm%20Reborn/AdditionalExtern/ACT/Plugins/OverlayPlugin_hibiya/cactbot/ui/fisher/seabase.js, Line: 266)

The fisher overlay displays also "undefined" instead the usual bait/mooched fish

Additionaly i found fishing spots which are not recognized/ throw errors:

18.10.2019 20:55:14: Info: fischer: BrowserConsole: failed to look up place: am Hoffnungsschimmer-Teich (Source: file:///E:/FINAL%20FANTASY%20XIV%20-%20A%20Realm%20Reborn/AdditionalExtern/ACT/Plugins/OverlayPlugin_hibiya/cactbot/ui/fisher/seabase.js, Line: 242)
18.10.2019 20:55:14: Info: fischer: BrowserConsole: failed to look up place: [object Object] (Source: file:///E:/FINAL%20FANTASY%20XIV%20-%20A%20Realm%20Reborn/AdditionalExtern/ACT/Plugins/OverlayPlugin_hibiya/cactbot/ui/fisher/seabase.js, Line: 242)

I will close this one for now, as most fishing holes i have used in the last few weeks worked fine as is (+ this one is quite old)


The product video is not playing on the product view page of the shop.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
On the product page in the shop, videos are displayed alongside images in the list, but when clicking on a video, it shows a blank space.
Preconditions
It is essential to have a product on the shop that includes both images and videos.
Steps to reproduce

Go to 'Admin panel'
Then create a product.
Make sure to add pictures or videos when adding a product.
Visit the shop and check out the product. Click on the product to watch its video.
See error

Expected Result
When clicking on the product video, the video should be displayed and played.
Actual Result
When clicking on the product video, the video does not play, and a blank space is displayed.
Screenshots

Additional context
No response

@jitendra-webkul,
We found that the video is not showing because the @load event does not work with videos in all browsers. Therefore, we can use 'loadeddata' here. and also fix unfocused video.

Checked and found that the issue has been fixed, I checked the video play in Mozila Firefox and chrome browser, and it is working fine.
Please check the video  for reference.
Video
https://github.com/bagisto/bagisto/assets/92721837/3d9e8151-bf57-426d-80de-4e6d1fd41ff0
https://github.com/bagisto/bagisto/assets/92721837/4b9aadc4-d939-4a06-8941-5c78965243e1


connect to remote host

Which version of Elastic are you using?
[x] elastic.v6 (for Elasticsearch 6.x)
expected behavior
being able to use http client, or remote server.
actual behavior
cannot login (ping) to remote ES server.
on the other hand, I was able to login via curl curl -k http://<domain>:9200.
no basic auth required.
steps to reproduce
I tried to use both implementations,
	httpClient := &http.Client{Timeout: 10000}
	client, err := elastic.NewClient(
		elastic.SetURL(server),
		elastic.SetHttpClient(httpClient),
	)
	if err != nil {
		fmt.Println("ops! something gets wrong.")
		panic(err)
	}

	client, err := elastic.NewClient(
		elastic.SetURL(server),
	)
	if err != nil {
		fmt.Println("ops! something gets wrong.")
		panic(err)
	}

do I missed something ?!

@mrsiano I think I had the same issue as you have. I'm not that familiar with Elasticsearch nor this library but I think it's related to miss-configured Elasticsearch clusters + sniffing https://godoc.org/github.com/olivere/elastic#NewClient :

The list of nodes found in the sniffing process will be used to make connections to the REST API of Elasticsearch.

In my case I have a single node in the Elasticsearch search reachable at <IP_ADDRESS>:9200 but which reports "publish_address": "<IP_ADDRESS>:9200",:
user ~ $ curl http://<IP_ADDRESS>:9200/
{
  "name" : "node0.es-cluster.example.net",
  "cluster_name" : "es-cluster.example.net",
  "cluster_uuid" : "TAXt8V7kQI5bL3rqQcDAqB",
  "version" : {
    "number" : "6.3.2",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "053779d",
    "build_date" : "2018-07-20T05:20:23.451332Z",
    "build_snapshot" : false,
    "lucene_version" : "7.3.1",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

user ~ $ curl http://<IP_ADDRESS>:9200/_nodes/http | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   497  100   497    0     0  55222      0 --:--:-- --:--:-- --:--:-- 62125
{
  "_nodes": {
    "total": 1,
    "successful": 1,
    "failed": 0
  },
  "cluster_name": "es-cluster.example.net",
  "nodes": {
    "jCD_3ksPTajHM1dbgKcCmv": {
      "name": "node0.es-cluster.example.net",
      "transport_address": "<IP_ADDRESS>:9300",
      "host": "<IP_ADDRESS>",
      "ip": "<IP_ADDRESS>",
      "version": "6.3.2",
      "build_flavor": "default",
      "build_type": "tar",
      "build_hash": "053779d",
      "roles": [
        "master",
        "data",
        "ingest"
      ],
      "attributes": {
        "xpack.installed": "true"
      },
      "http": {
        "bound_address": [
          "<IP_ADDRESS>:9200"                    <<<<<<<<<<<<<<<
        ],
        "publish_address": "<IP_ADDRESS>:9200",        <<<<<<<<<<<<<<<
        "max_content_length_in_bytes": 104857600
      }
    }
  }
}

In my case passing elastic.SetSniff(false) as an additional option helped (it should be the same if you use elastic.NewClient()):
        // Elasticsearch setup.
        ctx := context.Background()
        client, err := elastic.DialContext(ctx, elastic.SetURL(esURL),
                elastic.SetSniff(false))
        if err != nil {
                return errors.Wrap(err, "elastic.DialContext failed")
        }

I don't know if there are any downsides to disabling sniffing.
Hope this helps :)

@mrsiano @thendiscard Hi there. This "problem" comes up quite some often. If you want to know the details of why this goes wrong, you can read it up on the Wiki.
In a nutshell, sniffing means you simply pass a URL to the client that will be used to look up all nodes in the cluster, then being forgotten. The cluster state returned by the initial request will return the URLs of all nodes in the cluster. These are used to send requests to after the initial lookup. However, the URLs returned by the cluster are often unreachable by your client. E.g. if you start up your cluster via Docker Compose, ES typically uses internal IPs that are not routable outside your Docker environment. Hence, they are not reachable by your code, only by other Docker containers on the same network. In that case, you need to disable sniffing; the client will then NOT ask the cluster for the IPs of the nodes, but simply route all requests to the URL you passed into NewClient.
The benefit of using the sniffing process is the elastic, the client library, will check your cluster for nodes that might have died, and marks them as such, no longer sending any requests to it (until it finds them to be healthy again). Furthermore, your load is spread across the nodes in your cluster in a round-robin fashion. Finally, when you add new nodes to your cluster, elastic will find them and add them to the list of available nodes to send requests to. So sniffing (and healthchecks) are very beneficial, and I wouldn't run it disabled in production.
Notice that you can achieve the load-balancing and such on the server-side as well, using e.g. nginx or haproxy… and I personally prefer this to the client-side mechanisms in general. But the official clients all have this ability, so I build it into elastic (the client library) as well.


Sidecar window slider gets stuck in 'slide' mode

Version
4.3.3-57771
Describe the bug
Adjusting the middle vertical slider can make Emulator stuck in the slide mode, and the mouse can't escape from unintentionally adjusting the slider.
To Reproduce
Steps to reproduce the behavior:

Open sidecar mode
Drag the middle vertical slider and let go
Move the mouse around the screen, expecting only the cursor to move, but see the window adjust sizes
Note that clicking away from window or pressing escape doesn't release slide mode.

Expected behavior
Slider should be released after user lets go of the slider.
Screenshots

[bug]

This is due to the upgrade to Electron 4 which uses a different version of Chromium in which the architecture of webviews (which house the inspectors) has changed. Now the webviews eat all mouse events and they do not make it back to the slider component.


changed all http links to hpps

Closes: #47

I did this in https://github.com/minetest/minetest.github.io/pull/183.


[Bug]: S3 plugin: handle IllegalStateException like stale connection

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Ref: https://theappsmith.slack.com/archives/C0341RERY4R/p1659432202891439
Steps To Reproduce
Ref: https://theappsmith.slack.com/archives/C0341RERY4R/p1659432202891439
Public Sample App
No response
Version
self hosted

Hey @sumitsum, I am new to the project. Let me know if this is a great first issue for me.

Hi @shivamklr, thanks showing interest in contributing to Appsmith. Sorry, this issue has already been assigned to someone else, hence I would have to suggest you to look for another good first issue. Happy coding :)


bpytop: remove

First there was bashtop, which was replaced by bpytop for i.a. performance reasons.  Now there's btop (written in C++) and another one bites the dust.
Let it be gone for good.
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Not sure if want to remove it though

If I interpret the readme correctly, this project is obsolete, i.e. dead/unmaintained with btop being out.


DSL for building stacks off other stacks

Would you guys be interested in a CLI script that would be capable of populating template parameters based on other templates? At my company, we've got about 30 CFN templates (and growing) for a single environment / DC.
I've looked around at tools like cumulus but don't enjoy that it's neither well-tested, nor plays well with partial "super stack" updates. I'm thinking it could be worthwhile to build something similar, but with an interface more in nature of Troposphere.
I was going to build this as a separate project, but since I'm already using Troposphere heavily, I figured maybe it could live under one roof.
Thoughts? If this is too much scope increase, I'd still be interested in your feedback on the idea itself.

I think it is a good idea and helps ease the complexity (and, as you accurately portrayed, mindless time suck) that can arise with these environments. We haven't had to deal with as many templates in our environments as you have but I definitely see the need to partition and then aggregate sub-stacks. We'd have to see if it makes sense inside of troposphere or even you could host it as another project (stratosphere? :-) ) in cloudtools.

Ha! I was also thinking stratosphere would be a good name for it. Anyway, I'll work on whipping something up over the coming weeks and we'll see where things land. :)


Update applications.yaml

Added a rule for Todoist. Application would go outside of the borders.

I have updated applications.yaml

Just wanted to flag that this doesn't set an explicit matching_strategy in case this is something that we would want to enforce going forward.

I think that I have taken care of that.

There was a merge conflict so I fixed this on the command line and merged it manually, thank you @cubeDHS2017! 🎉


Tuya Smart Fam controll incorrectly comes in as an LED Strip Light.

The Controller is a Tuya Smart Fan control 3 speeds plus off and on/off for light.
While it comes in as Led it only gives on/ff for the light plus a timer.
The following is the info from IOT.Tuya
Don
"result": {
"active_time":<PHONE_NUMBER>,
"bind_space_id": "97888050",
"category": "fsd",
"create_time":<PHONE_NUMBER>,
"custom_name": "Garage Ceiling Fan ",
"icon": "smart/icon/ay15259177940092jIQE/730c660d540c2e83fa436e15e420d5b4.jpg",
"id": "REDACTED",
"ip": "<IP_ADDRESS>",
"is_online": true,
"lat": "39.4900",
"local_key": "REDACTED",
"lon": "-74.4700",
"model": "JF018-WIFI-SOC",
"name": "Smart Ceiling Fan ",
"product_id": "afcgb439awama7v8",
"product_name": "Smart Ceiling Fan ",
"sub": false,
"time_zone": "-05:00",
"update_time":<PHONE_NUMBER>,
"uuid": "774836d1ea4a760e"
},
"success": true,
"t":<PHONE_NUMBER>744,
"tid": "6950ded7c04911ee9ba54e7461b93a02"
Diagnostics
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.1.6",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.11.6",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "6.1.71-haos",
"supervisor": "2023.12.1",
"host_os": "Home Assistant OS 11.4",
"docker_version": "24.0.7",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"spook": {
"version": "2.1.1",
"requirements": []
},
"switchbotremote": {
"version": "1.0.0",
"requirements": [
"pyhumps"
]
},
"hacs": {
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"cielo_home": {
"version": "1.6.8",
"requirements": []
},
"alexa_media": {
"version": "4.9.0",
"requirements": [
"alexapy==1.27.10",
"packaging>=20.3",
"wrapt>=1.14.0"
]
},
"bhyve": {
"version": "3.2.2",
"requirements": []
},
"tuya_local": {
"version": "2024.1.1",
"requirements": [
"tinytuya==1.13.1"
]
},
"localtuya": {
"version": "5.2.1",
"requirements": []
},
"govee": {
"version": "2023.11.1",
"requirements": [
"govee-api-laggat==0.2.2",
"dacite==1.8.0"
]
},
"nodered": {
"version": "3.1.3",
"requirements": []
},
"spook_inverse": {
"version": "2.1.1",
"requirements": []
}
},
"integration_manifest": {
"domain": "tuya_local",
"name": "Tuya Local",
"codeowners": [
"@make-all"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/make-all/tuya-local",
"integration_type": "device",
"iot_class": "local_push",
"issue_tracker": "https://github.com/make-all/tuya-local/issues",
"requirements": [
"tinytuya==1.13.1"
],
"version": "2024.1.1",
"is_built_in": false
},
"data": {
"name": "Garage Ceiling Fan - local",
"type": "rgb_led_strip",
"device_id": "REDACTED",
"device_cid": "",
"local_key": "REDACTED",
"host": "REDACTED",
"protocol_version": "auto",
"tinytuya_version": "1.13.1",
"api_version_set": 3.3,
"api_version_used": 3.3,
"api_working": true,
"status": {},
"cached_state": {
"updated_at":<PHONE_NUMBER>.277616,
"20": false,
"26": 0,
"60": false,
"62": 1,
"64": 0,
"66": true
},
"pending_state": {},
"connected": true,
"force_dps": [],
"home_assistant": {
"name": "Garage Ceiling Fan - local",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": null,
"icon": null,
"unit_of_measurement": "min",
"state": {
"entity_id": "number.garage_ceiling_fan_timer",
"state": "0.0",
"attributes": {
"min": 0.0,
"max": 1440.0,
"step": 1.0,
"mode": "auto",
"unit_of_measurement": "min",
"icon": "mdi:timer",
"friendly_name": "Garage Ceiling Fan - local Timer"
},
"last_changed": "2024-01-31T14:44:25.066530+00:00",
"last_updated": "2024-01-31T14:44:25.066530+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": null,
"original_device_class": null,
"icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "light.garage_ceiling_fan_2",
"state": "off",
"attributes": {
"effect_list": [
"Scene"
],
"supported_color_modes": [
"hs",
"white"
],
"color_mode": null,
"brightness": null,
"hs_color": null,
"rgb_color": null,
"xy_color": null,
"effect": null,
"friendly_name": "Garage Ceiling Fan - local",
"supported_features": 4
},
"last_changed": "2024-01-31T15:49:02.288127+00:00",
"last_updated": "2024-01-31T15:49:02.288127+00:00"
}
}
]
}
}
}
@dlk57
Add a comment
Comment
Add your comment here...
Remember, contributions to this repository should follow our GitHub Community Guidelines.
Assignees
No one assigned
Labels
bug
Projects
 Tuya Local
Status: No status
Milestone
No milestone
Development
No branches or pull requests
Notifications
Customize
You’re receiving notifications because you authored the thread.
1 participant
@dlk57
Footer
© 2024 GitHub, Inc.
Footer navigation
Terms
Privacy
Security
Status
Docs
Contact
Manage cookies

Sorry hit the return key before finishing the report.
The Controller is a Tuya Smart Fan control 3 speeds plus light.
While it comes in as Led  it only gives on/ff for the light plus a timer.
The following is the info from IOT.Tuya
Don
"result": {
"active_time":<PHONE_NUMBER>,
"bind_space_id":   "97888050",
"category": "fsd",
"create_time":<PHONE_NUMBER>,
"custom_name": "Garage   Ceiling Fan ",
"icon":   "smart/icon/ay15259177940092jIQE/730c660d540c2e83fa436e15e420d5b4.jpg",
"id":   "eb07d8c0a23f446d67qs6r",
"ip": "<IP_ADDRESS>",
"is_online": true,
"lat": "39.4900",
"local_key":   "qWB'7gS@a<!Rto(N",
"lon": "-74.4700",
"model":   "JF018-WIFI-SOC",
"name": "Smart Ceiling Fan   ",
"product_id":   "afcgb439awama7v8",
"product_name": "Smart   Ceiling Fan ",
"sub": false,
"time_zone":   "-05:00",
"update_time":<PHONE_NUMBER>,
"uuid":   "774836d1ea4a760e"
},
"success": true,
"t":<PHONE_NUMBER>744,
"tid":   "6950ded7c04911ee9ba54e7461b93a02"

Not a bug.

Not a bug.

How is this not a bug? I'm experiencing the same issue where I'm trying to add a ceiling fan but the system detects it as an rgb_led_strip. There don't appear to be any options to change or specify the type.
Also, if you're going to close a reported issue, it would be appreciated and helpful to anyone experiencing the issue if you provided some sort of information about why you are closing it.

I am having the exact same issue.


Multiple extends of the same type

While having two extends fields with the same type it is not possible to bind the values into them correctly if the query only queries some of the fields.
Meaning query SELECT sc.Width, sc.Height FROM Books AS b LEFT JOIN Size AS s ON s.ID = b.SizeClosed with following data structure binds the data into SizeOpen instead of SizeClosed for me.
type Size struct {
	Width  *float64 `json:"width" xorm:"'Width'"`
	Height *float64 `json:"height" xorm:"'Height'"`
}

type Book struct {
        SizeOpen   Size `json:"size_open" xorm:"extends"`
        SizeClosed Size `json:"size_closed" xorm:"extends"`
}

Would it for example be possible to set something like a prefix with extends tag? This prefix would then have to be on the query on all the child columns. So something like SELECT sc.Width AS ClosedWidth, sc.Height AS ClosedHeight FROM Books AS b LEFT JOIN Size AS s ON s.ID = b.SizeClosed with following tags would be able to bind it correctly.
type Book struct {
        SizeOpen   Size `json:"size_open" xorm:"extends 'Open'"`
        SizeClosed Size `json:"size_closed" xorm:"extends 'Closed'"`
}

It seems that's a good idea. Or we can use extends('Open')


Update README according Ansible galaxy

@ernestas just came to my mind: any possibility to refactor the playbook variables to all use zookeeper_ suffix? (in a v0.2  branch?)
(by lhoss from mobile )
ps: nice doc update!

@lhoss I think yes but then playbook should say that variables are deprecated and should be updated with zookeeper_ prefix


Tensorflow Model Compiler Metrics Error: NaN Outputs

I am having a problem using Tensorflow when trying to use two custom metric functions which calculate the mean and maximum fractional errors. My code for these functions are the following:
meanFE = np.sum(np.abs(f_emulator - f_test))
maxFE = np.max(np.abs(f_emulator - f_test))

When I try to use these metrics, all of the loss outputs go to NaN. If I use my meanFE and maxFE outside of Tensorflow, I don't encounter this issue. The only way I have been able to use these functions in Tensorflow is to remove the denominator term in the fractional errors, but this defeats the purpose of using a fractional error in the first place. I suspect this has something to do with the fact that my arrays get turned into Tensor objects by default when the system trains. My inputs are astronomical spectra (i.e., each spectrum is an array of shape (500 x 100), or there are 500 spectral arrays with 100 wavelength bins per array.
I have tried using other built in functions for my metrics, namely the MAPE function (mean absolute percentage error), but this generates bad spectra (output spectra do not look like input spectra), so I am trying to implement my own shown above. Has anyone encountered NaN outputs as your loss and metric output when using functions such as these? I am using Tensorflow 1.14.0 on macOS.

Hi @abojanich ! 1.x versions are not supported anymore. I think there might be NaN values in Dataset itself as you are already using np.abs to convert the negative fraction values to positive ones.  Please let us know after replacing the above metrics with the below one.  If it is a zero division error in your loss function , you can resolve it using adding k.epsilon in Denominator.  Please post on TF forum for further assistance. Thank you!
meanFE = np.abs(np.sum(np.abs(np.nan_to_num(f_emulator - f_test)))) // I think np.mean instead of np.sum for getting the mean
maxFE = np.abs(np.max(np.abs(np.nan_to_num(f_emulator - f_test))))


Grover search fails if function.apply is always zero

If I try to search a Person with a function filter that returns always zero, Grover search returns a person in the list randomly instead of no value

I'm not sure about the best approach to deal with this. We can iterate over all possible values of the function, and throw e.g. an IllegalArgumentException when there is not exactly 1 value returning 1. But in case we really go quantum, with an Oracle, that would correspond to evaluating all possible values, which obviously would defeat the purpose of the algorithm.
I tend to think that this is something that should be dealt with by the invoker of Classic.search(), e.g. in https://github.com/johanvos/quantumjava/blob/master/ch10/quantumsearch/src/main/java/org/redfx/javaqc/ch10/quantumsearch/Main.java

Ok I see; but the problem in the invoker is that if search returns a random value I have no chance to understand if the search is ok or not

In that case, it is probably better we return a status object containing more information than just the picked answer. I agree there are scenarios where the invoker is actually interested in the probabilities. I'll add that method.

@aitan75  are you ok with https://github.com/redfx-quantum/strange/pull/114 ?

Fixed with #114


some problem when run ted/train/fairseq_train.many-many.laa.sh

When I run the script in ted/train/fairseq_train.many-many.laa.sh, I get the following error message:
File "~/nmt-multi/nmt/user_dir/models/transformer_laa.py", line 460, in forward_scriptable
    tgt_lang_id = tgt_lang_id.squeeze(1) - 1
AttributeError: 'NoneType' object has no attribute 'squeeze'

tgt_lang_id appears to be None. How can I solve this problem? Is there something I missed during preprocessing?

Thanks for reporting this issue. I found that some hyper-parameters were incorrectly set in ted/train/fairseq_train.many-many.laa.sh, which was caused during the code clean-up process. I have updated the repository to fix this and the changes can be seen here. Could you please update the code accordingly and try to run ted/train/fairseq_train.many-many.laa.sh again?

It works now, thanks!


converting a2l files to json

Dear developer, first of all, thank you for providing such a good a2l tool. This tool is great. Then, I have a request. Can this tool provide the function of converting a2l files to json or xml formats?

Thanks!
At the moment a2ltool does not export to any other formats.
I also don't plan to add such a feature: It is not related to modifying and updating a2l files, and I think it is important to focus on the core use case.
You could

take a look at the output of --debug-print. This outputs the al2 data in rust debug format, which is similar, but not quite identical to JSON. However it also dumps the type info from the elf file if you have loaded one.
I separated the a2l file loading code into the a2lfile library. You could import it and build your own tool that outputs any format you need.

alright, thank you very much


Handle not having dfu-util better. Auto download or intructions

In scripts/02-flash.py, inform_how_to_install_dfu_util() could have better per platform responses.

Windows - it would be possible to download the win64 binary, unzip it and use it. Or just open the web link with instructions.
Linux - It could give the exact apt install command
Mac -  Give exact brew command

All 3 could link to official docs
Considerations:

There are security implications to blindly running a binary, so ask if a user is happy with this happening
Are there other options such as python libraries?

Realised that platformio can install dfu-util for most platforms using:
~/.platformio/penv/bin/pio pkg install -g --tool<EMAIL_ADDRESS>And you can then run it using:
~/.platformio/penv/bin/pio pkg exec --package "platformio/tool-dfuutil" -- dfu-util -l
This saves the user having to do anything which is nice. Does however mean merging functionality to install/check platformio from the build script into the flash script, or make the flash script depend on the build script.


[Question]: How to generate responses even when there is no information?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
The system doesn't generate responses even when there is no information. I want to see if the system can deduce something basing on the information provided... How to do that? I get that no specific examples are specified and doesn't answer.

@dosu-bot and how to use it?

@dosu-bot
aise ValueError("One of nodes or index_struct must be provided.")
ValueError: One of nodes or index_struct must be provided.
Exception ignored in: <function Driver.__del__ at 0x000002062BFC9E50>
Traceback (most recent call last):

I'm not sure what the bot is going on about, but you just need to change the default prompt templates for your query engine (which it looks like you are already doing?)
https://docs.llamaindex.ai/en/stable/module_guides/models/prompts/usage_pattern.html#getting-and-setting-custom-prompts

Yes, I'm trying, but I get this error:
Traceback (most recent call last):
  File "C:/Users/annas/PycharmProjects/untitled5/vediamoconllindex.py", line 79, in <module>
    print(query_engine(text_qa_template=text_qa_template, refine_template=refine_template).query("MYQUERY"))
TypeError: 'KnowledgeGraphQueryEngine' object is not callable
Exception ignored in: <function Driver.__del__ at 0x000001DDB6829EE0>
Traceback (most recent call last):
  File "C:\Users\annas\AppData\Local\Programs\Python\Python38\lib\site-packages\neo4j\_sync\driver.py", line 489, in __del__
  File "C:\Users\annas\AppData\Local\Programs\Python\Python38\lib\site-packages\neo4j\_meta.py", line 229, in unclosed_resource_warn
TypeError: 'NoneType' object is not callable


Release testing

This PR is preliminary work for creating github-actions based test and release automation.

Create a tests directory with some very basic tests for arm, riscv32, win32 and win64.  These tests check that the configuration and build binaries for the target platforms and for arm and rv32, those binaries are executed under qemu.
Re-organize how CRT depends on the compiler and qemu repositories: migrate them to an http_archive_or_local rule.  This allows a bazel workspace to override the project-specified dependencies with locally built archives.  This will allow testing of the compiler and qemu binaries as part of release testing.

Manual tests performed:

In-repo tests (cd tests && bazel test //...).
Built opentitan ROM.
Built provisioning windows binaries.


eval.py show_result have error

|Tracker Name| Accuracy | Robustness | Lost Number |  EAO  |
Traceback (most recent call last):
File "../../tools/eval.py", line 146, in
main()
File "../../tools/eval.py", line 131, in main
show_video_level=args.show_video_level)
File "/home/star/Documents/siamban/toolkit/evaluation/ar_benchmark.py", line 72, in show_result
overlaps = list(itertools.chain(list(*ret['overlaps'].values())))
TypeError: list expected at most 1 arguments, got 60

Could you please provide detailed steps to reproduce this issue?

Since no further question is asked, I'm closing this issue for now.
Please create a new issue should you have other questions.


ESP32 + i2s_audio MediaPlayer

What version of Music Assistant has the issue?
Beta 2.0.0b73
The problem
Hello. Congratulations for the tremendous application that you created, as for the aesthetic and functional, I take off my hat!!!!!
I have armed with the library i2s_audio + esp32 and player that works very well with the radio browser inside HA, but I do not appear as Players within the Music Assistant.
Is there any way to have it available?
Thank you very much Sergio
How to reproduce
I can't find the playback device in the list of players
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.09.2
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

ESP boards are only supported if you load squeezelite on them

Ohhh that explains why I cant link my ESP-muse to it :D
Thanks !


Handle undefined opts and allow undefined env

This example doesn’t currently work as the the code in componentize.js fails on this line https://github.com/bytecodealliance/ComponentizeJS/blob/d4ae59c16c0c5a781f3c4c18a4410a5fcf4e73a0/src/componentize.js#L50 because it can’t handle an undefined opts, even tho this should be allowed as suggested here https://github.com/bytecodealliance/ComponentizeJS/blob/d4ae59c16c0c5a781f3c4c18a4410a5fcf4e73a0/types.d.ts#L65 This PR should fix this.
I also allow the env field of ComponentizeOptions to be optional like all the others.

Thank you for the PR, will land as soon as CI is green.


Gdx.graphics.getDensity() reporting the wrong DPI

Please ensure you have given all the following requested information in your report.
Issue details
On my iMac 5k (2015), using Gdx.graphics.getDensity() returns 0.65. This is wrong, because the dpi of my screen is 442, and therefore should be higher than 1.
Reproduction steps/code
Call Gdx.graphics.getDensity() on an iMac 5k
Version of LibGDX and/or relevant dependencies
1.9.3, I think, based on the fact that my project uses gdx-1.9.3.jar.
Please select the affected platforms

[x] MacOS
[x] Possibly win and linux

The problem is that we can not query the true DPI of a monitor on the desktop via GLFW or LWJGL2. The returned value is an approximation. You can use the display resolution as a heuristic.

Do you know of any other way to make a game density independant then?

Object obj = Toolkit.getDefaultToolkit().getDesktopProperty("apple.awt.contentScaleFactor");
if (obj instanceof Float) {
	Float f = (Float)obj;
	// Do something with f, like set the config overrideDensity
}

If you make this work for Mac, we'd likely merge (I'm not a Mac person).


user docs: Update user docs to conform to new standards.

Great, thanks! The language one is a great one to hammer out the style on.
Here's what I changed it to (though am not on great internet, so haven't merged it):
Zulip has been translated or partially translated into a number of different
languages. You can see which languages Zulip supports, and help add support
for new languages on **[Transifex](https://www.transifex.com/zulip/zulip/)**.

If your entire organization speaks a language other than English, an administrator can
[set the default language][change-org-lang] for new users joining the organization.

[change-org-lang]: change-the-default-language-for-your-organization

!!! tip ""
    You can always send and read messages in any language.

{settings_tab|display-settings}

2. Under **Language Settings**, click the button next to **Default language**.

3. Click on a language.

4. Click **Reload**.

I'll put comments in-line.
For the settings one: let's come back to it later, since it's a sort of unusual one.

ack the notes. It seems like you mostly resolved them yourself in the rewrite that you haven't merged yet. I'll start on another doc page keeping the lessons of this page in mind. You're right, I was nervous about changing the language too dramatically. I'll be more bold in the future.

Thanks @Lyla-Fischer! Merged three of these, and sent notes in PMs for the other two.
Made some minor edits in the merged ones, let me know if they don't make sense.

@rishig ping

Thanks @Lyla-Fischer! Merged the first two; still working on the last one. We should add "deactivate your organization" as a higher-than-normal priority doc to write, since I do get support tickets for it (and we'll want to link to that from this one, since that's the thing most people are actually trying to do when they want to deactivate their account).

opened new pull request for the deactivation documentation: https://github.com/zulip/zulip/pull/9622


Add integration test for SignalProcess

Ensure paused containers can receive a signal
see https://github.com/kata-containers/agent/pull/253

https://github.com/kata-containers/tests/pull/346


Only most recent Eval is viewable in the WebViewer - Failed to execute 'setItem' on 'Storage'

Description
Only the most recent evaluation is able to be loaded in the WebViewer.  Each time a new eval is run, any previous evals that have been run do not load in the 'Evals' tab of the WebViewer.
Steps to reproduce:

Run an eval
View it in the 'Evals' tab of the WebViewer
Run a second eval
Attempt to load the eval from step 1 by selecting it in the 'Progress' tab

NOTE: the size of the eval data (prompt, context, response, # of test cases) may be the issue.  I am running large evals comparing 3 different models

Additional Context
Google Chrome (Version 124.0.6367.91 (Official Build) (arm64)) on an M1 Macbook Pro.
Error in console of Chrome:

Uncaught (in promise) DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'ResultsViewStorage' exceeded the quota.

I believe this issue originates from the code within web/nextui/src/app/eval/store.ts:
export const useStore = create<TableState>()(
  persist(
    (set, get) => ({
      evalId: null,
      setEvalId: (evalId: string) => set(() => ({ evalId })),
      ........
    }),
    {
      name: 'ResultsViewStorage',
      storage: createJSONStorage(() => localStorage),
    },
  ),
);

Are your evals particularly large and/or do you have a lot of them?
On Mon, May 20, 2024 at 9:41 AM Connor @.***> wrote:

Description
Only the most recent evaluation is able to be loaded in the WebViewer.
Each time a new eval is run, any previous evals that have been run do not
load in the 'Evals' tab of the WebViewer.
Steps to reproduce:

Run an eval
View it in the 'Evals' tab of the WebViewer
Run a second eval
Attempt to load the eval from step 1 by selecting it in the
'Progress' tab

Screenshot.2024-05-20.at.12.33.52.PM.png (view on web)
https://github.com/promptfoo/promptfoo/assets/95300041/13cc520c-e8af-45bd-8904-3b4730ab1079 Additional
Context
Google Chrome (Version 124.0.6367.91 (Official Build) (arm64)) on an M1
Macbook Pro.
Error in console of Chrome:
Uncaught (in promise) DOMException: Failed to execute 'setItem' on
'Storage': Setting the value of 'ResultsViewStorage' exceeded the quota.
I believe this issue originates from the code within
web/nextui/src/app/eval/store.ts:
export const useStore = create()(
persist(
(set, get) => ({
evalId: null,
setEvalId: (evalId: string) => set(() => ({ evalId })),
........
}),
{
name: 'ResultsViewStorage',
storage: createJSONStorage(() => localStorage),
},
),);
—
Reply to this email directly, view it on GitHub
https://github.com/promptfoo/promptfoo/issues/802, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLYJSZU67O2H46G3FY5PLZDIRUXAVCNFSM6AAAAABIAA7XOWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDMMZWGQZTQOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I am running 130 evals over 3 different providers to compare 3 different OpenAI models.  Each eval contains a fairly large context window.  To answer your question more directly - yes, I am running large evals and I am running a lot of them.  Would something like IndexedDB be more suited or is the WebViewer not meant to support this large of a test suite?  I would be willing to help fix if need be.

I would love for the viewer to support this use case... IndexedDB is
probably a solution that makes sense here!
On Mon, May 20, 2024, 11:22 AM Connor @.***> wrote:

I am running 130 evals over 3 different providers to compare 3 different
OpenAI models. Each eval contains a fairly large context window. To answer
your question more directly - yes, I am running large evals and I am
running a lot of them. Would something like IndexedDB be more suited or is
the WebViewer not meant to support this large of a test suite? I would be
willing to help fix if need be.
—
Reply to this email directly, view it on GitHub
https://github.com/promptfoo/promptfoo/issues/802#issuecomment-2120972241,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLYJSQHW7GW5O2LYQXJ5LZDI5OPAVCNFSM6AAAAABIAA7XOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRQHE3TEMRUGE
.
You are receiving this because you commented.Message ID:
@.***>

I would be happy to submit a PR for this.  I quickly tried getting everything running locally this morning but ran out of time.  It looks like the development documentation is a little out of date.  Would you mind updating?

I went ahead and included this in 0.63.0 (I think the dev documentation has been updated as well)


DataReader for Ordnance Survey data

@engaric has mentioned that he is working on a new reader, nice work! See repo and mailing list entry and this entry
Some notes from him:

[ ] Fix exception 'org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:27700" from authority "EPSG" found for object of type "EngineeringCRS".'
[ ] Find common behaviour for OSM and OSurvey, do it via interfaces and/or abstract classes.
[ ] Move the import process out of the core to reduce dependencies. Of course also the OSM part should move either into tools or every importer gets his separate module.
[ ] Avoid the heavy logging like in OSITNElement or OsItnInputFile and use unit tests instead,
which makes the import procedure also more future proof. See OSMReaderTest where we do similar stuff for OSM and just use artificial OSM XML
[ ] For better portability (Android, JS, Objective-C) I abandoned java reflections in core and we are at java 6. So the reader 'guessing' should be done more statically e.g. similar to EncodingManager.parseEncoderString.
[ ] Improve code formatting and class naming (OSITN vs. OsItn -> maybe OSurvey? As OS is already occupied from open source and operating system?)

(My) current instructions
#0.
git clone https://github.com/engaric/graphhopper
#1. changed the config.properties to use OSurvey:
reader.implementation=OSITN
#2. get graphhopper.sh from official gh master and overwrite current (somehow not in-sync?)
#3.
wget https://www.ordnancesurvey.co.uk/docs/sample-data/os-mastermap-itn-layer-sample-data.zip#sample-data-download
#4.
unzip os-mastermap-itn-layer-sample-data.zip && mv Initial/58096-SX9192-2c1.gz sample.osm.gz
#5.
./graphhopper.sh import sample.osm.gz

@engaric would still love to see this merged. Should be simpler now that OSM is slightly better separated from core. Also reflection is no longer used in core. Will close for now and hope for a PR :) + let us/me know your questions!


dotnet core 2.1.0 package updates

updated to 2.1.0-preview2-final, leaving open until the stable version is released


Added horizontalBar chart type

Since chartjs v2.1.0 release, there is horizontalBar chart type.
I think someone might need this feature (like me), so just added it, including examples.

Hey @renddiyeh ,
Thanks for PR, changes are neat! Going to merge it in.
Appreciate your support!

Great!!!
I'm happy to contribute.


feat(GridRow): add missing divided prop

Fixes #560.

Current coverage is 100% (diff: 100%)

Merging #602 into master will not change coverage

@@           master   #602   diff @@
====================================
  Files         119    119
  Lines        1915   1915
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits         1915   1915
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 6c72147...a67050c

Released in<EMAIL_ADDRESS>


How i can send i list RealmObject in to another activity

I'm facing with a problem.
I wana to send a list List into another activity.
@Table(name = CL_TABLE_NAME)
@Parcel(
        implementations = arrayOf(MasterRealmProxy::class),
        value = Parcel.Serialization.BEAN,
        analyze = arrayOf( Master::class ))
open class Master(

): RealmObject() {
}

I pass list master data to another activity by this way.
var listMaster: List<Master>?
var args = Bundle()
args.putParcelable(IntentKey.INTENT_MASTER_DATA, Parcels.wrap(listMaster))

But i got this error:
org.parceler.ParcelerRuntimeException: Unable to find generated Parcelable class for io.realm.RealmList, verify that your class is configured properly and that the Parcelable class io.realm.RealmList$$Parcelable is generated by Parceler.
If you know what is problem happening. Please help me. Thank you so much

Parcels.wrap() doesn't support RealmList by default.  You can add support by providing a converter:
@ParcelClass(RealmList.class, converter=...)

or using an ArrayList or one of the other collection types.

@johncarl81

Parcels.wrap() doesn't support RealmList by default. You can add support by providing a converter:
@ParcelClass(RealmList.class, converter=...)
or using an ArrayList or one of the other collection types.
Sorry but I'm using with List<Master> and I tried to use ArrayList<Master> to send data to another activity but that error always shown. . .

how did you use ArrayList?


[Bug] the TransactionReplayer can't replay a chunk with epoch bumps in the middle.

🐛 Bug
this flaky smoke test https://app.circleci.com/pipelines/github/libra/libra/30485/workflows/aecc0732-7525-4d9a-affb-beaf6b77f0e9/jobs/211038/parallel-runs/1?filterBy=ALL reveals that the TransactionReplayer can't replay a chunk with epoch bumps in the middle.
To reproduce
cargo clean && cargo x test -p smoke-test -- --test smoke_test::test_db_restore --nocapture
Stack trace/error message
thread 'smoke_test::test_db_restore' panicked at 'db-restore failed, output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "INFO 2020-09-17T00:00:45.926645Z secure/push-metrics/src/lib.rs:68 PUSH_METRICS_ENDPOINT env var is not set. Skipping sending metrics.\nINFO 2020-09-17T00:00:46.116402Z storage/libradb/src/lib.rs:162 Opened LibraDB at \"/var/folders/hb/d4b0grts37307v_s4h4z0xwr0000gn/T/06cf8695543fb6db7255db23e6e1451f/0/db/libradb\" in 187 ms\nINFO 2020-09-17T00:00:46.120766Z storage/backup/backup-cli/src/coordinators/restore.rs:52 Restore coordinator started.\nINFO 2020-09-17T00:00:46.123303Z storage/backup/backup-cli/src/metadata/cache.rs:78 Metadata files listed.\nINFO 2020-09-17T00:00:46.134214Z storage/backup/backup-cli/src/metadata/cache.rs:115 Metadata cache loaded.\nWARN 2020-09-17T00:00:46.134441Z storage/backup/backup-cli/src/coordinators/restore.rs:127 Can\'t find transaction backup containing the target version, will restore as much as possible\nINFO 2020-09-17T00:00:46.134818Z storage/backup/backup-cli/src/coordinators/restore.rs:66 Planned to restore to version 79.\nINFO 2020-09-17T00:00:46.134918Z storage/backup/backup-cli/src/backup_types/epoch_ending/restore.rs:48 Epoch ending restore started. Manifest: epoch_ending_0-.df55/epoch_ending.manifest\nINFO 2020-09-17T00:00:46.140263Z storage/backup/backup-cli/src/backup_types/epoch_ending/restore.rs:55 Epoch ending restore succeeded.\nINFO 2020-09-17T00:00:46.140415Z storage/backup/backup-cli/src/backup_types/transaction/restore.rs:137 Transaction restore started. Manifest: transaction_0-.26a3/transaction.manifest\nINFO 2020-09-17T00:00:46.169982Z storage/backup/backup-cli/src/backup_types/transaction/restore.rs:194 Replaying transactions 0 to 19.\nERROR 2020-09-17T00:00:46.260034Z storage/backup/backup-cli/src/bin/db-restore.rs:61 main_impl() failed: Transaction restore failed: The 1-th transaction to be commited did not have a status of \'Keep\' but instead had the following status: Retry. \nError: Transaction restore failed: The 1-th transaction to be commited did not have a status of \'Keep\' but instead had the following status: Retry. \n" }', testsuite/smoke-test/src/smoke_test.rs:2239:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

https://github.com/libra/libra/pull/6078 fixed this