install can erroneously attempt to install local *.egg-info package

Describe the bug
When using pipx install from a directory that contains a an *.egg-info directory, sometimes a pip error message will be printed that shows that pip tried to install the local *.egg-info package, despite it not being part of the requested install.
This seems only to happen if there is a local *.egg-info directory.
It doesn't seem to happen with every pipx install, which I don't understand.
I don't know if this is possibly a pip bug.
How to reproduce

Go to a directory containing an *.egg-info directory.
carvel:rgbsensor pipx install --verbose kaggle
pipx > (_package_name_from_spec:93): Determined package name: kaggle
pipx > (_package_name_from_spec:94): Package name determined in 0.0s
pipx > (run_subprocess:112): running<EMAIL_ADDRESS>-m venv --without-pip /Users/mclapp/.local/pipx/venvs/kaggle
pipx > (run_subprocess:112): running /Users/mclapp/.local/pipx/venvs/kaggle/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /Users/mclapp/.local/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /Users/mclapp/.local/pipx/venvs/kaggle/bin/python --version
pipx > (run_subprocess:112): running /Users/mclapp/.local/pipx/venvs/kaggle/bin/python -m pip install kaggle
Processing /Users/mclapp/Library/Caches/pip/wheels/79/40/57/49eee0c279b56aa3e06d10708dcfb53142240861b122303f2b/kaggle-1.5.6-py3-none-any.whl
Collecting urllib3<1.25,>=1.21.1
  Using cached urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
Collecting tqdm
  Using cached tqdm-4.45.0-py2.py3-none-any.whl (60 kB)
