[Regression] BigQuery: Unit tests using sources with sharded tables no longer work after CTE naming change

Is this a regression in a recent version of dbt-core?

[X] I believe this is a regression in dbt-core functionality
[X] I have searched the existing issues, and I could not find an existing issue for this regression

Current Behavior
Unit tests fail due to an invalid subquery name, as soon as the identifier contains an asterisk (*).
Expected/Previous Behavior
I expect the CTE name to use the name and not theidentifier field (as before).
Alternatively :

specify the CTE name
escape CTE name
enclose the CTE name in quotes

Steps To Reproduce

Setup a schema.yml for referencing a sharded table:

version: 2

sources:
  - name: my_dataset
    database: my_database
    tables:
      - name: my_table
        identifier: my_table_*

Use it in a model named my_model.sql:

{{
    config(
        materialized = 'incremental',
        incremental_strategy = 'insert_overwrite',
        on_schema_change = 'append_new_columns'
    )
}}

SELECT t.my_field
FROM {{ source('my_dataset', 'my_table') }} t

Add unit tests on it:

version: 2
unit_tests:
  - name: my_failing_cte_test
    description: "Not working test because of CTE name"
    model: my_model
    given:
      - input: source('my_dataset', 'my_table')
        rows:
          - { my_field: 10 }
          - { my_field: 20 }
    expect:
      rows:
          - { my_field: 10 }
          - { my_field: 20 }