Collecting requests
  Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Collecting six>=1.10
  Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting python-dateutil
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Processing /Users/mclapp/Library/Caches/pip/wheels/11/94/81/312969455540cb0e6a773e5d68a73c14128bfdfd4a7969bb4f/python_slugify-4.0.0-py2.py3-none-any.whl
Collecting certifi
  Using cached certifi-2<IP_ADDRESS>-py2.py3-none-any.whl (157 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Collecting text-unidecode>=1.3
  Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
ERROR: rgbsensor 0.1.0 requires discoverhue<2.0.0,>=1.0.2, which is not installed.
ERROR: rgbsensor 0.1.0 requires numpy<2.0.0,>=1.18.2, which is not installed.
ERROR: rgbsensor 0.1.0 requires pyserial<4.0,>=3.4, which is not installed.
ERROR: rgbsensor 0.1.0 requires qhue<2.0.0,>=1.0.12, which is not installed.
ERROR: rgbsensor 0.1.0 requires scikit-learn<0.23.0,>=0.22.2, which is not installed.
Installing collected packages: urllib3, tqdm, chardet, idna, certifi, requests, six, python-dateutil, text-unidecode, python-slugify, kaggle
Successfully installed certifi-2<IP_ADDRESS> chardet-3.0.4 idna-2.9 kaggle-1.5.6 python-dateutil-2.8.1 python-slugify-4.0.0 requests-2.23.0 six-1.14.0 text-unidecode-1.3 tqdm-4.45.0 urllib3-1.24.3
pipx > (run_subprocess:112): running /Users/mclapp/.local/pipx/venvs/kaggle/bin/python -c <contents of pipx_metadata_inspector.py> kaggle /Users/mclapp/.local/pipx/venvs/kaggle/bin
pipx > (needs_upgrade:51): Time since last upgrade of shared libs, in seconds:<PHONE_NUMBER>971542. Upgrade will be run by pipx if greater than 2592000.0.
  installed package kaggle 1.5.6, Python 3.8.2
  These apps are now globally available
    - kaggle
done! ✨ 🌟 ✨
carvel:rgbsensor

Expected behavior

pipx (and pip) should not try to install the local package rgbsensor associated with rgbsensor.egg-info
instead, see the lines above:
ERROR: rgbsensor 0.1.0 requires discoverhue<2.0.0,>=1.0.2, which is not installed.
ERROR: rgbsensor 0.1.0 requires numpy<2.0.0,>=1.18.2, which is not installed.
ERROR: rgbsensor 0.1.0 requires pyserial<4.0,>=3.4, which is not installed.
ERROR: rgbsensor 0.1.0 requires qhue<2.0.0,>=1.0.12, which is not installed.
ERROR: rgbsensor 0.1.0 requires scikit-learn<0.23.0,>=0.22.2, which is not installed.

I've seen it happen with kaggle and ptpython.

Can you try running this with python -m pip directly? I suspect this is a pip bug. The cause would be similar to #365, pip is detecting the package in the current directory as installed.
Note: The error message is not emitted during installation, but the post-installation checks that ensures the environment is internally consistent after the operation.

Yes!  It does happen with python3 -m pip from the same directory, but only with certain packages.  I see it happen with plain pip with kaggle, but NOT with ptpython.  I'm not sure of which factors actually make it happen, but this seems to be a pip bug.

Do we close this bug here, or leave it open as a way of tracking the behavior?

Is this still a problem with 20.1? I think it has a fix that’s relevant to this issue.

I would leave it open and add a tag saying “upstream issue”. If it’s fixed in 20.1 we can close it out.


build(workspace): add exaples to workspace

What:

Why: サンプルディレクトリの管理が複雑で大変

How: サンプルもworkspaceの管理下に置いた

Checklist:

[ ] Documentation
[ ] Tests N/A
[ ] Ready to be merged
[ ] Added myself to contributors table N/A

Coverage remained the same at 100.0% when pulling e8953a09a80037b97e2d8517aad1d2db2c91b297 on pr-examples into 3077918ee51cfbaf9f69c03773f38fc11529f7ba on master.

Coverage remained the same at 100.0% when pulling 0ce46b2be627ba9e5618980520a09ca7c1b0a92a on pr-examples into 3077918ee51cfbaf9f69c03773f38fc11529f7ba on master.

Coverage remained the same at 100.0% when pulling 0ce46b2be627ba9e5618980520a09ca7c1b0a92a on pr-examples into 3077918ee51cfbaf9f69c03773f38fc11529f7ba on master.

Coverage remained the same at 100.0% when pulling 9f9f213c4855c2797dd07360f90183dbddd3f963 on pr-examples into 66d644fa8801e572bd771a98b5516292b36ec6a2 on master.


Error: ENOENT: no such file or directory, open '/home/user/.config/gpt-cli/.gptrc'

When i install gptcli, i have this issue :
node:fs:600
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, open '/home//.config/gpt-cli/.gptrc'
at Object.openSync (node:fs:600:3)
at Object.readFileSync (node:fs:468:35)
at b (file:///usr/local/lib/node_modules/@johannlai/gptcli/dist/cli.mjs:2:390)
at K (file:///usr/local/lib/node_modules/@johannlai/gptcli/dist/cli.mjs:2:494)
at file:///usr/local/lib/node_modules/@johannlai/gptcli/dist/cli.mjs:16:230 {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home//.config/gpt-cli/.gptrc'
}
i fixed it with create gpt-cli dir in .config and .gptrc file.
mkdir ~/.config/gpt-cli && touch .config/gpt-cli/.gptrc

hi @Sterben667 thanks for install it.
what system are you using?

I have the same problem. Latest version of MacOS with m1 chip


New Developer Contribution Request

Description of the new feature / enhancement
Hello, my name is Mazen Saber and I am new to software development, and I am currently learning C#. Can you please recommend a beginner friendly feature that I can work on? I would love to contribute to this project. Please let me know.
Scenario when this would be used?
N/A
Supporting information
No response

Hi. Thank you for considering contributing to our project. A good start are issues with the label Good first issue. Please make yourself familiar with our Contributing Guidelines and I wish you good luck with programming!
If you have any further questions, please do not hesitate asking.


[monkeys-audio] Update to 565d.

This fixes the monkeys-audio port, which was failing due to MAC_SDK_559c.zip being deleted from the remote server.

What does your PR fix? See above

Which triplets are supported/not supported? Have you updated the CI baseline?
No change.

Does your PR follow the maintainer guide?
Yes

vtk-m regression will be fixed in #14884.

ping @BillyONeal for merge this PR quickly.

/azp run

Thanks!


Update part-1-overview-concepts.md

It might not seem like much, but I've spent 40 minutes trying to figure out how exactly was immutability being enforced here, and overall got confused. This will surely help newbies like me.

Thanks, but I think the existing comments are sufficient. If someone doesn't understand the spread operator's function, that should be learned elsewhere. These comments are not intended to teach the purpose of that operator (nor are they sufficient for that task)


🐛 Superkey on keyboard not recognized by OS

branch
stable
Architecture
x86_64
Description
Installed on a Lenovo laptop made in about 2021.
I tested with one of those online keyboard tester, and found out that the superkey inputs are not registered by the OS. How should I proceed to fix this? Do I need to find an appropriate dirver?
I used default option for all the install/language settings.
Thanks for the help.
Reproduction steps
N/A

Screenshots
No response
Logs
No response

Could you verify, that it is not a hardware problem (broken key) by installing a different OS or connecting a keyboard? Normally it should just work.

Could you verify, that it is not a hardware problem (broken key) by installing a different OS or connecting a keyboard? Normally it should just work.

It's not a hardware problem. I even tested with installing the KDE version of Manjaro, and the superkey is registered correctly.
Also during the installation process of Manjaro Sway, the Z key is being register as Y key. I tried with different keyboard layout/languages and it is still incorrect. And the superkey remain unfunctional.

I tried with different keyboard layout/languages and it is still incorrect. And the superkey remain unfunctional.

In the calamares installer of manjaro? That one isn't actually having an effect on Sway. In sway, you configure the keyboard differently. I can assure you, that normally the super key just works. I have working installs on a desktop computer, several thinkpads and even a framework 13 as of now. None of them have issues with the super key.

I tried with different keyboard layout/languages and it is still incorrect. And the superkey remain unfunctional.

In the calamares installer of manjaro? That one isn't actually having an effect on Sway. In sway, you configure the keyboard differently. I can assure you, that normally the super key just works. I have working installs on a desktop computer, several thinkpads and even a framework 13 as of now. None of them have issues with the super key.

Thanks for the info, I'll give it couple more tires and see where the issue comes from.

Very nebulous issue.


Simplify image creation for bicep module by pushing latest image to GHCR

Simplifying access to the images of three services when deploying bicep module.   This change simplifies the process and gives option to attendees if they don't want to build images locally, they either import public images into the private ACR or use the public registry directly.
Adding a action to publish images of three services to GHCR

✅ It also gets rid of using user name and password for authenticating with ACR from Container apps for pulling the image. It will use identity instead.
✅ Validated all three options locally as well and it works great

@pankajagrawal16 looks good overall. Please take a look at the changes that I committed.

Looks good to me @waelkdouh


Made a tool to use JS with npm scripts

https://github.com/corysimmons/package-script-manager
Sorry if this is the wrong place (don't want to have to get a Twitter account and couldn't find your email anywhere) but wanted to ping you about this thing since "JSON is restrictive" is the biggest drawback of npm scripts.
This seems to fix it. Let me know what you think and if you think of any cool ways to use it.

See https://github.com/keithamus/npm-scripts-example/commit/7202006044e5c2ac222f0f6451d12dbd9ca1ded9

@francoismassart Sorry, forgot about this. I think https://github.com/kentcdodds/nps is probably a better option as it's maintained by some high profile people and does essentially the same thing as my unmaintained package.


PP-8441 add serviceId and live fields to Charge model

WHAT YOU DID
Follow up to #3206 adding serviceId and live fields to Charge model. Remove some constructors which are no longer needed as we can use these fields from the model.
How to test
Code should compile
Tests should make sense
Code review checklist
Logging

[ ] only emit log lines at ERROR level which require immediate attention from a support engineer. These will trigger a zendesk alert.

Documentation

[ ] Updated README.md for any of the following ?

Introduced any new environment variables / removed existing environment variable
Added new API / updated existing API definition

@alexbishop1 Thanks, I have addressed your comments by amending commits and force-pushing.


Integration with seldom_state: unexpected DoneTrigger behaviour.

How to reproduce:
add new example nav_state.rs, paste code below. run with cargo run --example nav_state --features="state"
Expected behaviour
piece of code
.trans::<GoToSelection>(DoneTrigger::Success, Idle)
            .on_enter::<Idle>(|_| { info!("IDLE!"); })

should print IDLE! after movement ends. receiving trigger from MapNavPlugin
Problem
IDLE! is printed just after the moving start.

P.S. Also I tried to run same example inside seldom_state crate with nessecary changes in Cargo.toml and in assets. IDLE! message not shown at all

Further digging
then I added some custom info! to nav.rs

and output was:

here we see strange Done Empty trigger just after the click, which causes undesired state change.
while moving, there is no triggers.
Done Finished Nav occurs the right moment, when the movement is done
Finally, there will be flood of Done Empty triggers, until we initiate next movement (dunno if it is right)
Code for  nav_state.rs
// In this game, the player navigates to wherever you click

use bevy::{prelude::*, sprite::Anchor};
use rand::{thread_rng, Rng};
use seldom_map_nav::prelude::*;
use seldom_state::prelude::*;

#[derive(Clone, Reflect)]
struct Click;

impl OptionTrigger for Click {
    type Param<'w, 's> = (Res<'w, Input<MouseButton>>, Res<'w, CursorPos>);
    type Some = Vec2;

    fn trigger(&self, _: Entity, (mouse, cursor_position): Self::Param<'_, '_>) -> Option<Vec2> {
        mouse
            .just_pressed(MouseButton::Left)
            .then_some(())
            .and(**cursor_position)
    }
}

#[derive(Clone, Component, Reflect)]
#[component(storage = "SparseSet")]
struct Idle;

#[derive(Clone, Copy, Component, Reflect)]
#[component(storage = "SparseSet")]
struct GoToSelection {
    speed: f32,
    target: Vec2,
}

fn main() {
    App::new()
        .add_plugins((DefaultPlugins, StateMachinePlugin, MapNavPlugin::<Transform>::default()))
        // This plugin is required for pathfinding and navigation
        // The type parameter is the position component that you use
        .init_resource::<CursorPos>()
        .add_systems(Startup, init)
        .add_systems(Update, (update_cursor_pos, move_player).chain())
        .run();
}

const MAP_SIZE: UVec2 = UVec2::new(24, 24);
const TILE_SIZE: Vec2 = Vec2::new(32., 32.);
// This is the radius of a square around the player that should not intersect with the terrain
const PLAYER_CLEARANCE: f32 = 8.;

fn init(mut commands: Commands, asset_server: Res<AssetServer>) {
    commands.spawn(Camera2dBundle {
        // Centering the camera
        transform: Transform::from_translation((MAP_SIZE.as_vec2() * TILE_SIZE / 2.).extend(999.9)),
        ..default()
    });

    let mut rng = thread_rng();
    // Randomly generate the tilemap
    let tilemap = [(); (MAP_SIZE.x * MAP_SIZE.y) as usize].map(|_| match rng.gen_bool(0.8) {
        true => Navability::Navable,
        false => Navability::Solid,
    });
    let navability = |pos: UVec2| tilemap[(pos.y * MAP_SIZE.x + pos.x) as usize];

    // Spawn images for the tiles
    let tile_image = asset_server.load("tile.png");
    let mut player_pos = default();
    for x in 0..MAP_SIZE.x {
        for y in 0..MAP_SIZE.y {
            let pos = UVec2::new(x, y);
            if let Navability::Navable = navability(pos) {
                let pos = UVec2::new(x, y).as_vec2() * TILE_SIZE;
                player_pos = pos;

                commands.spawn(SpriteBundle {
                    sprite: Sprite {
                        anchor: Anchor::BottomLeft,
                        ..default()
                    },
                    transform: Transform::from_translation(pos.extend(0.)),
                    texture: tile_image.clone(),
                    ..default()
                });
            }
        }
    }

    // Here's the important bit:

    // Spawn the tilemap with a `Navmeshes` component
    commands
        .spawn(Navmeshes::generate(MAP_SIZE, TILE_SIZE, navability, [PLAYER_CLEARANCE]).unwrap());

    // Spawn the player component. A position component is necessary. We will add `NavBundle`
    // later.
    commands.spawn((
        SpriteBundle {
            transform: Transform::from_translation((player_pos + TILE_SIZE / 2.).extend(1.)),
            texture: asset_server.load("player.png"),
            ..default()
        },
        StateMachine::default()
            // When the player clicks, go there
            .trans_builder(Click, |_: &AnyState, pos| {
                Some(GoToSelection {
                    speed: 200.,
                    target: pos,
                })
            })
            // `DoneTrigger` triggers when the `Done` component is added to the entity. When they're
            // done going to the selection, idle.
            .trans::<GoToSelection>(DoneTrigger::Success, Idle)
            .on_enter::<Idle>(|_| { info!("IDLE!"); })
            .on_enter::<GoToSelection>(|_| { info!("GOTO!"); })
            .set_trans_logging(true),
        Player,
        Idle
    ));
}

// Navigate the player to wherever you click
fn move_player(
    mut commands: Commands,
    players: Query<(Entity, &GoToSelection), Added<GoToSelection>>,
    navmesheses: Query<Entity, With<Navmeshes>>,
) {
    // Clicked somewhere on the screen!
    // Add `NavBundle` to start navigating to that position
    // If you want to write your own movement, but still want paths generated,
    // only insert `Pathfind`.
    for (entity, go_to_selection) in &players {
        commands.entity(entity).insert(NavBundle {
            pathfind: Pathfind::new(
                navmesheses.single(),
                PLAYER_CLEARANCE,
                None,
                PathTarget::Static(go_to_selection.target),
                NavQuery::Accuracy,
                NavPathMode::Accuracy,
            ),
            nav: Nav::new(go_to_selection.speed),
        });
    }
}

// The code after this comment is not related to `seldom_map_nav`

#[derive(Component)]
struct Player;

#[derive(Default, Deref, DerefMut, Resource)]
struct CursorPos(Option<Vec2>);

fn update_cursor_pos(
    cameras: Query<(&Camera, &GlobalTransform)>,
    windows: Query<&Window>,
    mut position: ResMut<CursorPos>,
) {
    let (camera, transform) = cameras.single();
    **position = windows
        .single()
        .cursor_position()
        .and_then(|cursor_pos| camera.viewport_to_world_2d(transform, cursor_pos));
}

It should work on the latest commit if you change (update_cursor_pos, move_player).chain() to (update_cursor_pos, move_player.before(MapNavSet)).chain()


JSONAPI compliant serializer

Hi. First, thank you for such a nice library for transforming our data.
Do you think you can create another default serializer for JSONAPI compatible format? It would be nice if we can use: https://github.com/SeyZ/jsonapi-serializer as one of the adonijs compatible serializer. :)

I tried to create a JSONAPISerializer but to fully support JSONAPI we would have to make many changes to the architecture of bumblebee which I am currently not willing to do.
I suggest you use the SeyZ/jsonapi-serializer library you linked. It seems to already fully support JSONAPI.


Integration tests stabilization

Description
Integration tests stabilization
It does not bring any real value to have tests that depends on one Pydantic version (and the url field is changing from time to time with new Pydantic versions)
Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

/retest

/lgtm

/approve


sap.m.Select ValueState UI Bug

OpenUI5 version:
1.44.9
Browser/version (+device/version):
Version 56.0.2924.87 (64-bit)
Any other tested browsers/devices(OK/FAIL):
none
URL (minimal example if possible):
https://abshoff.it/openui5-select-valuestate-bug.html
User/password (if required and possible - do not post any confidential information here):
none
Steps to reproduce the problem:

Open the URL.

Click on the select box.

Click on the second entry ("2").

Do not click anywhere else.

What is the expected result?
The control should not show an error message.

What happens instead?
The control shows an (outdated) error message "Invalid entry".

Any other information? (attach screenshot if possible)
The control is initialized with valueState set to sap.ui.core.ValueState.Error. When the user selects the second entry, the valueState is set to sap.ui.core.ValueState.None in the change event handler. The red border goes away as expected, but a message "Invalid entry" is shown. The message disappears only if the user clicks somewhere else and the control loses its focus. However, in many applications, the user does not click somewhere else and is confused by the (outdated) error message.

Hello @abshoff-reply  ,
Thank you for sharing your finding. I've created a internal incident<PHONE_NUMBER>. You will be updated in GitHub for the status.
Regards,
Diana

In the corresponding SAP Incident 175654 / 2017, I was asked to add a minimal example for SAPUI5 version 1.44.11—which is pretty easy to accomplish! For sake of completeness, I would like to add it to this GitHub issue.
https://abshoff.it/sapui5-1.44.11-select-valuestate-bug.html

Hi abshoff-reply, the incident was fixed and downported to 1.46
Regards, Mihail.


[3.x] Backport video loop property and fix for initial black frame

Backport of https://github.com/godotengine/godot/pull/77856 and https://github.com/godotengine/godot/pull/77857 to Godot 3.x
Showcase:
Without looping:
https://github.com/godotengine/godot/assets/38077837/7d2402c7-99e5-40ab-a02c-17b3e5dfe6bf
With looping:
https://github.com/godotengine/godot/assets/38077837/1c5e7a56-92f6-4182-9859-b4a67f0eb028

Very cool! ✨
Keep in mind that https://github.com/godotengine/godot/pull/77857 is not merged yet!

Very cool! ✨
Keep in mind that #77857 is not merged yet!

Thanks! :) and yeah, no worries. My main concern was for letsgamedev (The developer of Spindle) to have this fix for their games since they regularly use VideoPlayer Nodes in 3.x and he mentioned this issue to me when I met him in person.

Thanks!


Add --lines to follow

This is the accompanying PR to Nukesor/pueue#270. As mentioned in the other PR, if you're interested in having this merged, let me know you're preferred target branch for this, since this is currently branched off of v0.18.1 tag since that was the quickest way for me to be able to test it.

This repository is going to be archived :)
Please merge your changes in pueue-lib to the MR on the main Pueue repository.
I'm sorry for any inconveniences. There are some major changes  to the project that just need to be made.


strike_svg broken in Summer 18

It would seem that, in a Summer 18 pre-release org, even when a component and all the Strike components are set to an API version of 40/41/42, strike_svg no longer works properly.
Minimal example:
In a Summer 18 org, install strike_picklist and create a component that contains a strike_picklist with searchable="true". Notice that when searching, the magnifying glass icon (presently implemented via strike_svg) does not appear. Compare with a Spring 18 org in which it does appear. If you investigate with Inspect Element you'll see the SVG tag was created, and the USE tag was created, but the xlink:href attribute was never added.
While I understand that for the most part strike_svg can now be refactored to lightning:icon, there are some cases where it doesn't do the job. Namely, the class attribute of lightning:icon only applies classes to the wrapping container and not to the SVG tag itself. Certain SLDS constructions require classes on both the wrapper and the SVG tag. So I borrowed the strike_svg code for some components of my own to act accordingly. Unfortunately once the sandbox in question upgraded to Summer18 the icons didn't appear anymore.
I could raise this to Salesforce myself but it would probably be more influential coming from Appiphony. :)

Hi @camisotro, we are aware of this change and will be phasing out use of strike_svg in all future releases to comply with the release's needs. A refactor will need to be done on all cases that can be replaced with lightning:icon, but unfortunately this means we will need to drop custom icon/image functionality in multiple components.

FYI, I got a response from SFDC on this at StackExchange:
https://salesforce.stackexchange.com/questions/217837/summer-18-svg-blocked-in-lightning-components?noredirect=1#comment330428_217837
Locker Service team has been notified of this issue with SVG elements using href attribute in Summer 18. We are working on a resolution. If you file a customer case, please reference this investigation W-4981475 – Ravi Jayaramappa

Thanks for the update! We'll closely monitor this issue internally ourselves as well. Hopefully they will continue to allow use of that attribute so we can keep our custom icons.

Yeah hoping they pull through on this.
Also notable: Summer 18 introduces support for lightning:icon taking a custom src attribute. That might help. But it still remains that lightning:icon can only apply a class to the wrapping element and not the svg tag itself.

It looks like Salesforce did indeed solve this in time for release. However some icons still aren't showing up. I think it might be because of the hard-coded URL. For example strike_picklist references "/resource/icons/utility-sprite/svg/symbols.svg#search" which is not working. But if I change it to "/apexpages/slds/latest/assets/icons/utility-sprite/svg/symbols.svg#search" I get the search icon back.

Since we are no longer supporting this project I am closing this issue.


Problems launching and debugging JavaFX application

I recently tried to use your VSCode extension for working on my multi-module JavaFX project at https://github.com/hallvard/halban. It seems to pick up the project structure correctly. I could run ordinary classes with a main method (used for simple testing).
However, I could not launch my app using Run or Debug (Application subclass in sokoban-app module), presumably since it needs to use man javafx:run instead. It would be great if it could detect that the class is a JavaFX application class, and launch it accordingly.
After manually launching in the terminal with mvnDebug I could attach the VSCode debugger, but all my breakpoint became unverified, so in practice, debugging didn't work.
Launching ordinary tests does not seem to work, either, the line in the Test Results or Testing panel just keeps spinning.

You can add custom run and debug configurations in launch.json file  inside .vscode dir, and then can you try debugging and running your project?

Since there is no recent acitvity on this issue, closing it for now. But, if you still face any problem feel free to reopen this issue or file a fresh issue.


Premint: first minter rewards

Current dependencies on/for this PR:

main

PR #161

PR #162   👈

This comment was auto-generated by Graphite.

can you please add test that shows: first minter gets rewards on multiple mints from different minters

https://github.com/ourzora/zora-1155-contracts/pull/162/files#diff-4351e9f1c8712bdd84b0b795fa32bc3f4b01e309cf2b3aeb21d789bef6279cd2R969-R999

Looks like test coverage went down to 69.5% - maybe some tests were deleted?

todo:

[ ] fix test coverage
[ ] fix fork tests


Would this module display latest product uploaded(new) ?

Hello, would this module display latest product uploaded(new) in all categories and subcategories pages? (front-End) Thank you.

@Yolo92 Hi, I think yes. This extension just extends default Magento sorting block.


mup deploy failure

Hi! I'm trying to deploy my app to my staging server with mup deploy but I keep getting the error below and I have no clue on how to fix this. Please could you assist.
Tonys-MacBook-Pro:.deployment tonyj$ mup deploy
Meteor Up: Production Quality Meteor Deployments
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: ../
Started TaskList: Deploy app 'app' (linux)
[xx.xx.xx.xx] - Uploading bundle
[xx.xx.xx.xx] - Uploading bundle: SUCCESS
[xx.xx.xx.xx] - Setting up Environment Variables
[xx.xx.xx.xx] - Setting up Environment Variables: SUCCESS
[xx.xx.xx.xx] - Invoking deployment process
[xx.xx.xx.xx] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
npm ERR! Linux 3.19.0-47-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node ./build.js'.
npm ERR! This is most likely a problem with the fibers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls fibers
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /opt/app/tmp/bundle/programs/server/npm-debug.log
-----------------------------------STDOUT-----------------------------------

><EMAIL_ADDRESS>install /opt/app/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

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

If mup isn't cutting it for you please try the development branch version mupx. A new port to kadirahq is underway I've noted some are trying that version too. Maybe you should try it and mupx and report back any issues and preferences or of course if it makes no difference.

Thanks MasterJames!!! mupx worked for me....Many many thanks!

Excellent good news! Happy computing, Tony! thanks for the thanks.
For the record the new kadirahq port is not ready for replacement and I'm sure a note in the Readme here will appear when it is. For now mupx is your best mup option for getting your meteor apps up and running.


#30042 (Use of kwargs in the tutorial.)

Lines 360 and 361 above states:
"We aren't going to use this feature of Django in the tutorial."
However, as the tutorial makes use of it, would it not be better to say:
"kwargs are used in the URLconf in the 'polls' directory: name='index' "
Apologies if incorrect, I am just learning Django and going through the tutorial for the first time.

Closing as per ticket.


Various ux fixes

###v1:

Corrects some CSS that caused dataset pills did not have the correct text color and made it difficult to read
Fix a CSS issue where owner names in the suggested owners list in the ownership tab would be under the picture instead of to the right when the text overflowed
Add platform column to lineage table and resize the cells to better fit the expected content we get

ember test results:
1..504
# tests 504
# pass  497
# skip  7
# fail  0

# ok

Old vs New

Codecov Report

Merging #1433 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1433   +/-   ##
=======================================
  Coverage   60.74%   60.74%
=======================================
  Files         186      186
  Lines        4058     4058
  Branches      946      946
=======================================
  Hits         2465     2465
  Misses       1593     1593

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f144c5...d16bff5. Read the comment docs.


can you share any user friendly web download link of dataset, google drive best

Hi Mr Huang
Very thanks for the marvel and light reproduce work in pytorch ,a good job.
And a bit suggestion , could you share some dataset's download link by google drive ?  However, the office download link was too slow to irk myself .
Can you fill in miss blank by  google_drive_link by manual ?

Dataset
Google Drive
Baidu cloud
office download page or link

GOT-10k
copyright/ private link
copyright/private link
obtain

DukeMTMC-VideoReID
link
optional
office

DukeMTMC-reID
link / ref
optional
office

dukemtmc i don't known
link  / ref
optional
github_open_reid

OTB (2013/2015)
miss
optional
office

VOT (2018)
miss
optional
office

DTB70
box
pan
office

TColor128
miss
optional
office