Relevant log output
Generated query:
create or replace table `my-project`.`testing`.`my_failing_cte_test__dbt_tmp__fcd73216-184a-43b9-a5e7-a3759c4ea2f7`
OPTIONS(
  expiration_timestamp=TIMESTAMP_ADD(CURRENT_TIMESTAMP(), INTERVAL 12 hour)
)
as (
  select * from (
    with __dbt__cte__my_table_* as ( -- <<<<<<<<<<<<< ISSUE HERE
...

  An error occurred during execution of unit test 'my_failing_cte_test'. There may be an error in the unit test definition: check the data types.
   Database Error
    Syntax error: Expected keyword AS but got "*" at [19:41].

Environment
- OS: Debian Bullseye
- Python: 3.11.3
- dbt (working version): 1.9.0-a1
- dbt (regression version): 1.9.0-b1

Which database adapter are you using with dbt?
bigquery
Additional Context
I think the regression was introduced by this feature:

https://github.com/dbt-labs/dbt-core/issues/5273

More exactly by this PR: https://github.com/dbt-labs/dbt-core/pull/10290/files#diff-256fed5ccb449b0e82952615a14120463e22688ddd6454f891463d7f7623551aR374

A workaround is to wrap the source in an ephemeral and then materialize that ephemeral model as SQL fixture in the unit test.

I see what you are saying @antitoine.
The solution here could be similar to that of a separate issue related to sources in unit tests: https://github.com/dbt-labs/dbt-core/issues/10433
There are some ideas of how to solve this in https://github.com/dbt-labs/dbt-core/issues/10433#issuecomment-2241316864 and https://github.com/dbt-labs/dbt-core/issues/10433#issuecomment-2248428619.
Workaround
Thanks for describing a workaround @Kayrnt 🧠
Would you be willing to share a simple code example to demonstrate it?

Workaround
Keeping @antitoine example, we create a new model (my_model_ephemeral.sql):
{{
    config(
        materialized = 'ephemeral',
    )
}}

SELECT t.my_field
FROM {{ source('my_dataset', 'my_table') }} t

Then in my_model.sql, we update it to:
{{
    config(
        materialized = 'incremental',
        incremental_strategy = 'insert_overwrite',
        on_schema_change = 'append_new_columns'
    )
}}

SELECT t.my_field
FROM {{ ref('my_model_ephemeral') }} t

and update the test accordingly:
version: 2
unit_tests:
  - name: my_failing_cte_test
    description: "working test because of ephemeral layer trick"
    model: my_model
    given:
      - input: ref('my_model_ephemeral')
      - format: sql
        rows: |
          SELECT 10 AS my_field
          UNION ALL
          SELECT 20 AS my_field
    expect:
      rows:
          - { my_field: 10 }
          - { my_field: 20 }


semantic LSP installation on windows 10

please complete the following information:

OS version: Win 10
Editor: all
Editor version: vscode
Programming language: python
TabNine extension version: 2.8.2

If the issue is related to TabNine failure, please provide log files:
Type TabNine::config in your editor, the logs are located at the bottom of the page.
Issue Details:
[2020-05-21][00:02:01][lsp::session][INFO] Spawning controller for
route Route { language: "python", root: AbsolutePath { path:
"\\?\C:\temp\test.py", uri: "file:///C:/temp/test.py" } }
[2020-05-21][00:02:01][lsp::language_server_transport][INFO] Starting
language server: pyls
[2020-05-21][00:02:01][lsp::low_level_language_server][INFO] Calling
LSP method DidOpenTextDocument
[2020-05-21][00:02:01][lsp::low_level_language_server][INFO] Calling
LSP method Completion
[2020-05-21][00:02:01][lsp::language_server_transport][ERROR] install
error: Os { code: 2, kind: NotFound, message: "The system cannot find
the file specified." }
[2020-05-21][00:03:17][lsp::low_level_language_server][INFO] Calling
LSP method DidChangeTextDocument
[2020-05-21][00:03:17][lsp::low_level_language_server][ERROR] send
error: "SendError(..)"
Given the problems seems to be TabNine not finding pyls.exe have then
replaced the command in TabNine.toml from "pyls" to
"C:\ProgramData\Anaconda3\Scripts\pyls.exe" as below
[language.python]
command = "C:\ProgramData\Anaconda3\Scripts\pyls.exe"
install = [["pip", "install", "python-language-server"]]
Here's the new log:
[2020-05-21][00:18:34][lsp::session][INFO] Spawning controller for
route Route { language: "python", root: AbsolutePath { path:
"\\?\C:\temp\test.py", uri: "file:///C:/temp/test.py" } }
[2020-05-21][00:18:34][lsp::language_server_transport][INFO] Starting
language server: C:\ProgramData\Anaconda3\Scripts\pyls.exe
[2020-05-21][00:18:34][lsp::low_level_language_server][INFO] Calling
LSP method DidOpenTextDocument
[2020-05-21][00:18:34][lsp::low_level_language_server][INFO] Calling
LSP method Completion
[2020-05-21][00:18:35][lsp::language_server_transport][ERROR] install
error: Os { code: 2, kind: NotFound, message: "The system cannot find
the file specified." }
[2020-05-21][00:18:43][lsp::low_level_language_server][INFO] Calling
LSP method DidChangeTextDocument
[2020-05-21][00:18:43][lsp::low_level_language_server][ERROR] send
error: "SendError(..)"
[2020-05-21][00:18:43][lsp::low_level_language_server][INFO] Calling
LSP method Completion
[2020-05-21][00:18:43][lsp::low_level_language_server][ERROR] send
error: "SendError(..)"

the fix was released with 2.8.6 TabNine binary version


Setting TextStyle and strut height to 0.01 causes text to disappear on overflow.

Steps to reproduce
I have built a widget specifically to give me Text bounding between the baseline and top of the font just under the ascent. This is to allow the widget's constraints to be between these two places for Padding and spacing consistencies across the application. Although when this text overflows, it completely disappears.

Use the code sample.
Put it in a Row Expanded or something to force it to overflow.
Disappears??

Expected results
Text applies the overflow ellipse / fade as expected, and applies the ... or the fade effect.
Actual results
Text is completely disappearing on overflow. (by setting the height to something normal like 1.2 it reappears... but that defeats the whole purpose of forcing the bounding box in my description.
Code sample
Code sample
class SingleLineText extends StatelessWidget {

    final String text;
    final bool allowScaling;
    late TextStyle style;

    SingleLineText({
        super.key,
        required this.text,
        required TextStyle style,
        this.allowScaling = true
    }){
        this.style = style.copyWith(height: 0.01);
    }

    @override
    Widget build(BuildContext context) {
        double ascentPadding = (this.style.fontSize! * 0.71) * (this.allowScaling ? MediaQuery.textScalerOf(context).scale(1) : 1); ////The padding used to contain from baseline to ascent.

        return Padding(
            padding: EdgeInsets.only(top: ascentPadding),
            child: Text(this.text,
                style: this.style,
                maxLines: 1,
                overflow: TextOverflow.fade,
                softWrap: false,
                textScaler: this.allowScaling ? null : TextScaler.linear(1),
                strutStyle: StrutStyle(
                    forceStrutHeight: true,
                    leading: 0,
                    height: this.style.height,
                    fontSize: this.style.fontSize,
                    fontFamily: this.style.fontFamily,
                    fontStyle: this.style.fontStyle,
                    fontWeight: this.style.fontWeight,
                    leadingDistribution: this.style.leadingDistribution
                ),
            ),
        );
    }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.22631.3447], locale en-US)
    • Flutter version 3.19.6 on channel stable at C:\Programs\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (4 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

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

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

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

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

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

[√] IntelliJ IDEA Community Edition (version 2023.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.2.5
    • 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

[√] VS Code (version 1.89.1)
    • VS Code at C:\Users\codyf\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.88.0

[√] Connected device (4 available)
    • SM G998U (mobile) • R5CRB1E04GT • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22631.3447]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 124.0.6367.156
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 124.0.2478.97

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

I am passing 0.01, and manually applying a top padding to the text. The result in doing this is the following where the bounding box fits perfectly from the baseline upwards. This leaves items in the ascent above, and the descent to leave the box which is what I want.
This is only being used on text that is maxLines: 1. Although any overflow of the text leads to it completely disappearing.

See if this resembles your case or not.


Sync stopped working on Windows after the latest Windows 10 updates

Environment info

OS: Windows 10
App Version: 1.10.0

Description of the problem / feature request / question:
After the latest Windows 10 automatic OS updates, Lepton's sync feature ( thus the whole app ) stopped working.
When starting the app, it starts its usual login process, then after about 5 minutes, it gives up, and displays the GitHub login popup instead, after this error:
Sync failed - please check your network condition. 04
But my network is 100% OK.
Then when I try to log in with Github, the GH login popup shows this:
GitHub no longer supports this web browser. Learn more about the browsers we support.
The GitHub login form accepts the login credentials - but then Lepton restarts its neverending attempt to sync. It's like an infinite loop.
Thanks for taking a look at this...

OK, please ignore me.
A Lepton reinstall fixed the issue.


Get an exception at displaying power-shell icon , I set charset as utf-8.

Please see https://github.com/gpakosz/.tmux#troubleshooting


[Event Request] Report 595 Adjust Exchange Rates - OnBeforePostGenJnlLine

We need a new event in Report 595 "Adjust Exchange Rates" named OnBeforePostGenJnlLine:
[IntegrationEvent(false, false)]
local procedure OnBeforePostGenJnlLine(VAR GenJournalLine: Record "Gen. Journal Line");
begin
end;
called from:
local procedure PostGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; var DimSetEntry: Record "Dimension Set Entry"): Integer
begin
GenJnlLine."Shortcut Dimension 1 Code" := GetGlobalDimVal(GLSetup."Global Dimension 1 Code", DimSetEntry);
GenJnlLine."Shortcut Dimension 2 Code" := GetGlobalDimVal(GLSetup."Global Dimension 2 Code", DimSetEntry);
GenJnlLine."Dimension Set ID" := DimMgt.GetDimensionSetID(TempDimSetEntry);
//INIT INSERT
OnBeforePostGenJnlLine(GenJnlLine);
//END INSERT
GenJnlPostLine.Run(GenJnlLine);
exit(GenJnlPostLine.GetNextTransactionNo);
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Hope to get in touch

Dear llm-engine developer,
Greetings! I am Jimmy, a community developer and volunteer at InternLM. Your work has been immensely beneficial to me, and I believe it can be effectively utilized in InternLM as well. Welcome to add Discord https://discord.gg/gF9ezcmtM3 . I hope to get in touch with you.
Best regards,
Jimmy

Hi @JimmyMa99, thanks for reaching out! You're welcome to submit a PR to add the InternLM model to LLM Engine. We're in the process of creating documentation for this, but in the meantime, feel free to peruse the code and let me know if you need any help.

Your work has been immensely beneficial to me

Glad to hear that! Curious, how has LLM Engine benefitted you?


Add template func hasField, update README

Adds the template function hasField.

Allows template to check if a field is defined in a given JSON struct.

Update README.md to document custom template functions.

This came from an issue I faced trying to write a CSV template function that grabbed vendor/author/publisher data. Unfortunately those fields aren't always defined for every package, and attempting to access them will cause Syft to exit with something like
* template: csv.tmpl:3:55: executing "csv.tmpl" at <.Metadata.Author>: can't evaluate field Author in type interface {}
I figured it would also be good to document the where the functions are defined in the README.md so others can see they exist and offer new ones.
Thanks to @kzantow for the help discovering this solution!

Hey, thanks @jlehman9 ! would you be able to add a simple test that executes this function with a template?

Hey, thanks @jlehman9 ! would you be able to add a simple test that executes this function with a template?

I have no idea what I'm doing since I don't really know Go, but I think I've got tests working that test the hasField function. Let me know if there is anything else I can do/fix/etc.

It looks like there are quite a few failing tests due to the changes, maybe just make a new test?
Also, you'll need to sign-off your commits.

I believe I've undone my previous poor commit, created a separate test, re-signed the bad commit, and ensured all of the tests pass on my local machine. Hopefully all is good?
Previously I had improperly assumed that the failing tests were all due to my local environment, mainly due to not having docker daemon installed since I usually run docker from minikube but the tests couldn't see that. Sorry about that!

Thanks for the contribution @jlehman9!


What is the concept of work distribution between workers?

Hey! after a new block is found, the same task is sent to each worker, and when the resolved shares are returned, does the pool check them by itself? Or each different depending on their power?

Hey! after a new block is detected, the same task is sent to each worker, and when the resolved shares are returned, does the pool check them by itself? Or each different depending on their power?

Every GPU receives the same work.
A very simplified way to think about it is:
"Hey GPUs, if I give you these 2 number can you guess what the third number is to make a solution that is the right difficulty or higher?"
If a GPU finds a solution that it close to or higher than what would be considered a block solution, the pool submits it to the node for consideration.

Not an issue, please close or move.


index.d.ts file for typescript users?

Without a typedef file, typescript users have to either make their own, or do without type safety.
An (incomplete) example would look something like:
NOTE: The types that come from the Google Places API should probably just be living in that typedef. This is just my WIP typdef I'm using for my own project.
/// <reference path="./react/react.d.ts" />

declare module 'react-geosuggest' {

    export type GeocoderAddressComponent = {
        long_name: string;
        short_name: string;
        types: string[];
    }

    export type GeocoderResult = {
        address_components: GeocoderAddressComponent[];
        formatted_address: string;
        types: string[];
    }

    export type AddressAutocompleteMatch = {length: number, offset: number};

    export type AddressAutocompletePrediction = {
        description: string;
        matched_substrings: AddressAutocompleteMatch[];
        place_id: string,
        terms: {offset: number, value: string}[];
        types: string[]
    }

    export type Suggest = {
        label: string;
        location?: {isFixture: boolean, label: string, placeId: string};
    }

    export type GeocodedSuggest = Suggest & {gmaps: GeocoderResult};

    export type GeosuggestStyles = {
        input?: {[key: string]: any},
        suggests?: {[key: string]: string},
        suggestItem?: {[key: string]: string}
    };

    export interface GeosuggestProps {
        autocomplete?: string;
        country?: string;
        initialValue?: string;
        placeholder?:string;
        types?: string[];
        required?: boolean;
        inputClassName?: string;
        name?: string;
        style?: GeosuggestStyles;
        getSuggestLabel?(suggest: AddressAutocompletePrediction): any;
        onChange?(value: string): void;
        onSuggestSelect?(suggest: Suggest): void;
        skipSuggest?(suggest: AddressAutocompletePrediction): boolean;
    }

    export interface GeosuggestState {
        ignoreBlur?: boolean;
        isSuggestsHidden?: boolean;
        suggests?: Suggest[];
        userInput?: string;
    }

    class Geosuggest<I> extends __React.Component<GeosuggestProps & I, GeosuggestState> {
        selectSuggest: (suggest?: Suggest) => void;
        geocodeSuggest(suggest: any): void;
    }

    export default Geosuggest;
}

That would be great! Do you know an easy way to generate these from the JSDoc annotated? Generating automatically would help regarding duplication and out of date definitions.

https://github.com/jsdoc3/jsdoc/issues/437
It looks like there isn't a near-term solution for this. I agree, especially because this project isn't being developed in Typescript, the typedef is likely to quickly go out of date. I'll keep looking around, but I have an up to date def I'll do a PR with now.

And what about the linked https://github.com/englercj/tsd-jsdoc?

I looked into it, and tried to run it on the codebase, but it encountered numerous errors and spat out a blank typedef. It says it's 'Highly Experimental', so I'm thinking it would be wise to revisit it after some time.

A PR with a manual definition file would be great then!   :)

Great, I'm on it.

Sorry for the delay.
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-geosuggest/index.d.ts
I'm not sure if/when the types will be published, but they'll be available through DT from now on.  This should be ready to close.

Very nice, thanks @brmenchl! We can include the types directly in this project, right? Then one doesn’t need to install the types separately, which can cause versioning issues…
Started with TypeScript some months ago, so I’m a bit firm in it now, too.  😃

Yeah, it would be better to throw it in here. I can do that that.

Nice! Just create a PR.  😃

@gillyb I was about to put together a PR for this but I saw this:
http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
If your package is not written in TypeScript then the the preferred approach is to publish to the @types organization on npm.
Unless you have a specific request for it in this repo, I think I'm going to just make the type fix on DT.

Hey @brmenchl - Sure, no problem. I didn't know that was the recommended approach. (I personally rather have the types inside the library, but if that's the convention, then let's go along with it) :+1:

Publish on @types then. In case this is rewritten in TypeScript we can include them directly. Thanks for the efforts!


WIP: don't merge logical routers support

needs #28 before merging, after that i can rebase and fix

as i think ready to merge, many features needs to be added, but basic stuff works

@hzhou8 does it possible to merge this via squash?
I'm try to rebase locally but have troubles.

fix merge conflict

@softwarejl can you look?

can you merge this? (sorry for noise, but i need it and when this repo have go.mod i can easy use replace inside own project to specify alternative path for tmp use)

i'm recreate this by re-import own patch.  Looks good not and don't need to squash


User signup validation is broken

If you try to signup an invited user on master, you get a bunch of validation errors as if you didn't fill out the form:

Steps to Reproduce

Log in to Ghost and invite a new user
Log out of Ghost
Click the link in the new user invite email
Fill out the form and hit Create Account

Technical details:

Ghost Version: master , introduced since 0.5.7

This is an odd one - it is not affecting setup or signin - I was thinking it might have something to do with #4748 but I can't see what's different on this one controller.

It's #4748.  The ValidationEngine mixin assumes it's being used with things that are no longer directly "gettable" once those controllers are no longer proxying. There are also a few other bugs related to shuffling that data around stemming from the same change.
I'll fix it up.

If this is not simple to fix, perhaps it would be worth reverting to use a ObjectController for the signup controller until we can resolve it in a better way?

It's not too bad. A little bit of fixing one thing causes another issue to pop up but it's manageable.
Mostly I just haven't looked at it since that first day, but I'll wrap it up this weekend.

Cool, just thinking if it does turn out to be a rabbit hole it's worth PRing the quick revert-fix for now. Really hoping to ship a release before the next meeting :)


Physics ur

Implement RRPhysicsJointComponent and Physics_UR10

Create PhysicsConstraint in constructor and set parameter in BeginPlay
Set pose and velocity target to PhysicsConstraints
In TickComponent, check reach goal or not
Add ability to manually set constraint directly in case overwrite by BP
if bSmooth is set, use two point interpolation to calc Pose and velocity

Separate SetVelocityTarget and SetVelocity since physics can't set velocity directly
Add joint valication
Separate position and orientation tolerance

I forgot to check, this seems to have missed .gitmodules file like this
https://github.com/rapyuta-robotics/RapyutaSimulationInternal/blob/devel/.gitmodules


Importing an exported CSV doesn't update existing resource files

This may not be a current feature - but we made some simple resource files, and then exported them as a CSV.
This works great! Pretty much exactly as you'd hope, all the data in the CSV, editable, very cool and potentially powerful.
The only issue we've had is importing this file back in, with changes. We figured that doing so would then update our original resource files from which we exported - but instead it seems to create a new resource file named after the excel sheet (if using 'confirm and edit') or it creates brand new resource files with a new custom script (if using convert to resources and edit)
We're pretty sure we might just not know the intended use case for this feature, but are hoping maybe we're making a mistake somehow and this might work!

Wait, you're converting .tres files into a .csv, then modifying from outside, then back to .tres? That's what "Confirm and edit" is for! You can just edit the CSV directly.
If you really need them as .tres files in the end result, then ~just edit the resources with the addon~ you might need to delete the old resources from outside Godot, then convert the CSV data into resources, then replace the new script of all the resources to your own script using the plugin.
I will add proper native support for this workflow later.

Trying to implement this at least halfway, putting on hold now. Found issues:

converting CSV to resources, destination path can't be set. Window must allow setting the destination folder - the script for the new resources will be grabbed from those already inside, if any;
need warning about datatypes. Enums might not be re-imported 1:1, some datatypes can't be reimported at all, and resource paths inside arrays/dicts become invalid
enums cut last character #35 . Unrelated, but good to know as it's destructive.


The XML you provided was not well-formed or did not validate against our published schema

Trying to upload an image to NodeBB and I'm getting this error in the admin control panel. In the browser console, it says
Failed to load resource: the server responded with a status of 502 (Bad Gateway) https://{url}/api/admin/uploadlogo Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Edit
We were exporting the keys and S3_UPLOADS_BUCKET in the environment, which is when we were getting that error. But after entering only the S3_UPLOADS_BUCKET in the admin control panel, it started working.

Thaks for the update ill close this. Just an FYI if you add an edit I don't get a notification best to always add stuff like that as a comment.


Bump up to 0.3.7

Support for 0.3.7 will continue possibly up to the end of the year

The problem with this branch is it changes the minimum rust version


machine-id should be stored in oem

Kairos version:
all
CPU architecture, OS, and Version:

Describe the bug
when booting into recovery, machine-id is not availabel due to persistent not being mounted
when resetting and removing persistent partition, mahcine-id will also be removed.
To Reproduce

Expected behavior
machine-id is available during recovery
machine-id survives a node reset
Logs

Additional context
Ips change due to this issue when booting on recovery and when resetting

ips wont be changed anymore when machine-id changes so Im not sure this is valid anymore.
We already got a mechanism to save and restore the machine-id from persistent, and if you reset the node you migth want a clean slate so it makes sense to remove the mahchine-id


New resolver named SecureDNS

Hey,
I added securedns.eu as DNSCrypt server. It has been a personal project for me and has been running stable for a while. Wanted to provide the options for others.
Regards,
Rick
Provider Address: <IP_ADDRESS>:5353
Provider Name: 2.dnscrypt-cert.securedns.eu
Provider Key: B3A5:9769:1457:5B04:89E1:9FAE:9C43:E679:FAF2:8C57:1897:0031:7F7B:B496:291F:B095

Do add some sort of Terms of use and Privacy Policy to your site.


Api auth

Initial changes in the permissions for different resource fields. Need to write tests !

Changes incorporated. Build is successful on drone. Will set it up on GCE now !

@ibuildthecloud I'm done reviewing there a few pending comments from me that need your input.


My DSL Query not working in elastalert

When I have tried the below elasticsearch query through curl, it is working fine. How can i implement the same in elastalert rule.
{
"query": {
"filtered": {
"query": {
"match": { "plugin": "tcpconns" }
},
"query": {
"match": { "plugin_instance": "9200-local" }
},
"query": {
"match": { "type_instance": "ESTABLISHED" }
},
"filter": {
"bool": {
"must": { "range": { "value": { "gt": 0 } } },
"must_not": { "term": { "host": "localhost" } }
}
}
}
}
}
$ curl -XPOST 'http://<IP_ADDRESS>:9200/systemcollectd-2016.04.06/_search?pretty' -d '

{
"query": {
"filtered": {
"query": {
"match": { "plugin": "tcpconns" }
},
"query": {
"match": { "plugin_instance": "9200-local" }
},
"query": {
"match": { "type_instance": "ESTABLISHED" }
},
"filter": {
"bool": {
"must": { "range": { "value": { "gt": 0 } } },
"must_not": { "term": { "host": "localhost" } }
}
}
}
}
}'
{
"took" : 28,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}

I added the below one in elastalert rule file. But it is sending alert for my localhost. it doesn't not filter correctly.
query:

filtered:

query:
match: "plugin: tcpconns"
query:
match: "plugin_instance: 9200-local"
query:
match: "type_instance: ESTABLISHED"
filter:
bool:

must:
range:
value: "gt: 0"
must_not:
term: "host: localhost"

Let me know how can i get it.

I think you want
filter:
- query:
    match:
      plugin: tcpconns
- query:
    match:
      plugin_instance: 9200-local
- query:
    match:
      type_instance: ESTABLISHED
- range:
    value:
     gt: 0
- not:
    term:
      host: localhost

Also, you have invalid JSON in your CURL command.
"filtered": {
  "query": {
    "match": { "plugin": "tcpconns" }
  },
  "query": {
    "match": { "plugin_instance": "9200-local" }
  },
  "query": {
    "match": { "type_instance": "ESTABLISHED" }
  },
}

You've got the key "query" under "filtered" 3 times, so they would just overwrite each other.

Hi Qmando,
It is working fine as i expected. Thanks for you guidance.
The problem on using elastalert-test-rule is I never add es_host and es_port in my rule file. It always run from config.yaml file. If i want to use elastalert-test-rule, I have to copy those configurations to my rule file too. I know it is not a big job, even though Is there any way to use my config.yaml file configuration for elastalert-test-rule?

Not right now. I will fix that soon, lots of people run into this problem.


Infinispan manifests for 1.1.2.Final release

Signed-off-by: Infinispan<EMAIL_ADDRESS>Signed-off-by: Vittorio Rigamonti<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[x] Does your operator have nested directory structure?
[x] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

Can I access the log of failing tests?
i.e.  CVP/operator-catalog-initialization — failure

@rigazilla  I think it is due to quay.io is down. I will resubmit tests when it will be up

/retest

/test CVP

/test CVP


Update next_app.js

Fixes the link labels from overlapping. Probably still needs some tweaking to adjust label positions

resolves #96
resolves #110

NeXt UI has been deprecated in the plugin version 1.0.


Help user figure out what BCP165 really means

I got this error message:
A resource's computed scope must match that of the Bicep file for it to be deployable. This resource's scope is computed from the "scope" property value assigned to ancestor resource "keyVault". You must use modules to deploy resources to a different scope.bicep(BCP165)

I couldn't wrap my head around it.
I had this:
param name string = 'add'

param keyVaultName string
param keyVaultResourceGroupName string = resourceGroup().name
param permissions object = { secrets: [ 'get', 'list' ] }
param principalId string

resource keyVaultAccessPolicies 'Microsoft.KeyVault/vaults/accessPolicies@2022-07-01' = {
  parent: keyVault
  name: name
  properties: {
    accessPolicies: [ {
        objectId: principalId
        tenantId: subscription().tenantId
        permissions: permissions
      } ]
  }
}

resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' existing = {
  name: keyVaultName
  scope: resourceGroup(keyVaultResourceGroupName)
}

But it turns out I didn't need to pass in the RG for scope, I can just set scope of the module when it is called like this:
module webKeyVaultAccess '../core/security/keyvault-access.bicep' = {
  name: 'web-keyvault-access'
  scope: resourceGroup(keyVaultResourceGroupName)
  params: {
    principalId: webIdentity.properties.principalId
    keyVaultName: keyVault.name
  }
  dependsOn: [keyVault]
}

It would be nice if the error message was updated with a sample on how to fix it.

Can you please explain which part(s) of the message is confusing and how you would like it to be worded? Otherwise, we can add an aka.ms link for further information.

I also find the error BCP165 confusing. If user wants to reference the existing resource, he has the two properties that can fill: name and scope. Scope is needed if the resource is in a different scope, but if the user fills the scope property with the same scope as the new resources will be created, instantly gets the mentioned error. In my opinion this is misleading and no error should be raised, only if the scope of the existing and new resources will be different.

If someone wants to suggest a reworded error, I'm happy to make the change! Leaving this open to collect suggestions.

I think something that says what you need to do would be good, like "add scope property to module instance" with an example....


Create ar.csv under translations folder

Adding new CSV translation file in Arabic

Great, thanks! :)


Add labeler GitHub Action workflow

To make the labels automatically added by detecting changed files. Now we support:

@doc
@conf
@framework
@appearance

And some of them might be partial and would not cover all situations.
Closes #35.

Reviewed before "request review". Add request review on osu-arti/termtable or other individual temmembers to satisfy review required branch protection rule.


Update links for download wallet

After joining as a referral, there is a modal with a link to download a wallet. It is needed to update this link to webauth wallet

Already exist in #343


Continuous distribution based on probablities

I found interesting approach in paper "The Synthetic Data Vault: Generative Modeling for Relational Databases". It seems like there are no implementations in popular libs.
Steps:

Sort the categories from most frequently occurring to least.
Split the interval [0, 1] into sections based on the cumulative probability for each category.
To convert a category, find the interval [𝑎, 𝑏] ∈ [0, 1] that corresponds to the category.
Chose value between 𝑎 and 𝑏 by sampling from a truncated Gaussian distribution with 𝜇 at the center of the interval, and 𝜎 = (𝑏−𝑎) / 6.

Visualisation.

Does it seems reasonable to implement it? I'm ready to contribute this part.

I think this would be an interesting thing to add, if you'd like to work on it.

@antonkw just checking in, are you working on this?

@wdm0006
you can find demo of draft implementation here: Collaboratory Notebook
Things to be done:

adopt it for general sklearn API
implement indexing for decoding.

@antonkw happy to review a PR if you'd like to work on one. If you aren't planning on that, let me know and I can unassign this issue.


Put Mike Hillyer's PNG picture into the staff table

The PNG data for Mike Hillyer's image is missing in the staff table.  It's present in the Sakila download on MySQL AB's site.  When properly in place, viewing the whole Staff table in a tool such as The Brick looks like this:

Thanks for your suggestion.
This combines a few unrelated changes:

Adding the image (I'm not sure anymore why it was removed, probably simply data set size? But I don't see an important reason to add it now. Why did you want to add it?)
Fixing the ETL brand in the comment. This was probably a typo in that generator itself, but is it a meaningful fix?
An actual problem related to MySQL's strict mode, which is probably worth fixing in an independent task

I'm rejecting the PR based on the fact that non-essential changes are mixed together.

I'll fix the strict mode issue here: https://github.com/jOOQ/sakila/issues/11


System requirements

The page says that the client will run on systems running macOS version 10.10 and newer, but the version 10 client requires 10.12 or higher.

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

ID: 0517ea6a-9417-31a8-39a5-f6128387fee5
Version Independent ID: 7636ec70-e1dd-8c6b-516c-8af324d9f645
Content: Get started with the macOS client
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/remote-desktop-mac.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @lizap
Microsoft Alias: elizapo

Same here, Any solution?

Same problem here. I am running 10.11.6 OS X El Capitán and cannot download version 10.3.8 of Microsoft remote desktop 10. Any advice on how to install and use a previous version of it on my computer?

Did you try to download earlier versions from this page,

https://install.appcenter.ms/orgs/rdmacios-k2vy/apps/microsoft-remote-desktop-for-mac/distribution_groups/all-users-of-microsoft-remote-desktop-for-mac

... or did you try to find it in the App store?

Thanks for your message. I cannot see any earlier versions to download in the link you shared (please, see screenshot attached).
There is no other version of Microsoft Remote Desktop in the App store but the 10.3.9.

Oh. I see. I can reproduce your issue when I use Mozilla Firefox, but not when using Google Chrome.
With the Google Chrome browser on Windows, I am able to view 41 versions since September 5, 2019.

In my case, I was only able to view and download versions using Safari (weird).
Anyway, I downloaded the earliest one, September 5, 2019, and still got the same message: "You can’t use this version of the application “Microsoft Remote Desktop Beta” with this version of OS X. You have OS X 10.11.6. The application requires OS X 10.12 or later."

Good point. Thanks for testing and confirming that. From this, I can only presume we need to update the docs.microsoft.com page to state that the macOS RDS client requires OS X version 10.12 or later.

download

Microsoft Remote Desktop Beta 10.2.13 works for me on Mac OS 10.11 El Capitan.
Closes version I found for download is 10.2.4 https://microsoft-remote-desktop-10.en.softonic.com/mac. Maybe its "Check for updates" will upgrade you to a later 10.2.
Microsoft: older Mac hardware (2011 and earlier) runs great, but can't upgrade to MacOS newer than 10.11. Please keep Microsoft Remote Desktop 10.2.13 available!

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Usage with Typescript React

Hey @EternalPhane! Nice extension! I'd really love to use it, but it doesn't work when formatting typescript react files.
An example of the error logs:
[Error - 2019-01-01, 5:51:53 p.m.] Formatting failed
src\components\landing\nav-bar.tsx(50,14) error TS1005: '>' expected.
src\components\landing\nav-bar.tsx(50,17) error TS1005: ',' expected.
src\components\landing\nav-bar.tsx(51,16) error TS1005: '>' expected.
src\components\landing\nav-bar.tsx(51,18) error TS1005: ',' expected.
src\components\landing\nav-bar.tsx(51,37) error TS1005: ',' expected.
src\components\landing\nav-bar.tsx(51,43) error TS1161: Unterminated regular expression literal.
src\components\landing\nav-bar.tsx(52,10) error TS1161: Unterminated regular expression literal.
...

The formatter errors anywhere there is JSX, e.g.:
if (loggedIn) {
      return [
        <Item key='sets'>                  // Line 50
          <Link to='/sets'>Sets</Link>     // Line 51
        </Item>,                           // Line 52
        <Item key='explorer'>
          <Link to='/explorer'>Explorer</Link>
        </Item>,
        <Item key='logout'>
          Logout
        </Item>,
      ];
}

TS1005 and TS1161 are unrelated, so I think the errors are because JSX is not being recognized.

I have not changed the extension settings, so I'm assuming that the extension using my tsconfig.json and tslint.json under src/. My typescript and tslint versions are also up to date. Do I need to change something to allow usage with react?
Thanks!

Hi @FadeZhanger. Sorry for the late reply, I'm really busy these days. Please try the new version and see if it works. Thanks for your support!


Error: Requested Range Not Satisfiable

hello, I note the error message Error: Requested Range Not Satisfiable
when I fetch files from mp4 nexus 5 with chrome
sorry but I have my first experience with node
thanks

Hi @pibu ! Are you then not able to fetch the files or do they still download fine? Seeing Error: Requested Range Not Satisfiable is a normal thing that is part of web browser download negotiation.

Hi dougwilson
thank you for your question
the download is successful
but while on windows phone takes about 1 second
ipad mini and takes about the same time
without any warning to the console of node
with Nexus 5 with chrome it takes about 30 seconds with error messages
I'm sorry but this is the first time I work with node
maybe I'm doing something wrong

As far as your description, I don't see you doing anything wrong. Differences in time, especially if you are using wireless, is hard to pinpoint to anything specific. Also, the error is a normal thing that is part of web browser download negotiation. Not all browser negotiate the same, which is why some browsers you see that and not others.

Thank you very much for the answer
excuse me as I said I have no experience
but 30 seconds of difference seemed to me really a lot
whereas are in wifi

Yes, 30 seconds seems like a lot, but without a way for me to reproduce, it's hard for me to explain anything about why that would be or even if it's related to this module at all.

I understand that not having a nexus 5 can not see what I see and reproduce the problem
these days trying to figure out the problem I came across arguments type header
Accept-Ranges example what do you think?
You can make me a little example of how to configure the static content?
at this time use:
app.use (express.static (dirname + __ "/../Player/"));
you have been very kind to answer
thank you very much

app.use(express.static(__dirname + "/../Player/"));

I'm sorry, unfortunately I really have no idea what you are saying in https://github.com/expressjs/serve-static/issues/42#issuecomment-118098470 :( Can you try explaining again with different words, maybe?


AZNewDispatchingLogic - Submit flow in Polling Model

In the new AZ dispatching design #2038, one important change is to switch from pushing model to polling(pulling) model. Instead of web server selecting an executor and pushing new execution to that executor, now web server will just insert the new executions into DB queue and then executors will take turns to poll new executions from DB.
The PR implements the polling model for submitting new executions. Tested on solo server. Plan to test it on multi-executor mode later.

Pull Request Test Coverage Report for Build 4260

54 of 101 (53.47%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 36.472%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/executor/JdbcExecutorLoader.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
19
22
86.36%

azkaban-common/src/main/java/azkaban/executor/ExecutionController.java
31
37
83.78%

azkaban-exec-server/src/main/java/azkaban/execapp/FlowRunnerManager.java
4
41
9.76%

Totals

Change from base Build 4256:
0.05%

Covered Lines:
10740

Relevant Lines:
29447

💛  - Coveralls

@burgerkingeater

what if same flow's two executions get polled into two different executors and the flow is disallowing any concurrent run?

If the flow disallows concurrent run, web server won't be able to insert two executions into the DB as the check is done in submitExecutableFlow on web server side.


[youtube] Specific video(s?) always results in download error, despite all other videos working fine

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
In general, yt-dlp works great for me on all other youtube videos but I have come across a particular video that gives me an error that claims to be due to a connection issue, but which does not appear to be related to connection dropping or me being unable to reach youtube  (e.g. yt-dlp works fine with other videos but this video always fails). The video in question is https://www.youtube.com/watch?v=iafA9X6_IhM which is a video on HVAC Blower motor repair/cleaning/maintenance and has no issues playing in web browser. I can live without the video but wanted to report this in case it has broader implications and there is something going on that might end up preventing other youtube videos from being downloaded as well.
My hope with the ticket is that this will lead to getting ahead of a potential edge-case scenario that could prevent other youtube videos from being downloaded, or if that is not applicable, then to possibly have an updated error message that is more descriptive of whatever the actual problem is.
I did search for other tickets with "read operation timed out" and/or "HTTP Error 503: Service Unavailable" but all the results were either for different sites, specified parameters that I was not passing, and/or were for older versions of yt-dlp. Those also appeared to have slightly different error messages, although 2898's errors seemed the closest to mine, but again I was not using the --live-from-start option. 5535 also had some similarities but was for a different site and didn't mention anything about "read operation timed out" - so if this is a duplicate, then apologies; I did try at least. :-)
Process steps / system info / app version
$ yt-dlp --version
2022.11.11

$ inxi -S
System:
  Host: <redacted> Kernel: 5.19.16-100.fc35.x86_64 arch: x86_64 bits: 64 Console: pty pts/1
    Distro: Fedora release 35 (Thirty Five)

$ ping -c 1 www.youtube.com
PING youtube-ui.l.google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from yx-in-f93.1e100.net (<IP_ADDRESS>): icmp_seq=1 ttl=104 time=13.5 ms

--- youtube-ui.l.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 13.521/13.521/13.521/0.000 ms

// don't worry - I captured the -vU output too (I have it in the verbose output section below)
$ yt-dlp https://www.youtube.com/watch?v=iafA9X6_IhM
[youtube] iafA9X6_IhM: Downloading webpage
[youtube] iafA9X6_IhM: Downloading android player API JSON
[youtube] iafA9X6_IhM: Downloading MPD manifest
[youtube] iafA9X6_IhM: Downloading MPD manifest
[info] iafA9X6_IhM: Downloading 1 format(s): 244+251
[dashsegments] Total fragments: 34
[download] Destination: Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f244.webm
[download] Got error: The read operation timed out. Retrying (1/10)...
[download] Got error: The read operation timed out. Retrying (2/10)...
[download] Got error: The read operation timed out. Retrying (3/10)...
[download] Got error: The read operation timed out. Retrying (4/10)...
[download] Got error: HTTP Error 503: Service Unavailable. Retrying (5/10)...
[download] Got error: HTTP Error 503: Service Unavailable. Retrying (6/10)...
[download] Got error: HTTP Error 503: Service Unavailable. Retrying (7/10)...
[download] Got error: HTTP Error 503: Service Unavailable. Retrying (8/10)...
[download] Got error: HTTP Error 503: Service Unavailable. Retrying (9/10)...
[download] Got error: HTTP Error 503: Service Unavailable. Retrying (10/10)...
[download] Got error: HTTP Error 503: Service Unavailable. Giving up after 10 retries
ERROR: fragment 1 not found, unable to continue

[download] Destination: Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f251.webm
[download] 100% of    2.45MiB in 00:00:00 at 6.95MiB/s

$ ls -acl
total 2512
drwxr-xr-x. 1 me me     524 Nov 23 16:39  .
drwxr-xr-x. 1 me me     706 Nov 23 16:37  ..
-rw-rw----. 1 me me       0 Nov 23 16:37 'Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f244.webm.part'
-rw-rw----. 1 me me      50 Nov 23 16:37 'Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f244.webm.ytdl'
-rw-rw----. 1 me me 2565275 Nov 23 16:39 'Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f251.webm'

//file contents - basically same thing as cat command:
$ echo "$(< *.ytdl)"
{"downloader": {"current_fragment": {"index": 0}}}

Despite the HTTP Error 503 that is reported, I am able to watch the video fine in Firefox, LibreWolf, and chromium without requiring a login. I am also able to use yt-dlp on other videos without any issue. I have tested this on and off VPN but that makes no difference. I have tested this on 2 different computers (both running Fedora 35) and have the same issue on both.
When I open the webm file in vlc, it appears to only have audio which is confirmed in mediainfo:
$ mediainfo *.webm
General
Complete name                            : Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f251.webm
Format                                   : WebM
Format version                           : Version 4
File size                                : 2.45 MiB
Duration                                 : 2 min 57 s
Overall bit rate                         : 116 kb/s
Writing application                      : google/video-file
Writing library                          : google/video-file

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 2 min 57 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No

However, the source video does indeed have video steams:
$ yt-dlp --list-formats https://www.youtube.com/watch?v=iafA9X6_IhM
[youtube] iafA9X6_IhM: Downloading webpage
[youtube] iafA9X6_IhM: Downloading android player API JSON
[youtube] iafA9X6_IhM: Downloading MPD manifest
[youtube] iafA9X6_IhM: Downloading MPD manifest
[info] Available formats for iafA9X6_IhM:
ID       EXT   RESOLUTION FPS CH │  FILESIZE   TBR PROTO │ VCODEC        VBR ACODEC      ABR ASR MORE INFO
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2      mhtml 48x27        1    │                 mhtml │ images                                storyboard
sb1      mhtml 81x45        1    │                 mhtml │ images                                storyboard
sb0      mhtml 163x90       1    │                 mhtml │ images                                storyboard
139-dash m4a   audio only        │   1.03MiB   50k dash  │ audio only        mp4a.40.5   50k 22k DASH audio, m4a_dash
139      m4a   audio only      2 │   1.03MiB   49k https │ audio only        mp4a.40.5   49k 22k low, m4a_dash
140-dash m4a   audio only        │   2.73MiB  130k dash  │ audio only        mp4a.40.2  130k 44k DASH audio, m4a_dash
251-dash webm  audio only        │   2.45MiB  122k dash  │ audio only        opus       122k 48k DASH audio, webm_dash
140      m4a   audio only      2 │   2.73MiB  130k https │ audio only        mp4a.40.2  130k 44k medium, m4a_dash
251      webm  audio only      2 │   2.45MiB  116k https │ audio only        opus       116k 48k medium, webm_dash
17       3gp   176x144      7  1 │   1.62MiB   77k https │ mp4v.20.3     77k mp4a.40.2    0k 22k 144p
160      mp4   256x140     30    │ ~ 2.33MiB  108k dash  │ avc1.4d400b  108k video only          DASH video, mp4_dash
278      webm  256x140     30    │ ~ 2.05MiB   95k dash  │ vp9           95k video only          DASH video, webm_dash
133      mp4   426x234     30    │ ~ 5.23MiB  242k dash  │ avc1.4d400c  242k video only          DASH video, mp4_dash
242      webm  426x234     30    │ ~ 4.76MiB  220k dash  │ vp9          220k video only          DASH video, webm_dash
134-dash mp4   640x352     30    │   9.08MiB  620k dash  │ avc1.4d401e  620k video only          DASH video, mp4_dash
134      mp4   640x352     30    │   9.08MiB  430k https │ avc1.4d401e  430k video only          360p, mp4_dash
18       mp4   640x352     30  2 │ ~12.08MiB  559k https │ avc1.42001E  559k mp4a.40.2    0k 44k 360p
243      webm  640x352     30    │ ~ 8.77MiB  406k dash  │ vp9          406k video only          DASH video, webm_dash
135      mp4   854x470     30    │ ~24.96MiB 1155k dash  │ avc1.4d400b 1155k video only          DASH video, mp4_dash
244      webm  854x470     30    │ ~16.26MiB  753k dash  │ vp9          753k video only          DASH video, webm_dash

Verbose output
Note: I made only 1 modification to the verbose output which was to replace both occurrences of my wan ip with <REDACTED_WAN_IP>. Everything else is unaltered. Prior to running with the verbose output flag, I had removed the temp files from the previous run. e.g.
rm *.{webm,part,ytdl}

Everything else is identical down to the exact temp files created on the 2nd run having exactly the same number of bytes as in the first run (as reported by ls -acl for both).
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ yt-dlp -vU https://www.youtube.com/watch?v=iafA9X6_IhM
    [debug] Command-line config: ['-vU', 'https://www.youtube.com/watch?v=iafA9X6_IhM']
    [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
    [debug] yt-dlp version 2022.11.11 [8b64402] (zip)
    [debug] Python 3.10.8 (CPython x86_64 64bit) - Linux-6.0.5-100.fc35.x86_64-x86_64-with-glibc2.34 (OpenSSL 1.1.1q  FIPS 5 Jul 2022, glibc 2.34)
    [debug] exe versions: ffmpeg 4.4.3 (setts), ffprobe 4.4.3
    [debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2020.12.05, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.0
    [debug] Proxy map: {}
    [debug] Loaded 1723 extractors
    [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
    Latest version: 2022.11.11, Current version: 2022.11.11
    yt-dlp is up to date (2022.11.11)
    [debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=iafA9X6_IhM
    [youtube] iafA9X6_IhM: Downloading webpage
    [youtube] iafA9X6_IhM: Downloading android player API JSON
    [youtube] iafA9X6_IhM: Downloading MPD manifest
    [youtube] iafA9X6_IhM: Downloading MPD manifest
    [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
    [debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
    [debug] Default format spec: bestvideo*+bestaudio/best
    [info] iafA9X6_IhM: Downloading 1 format(s): 244+251
    [debug] Invoking dashsegments downloader on "https://manifest.googlevideo.com/api/manifest/dash/expire/1669262182/ei/BZd-Y7amLJK1igTiw6v4AQ/ip/<REDACTED_WAN_IP>/id/89a7c0f57ebf2213/source/youtube/requiressl/yes/playback_host/rr3---sn-vgqsrnsd.googlevideo.com/mh/cp/mm/31%2C29/mn/sn-vgqsrnsd%2Csn-q4fl6n6d/ms/au%2Crdu/mv/m/mvi/3/pl/24/tx/24280135/txs/24280135%2C24280136%2C24280137%2C24280138%2C24280139/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/2305000/vprv/1/mt/1669240385/fvip/5/keepalive/yes/fexp/24001373%2C24007246/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Ctx%2Ctxs%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRQIgcPjpWp0-spexgOH6iLe13GA4NDIGi0r1QgCbx3AtkQYCIQD_87Zmfc_NTWs_zuEzfOs7w49eSOD-Bp0ans-KnmB6zA%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRAIgFm7sYKv-KLE9Py5Z7PY69W7pr-_ellGoyP_45s4uF24CIFY1y1tm-V_B50n8BtbxlQoRujMOe_nQIKul4__ZFN2u"
    [dashsegments] Total fragments: 34
    [download] Destination: Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f244.webm
    [download] Got error: The read operation timed out. Retrying (1/10)...
    [download] Got error: The read operation timed out. Retrying (2/10)...
    [download] Got error: The read operation timed out. Retrying (3/10)...
    [download] Got error: HTTP Error 503: Service Unavailable. Retrying (4/10)...
    [download] Got error: HTTP Error 503: Service Unavailable. Retrying (5/10)...
    [download] Got error: HTTP Error 503: Service Unavailable. Retrying (6/10)...
    [download] Got error: HTTP Error 503: Service Unavailable. Retrying (7/10)...
    [download] Got error: The read operation timed out. Retrying (8/10)...
    [download] Got error: HTTP Error 503: Service Unavailable. Retrying (9/10)...
    [download] Got error: HTTP Error 503: Service Unavailable. Retrying (10/10)...
    [download] Got error: HTTP Error 503: Service Unavailable. Giving up after 10 retries
      File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main
        return _run_code(code, main_globals, None,
      File "/usr/lib64/python3.10/runpy.py", line 86, in _run_code
        exec(code, run_globals)
      File "/usr/local/bin/yt-dlp/__main__.py", line 17, in <module>
        yt_dlp.main()
      File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 968, in main
        _exit(*variadic(_real_main(argv)))
      File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 958, in _real_main
        return ydl.download(all_urls)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3322, in download
        self.__download_wrapper(self.extract_info)(
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3297, in wrapper
        res = func(*args, **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1474, in extract_info
        return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1485, in wrapper
        return func(self, *args, **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1582, in __extract_info
        return self.process_ie_result(ie_result, download, extra_info)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1641, in process_ie_result
        ie_result = self.process_video_result(ie_result, download=download)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2737, in process_video_result
        self.process_info(new_info)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3182, in process_info
        partial_success, real_download = self.dl(fname, new_info)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2924, in dl
        return fd.download(name, new_info, subtitle)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/common.py", line 446, in download
        ret = self.real_download(filename, info_dict)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/dash.py", line 54, in real_download
        return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/fragment.py", line 381, in download_and_append_fragments_multiple
        return self.download_and_append_fragments(*args[0], **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/fragment.py", line 519, in download_and_append_fragments
        download_fragment(fragment, ctx)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/fragment.py", line 468, in download_fragment
        if not self._download_fragment(ctx, fragment['url'], info_dict, headers):
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/fragment.py", line 124, in _download_fragment
        success, _ = ctx['dl'].download(fragment_filename, fragment_info_dict)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/common.py", line 446, in download
        ret = self.real_download(filename, info_dict)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/http.py", line 369, in real_download
        for retry in RetryManager(self.params.get('retries'), self.report_retry):
      File "/usr/local/bin/yt-dlp/yt_dlp/utils.py", line 5921, in __iter__
        self.error_callback(self.error, self.attempt, self.retries)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/common.py", line 391, in report_retry
        RetryManager.report_retry(
      File "/usr/local/bin/yt-dlp/yt_dlp/utils.py", line 5928, in report_retry
        return error(f'{e}. Giving up after {count - 1} retries') if count > 1 else error(str(e))
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/common.py", line 394, in <lambda>
        error=IDENTITY if not fatal else lambda e: self.report_error(f'\r[download] Got error: {e}'),
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1004, in report_error
        self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 933, in trouble
        tb_data = traceback.format_list(traceback.extract_stack())

    ERROR: fragment 1 not found, unable to continue
      File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main
        return _run_code(code, main_globals, None,
      File "/usr/lib64/python3.10/runpy.py", line 86, in _run_code
        exec(code, run_globals)
      File "/usr/local/bin/yt-dlp/__main__.py", line 17, in <module>
        yt_dlp.main()
      File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 968, in main
        _exit(*variadic(_real_main(argv)))
      File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 958, in _real_main
        return ydl.download(all_urls)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3322, in download
        self.__download_wrapper(self.extract_info)(
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3297, in wrapper
        res = func(*args, **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1474, in extract_info
        return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1485, in wrapper
        return func(self, *args, **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1582, in __extract_info
        return self.process_ie_result(ie_result, download, extra_info)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1641, in process_ie_result
        ie_result = self.process_video_result(ie_result, download=download)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2737, in process_video_result
        self.process_info(new_info)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3182, in process_info
        partial_success, real_download = self.dl(fname, new_info)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2924, in dl
        return fd.download(name, new_info, subtitle)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/common.py", line 446, in download
        ret = self.real_download(filename, info_dict)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/dash.py", line 54, in real_download
        return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/fragment.py", line 381, in download_and_append_fragments_multiple
        return self.download_and_append_fragments(*args[0], **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/fragment.py", line 520, in download_and_append_fragments
        result = append_fragment(
      File "/usr/local/bin/yt-dlp/yt_dlp/downloader/fragment.py", line 484, in append_fragment
        self.report_error(f'fragment {frag_index} not found, unable to continue')
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1004, in report_error
        self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
      File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 933, in trouble
        tb_data = traceback.format_list(traceback.extract_stack())

    [debug] Invoking http downloader on "https://rr3---sn-q4fzen7e.googlevideo.com/videoplayback?expire=1669262182&ei=Bpd-Y5mmMIzdNqTogdgF&ip=<REDACTED_WAN_IP>&id=o-AMBN020_FYLwHHjN0G2lmtPkkSvMMdm7FCA9AbrpiL6H&itag=251&source=youtube&requiressl=yes&mh=cp&mm=31%2C26&mn=sn-q4fzen7e%2Csn-vgqsrnsd&ms=au%2Conr&mv=m&mvi=3&pl=24&initcwndbps=336250&spc=SFxXNmmf0dumLfqR1lGdCwkAJKezZg4&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=2565275&otfp=1&dur=177.001&lmt=1641612603427403&mt=1669240416&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5311224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAL1G-IcRI1ZnsDWG2DlwACCtAEznt9VE-p1bH6-NZKOHAiAb-UvzKcqAr7h7GzwwNXvJ6VI0EsebPgRGjHbBJ_67XQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhALDjU-AnKymjAZ7Jj57HjBsRF5wMd2WOppndAplHF-xzAiB67X2716-vKbwvRBmYc6rKVrp0fIaOvhwJw3jnStpfjA%3D%3D"
    [download] Destination: Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f251.webm
    [download] 100% of    2.45MiB in 00:00:01 at 2.16MiB/s

It's a YouTube server issue with that format. Try --check-formats
Possibly related: https://github.com/yt-dlp/yt-dlp/issues/1986

Wow, that was a fast response! thank you!
I wasn't specifying a format, so I had assumed that it would just implicitly use bestvideo*+bestaudio/best and fallback if something wasn't working... so you might be on to something with 1986
Here is the output I get with the suggested option but if meant that I could perhaps use that to request a different (working) format, I'm not really sure
$ yt-dlp --check-formats https://www.youtube.com/watch?v=iafA9X6_IhM
[youtube] iafA9X6_IhM: Downloading webpage
[youtube] iafA9X6_IhM: Downloading android player API JSON
[youtube] iafA9X6_IhM: Downloading MPD manifest
[youtube] iafA9X6_IhM: Downloading MPD manifest
[info] Testing format 244
[download] Got error: The read operation timed out
ERROR: fragment 1 not found, unable to continue
[info] Unable to download format 244. Skipping...
[info] Testing format 135
[download] Got error: HTTP Error 503: Service Unavailable
ERROR: fragment 1 not found, unable to continue
[info] Unable to download format 135. Skipping...
[info] Testing format 243
[info] Testing format 251
[info] iafA9X6_IhM: Downloading 1 format(s): 243+251
[dashsegments] Total fragments: 34
[download] Destination: Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f243.webm
[download] 100% of    6.24MiB in 00:00:34 at 187.19KiB/s
[download] Destination: Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f251.webm
[download] 100% of    2.45MiB in 00:00:00 at 2.46MiB/s
[Merger] Merging formats into "Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].webm"
Deleting original file Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f243.webm (pass -k to keep)
Deleting original file Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].f251.webm (pass -k to keep)

And running with different format options, I got:
$ yt-dlp -f "wv*+wa/w" https://www.youtube.com/watch?v=iafA9X6_IhM
[youtube] iafA9X6_IhM: Downloading webpage
[youtube] iafA9X6_IhM: Downloading android player API JSON
[youtube] iafA9X6_IhM: Downloading MPD manifest
[youtube] iafA9X6_IhM: Downloading MPD manifest
[info] iafA9X6_IhM: Downloading 1 format(s): 17
[download] Destination: Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].3gp
[download] 100% of    1.62MiB in 00:01:29 at 18.43KiB/s

$ l
total 1.7M
-rw-rw----. 1 me me 1.7M Jan  7  2022 'Pull and Clean on a Blower Wheel (Blower Housing) (step 1-7) [iafA9X6_IhM].3gp'

and adjusting my original command (no mentioned above) to 360p:
yt-dlp  -f "bestvideo+bestaudio/best" \
    --format-sort res:360,+size,+br,codec  \
    -o "%(uploader)s_-_%(title)s.%(ext)s" \
    --restrict-filenames --windows-filenames --trim-filenames 140 \
    --quiet --no-warnings \
    --ignore-errors --prefer-free-formats \
    --xattrs --no-overwrites \
    --sub-lang en --embed-subs --add-metadata --merge-output-format mkv --write-auto-subs --embed-metadata --embed-thumbnail \
    "https://www.youtube.com/watch?v=iafA9X6_IhM"

That seems to work fine and give me more or less what I had been after. So Thank You !! :-D

https://github.com/yt-dlp/yt-dlp/issues/1986 might not be too relevant here since the fallback server appears to be failing too. But this issue with DASH manifest formats failing is not uncommon (too many issues to link), and --check-formats is pretty much the solution.


Refactored 'test_simple()'.

Refactored the test_simple() function into a test_simple_encoding() function that uses a list of test cases, making the code more readable and easier to maintain.
Similarly, refactored the test_encoding_for_model() function to use a list of test cases.
Added a main block to run the test functions when the script is executed directly.

Thank you, but I think the code is fine as is


Add HTTP/1.1 Request and Response header support

This PR should add HTTP/1.1 support and aims to close https://github.com/sdaubert/packetgen/issues/59.
This includes:

inline documentation
some specs
hopefully as few bugs as possible in the future. 😹

Let me know if you have any issues, or just feel free to fix whatever you don't like 👍
Disclaimer: I could be just over-excited making the PR early, but who knows. I've been working on this for a few hours now.
Future Plans
Once merged, I need to be sure to add some HTTP documentation to the wiki.

Ugh. I messed up while syncing the repos to make sure everything was up to date. I think I could've done this much nicer.
That's why this happened: e18fc3c 😟
I'm not a git master.

I've been working on this.
I apologize for my git noob-ish-ness for this PR. I think I'm making progress though.

Been chase'n my tail for whatever silly reason(s) for this PR/branch.
Making progress on this branch to save my sanity: https://github.com/picatz/packetgen/tree/add-http-headers-cleanly

I'm choosing to close this in favor of https://github.com/sdaubert/packetgen/pull/65 to keep things cleaner for myself and to save my sanity. ❤
🙈 I did learn a lot though.


docs(tutorial): add ansible for devops example

Add Ansible for DevOps example in tutorials list.
This is a collection of labs in the "Ansible for DevOps" book.
I think this is very important to add when reading the book.

@danielcristho hi, sorry for the late reply.. looks like nobody has been watching the repo, merging, thanks!


Finding list of projects referring to different solution

We have different nodes of our architecture to reuse same code base. So, is there any way to find the list of projects that refer to a different solution.
SOLUTION A ; PROJ A
SOLUTION B; PROJ B
PROJ A have a project reference to PROJ B
This is more like a question rather than an issue. If someone could help me out, it would be very helpful.

This repo is for reporting issues with the tasks in the repo (/Tasks)


add new 1.19 deprecations

Add new deprecations in 1.19 (mostly removed in 1.22)
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.19.md
I added these new deprecations to the 1.19 file. I saw, that some deprecations were present there (e.g. admissionregistration.k8s.io/v1beta1). But those are deprecated since 1.16 and not since 1.19 (which is said in the warn-message) and are no longer served from 1.19. Maybe they should be moved to the 1.16 file? I didn't check other files yet...
For context of this question: I wrote a tool (https://github.com/code-chris/k8spolicy) a few weeks ago to automate the validation based on this policies and there's a setting to ignore warnings for a range of k8s-versions (if they are not yet relevant) and this is done via the filename of the policy-file...

Awesome work @code-chris these are much appreciated, thanks for being the first contributor. Hope you are finding these useful.


Reformatting

This was just a really quick change (black . and sed -i s/\r// …) to make the code feel a bit more like other open source python code (nearly all use spaces instead of tabs, mostly 4 instead of 2 spaces. I think most if not all I've made patches for have unix newlines). I appreciate it may be a bit aggressive when something like just a sed -i s/\t/    / would have been simpler than black.
Is there some subset of switching from tabs to spaces (+black formatting), DOS to Unix newlines, that you'd be happy to accept (none is understandable too)?
I thought I'd see how you feel about these changes in case I use the library and find stuff to add like docstrings+docttest, and maybe an expression builder.

Thank you for this, Oliver! Certainly should clean up a bit, particularly the tabs. Given this modifies every line of the files, it is tricky to review. We'll get it re-formatted and push up the corrections shortly. Apologies for the trouble.

That's certainly fair, it wasn't any trouble for me as it was just a couple of commands. It might have been easier if I had just done sed -i… and then suggested using hide whitespace changes under the diff options (or git diff -w via CLI), although admittedly not a great idea for Python.
Using black can be pretty nice for quickly steamrolling things in one go (it's what I used) and I haven't seen it introduce any syntax issues - it requires 3.6+ to run but runs against 2.7 code too.


Cant get it to work with 3mf files

Installed per instructions on Sonoma 14.1.2. Works great with gcode and bgcode files but can't get it to show 3mf files. Attached is a simple cube, directly saved from PS 2.7.0.
test.3mf.zip
I tried Open With but ThumbMF3 is grayed out and cannot be selected.

How frustrating!: As soon as I told Finder to uncompress test.3mf.zip, the uncompressed file had the preview icon for me, and when I used the Open command in ThumbMF3, it showed the correct preview icon.
You wrote:

I tried Open With but ThumbMF3 is grayed out and cannot be selected.

that means the launch services database has not been updated with the information from ThumbMF3.
I've seen this before, with a different app: https://github.com/MaddTheSane/Simple-Comic/issues/57
Do this:

copy ThumbMF3 into /Applications or a sub directory of  /Applications. Delete any other copies of ThumbMF3.
restart your Mac, so that the Finder process has to do a full re-initialization from its beginning.
Run ThumbMF3, and using its File > Open command, open a .3MF file.
Quit ThumbMF3
restart your Mac a second time.

Now, the LaunchServices database and the Quicklook database should be updated to recognize that ThumbMF3 can open .3MF files, and the that the finder should use ThumbMF3’s embedded QuickLook plugin to generate Finder icons.
Please let me know by replying to this issue if that solves your problem. If it does, I'll modify the ReadMe file with the revised installation instructions.

I got it to work! The issue was that I had moved it to ~/Applications. When I quit the app, moved it to /Applications, and restarted it, it began to recognize 3mf files. No reboot necessary. Probably worth adding that to the Readme file.
Thanks for this nice utility app!


union() with rotate_extrude object hanging  with infinite loop

Expected Behavior
Union of the 2 objects
Actual Behavior
If you union together an object created with rotate_extrude() with another object (cube and cylinder tried) the code hangs. The browser runs at high cpu and memory usage is high.
Steps to Reproduce the Problem
Run the code below. If the final union is enabled the code hangs and the objects are not rendered. If the array of objects is returned you can see the objects.
This has been run on the current openjscad.org and a local version of the dev branch with an apache server.
Opera and firefox browsers have been used
I've added debug to the local code and it appears that the "do" loop in addPolygonTreeNodes() is never exiting for the object created with rotate_extrude()
function main() {
var p, fuse, body;
fuse = new CSG.Path2D([ 0, 0 ], false);
fuse = fuse.appendBezier([ [ 20, 0 ], [ 40, 40 ], [ 20, 60 ] ]);
fuse = fuse.appendPoint([ 0, 70 ]);
fuse = fuse.close();
// make the curve into a surface
var area = fuse.innerToCAG();
body = rotate_extrude(area);
// intersecting cylinder or cube
if (true) {
	p = cylinder({
		r : 10,
		h : 50
	});
	p = rotate([ 0, 90, 0 ], p);
	p = translate([ 0, 0, 20 ], p);
} else {
	p = cube([ 10, 80, 10 ]);
	p = translate([ 0, 0, 20 ], p);
}

console.log("Doing union");

if (true) {
	// this hangs
	p = body.union(p);
} else {
	// this shows the shape
	p = [ body, p ];
}
console.log("Done union");
return p;

}

Thanks a lot for the bug report @jbodger !
This is very good, and your workaround is also holding lots of information.
I believe, this is the same issue as this one  https://github.com/jscad/scad-api/issues/28 since they both use rotate_extrude under the hood and both result in infinite loops.
We will let you know once the issue is fixed.


Merge Dev ke uat 25 July 2017

Coverage increased (+0.2%) to 67.114% when pulling b41c2ff165030ee9eb941c763b46eedd523bdaaa on dev into ba136fa29335c379f1299d51623d92d929a58efd on uat.


[Bug] Cannot connect to recaptcha

Describe the Bug
If betterdiscord is installed, recaptcha fails to connect on discord when logging in.
To Reproduce
Type the wrong password or login from a new location so you'll get the captcha.
Expected Behavior
Screenshots
Discord Version
Stable
Additional Context

betterdiscord only loads after you did login 🤔

As @Strencher said, BD will not load in until after you login. It sits and waits until that happens.

I've also been having this issue, and uninstalling BandagedBD solved it, i was then able to log in and reinstall it afterwards


node-forge Prototype Pollution vulnerability

This package has a dependency towards<EMAIL_ADDRESS>which has an upstream vulnerability towards node-forge: https://www.npmjs.com/advisories/1561
The vulnerability has been fixed upstream by<EMAIL_ADDRESS>(latest release being<EMAIL_ADDRESS>Would it be possible to release a new version of this package bumping that dependency, to fix this vulnerability issue?
I have no experience with that dependency myself, but it is not a major release so I am expecting such a bump to be straightforward...?

Any update on this. Any issues in merging suggested PR  - https://github.com/notifme/notifme-sdk/pull/84?

Any update on this. Any issues in merging suggested PR  - https://github.com/notifme/notifme-sdk/pull/84?

I am not quite certain this package is still actively maintained to be honest. That would be sad since I do not know a lot of alternatives, but this is the Open Source life 🤷♂

I am not quite certain this package is still actively maintained to be honest. That would be sad since I do not know a lot of alternatives, but this is the Open Source life 🤷♂


Source connector worker task is getting stuck and not publishing any records

worker task is getting stuck and not producing any records to kafka topic in case if there is a bad/malformed record present in the pipeline.
Step to reproduce:

Try creating a process instance of a bpmn process without providing kafka topic header (or provide any topic which doesn't exist in kafka).
Create instances of other bpmn process where topics are provided and exist in kafka.
Following error is reported in kafka connect log and its not processing any record from zeebe.

06:34:01.044 [task-thread-go-source-0] o.a.k.c.r.WorkerTask ERROR - WorkerSourceTask{id=go-source-0} Task threw an uncaught and unrecoverable exception. Task is being killed and will not recover until manually restarted org.apache.kafka.connect.errors.ConnectException: Unrecoverable exception from producer send callback
at org.apache.kafka.connect.runtime.WorkerSourceTask.maybeThrowProducerSendException(WorkerSourceTask.java:266)
at org.apache.kafka.connect.runtime.WorkerSourceTask.sendRecords(WorkerSourceTask.java:320)
at org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask.java:248)
at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:182)
at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:231)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.kafka.common.errors.TimeoutException: Topic ota-topics not present in metadata after 30000 ms.
06:34:30.085 [SourceTaskOffsetCommitter-1] o.a.k.c.r.WorkerSourceTask ERROR - WorkerSourceTask{id=go-source-0} Failed to flush, timed out while waiting for producer to flush outstanding 1 messages
06:34:30.085 [SourceTaskOffsetCommitter-1] o.a.k.c.r.SourceTaskOffsetCommitter ERROR - WorkerSourceTask{id=go-source-0} Failed to commit offsets
06:35:35.086 [SourceTaskOffsetCommitter-1] o.a.k.c.r.WorkerSourceTask ERROR - WorkerSourceTask{id=go-source-0} Failed to flush, timed out while waiting for producer to flush outstanding 1 messages
06:35:35.086 [SourceTaskOffsetCommitter-1] o.a.k.c.r.SourceTaskOffsetCommitter ERROR - WorkerSourceTask{id=go-source-0} Failed to commit offsets
06:36:40.086 [SourceTaskOffsetCommitter-1] o.a.k.c.r.WorkerSourceTask ERROR - WorkerSourceTask{id=go-source-0} Failed to flush, timed out while waiting for producer to flush outstanding 1 messages
Expectation:
zeebe-kafka-connect should throw the error for any bad/malformed records but should continue with the processing of other records which are valid by skipping all bad records from the pipeline/buffer.

update : Tried setting "errors.tolerance" : "all" for connector config but still same issue.

update : was able to resolve this finally by adding below properties in connector config:
"producer.delivery.timeout.ms": "20000"
"producer.max.block.ms": "60000"
"producer.request.timeout.ms": "15000"
"errors.tolerance": "all"

update : was able to resolve this finally by adding below properties in connector config:
"producer.delivery.timeout.ms": "20000"
"producer.max.block.ms": "60000"
"producer.request.timeout.ms": "15000"
"errors.tolerance": "all"

issue is re-occuring intermittently


Downloading folder shows 2 notifications

Testing #111250

I downloaded the "node_modules" folder from a Codespace (vscode repo).
I clicked on the status bar to open notification center.

Also seeing 2 progress bars in the explorer:

@bpasero two progress bars in the explorer. What are the steps for you to see this? I see you are using Code - Insiders?
For the first -> double downloading, is there an easy way to get into this state by running vscode out of source? Since by running yarn web the Download folder action complains. So my question is how did you get into this state?

@isidorn yes, insiders with GH Codespaces extension connected to a CS.

Unfortunetly I was unable to verify my commit since I need a real insiders out and could not verify with out of source build. Though I am 99% certain this fixes the issue

I still see it in today's insiders

Also while downloading it disconnected/reconnected multiple times

@roblourens please file a separate issue for the disconnect reconnect.
Doulbe notifications are fine -> moving to December to fix then