NfS
goto_office
goto_office
office

UAV123
link / ref
optional
office

ILSVRC2017_VID
miss
optional
office

ILSVRC2015_VID
miss
optional
office

Dataset-NUS-PRO
miss
link / ref
office

Hi @gjpicker, sorry for replying so late, I was quite busy on some works. Thanks for your suggestion, but I do not have the google drive links for the datasets, although I agree that offering the unified links would be helpful.


Jump to Bottom in Chat window

Issue: "Jump to Bottom" button appears in Chat window when chat is cleared and will not go away on client side.
Steps to recreate: Clear chat window when chat is full.
UI Version: 2.10.10
System: Pathfinder 2e 5.7.2
Foundry version: 11.313
Hosting: Forge
Browser: Chrome

Sasmira managed to reproduce the issue with no UI module active, so for now I'm treating this as a core issue


Deliberation Talk notes

Please give feedback!

I think the infrastructure and driving decisions for it are so important here but also quite complicated and novel — perhaps people would benefit from a high-level picture upfront. I feel like you say "theres a lot of vagueness" and you close the loop by saying things like "everything is specified in a manifest" but I think that loop is pretty big. I wonder if you could close that loop fast, and then dig into it over a few slides with details and revisit the entire loop again at the end.
Just a thought about selection bias, how similar is this bias to the bias of people who actually participate in deliberative activities in society?
The "goals for the first study" feels very technically focused. I wonder if there are 1) biggest problems in this space or 2) areas you are particularly excited by for some narrative reason, or 3) a mechanical goal in the first study, e.g., to demonstrate the mechanism. Personally, I feel like 1 or 2 are stronger motivations for a job market context, i.e., giving a window into your substantive focal areas in addition to your engineering approach.


UI trigger for RNAsum workflow

A way to manually trigger RNAsum, similar to what's possible in the v1 portal, is still needed in v2.

This is probably something that requires a little bit of collaboration from my side to (i.e a lambda function to point at).
Given a subject id can we assume to use the latest versions of umccrise / dragen wts analysis runs?
If so, lambda should only need the subject id and the dataset and should be able to populate the ready event from that?

In principle I am OK with whatever works. Just noting that there may be other options and that we don't need to cover all use cases from the start.
If I understand your question correctly, you'd try to infer the required input values given a subject ID only?
This will "hide" the inference in the back-end and it won't be visible to the triggering user. Not sure we want / have to go that way (yet).
For example: we'd usually have the default PANCAN run triggered automatically, right?
An option might be to only allow/support a "rerun" option, i.e. select that run in the UI and say "run this again, but switch the reference", then all required inputs should be present. It also means all required pre-conditions for running RNAsum are covered by default (as otherwise the initial run would not have gone through).
We'd only be supporting a very specific use case, but there should be no guesswork / inference needed and it's the most common use case (others could be handled manually until we have a better grip on them).
Or am I off the mark?


use Docker for infrastructure dependencies while developing

This is an attempt to relieve some of the pain of getting cfgov-refresh up and running. Users will no longer need to install and administer MySQL and Elasticsearch-- and you even get a working PDFReactor install, which not many people even attempt.
Additions

PDFReactor added to docker-compose, with a dockerfile under docker/pdfreactor
a pre-built, static mysql-python wheel is provided
We provide our own implementation of Django's dbshell, that doesn't require a local MySQL client (using docker-compose exec instead)
start-services.sh which (if needed) provisions a virtual machine with docker-machine, (if needed) starts it and (if needed) brings up MySQL, PDFReactor, and Elasticsearch.
stop-services.sh, which brings down those daemons and stops the virtual machine.

Changes

Shell scripts have been adjusted and extended to deal with services running in Docker. In particular, shell scripts that interact with the database have been altered to use exec (like dbshell above)
Defaults have been put in place such that developers should never have to set database settings via environment variables.

Testing
The first thing you'll want to do is stop MySQL and Elasticsearch if they are running locally on your mac. This can get kind of tricky with homebrew, but it may look like any of:
brew services stop mysql
brew services stop elasticsearch
mysql.server stop

Then, there are three ways you may want to go about testing:
Make sure your homebrew has all the necessary stuff by running sh homebrew-deps.sh
Option 1: Quickstart

back up your existing .env file
follow these instructions: https://github.com/cfpb/cfgov-refresh/tree/10minutes#quickstart

Option 2: Speed run

move your .env file to back it up and hide it from autoenv
open a new terminal window
Set the CFGOV_PROD_DB_LOCATION variable as described at [GHE]/CFGOV/platform/wiki/Database-downloads#loading-locally
run time ./arewefastyet.sh
report your time results in the comments!
you should then be able to workon cfgov-refresh, runserver, etc like normal.

Option 3: Just switch.

back up your .env file
source load-env.sh
./start-services.sh
wait a few minutes
workon cfgov-refresh
you should be able to work as normal now!

As needed, you may wish to migrate licenses, API keys and other secrets from your backed-up env file, into the new one.
Later, if your done developing on cfgov, but not done using your laptop, you may wish to ./stop-services.sh-- especially if you're on battery.
Todos

Still need to make changes to /docs/

Checklist

[x] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated
[ ] Reviewers requested with the Assignee tool :arrow_right:

Glitches that surfaced during the live demo:

dbshell requires you to have previously done eval $(docker-machine env cfgov)
the awk command in refresh-data.sh doesn't (always?) capture the container name

@rosskarchner if I follow the install instructions to the letter, I see two strange things:

source setup.sh runs and then closes the terminal window I've run it in. This is in iTerm2 for what it's worth. I can consistently reproduce this behavior.

if I source start-services.sh I get this: Get https://registry-1.docker.io/v2/cfgov/pdfreactor/manifests/latest: unauthorized: incorrect username or password

Presumably because of ☝failures, when I run runserver I get this:

Starting the Django server on port 8000 ...
Traceback (most recent call last):
  File "cfgov/manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

ok, after workon, next error:
  File "/Users/esherm/dev/.virtualenvs/cfgov-refresh/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 27, in <module>
    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Users/esherm/dev/.virtualenvs/cfgov-refresh/lib/python2.7/site-packages/_mysql.so, 2): Library not loaded: /usr/local/homebrew/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/esherm/dev/.virtualenvs/cfgov-refresh/lib/python2.7/site-packages/_mysql.so

Thanks, Mark! That might be two different problems.
For the first thing: this might be an artifact of your previous experiments with Docker -- an expired authentication to docker hub. Try docker logout
For the second thing, I think the quickstart instructions might be missing a workon cfgov-refresh before the runserver step.

That's interesting-- can you rmvirtualenv cfgov-refresh AND rm -rf ~/Library/Caches/pip and try again?
If that doesn't work, maybe we need to add openssl to homebrew-deps.sh

In fact, reverse that: try brew install openssl before trying the other thing.

openssl already installed.
I tried removing the virtualenv and clearing the pip cache. then sourcing env and setup, and same behavior.
Oh, that docker logout worked, by the way. thanks!

OK, thanks for the report-- it seems like the pre-built MySQL wheel isn't as bulletproof as I thought, which is annoying.

Is there a /usr/local/homebrew/opt/openssl/lib/libssl.1.0.0.dylib on your system?

This seems to suggest that maybe reinstalling openssl is a fix: https://stackoverflow.com/a/20946142

I'll give that a shot, Ross. Thanks.

@rosskarchner interesting... that libssl.dylib is looking in /usr/local/homebrew/opt but I recently had to wipe out my homebrew and start over, and I bet there are remnants on my mac that are still trying to point things to there. I have not been able to figure out why certain things still try to point to /usr/local/homebrew instead of the homebrew in my home directory. That file definitely lives in the homebrew in my home dir.

hmm, maybe the built _mysql.so has a hardcoded path to /usr/local/homebrew

ok @rosskarchner, more fun. I copied openssl into /usr/local/homebrew and that got me past the problem above. Now, when I run runserver it's telling me it can't connect to mysql. But... I see it running. Also, if I try hitting both elasticsearch and pdfreactor in a browser (http://localhost:9200 and http://localhost:9423), I get "can't connect".
(cfgov-refresh) serenity@<cfgov-refresh-ten> (10minutes)🐶  docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                            NAMES
d0a9866f917f        elasticsearch:2.3   "/docker-entrypoin..."   2 hours ago         Up About an hour    <IP_ADDRESS>:9200->9200/tcp, <IP_ADDRESS>:9300->9300/tcp   cfgovrefreshten_elasticsearch_1
22b883845425        cfgov/pdfreactor    "/docker-entrypoin..."   2 hours ago         Up About an hour    9200/tcp, 9300/tcp, <IP_ADDRESS>:9423->9423/tcp       cfgovrefreshten_pdfreactor_1
79c3e20930cc        mysql:5.7           "docker-entrypoint..."   2 hours ago         Up About an hour    <IP_ADDRESS>:3306->3306/tcp                           cfgovrefreshten_mysql_1

OK Marc-- Can you either:
docker-machine rm cfgov and ./start-services.sh again, OR
Run these commands by hand: https://github.com/cfpb/cfgov-refresh/blob/10minutes/docker-environment.sh#L16-L19

I'm working on some changes here:

Instead of a pre-built MySQLdb wheel, we'll use pymysql for local development
Since PDFReactor is on the way out, I've removed it from our docker-compose setup

The documentation above should no longer be considered correct-- stay tuned!

@willbarton I just took off the 'hold' label ;)

One last pre-merge thank you to @wpears!


Use case for wine64 vs winewow?

I spent fruitless hours this morning trying to install Steam in my NixOS using wine64 before eventually realizing that I needed to install winewow instead. During the course of my debugging, irc.freenode.net #winehq told me that pure wine64 is not a supported configuration and should not be expected to work.
Is there a use case for pure 64-bit wine over winewow? Should both be packaged in nixpkgs?

Should both be packaged in nixpkgs?

They are (from wine/default.nix):
build = "wineWow"; # "wine32", "wine64", "wineWow"

They are (from wine/default.nix):

That's my question. Should they be?

64 bits wine is used by people who want to run Windows applications which require a lot of RAM. Games generally don't hit those levels.
Options are good, but I am surprised you need to know that wine even exists as a Steam user on NixOS.
Valve should just maintain a Nix expression :)

But wineWow can run 64 bit apps, right? Is 64-bit only wine necessary here?

WineWOW needs the wine64 binary.

Based on the comments, it looks like there winewow depends on wine64 binaries, so the question seem to be answered. I think the issue can be closed.

Issue has been clarified.
Thanks to everyone. :)

WineWOW needs the wine64 binary.

I commented this a bit in a hurry. While the statement is not wrong, it's not a good reason for wine64 being called exactly that, or even for it to be in all-packages.nix.
To be quite honest, I'm not quite happy with wine configuration in nix either, but if we were to change the naming, it should be done once, coherently and the current method should be deprecated, not removed. I'll open a separate ticket for that.


Request phone permissions

Request phone permissions on new version of Android or find other way to open hidden app

By using Android 6.0 official VM, hidden version doesn't get phone permission initially.
Needed to open it manually.

touch "permissions"
Original status

Open it

I didn't try if the location permissions also needs to be opened in this way...

The app doesn't request it. I actually want to find a better way to open hidden version because not all devices have a dialer. Some tablets don't.


Test fix #6

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This is an attempt to address #6

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


Create S4 Lasair Cycle 10 plan : Apr'24 to Sep'24

Topics to consider

Review plan from Oct'23 to Mar'24 in terms of organisation, practices and procedures

what worked well?
what did not work well?
what can we improve?
what should we keep?
what should we drop?

Review the WP Brief

progress against objectives

Review the associated SRD requirements

progress against these
are any changes needed?

Review the Risk Register

add new risks
review/update existing risks
Is any escalation required?
Are there risks for those tasks/ tickets/  dependencies, … on the critical path?

Conclusions (if any)

Cycle-10 planning

[x] create associated wiki page
[ ] Create Zenhub release/epic for Cycle-10 six-month plan
[ ] Create tickets for latest 6 month objectives if necessary
[ ] Review previous 6 month plan epic/release kanban

[ ] close tickets, remove duplicates as necessary
[ ] Shift any outstanding tickets from previous plan if appropriate

[ ] Identify any  task/ milestone/ deliverable dependencies with other LSST:UK WP tasks.

24/APR/24

6 month review and risk register took place at regular Lasair meeting
Cycle 10 page had previously been created
Candidate Cycle 10 tasks were considered and prioritised.

09/MAY/24

Zenhub epic created see #312


Russian language ("ru_ru.json" file)

Made a Russian translation of this mod

okay but, I changed enchant name from "Falling Attack" to "Sharpness of Falling Attack".
Because I made it able to do that without applying enchantment.


Make changes to weizenbot to fit the new envisioned workflow

What problem are you trying to solve?
We changed the workflow for using weizenbot and the new workflow is written out here
The weizenbot scripts for super-airline-bot should be tweaked to support the new workflow
What's your suggested solution?
Change the weizenbot script to mock the conversation until the breaking point by not querying the OpenAI API but using the user messages from the conversation template and then carry out the complete conversation by actually querying the API.

Here's the high level description of the approach I am taking:
The context stories are written out as E2E stories in rasa's yaml format. For example:
story: "context 1\nDoes delimiter work here?\nYes, but it's not super convenient tbh but nobody said it was easy."
  steps:
  - user: Hello book a flight?
  - bot: where would you like to book the flight from?
  - user: Washington
  - bot: How about this, does this sound good?

We effectively use the story key to write out the parts of the prompt which will change depending on the destination and arrival cities. An example prompt would look like:
USER wants to travel coming Monday.

USER wants to travel to San Francisco from Skopje.

USER wants to know what the weather will be like in San Francisco on Monday so that they don't travel in bad weather. So, USER can check the weather before booking the flight.

USER's name is John Doe.

A new conversation starts like this:

The preamble of the prompt which contains general instructions will still be inserted from the script:
This is a conversation between a USER and an AI assistant. The USER is trying to search for a flight between any European capital and US capitals. The USER tries to book the flight if it's preferable. The USER does a lot of things to confuse the assistant:
1. Be creative and construct complex queries for the assistant.
2. Comes up with complex ways to express their own name.
3. Comes up with different destination and arrival cities and complex ways to express them.

The USER may also deny the flight option because of various reasons:
1. The flight being too expensive, for example a business class flight
2. The flight may be too early in the morning or too late at night.
3. The flight may be too long.

The USER can also ask for the weather at the destination city and choose to not travel if the weather is not preferable, for example too hot or thunderstorms or rainy.

If we want to add more instructions to the prompt (for e.g. - situation of the user, behavioral characteristics of the user) , they should be added at the beginning of the context provided as part of the story.
It would have been ideal to use the metadata key to do this but sadly it is not possible to do so.
Now inside the script, gather_experiments will read this file. The pseudo-code for it would look like this:
def gather_experiments():

   ....
   context_stories = read_context_stories(...)
   for story in context_stories:
        prompt_config = {"initial_prompt": story.block_name, "mock_events": story.events}
        goal, user_prompt, prompt_config = construct_prompt(
            prompt_generator, prompt_config
        ).  ### This is only needed to get the preamble of the prompt now, I think
        num_user_turns_to_mock = get_num_user_turns_to_mock(story)
        for num_conversations in range(m):
               ....
               prompt_config["num_user_turns_to_mock"] = num_user_turns_mock
               prompt_config["turns"] = 0
               user.set_metadata(**prompt_config)

user_turn_callback will look something like this:
def user_turn_callback(
        user_interface,
        conversation_id,
        goal_recorder,
        domain,
        tracker,
        new_events_and_slots,
    ):

    user_turn_number = user_interface.metadata["turns"]
    num_turns_to_mock = user_interface.metadata["num_user_turns_to_mock"]
    if user_turn_number < num_turns_mock:
         corresponding_user_event = get_user_event_at_turn(user_interface.metadata["mock_events"], user_turn_number)
         return corresponding_user_event.text
    else:
         <query api>

    user_interface.metadata["turns"] += 1

I'm a little confused by this part:
If we want to add more instructions to the prompt (for e.g. - situation of the user, behavioral characteristics of the user) , they should be added at the beginning of the context provided as part of the story.`
``
What do you mean added at the beginning of the context provided as part of the story? You mean it would have to go into the story key?

Also, I'm assuming this will work with stories grabbed from rasa X or something (provided they're in end to end format)?

What do you mean added at the beginning of the context provided as part of the story? You mean it would have to go into the story key?

Also, I'm assuming this will work with stories grabbed from rasa X or something (provided they're in end to end format)?

Do you mean the story generated on the side of the conversation screen? I think yes that should also work. However, I didn't want to adopt the intent-action pair style story format to define a context story because then that would prescribe an intent to user utterances. The only thing you'll have to do (in case you take a story from Rasa X) is construct the story key for it.

Ahh sorry I meant this format. I thought this was end to end testing but I think that's the wrong terminology.. We could ignore the intent, right? Then I could generate the stories by talking to the baseline bot (not that I always will, but just as an option) and export the stories as test stories, right? Or how would you envisage that part?

Right, you can still do that. The script will take only the text of the UserUttered event coming from the parsed story. So, as long as that is present, the script should work. Does that seem fine?

Yes, perfect! Then that pretty much aligns with what I had sketched out in my head, as well.


ReorderThemeTransition example documentation doesn't demonstrate reordering.

The documentation page for ReorderThemeTransistion at found here https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.media.animation.reorderthemetransition, doesn't demonstrate reordering.  Your example operation is:
    // Insert a new Rectangle of a random color into the ItemsControl at index 2.
    ItemsList.Items.Insert(2, newItem);

Which is only going to demonstrate an AddDeleteThemeTransition.  If you modify the example to show a 'Move' operation, then the example doesn't animate anything.  It just 'blinks' to the new state instantly.

Hey!  How about fixing the bug!  ReorderThemeTransition doesn't work in any example anywhere.

Thank you for the ping. It looks like there might be a platform bug. I created a new bug based on the bug you filed in the uwp-experiences repo so we can track this in the platform: https://github.com/microsoft/microsoft-ui-xaml/issues/1503
I think the doc is accurate - the ReorderThemeTransition should apply to the other elements within the list, and not the newly added element.
Would a RepositionThemeTransition work for you? There is an example of it in the Xaml Controls Gallery under Motion > Theme Transitions.

Would a RepositionThemeTransition work for you? There is an example of it in the Xaml Controls Gallery under Motion > Theme Transitions.
I looked at that transition.  It appeared to be more suited the position of a control on a canvas (i.e. coordinate change) than repositioning the items in an ItemsControl.  Correct me if I'm wrong.

Dude, take a look at that GIF you posted.  It's broken!  If this was a repositioning operation, The green box should be move to the right side of the blue box if you were doing a ObservableCollection.Move(3,2) operation on the underlying list.

Dude, take a look at that GIF you posted. It's broken! If this was a repositioning operation, The green box should be move to the right side of the blue box if you were doing a ObservableCollection.Move(3,2) operation on the underlying list.

The reposition theme animation is applied to the blue rectangle. It's unclear from the GIF above, but the green element is being removed from the collection which causes the blue rectangle to move.

I looked at that transition. It appeared to be more suited the position of a control on a canvas (i.e. coordinate change) than repositioning the items in an ItemsControl. Correct me if I'm wrong.

For my understanding: what are you trying to achieve? Is it moving elements in a list when they change their index via codebehind?

The reposition theme animation is applied to the blue rectangle. It's unclear from the GIF above, but the green element is being removed from the collection which causes the blue rectangle to move.
What you are describing is an AddDeleteTransition, not a re-position.
For my understanding: what are you trying to achieve? Is it moving elements in a list when they change their index via codebehind?
Simple: if I execute a ObservableCollection.Move(3,2), I expect to see the rows in a ListView move to their new positions using animation.


Can I Customize Crip Edit Screen In Android Compose?

Hello I am Android Developer from South Korea. First, Thank you for this Wonderful Tool
I would like to customize the screen itself to crop the image, i.e. customize the CropImageActivity. Is there any way to do this?

Want to Edit this Screen

Just roll your own activity / compose whatever and use the existing view.


fix(portal): 修复formData必须使用{{ }}问题

目前web类应用的配置文件中，formData项的值必须为 {{ 变量名 }}，本PR修复了这个问题，可以为字符串或者变量。

要不一口气做到在一个值里使用多个{{ }}以及字符串常量，也就是支持
key: {{ test1 }}asddd{{ test2 }}asdd123 {{ test3 }}

Codecov Report
Base: 64.51% // Head: 64.53% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (89fcbdd) compared to base (c82e5fb).
Patch coverage: 60.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #356      +/-   ##
==========================================
+ Coverage   64.51%   64.53%   +0.02%
==========================================
  Files         101      101
  Lines        2860     2862       +2
  Branches      357      357
==========================================
+ Hits         1845     1847       +2
  Misses        970      970
  Partials       45       45

Impacted Files
Coverage Δ

apps/portal-server/src/clusterops/slurm/app.ts
16.54% <20.00%> (ø)

libs/libconfig/src/parse.ts
94.73% <100.00%> (+0.61%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Big Development 2

Last major update regarding SiPM characterisation and preparations for release.
The structure was maintained but a number of features were added, as well as bugs corrected:

Updated processor stores amplitude of found pulses and number of pulses per waveform;
Finished and improved analysis classes for both LED ON and LED OFF datasets (#1);
Refactoring of analysis files and peak->pulses naming;
Better handling of run-specific quantities for analysis such as ADC configuration, amplification factor and dataset livetime;
Easy plot scripts for the main analysis path with intermediate and final results plots;
Several scripts added for batch processing of runs with job submission (slurm-based), single-machine processing or distributed multiprocessing;
Peak-level processing;
Hit pattern plotting.
Updated and improved documentation

There are still a number of improvements to come and known issues to solve. However, the package is now in a stable and useful state for its purpose.

Merging to master without all tests active to prevent further development away from current standard.


The format of value '.NET/BulkExecutorLibrary/1.0.2-preview' is invalid

Calling BulkExecutor.BulkImportAsync() results in this error. Stack trace:
   at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index)
   at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value)
   at System.Net.Http.Headers.HttpHeaders.Add(String name, String value)
   at Microsoft.Azure.Documents.HttpClientExtension.AddUserAgentHeader(HttpClient httpClient, UserAgentContainer userAgent)
   at Microsoft.Azure.Documents.Client.GatewayServiceConfigurationReader.<GetDatabaseAccountAsync>d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.Routing.GlobalEndpointManager.<GetDatabaseAccountFromAnyLocationsAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.Client.GatewayServiceConfigurationReader.<InitializeReaderAsync>d__44.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.Client.DocumentClient.<InitializeGatewayConfigurationReader>d__289.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.Azure.Documents.Client.DocumentClient.<GetInitializationTask>d__74.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.Azure.Documents.Client.DocumentClient.<EnsureValidClientAsync>d__119.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.Azure.Documents.Client.DocumentClient.<GetPartitionKeyRangeCacheAsync>d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.CosmosDB.BulkExecutor.BulkExecutor.<InitializeAsync>d__17.MoveNext() in d:\dbs\sh\csdb\0711_123701\cmd\1\Product\Tools\BulkExecutorLib\.net\BulkExecutor\BulkExecutor.cs:line 140

Strangely, if I set a breakpoint on this line of code and wait a few seconds, then continue execution, it works.

Hey man check this issue maybe can help you #28

This should be fixed with 1.3.0 release of BulkExecutor.


About acrylic sheet thickness of corne-cherry

PCB: corne-cherry
plates: common
What is the thickness of acrylic ? Sorry I'm a newbie asking very elementary questions!
Thanks for the help

Generally non-acrylic plates are 1.5mm as that's what switches are normally designed to snap into, but for acrylic people normally recommend going with 3mm because 1.5mm acrylic cracks very easily. The trade off is that the switches won't snap into the plate if you go with 3mm. Either is viable but you do have to be extra careful with 1.5mm plates.

Generally non-acrylic plates are 1.5mm as that's what switches are normally designed to snap into, but for acrylic people normally recommend going with 3mm because 1.5mm acrylic cracks very easily. The trade off is that the switches won't snap into the plate if you go with 3mm. Either is viable but you do have to be extra careful with 1.5mm plates.

Thank you for your kind help and wish you a happy life


Format error during lock acquisition

Consistent with line 537

Context: https://github.com/caddyserver/caddy/issues/3954

Context: https://github.com/caddyserver/caddy/issues/3954


Various Changes to talksprites

Dealing with some problems related to #218

Fixed talksprites placement and switched out better sprites for blue-colored glasses, bonbon, buff, retainer, sour gummy, and rose-colored glasses
Also fixed issues with some characters appearing twice (just combined them) for rcg, capsule, blue tile, dolly, palettette, ahiss, and buff
Also fixed palettette 2nd talksprite thing glitching out (callback issue)
Also removed a sound that wasn't needed anymore

The only talksprites issues left now should be:

Red Tile - slight white aura, can't find original user (Pigeon/APigeonWithCoffee) and picture
Palettette - big white aura, can't find original user (Zerosiphus) and picture
Crayon Box - big white aura, can't make transparent due to white background under sprites, sprites have weird proportions (might be fine)

Swapped original sprites of Crayon Box, Palettette, and Red Tile with XKZ's sprites
Added Satomi, XKZ, and myself into programmers section
There is a 2nd set of Palettette sprites that remove the whole white halo, but they cut too deep into the sprite tbh and ruin the art
Also, keep in mind, these don't look perfect and kinda cut into the art, so we may have to change them later

Then I suggest creating an issue for later


Problem with SSL/TLS

Hi! I have a problem with connecting FTP
[10:20:41 AM] Connecting: sgcc.uz@sgcc.uz:21 Error: SSL/TLS required on the control channel
This server works with other FTP clients. How can I solve this problem?

@ruslanmedia @elistone Having the exact same problem, FTP and SFTP work fine, FTPS not :cry: .

@ruslanmedia @enoversum Possible fix? #298 has not been checked by anyone yet though.

@elistone Should we manually edit your plugin’s files to check it out?

Sure, if it works add a thumbs up/comment to the PR

@elistone Unfortunately, it does not seem to work. I edited the FtpTransport.coffee file as described, added the option manually to the .remote-sync.json file, but upload is not working anymore. As soon as I remove the changes, FTP works again, but throws the known error on FTPS.

@enoversum so what you are saying is PR #298 from your quick testing seems to not really do anything other than break stuff?

@elistone Yes, I changed the two lines on the said file and wasn't able to upload/download anymore, plus I didn't see any option for secure (checkbox?) connection on the create connection screen, and it made no difference if I added the secure: true line to the connection settings .json file or not (so it already broke by just editing the .coffee file).

@elistone Any news on this matter? Just stumbled over another FTPS site I need to upload to 😉 .

I'm also needing FTPS (implicit TLS) so I can say goodbye to Dreamweaver. Any hope for this?


BUG: optimize.curve_fit: fix sigma dimension issue with nan_policy="omit"

Reference issue
Closes #21772.
What does this implement/fix?
Fixes the bug in optimize.curve_fit where using nan_policy="omit" did not remove corresponding entries of sigma.
In this PR, I fix this bug by checking for the dimension of sigma and removing the entries where either xdata or ydata is NaN.
Additional information

Please could you add a regression test that fails on main but passes for this pr

@j-bowhay Added a regression test test_curvefit_omitnan that fails on main but passes for this PR.

Isn't the only valid shape of sigma 1, n,, or (n, n)? If so, differences in shape should be caught in some sort of input validation that raises an appropriate error. If it's not there already, I would not add it in this PR, though. I would also not recommend sprinkling it in throughout the logic of the code.

In that case, the ndim check suffices.

Yeah, I can clean it up later. An Index error for invalid input is much better than the current error for valid input.

I am happy to work on this. Could you please create an issue for the same? Additionally, what kind of error message would we like to throw?

Thanks @SoutrikBandyopadhyay!

Could you please create an issue for the same? Additionally, what kind of error message would we like to throw?

You're welcome to open an issue about it; it doesn't need to come from me. I'm also comfortable if you'd just like to open a PR without an issue.
The error message would be similar to what it was before this PR when the shape of sigma is invalid. It would just get raised earlier so you don't get an index error.

Thank you @mdhaber. I am on it!


Pager: Add Auto Display Mode functionality

Previously, Auto Display mode only set the pager control to the ComboBox Display mode.
This PR allows the Auto Display mode to decide between the ComboBox display mode and NumberBox Display mode based on the max NumberOfPages.
Motivation and Context
Proposal: #60
Spec: link
How Has This Been Tested?
Manually tested as well as Interaction Tests
Screenshots (if appropriate):

/azp run

/azp run


chore(Dependencies) : update scalikejdbc-streams from 3.5.0 to 4.3.0

About this PR
📦 Updates org.scalikejdbc:scalikejdbc-streams from 3.5.0 to 4.3.0 ⚠
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalikejdbc", artifactId = "scalikejdbc-streams" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalikejdbc", artifactId = "scalikejdbc-streams" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #735.

Superseded by #752.


Log messages during normal run

Hi,
During a normal Pulumi run there is always a log message coming from the opsgenie provider:
Previewing update (test):
     Type                 Name       Plan     Info
     pulumi:pulumi:Stack  test                1 message

Diagnostics:
  pulumi:pulumi:Stack (test):
    INFO[2021-07-13T16:52:34.811336306+01:00] Client is configured with ApiUrl: api.opsgenie.com, LogLevel: info, RetryMaxCount: 10

Is it possible to suppress this?

Is it possible to suppress this?

It is not expected that this is being reported.  Will need to look into this to ensure this doesn't get surfaced by default.

Hi @Sodki
Sorry for the long response on this one :/ So I had a look into this and this happens at neither Pulumi nor Terraform Provider SDK level - it's actuall happening in the opsgenie-go-sdk - https://github.com/opsgenie/opsgenie-go-sdk-v2/blob/d0825cdedb9b4b60159b8759c699c3e8c70186f9/client/client.go#L249
this is beyond our control as there is no configuration that we can pass to disable this behaviour
I am sorry about this - I can raise an issue on that SDK level but there's no guarantee they will implement the changes
Paul

Thank you for looking into this @stack72, would you mind opening the ticket upstream and linking it here, for completeness sake? After that I think this ticket can be closed since there's nothing that can be done. If they decide to fix it it can always be reopened. Much appreciated.

Thanks @Sodki
I have requested the logging to be disabled - https://github.com/opsgenie/opsgenie-go-sdk-v2/issues/86
Sorry I couldn't do more here :/
Paul


Integration wont load anymore on latest HA update 2023.6.3b

Describe the bug
Integration wont load anymore. in the notification i get this message on boot:
The following integrations and platforms could not be set up:
bosch (Show logs)
Please check your config and logs.
To Reproduce
Update to the latest version of HA 2023.6.b3
This is what the log says:
Logger: homeassistant.loader
Source: custom_components/bosch/init.py:12
Integration: bosch (documentation, issues)
First occurred: 23:25:34 (1 occurrences)
Last logged: 23:25:34
Unexpected exception importing component custom_components.bosch
Traceback (most recent call last):
File "/usr/local/lib/python3.11/enum.py", line 260, in set_name
enum_member.value = enum_class.member_type(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioxmpp/xso/model.py", line 2923, in init
self.xso_class = self._create_class()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioxmpp/xso/model.py", line 2933, in _create_class
self._create_name(),
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioxmpp/xso/model.py", line 2926, in create_name
return "".join(map(str.title, self.name.split("")))
^^^^^^^^^
AttributeError: 'XSOEnumMixin' object has no attribute 'name'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/bosch/init.py", line 12, in
from bosch_thermostat_client.const import (
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/init.py", line 10, in
from .gateway import gateway_chooser
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/gateway/init.py", line 1, in
from .ivt import IVTGateway, IVTMBLanGateway
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/gateway/ivt.py", line 6, in
from bosch_thermostat_client.connectors import connector_ivt_chooser
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/connectors/init.py", line 2, in
from .ivt import IVTXMPPConnector
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/connectors/ivt.py", line 2, in
import aioxmpp
File "/usr/local/lib/python3.11/site-packages/aioxmpp/init.py", line 101, in
from .errors import (  # NOQA
File "/usr/local/lib/python3.11/site-packages/aioxmpp/errors.py", line 109, in
class ErrorCondition(structs.CompatibilityMixin, xso.XSOEnumMixin, enum.Enum):
File "/usr/local/lib/python3.11/enum.py", line 557, in new
raise exc
File "/usr/local/lib/python3.11/enum.py", line 266, in set_name
raise new_exc
** Debug SCAN **
** IMPORTANT **
Go to Developer tools in Home Assistant, choose Service tab and choose bosch.debug_scan
Download file to your computer and upload it somewhere eg. https://jsonblob.com/

It's aioxmpp bug. We're waiting for upstream to fix https://github.com/horazont/aioxmpp/issues/391

Looks like it's actually a Python 3.11.3 regression: https://github.com/horazont/aioxmpp/issues/391#issuecomment-1575137853. Should be fixed in Python 3.11.4 that should be released tomorrow. Hopefully HA will update to it too.

Looks like HA is already on 3.11.4. And not working for me

Are you sure? Python 3.11.4 has not even been released yet it seems.
https://www.python.org/downloads/

Python 3.11.4 hasn't been released yet, so impossible that your HA has it.

oh sorry my fault, you are right

It seams that it will take longer to fix it….

Would there not be another way to temporarily fix this? until the new python is released?

3.11.4 is released now. but not for HA looks like the will release 2023.6 with out the python update.

3.11.4 is released now. but not for HA looks like they will release 2023.6 today without the python update.

Mad 😉

Let's hope we get a 2023.6.1 fairly soon with Python 3.11.4. 🤞

Is there any other (temp) workaround maybe?
I got a couple of automations running from my Bosch entities, which all fail..

I've been running in this issue.
Temporarly i returned to previous Version by using the backup made before updating.
After that, i hat to restart my KM200 device, because not all entities've been visible instandly.
Now everything is in working state again and time to wait for the phyton update.

I've been running in this issue. Temporarly i returned to previous Version by using the backup made before updating. After that, i hat to restart my KM200 device, because not all entities've been visible instandly. Now everything is in working state again and time to wait for the phyton update.

Yup in the same boat here, shame as the update has some pretty exciting changes, so hopefully not too long until we can move up.

I cannot confirm it's a python 3.11.x bug.
see: TypeError: value not set in new, unable to create it
2023-06-09 07:21:34.691 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration bosch:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/bosch/init.py", line 12, in
from bosch_thermostat_client.const import (
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/init.py", line 10, in
from .gateway import gateway_chooser
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/gateway/init.py", line 1, in
from .ivt import IVTGateway, IVTMBLanGateway
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/gateway/ivt.py", line 6, in
from bosch_thermostat_client.connectors import connector_ivt_chooser
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/connectors/init.py", line 2, in
from .ivt import IVTXMPPConnector
File "/usr/local/lib/python3.11/site-packages/bosch_thermostat_client/connectors/ivt.py", line 2, in
import aioxmpp
File "/usr/local/lib/python3.11/site-packages/aioxmpp/init.py", line 101, in
from .errors import (  # NOQA
File "/usr/local/lib/python3.11/site-packages/aioxmpp/errors.py", line 109, in
class ErrorCondition(structs.CompatibilityMixin, xso.XSOEnumMixin, enum.Enum):
File "/usr/local/lib/python3.11/enum.py", line 557, in new
raise exc
File "/usr/local/lib/python3.11/enum.py", line 266, in set_name
raise new_exc
TypeError: value not set in new, unable to create it
2023-06-09 07:21:34.691 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration bosch: Unable to import component: Exception importing custom_components.bosch

It just won't load!

https://github.com/home-assistant/docker-base/issues/221

It just won't load!

It's not loading because of this bug

HA Core Update 2023.6.1 is showing up as update right now.
At a glance no detailled description about phyton minor version.

As temporary workaround the python can be updated to 3.11.4 manually ( i have done it on my HA docker image). After this integration works again.  But only do it if you know what you are doing, and how to go back if something goes south.

So the update will be merged soon with 2023.6.2 it should be fixed

It depends on when it lands, I'm not sure if it will make into 2023.6.2 (or a patch release at all).
The linked PR to this issue is for bumping our base images, but we have more changes in the pipeline affecting those (cosign support).
Additionally, the linked PR is just the base image, which still needs to be built and shipped (which takes quite some hours). After that, I can start adjusting the Home Assistant base image, one that is tested, approved, build and shipped I can start upgrading the Home Assistant Core itself, which also needs to be tested, build and shipped.
TL;DR: Don't hold your breath on it being shipped in .2
../Frenck

Thanks for keeping us updated and managing expectations! @frenck

So the update will be merged soon with 2023.6.2 it should be fixed

It depends on when it lands, I'm not sure if it will make into 2023.6.2 (or a patch release at all).

@Frenck
Thank you so much for caring about the issue.
May I ask, to include the recording sensors as well. Those have stopped working with a former update
Thank you soooo much in advance!

.

@schlaufon I think you misunderstand the issue & solution, your request makes no sense to me. Sorry.

@schlaufon I think you misunderstand the issue & solution, your request makes no sense to me. Sorry.

@frenck
Is that so. Then take my apology.
Who -however- would you advice to contact for that recording sensor issue.
Cheers!

@schlaufon I will work on it when I get working docker image ;)

As temporary workaround the python can be updated to 3.11.4 manually ( i have done it on my HA docker image). After this integration works again. But only do it if you know what you are doing, and how to go back if something goes south.

Any suggestion as to how?

you have to know, which parts ov pyghon are used by HA. Including dependencies etc.
Download those and put them in the right place within your docker-image.
Send a prayer to whatever gods you believe in and start the modified image.
Maybe it's easier to turn back to previous version via restoring backup or using an older docker image.

@Tuningmormota

As temporary workaround the python can be updated to 3.11.4 manually ( i have done it on my HA docker image). After this integration works again. But only do it if you know what you are doing, and how to go back if something goes south.

Any suggestion as to how? With the current hot weather here my temperature inside is not what it's supposed to be.

I have done the following:

Opened a consol to HA docker instance. (Run it Pi4, and portainer for docker managment)
I used the apk command the download what is needed to download, compile and bulid python (stackoverflow and google is recomended at this point, especiall for troubelshooting if needed)
donwload the  official python lib
extract it
Start worriing if it works at the end or not. (I have a backup every 30 minutes form my config folder, and weekly image of Pi SD card, so I was barve enough)
run  configure and make scripts and let it run for long time. (and hoping no errors will happen during the process)
restart docker image, and happly see that I see the temerature values for the rooms, and automation based on away mode are wiorking again.
check all other pages of HA is looks good or not. In my case yes.

Only do if you have a good quality backp, or you dont mind to start everthying from scratch. (as HA running, while under it you may exchange python libs which are currently in use. It very easily corrupts your HA database and config, and other thing which may different between our setups.)
I did it bacause from 2023.6.1 I went back 2023.5.4 and I could reach energy and settings pages any more. Now I running  2023.6.1  with python 3.11.4 so far working. But I can update only to version which has python 3.11.4 already.

one can see, it is possible.
Is it recomandable, i'm not sure
especially for a productive system.
Thanks for pointing the issue with upcoming updates need to have this python version, too

@Tuningmormota
Thanks!

Hi there!
I am following this thread because my integration has stopped working too, of course, after the 2023.6 update.
I am very new with Home Assistant and have absolutly no experience with all the details of coding, python and so on.
But I am not sure if I understand it correctly. The issue is due to the python update and there will be another update on HA, maybe not 2023.6.2, which will solve this problem?
I think this Bosch integration is a very cool one and I guess may most importend in HA. So I am very frustrated right now :)
Cheers
Sky

Correct, a Python update between HA 2023.5 and 2023.6 broke this integration. A newer Python version fixes it again, and we're hoping that that Python version will be available in HA 2023.6.2 or a later patch version, but there are no guarantees. The safest course of action in your case right now might be to go back to HA 2023.5 while we wait for the fixed Python version.

Is there any feedback that a newer python version will be used by homeassistant 2023.7?
Is there no easy way to fix the code to work with 2023.6?

You can downgrade or try this https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues/301#issuecomment-1586293676 or wait.

a good description what to do for manuall upgrading python is the HA Docker file: https://github.com/home-assistant/docker-base/blob/master/python/3.11/Dockerfile

@frenck if just restoring would work: yes
But sometimes it's not the best option.
If i try to rollback to 2023.05 i get the following error:
"Error during connection setup: [<class 'decimal.ConversionSyntax'>] (retrying in 15 seconds)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 915, in _setup_recorder
self._setup_connection()
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 1394, in _setup_connection
Base.metadata.create_all(self.engine)"
And i don't want to rollback the DB, this will make me loose my energy board history of the last 3 days.

@frenck if just restoring would work: yes

If restoring didn't work, did you file an issue?
As in, making & restoring backups is extensively tested, and should just work. If not, we should definitely learn from that. It is important to work reliably.

If i try to rollback to 2023.05 i get the following error:

Rolling back is not restoring a backup.
Your error is expected, as rolling back is not a supported/implemented thing in Home Assistant. We implement backward compatibility, not forward compatibility (like in this case, you are using a newer database format on an older HA version caused by the rollback).

regarding newer databaser format: My schema_changes table said v41 changed 2023-04-07, v41 seems to be the latest and already 3 month old? https://github.com/home-assistant/core/blame/dev/homeassistant/components/recorder/db_schema.py (72).
due to the unchanged scheme, a rollback should have worked while retaining the db?
at least that would be my thought
In my special case, upgrading python to v3.11.4 solved my problems, with the slightest inconvenience

In my case a restore back to 2023.5.6 was not a big issue.
After the restore completed i had to restart (not reset) my KM200 device and i was back in business again.
So backup/ restore is working as expected.
I got another HA Setup running at a different location without the Bosch integration so i could update to take a look for the new stuff.
For my needs i can go on for a while with 2023.05

regarding newer databaser format: My schema_changes table said v41 changed 2023-04-07, v41 seems to be the latest and already 3 month old

@rhehl Rollbacks are not supported, and HA is not designed to work that way. It is not just the database format but also other data formats (e.g., config entries, entity registries, device registries, area registries, and even storage versions for individual integrations).
For that reason, please use backup to restore.

Good news if you didn't already notice: 2023.6.2 will have Python 3.11.4. Thank you very much @frenck! 🙇

Yup! @slovdahl! You are welcome.
I try to get a release out tomorrow (or at least before the weekend).
../Frenck

Confirming core update 2023.6.2 fixed this issue!

Yes its working again now! Thanks to all!

Looks like it is fixed with 2023.6.2. However, all 'devices' added by this integration are now duplicated in my installation. E.g. , the old climate.woonkamer entity does not work anymore, but a new climate.woonkamer_2 entity is now also available that does work. Any ideas how to fix that? (using 0.22.2 of Bosch-termostat, and 2023.6.2 of HA)

Delete the old ones and rename the new ones exactly the same?

Issue is fixed now, closing it.

@frenck
Thank you very much.
It works and my CT200 seems to report better then before.

Updated, but heating is still showing as unavailable for me. Rebooted the system and reloaded the integration to no avail. Error:
Logger: homeassistant
Source: custom_components/bosch/__init__.py:388
Integration: Bosch thermostat ([documentation](https://github.com/bosch-thermostat/home-assistant-bosch-custom-component), [issues](https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues))
First occurred: 22:43:21 (1 occurrences)
Last logged: 22:43:21

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/bosch/__init__.py", line 423, in thermostat_refresh
    await self.component_update(SWITCH, event_time)
  File "/config/custom_components/bosch/__init__.py", line 388, in component_update
    entities = self.hass.data[DOMAIN][self.uuid][component_type]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'switch'

For mee, all went good.
Try to restart your heating device or at least the Bosch Gateway.
Maybe their Cloud didn't provide proper data.
Had a similar issue after restoring old HA Version.


|Bug: Laravel6.0 install wrong

| Bug?
| FFmpeg Version 0.14
 Problem 1     - Installation request for php-ffmpeg/php-ffmpeg ^0.14.0 -> satisfiable by php-ffmpeg/php-ffmpeg[v0.14].     - Can only install one of: monolog/monolog[2.0.0, 1.x-dev].     - Can only install one of: monolog/monolog[2.0.0-beta1, 1.x-dev].     - Can only install one of: monolog/monolog[2.0.0-beta2, 1.x-dev].     - Can only install one of: monolog/monolog[2.x-dev, 1.x-dev].     - Can only install one of: monolog/monolog[1.x-dev, 2.0.0].     - Conclusion: install monolog/monolog 1.x-dev     - Installation request for monolog/monolog ^2.0 -> satisfiable by monolog/monolog[2.0.0, 2.0.0-beta1, 2.0.0-beta2, 2.x-dev].

I have the same error.

Issue has to do with a transitive dependency to monolog/monolog through alchemy/binary-driver package.
There is already an open issue and PR  on the alchemy/binary-driver package to remove the monolog dependency.

I had this problem too .

I have php-ffmpeg working in one symfony5 project, but can't install it in another.  While the error is slightly different than in this thread, it ultimately comes down to neutron/temporary-filesystem not being compatible with Symfony 5.  I keep hacking away trying to find the magic combination to install it, but am stuck.

There is already an open issue and PR on the alchemy/binary-driver package to remove the monolog dependency.

It seems it’s fixed in 5.1, but now PHP-FPM has to update its dependencies.

@meduzen Could you please elaborate? Assuming https://github.com/PHP-FFMpeg/PHP-FFMpeg/blob/984dbd046b6d8c285f9e7419fc7645f197513bfa/composer.json#L36, the version range for alchemy/binary-driver should also allow 5.2.1 (i.e. the fixed version).


Delay before showing

Is there anyway to specify a minimum delay before the HUD gets displayed? We have some operations that can finish very quickly, and it becomes distracting to show the HUD until at least 100ms or more.

Well, there's not really a way for the HUD to know how long the task is going to take. Your idea would require the HUD to basically delay all show methods by 100ms, and if no dismiss method gets called by the end of that delay then show the HUD.
If you know the task typically only takes a couple hundred ms, why are you even showing the HUD?

The task could finish that fast, but it could also take several seconds or longer. So yes, it would work like you described.

Since I wouldn't want all the show calls to be delayed by 100ms just for that use case (100ms is also very subjective, some people may want that delay to be higher), I would have to add in new show methods just for it. I'd like to keep SVProgressHUD as simple as possible and don't add new methods unless I feel like they're essential. This sounds like something you could try implementing on your end (inside or outside of SVProgressHUD) using NSTimer.
I also tried showing the HUD and then hiding 100ms later and personally don't find it that distracting, although ideally I agree it simply shouldn't be shown.

Definitely, I figured there could be a "displayAfter" property. I'll give it a shot with an NSTimer. Thanks!

Well adding a property means adding that parameter to the convenience methods. What I could do is make using cflags like I just did for the network activity indicator. Will leave this issue open for now, I might end up implementing this as a cflag.

Interesting, although I can definitely perceive when there's a delay before showing the spinner, and I definitely feel like that action is less responsive than the one with no delay...

After further thinking I decided not to spend time implementing this feature. I've been occasionally showing the HUD for less than a second before dismissing it and personally don't find it disturbing. Feel free to fork the project and implement the functionality on your own; it shouldn't be too complicated.

For whoever is interested, I implemented that behaviour here: https://github.com/radiospiel/SVProgressHUD/commit/05130dfdd8ce4bacfcc6959317440b60851d5f0b


Ignoring test due to docker limit

PR Checklist

[x] I've built the code cargo build. For major changes, cargo build --workspace --release is recommended.
[x] I've run the automated unit tests cargo test. This executes our automated unit tests.
[ ] I've not broken any existing tests or functionality. In addition to cargo test, I've run cargo clippy
[x] I've not introduced any new known security vulnerabilities. I've run cargo audit

[x] I've included a brief description and a good title of the proposed changes and how to test them.
[x] I've read the contributing guidelines.
[ ] I've associated an issue with this Pull Request.
[x] I've checked that the code is up-to-date with the pyrsia/main branch.
[x] I've read "What is a Good PR?"
[ ] I've assigned this Pull Request to "pyrsia/collaborators"

Description
Fixes pyrsia/pyrsia#
This PR ignores one test which calls dockerhub due to rate-limit, as discussed with @erwin1 this test will evolve to have only central node requesting from dockerhub , when that concept will be implemented we can reuse this and put extra assert for rate-limit.
It also removes extra test macros on top of assay macro as that result in running test twice.
Screenshots (optional)

@MitaliBo just trying to get up to speed on rust tests.  What does the #[test] tag do in the code?

@MitaliBo just trying to get up to speed on rust tests. What does the #[test] tag do in the code?

@sbtaylor15 that annotation marks a function as test function in order to be recognized by test runner