Installation failed

Hey there,
I have a problem to install the Addon in HA. I followed the instructions and Mosquitto-Brkoer as well as MQTT are running. I get the following message during installation process:
Add-on konnte nicht installiert werden
The command '/bin/ash -o pipefail -c set -x && chmod a+x /run.sh && apk add --no-cache bash bind-tools ca-certificates curl jq tzdata xz icu-libs moreutils mosquitto-clients && if [ "${BUILD_ARCH}" = "armv7" ]; then export S6_ARCH="arm"; elif [ "${BUILD_ARCH}" = "i386" ]; then export S6_ARCH="i686"; elif [ "${BUILD_ARCH}" = "amd64" ]; then export S6_ARCH="x86_64"; else export S6_ARCH="${BUILD_ARCH}"; fi && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxvf - -C / && mkdir -p /etc/fix-attrs.d && mkdir -p /etc/services.d && mkdir -p /usr/src/bashio && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /usr/src/bashio && mv /usr/src/bashio/lib /usr/lib/bashio && ln -s /usr/lib/bashio/bashio /usr/bin/bashio && curl -L -f -s -o /usr/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && chmod a+x /usr/bin/tempio && rm -rf /usr/src/*' returned a non-zero code: 1
HA configuration:
Core 2024.9.3
Supervisor 2024.09.1
Operating System 13.1
Does anyone know this issue and is there a workaround? Thank's

Done!

I would have the same problem. How did you resolve it for yourself?
Greetings, Lukas

@jenscapo: Would you be able to provide the mentioned partial backup?
And still I would like to have a clean installation utilizing the Addon as intended.
@b3nn0 Would you be able to help on this issue?
I have updated in the meantime to:
Core 2024.10.2
Supervisor 2024.10.2
Operating System 13.2
... but am still not able to install the Addon. This is the error message:
The command '/bin/ash -o pipefail -c set -x && chmod a+x /run.sh && apk add --no-cache bash bind-tools ca-certificates curl jq tzdata xz icu-libs moreutils mosquitto-clients && if [ "${BUILD_ARCH}" = "armv7" ]; then export S6_ARCH="arm"; elif [ "${BUILD_ARCH}" = "i386" ]; then export S6_ARCH="i686"; elif [ "${BUILD_ARCH}" = "amd64" ]; then export S6_ARCH="x86_64"; else export S6_ARCH="${BUILD_ARCH}"; fi && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxvf - -C / && mkdir -p /etc/fix-attrs.d && mkdir -p /etc/services.d && mkdir -p /usr/src/bashio && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /usr/src/bashio && mv /usr/src/bashio/lib /usr/lib/bashio && ln -s /usr/lib/bashio/bashio /usr/bin/bashio && curl -L -f -s -o /usr/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && chmod a+x /usr/bin/tempio && rm -rf /usr/src/*' returned a non-zero code: 1

No idea why that's happening for you, it seems to work fine for almost everybody

@b3nn0: Above I'm sending a screensot from the website. In my opinion there should be a package available. Maybe that is the reason for the mentioned installation problem?

Don't think that's your issue, but if you know how to change that, feel free to create a PR.
Addon versioning is done in the yaml files, not as github releases.

Can you check through your logs if you can get more info somehow? Most likely I would expect something in the supervisor log.

Thank you for the will to support.
I did check all logs, but could not really find anything senseful. I did reload a backup from two weeks ago, including the addon still in a functional status. I have rebuilt everything with the exception of the update from 2024-08 to 2024-10. That will be the last step...

Good day,
I experience the same. This week, we had installed our Wolf heatpump.  I tried to installe the ism7MQTT according to the guidelines, but the installation failed. Please find the error log:
Failed to install add-on
The command '/bin/ash -o pipefail -c set -x && chmod a+x /run.sh && apk add --no-cache bash bind-tools ca-certificates curl jq tzdata xz icu-libs moreutils mosquitto-clients && if [ "${BUILD_ARCH}" = "armv7" ]; then export S6_ARCH="arm"; elif [ "${BUILD_ARCH}" = "i386" ]; then export S6_ARCH="i686"; elif [ "${BUILD_ARCH}" = "amd64" ]; then export S6_ARCH="x86_64"; else export S6_ARCH="${BUILD_ARCH}"; fi && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxvf - -C / && mkdir -p /etc/fix-attrs.d && mkdir -p /etc/services.d && mkdir -p /usr/src/bashio && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /usr/src/bashio && mv /usr/src/bashio/lib /usr/lib/bashio && ln -s /usr/lib/bashio/bashio /usr/bin/bashio && curl -L -f -s -o /usr/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && chmod a+x /usr/bin/tempio && rm -rf /usr/src/*' returned a non-zero code: 1

Some info about my HA installation:
Core 2024.10.3
Supervisor 2024.10.2
Operating System 13.2
Frontend 20241002.3

While I can't really tell you guys what's wrong, I can give some insight maybe..
Apparently, one of those commands fail for you:
https://github.com/b3nn0/hassio-addon-ism7mqtt/blob/c45c317e85980005c463f420f4f587cab85dec82/ism7mqtt/Dockerfile#L25
As they are all chained together via &&, I can't really tell you which one it is, or why.
Maybe it is somehow related to the platform you are running HA on?
I'm running on x86_64 and can't reproduce this.. What are you all running?

And maybe one more hint:
This addon's Dockerfile works slightly different than most addons.
Most addons are created by using HA's addon-base-image, then do their own stuff on top of that.
However, because I didn't want to bother with setting up a whole dotnet environment in there, and compiling ism7mqtt, I decided to do it the other way around:
I use the ism7mqtt Docker image as a base image, then apply all relevant stuff that HA's addon-base-image usually does, so I get a bit of HA integration (e.g. to fetch the MQTT client credentials etc).
So the commands you see in the Dockerfile are roughly inspired from this:
https://github.com/hassio-addons/addon-base/blob/main/base/Dockerfile

I'm running on a Home Assistant Green
https://green.home-assistant.io/documentation/
About last hint: I dont see a /addons directory. Can that be the problem?

But I have several addons installed, like Mosquitto broker
@jenscapo: Would you be able to provide the mentioned partial backup?

What you see in the VSCode Addon is the /config directory, not the actual root directory (where /addons resides). This can only be seen via SSH.

Thnx a lot for your assistance, I really appreciate!
Unfortunately, I'm have no experience with SSH. I installed the Terminal & SSH, and the Advanced one. I had look at it, but I really don't know where to start.
Regarding the Dockerfile:  Would it be possible to split the chain to find out where it fails?
Sorry for bothering..

Hello,
i have the same problem:
fresh install of HA.
Home Assistant
Core 2024.10.4
Supervisor 2024.10.3
Operating System 13.2
Frontend 20241002.4
And I get the same error at the addon install procedure:
Add-on konnte nicht installiert werden
The command '/bin/ash -o pipefail -c set -x && chmod a+x /run.sh && apk add --no-cache bash bind-tools ca-certificates curl jq tzdata xz icu-libs moreutils mosquitto-clients && if [ "${BUILD_ARCH}" = "armv7" ]; then export S6_ARCH="arm"; elif [ "${BUILD_ARCH}" = "i386" ]; then export S6_ARCH="i686"; elif [ "${BUILD_ARCH}" = "amd64" ]; then export S6_ARCH="x86_64"; else export S6_ARCH="${BUILD_ARCH}"; fi && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxvf - -C / && mkdir -p /etc/fix-attrs.d && mkdir -p /etc/services.d && mkdir -p /usr/src/bashio && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /usr/src/bashio && mv /usr/src/bashio/lib /usr/lib/bashio && ln -s /usr/lib/bashio/bashio /usr/bin/bashio && curl -L -f -s -o /usr/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && chmod a+x /usr/bin/tempio && rm -rf /usr/src/*' returned a non-zero code: 1
I have anyon ehave a solution, it would be great.
Thx a lot

Hi,
Same here:
Core 2024.11.1
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
Running on Synology NAS
Error Message:
The command '/bin/ash -o pipefail -c set -x && chmod a+x /run.sh && apk add --no-cache bash bind-tools ca-certificates curl jq tzdata xz icu-libs moreutils mosquitto-clients && if [ "${BUILD_ARCH}" = "armv7" ]; then export S6_ARCH="arm"; elif [ "${BUILD_ARCH}" = "i386" ]; then export S6_ARCH="i686"; elif [ "${BUILD_ARCH}" = "amd64" ]; then export S6_ARCH="x86_64"; else export S6_ARCH="${BUILD_ARCH}"; fi && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxvf - -C / && mkdir -p /etc/fix-attrs.d && mkdir -p /etc/services.d && mkdir -p /usr/src/bashio && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /usr/src/bashio && mv /usr/src/bashio/lib /usr/lib/bashio && ln -s /usr/lib/bashio/bashio /usr/bin/bashio && curl -L -f -s -o /usr/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && chmod a+x /usr/bin/tempio && rm -rf /usr/src/*' returned a non-zero code: 1
Would be nice if someone founds a solution for this.
Thank you

Hello i would like to installe the ISM7MQtt as new, because all values are unknown, after an update of the synology DSM and restatr the VM.
Before all works fine, and now no values over MQTT.
Core 2024.11.1
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
here are the issue:
Failed to to call /addons/bf7963f0_ism7mqtt/install - The command '/bin/ash -o pipefail -c set -x && chmod a+x /run.sh && apk add --no-cache bash bind-tools ca-certificates curl jq tzdata xz icu-libs moreutils mosquitto-clients && if [ "${BUILD_ARCH}" = "armv7" ]; then export S6_ARCH="arm"; elif [ "${BUILD_ARCH}" = "i386" ]; then export S6_ARCH="i686"; elif [ "${BUILD_ARCH}" = "amd64" ]; then export S6_ARCH="x86_64"; else export S6_ARCH="${BUILD_ARCH}"; fi && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" | tar Jxvf - -C / && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxvf - -C / && mkdir -p /etc/fix-attrs.d && mkdir -p /etc/services.d && mkdir -p /usr/src/bashio && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /usr/src/bashio && mv /usr/src/bashio/lib /usr/lib/bashio && ln -s /usr/lib/bashio/bashio /usr/bin/bashio && curl -L -f -s -o /usr/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && chmod a+x /usr/bin/tempio && rm -rf /usr/src/*' returned a non-zero code: 1
Failed to to call /store/addons/bf7963f0_ism7mqtt - Addon bf7963f0_ism7mqtt with version latest does not exist in the store
Can anyone help me ?

?? the addon is already at version 0.0.17. The experimental addon always references the ism7mqtt:latest tag.
Anyway, If someone has reasonable linux knowledge, he should be able to find out what's going wrong for you guys. Unfortunately I can't reproduce any of this. See my hints above.
Also, I don't have a Wolf heater any more, so you are mostly on your own.
For me, this addon is in low-effort-maintenance-mode. I will merge a PR if someone is able to fix your issue, and I will reference new ism7mqtt versions, but won't do any major changes to the addon myself. If someone wants to fork and become the new maintainer, I'm happy to give it away.

Hello, the issue with installation is related to the last supervisor update 2024.11.2
You can read this here: https://github.com/home-assistant/supervisor/issues/5405
We need to wait for an Update.
Thank you B3nn0 for your support.

?? the addon is already at version 0.0.17. The experimental addon always references the ism7mqtt:latest tag.
Anyway, If someone has reasonable linux knowledge, he should be able to find out what's going wrong for you guys. Unfortunately I can't reproduce any of this. See my hints above. Also, I don't have a Wolf heater any more, so you are mostly on your own.
For me, this addon is in low-effort-maintenance-mode. I will merge a PR if someone is able to fix your issue, and I will reference new ism7mqtt versions, but won't do any major changes to the addon myself. If someone wants to fork and become the new maintainer, I'm happy to give it away.

Sorry to hear.
I have the same installation problem. HAOS running within proxmox on a Dell Optiplex.
Local installation didn't work either. Hope that a HA update will fix this.

Hi, for me works follwoing procedure:
shut down Home assistant.
shut down VM on synology
shut down synology
restart all after a few seconds
Than i could install the Ism7MQTT Experimental and all works fine.
The ism7mqtt is not possible to install, it seems anythink is with the file or the folder on github.
Other Repositories are possible to install.

It didn't work for me either.
I've now installed Wolf Smartlink integration ( https://next.home-assistant.io/integrations/wolflink )
It uses this library : https://github.com/janrothkegel/wolf-comm
I'm now trying to get it working for writing data.
Con: you still need the cloud.
Pro:  you can still use your app.
Anyway, no real solution yet,

Just did some more testing, but still fail to reproduce this.
Maybe someone can try something like this via ssh:
cd /addons
git clone https://github.com/b3nn0/hassio-addon-ism7mqtt.git
cd hassio-addon-ism7mqtt/ism7mqtt
docker build --no-cache --build-arg BUILD_ARCH=amd64 -t ismtest .

Replace amd64 with one of armhf, armv7, aarch64, amd64, i386 if you are running a different architecture.
This will build the addon outside the HA context, and should maybe produce more helpful logging.
To clean up afterwards, run
docker image rm ismtest`
cd /addons
rm -r hassio-addon-ism7mqtt

I just pushed a new version of the experimental addon. The install process is now a LOT simpler.
Please test it and report back if you have install issues.
To do so, it should be enough to go to the Addon store and "check for updates", then wait a couple of seconds.
Afterwards, uninstall and reinstall the ism7mqtt-experimental addon. Maybe "Rebuild" is enough, too. Not sure though.
If it works out, I will push this change to the stable addon, too.

I just pushed a few changes to the experimental addon. The install process is now a LOT simpler. Please test it and report back if you have install issues. To do so, it should be enough to go to the Addon store and "check for updates", then wait a couple of seconds. Afterwards, uninstall and reinstall the ism7mqtt-experimental addon. Maybe "Rebuild" is enough, too. Not sure though. If it works out, I will push this change to the stable addon, too.

Now it works! Thank you.

Perfect, thanks for reporting back.
I have also simplified the stable version's Dockerfile in the same way, it should now also work correctly with the steps described above. Does it work for the others, too?

Thank you very much! I installed the Addon successfully. So much easier, perfect so far!
I still have to do a bit configuration ,so I will report back later.

Thanks


Update README.md to include @babel/plugin-proposal-class-properties

Adding @babel/plugin-proposal-class-properties allows to use class Properties

Please update the package.json file to include these as peerDependencies


Manager GUI: improve control signals and thresholds

Improvements to the manager GUI to allow a easier assessment of open requests and station configuration.
Include "Station Control" signals in the signal column
This provides a more accurate view of the station configuration in the manager GUI. Previously those signals were missing from the GUI and it was not always clear why a station doesn't receive deliveries.
Excludes requests <= request threshold for that station from inventory view
Requests that do not trigger exceed the threshold won't generate deliveries. With those requests excluded unfulfilled requests become much more apparent, quickly allowing identification of open requests. With many stations having many partial requests it was previously much more difficult to identify potential problems.

This change is now in beta and can be downloaded from the beta branch or the testing channel of the discord. Thanks!


(fleet/prometheus-stack) set the correct key for the grafana keycloak

As the summary mentions, this was incorrectly set in the 1password. Temporarry adding the correct key, but it should be corrected.

Closed in favor of https://github.com/lsst-it/k8s-cookbook/pull/492


Can this be used with Xamarin.Forms?

Can FsXaml be used with Xamarin.Forms XAML files (in PCLs or .NET Standard libraries)?

Unfortunately no. Xamarin Forms doesn't expose some of the required information I'd need to recreate this.
I hope to have some option there, but for now, manual loading (which is fairly simple) is the only option.

Yep, LoadFromXaml works fine, but all the FindByName calls are a pain... :) Thanks anyway!

Yeah. I've tried more than once. Most of the info required to figure out
the types is buried in internal routines in Xam Forms. Can't get to them.
Could easily do it untyped, but that's no better than calling findbyname
repeatedly.
On Aug 26, 2017 7:08 AM, "Christer van der Meeren"<EMAIL_ADDRESS>wrote:

Yep, LoadFromXaml works fine, but all the FindByName calls are a pain...
:) Thanks anyway!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/FsXaml/issues/70#issuecomment-325130971,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFCUmj_Wp_coTQNrdKHV-ulVhm4u6euSks5scCbXgaJpZM4PDd6W
.


The Hibernation option is enabled only for Windows and not for other operating systems that support it.

Describe the bug
According the documentation Amazon Linux 2 (ami-0816b6df20ad41aa6) and Ubuntu 22.04 (ami-02c4430a986b4f2ad) and RHEL 8 (additional configuration is required) AMIs should support hibernation. However, when we attempted to use these AMIs in the RES blue environment, the “Enable Instance Hibernation” option remained grayed out (the same for RHEL). It appears that this option is currently only available when selecting Windows as the OS.
Steps to reproduce
Steps to reproduce the behavior:

We ensured that the instance type was Nitro-based (one of the prerequisites for hibernation) and confirmed that the EBS volumes are encrypted by default (another requirement).
We even used the AMIs that support hibernation without additional configuration and the option remains grayed out.
We search in the source repo and we find that in the file virtual-desktop-create-session-form.tsx  the option is hardcoded to be enable just for windows and disabled for the rest.

Expected behavior
the hibernation option should be enable for all OS by default, as it is in the AWS console when we create an EC2 instance.
Actual behavior
It's only allow for Windows OS.

Environment (please complete the following information):

RES Version: 2024.08 and 2024.06
Software Stack AMI ID: ami-0816b6df20ad41aa6, ami-02c4430a986b4f2ad, RHEL 8.
Software Stack OS: all OS

Whats Up i hpe it can helps you!
To resolve this issue, the hardcoded restriction in the file virtual-desktop-create-session-form.tsx should be modified to enable hibernation for all operating systems that meet the AWS requirements. This will align the behavior of the RES blue environment with AWS's general EC2 instance creation process.
Next Steps:
Code Fix: Update the code to check for hibernation support dynamically based on the selected AMI and instance configuration, rather than restricting it to Windows OS.
Testing: Test the updated configuration with the supported Linux AMIs to ensure that the hibernation option works as expected across different operating systems.
This approach will ensure consistency with AWS's documentation and functionality, improving the user experience in the RES blue environment.

Hi @RodrigoDiasDeOliveira , thanks for your response!
I was trying to do it in a local repo, but I am missing an important part. In the documentation is not clear how I can use the code with the CloudFormation template. Do I need to rebuild the ECR image that is pulled from the registry in order to support the Linux Hibernation?

well bro i sorry for the gap, it seems the issue is related to enabling hibernation for Linux instances in specific AMIs (Amazon Linux 2, Ubuntu 22.04, and RHEL 8) within the RES interface, where the hibernation option is restricted to Windows only. Here’s a guide on the next steps for resolving this:
Next Steps for Resolution
Update the Code: In the virtual-desktop-create-session-form.tsx file, hibernation is currently set to be available only for Windows. The solution would be to update the code to check dynamically if the selected AMI and instance configuration support hibernation. This will allow for greater flexibility and alignment with AWS requirements to support Linux.
Test the Updated Configuration: Once the adjustment is made, it’s essential to test hibernation with supported Linux AMIs. Confirm that the instance is Nitro-based and that EBS volumes are encrypted, as these are prerequisites for enabling hibernation.
Using the CloudFormation Template: Your friend mentioned uncertainty about applying the code in the environment using CloudFormation. If the RES environment uses an image from ECR (Elastic Container Registry), it will be necessary to rebuild this image for the updated code to reflect in production. This involves:
Updating the code in the local repository and building the Docker image to include the modification.
Pushing the new image to ECR, ensuring the CloudFormation setup references this updated image to implement the changes.
Admin Configuration in RES: An administrative setting may be needed to allow users to enable hibernation when launching EC2 through the interface. Check if there are RES configurations to activate this option, as the admin might need to enable hibernation globally.
These steps should help enable hibernation for Linux AMIs, aligning RES behavior with that expected on AWS.

Hi, thanks for reporting the issue. The service team is tracking the issue internally and will fix it in future releases.


Module not found: Error: Cannot resolve module

Hello,
I have alias in my webpack as follows.
...
resolve: {
   root: 'app',
   alias: {
      assets: path.join('assets', 'theme' || 'common'),
    },
   ...
},
module: {
    ...
    loaders: [
      ...
      {
        test: /\.styl$/,
        loader: 'style-loader!css-loader!stylus-loader',
      },
    ],
  },
...

File is located in app/assets/theme/stylus/index.styl.
Unfortunatelly I can't loaded as I getting following issue:
ERROR in app/assets/theme/stylus/index.styl
Module not found: Error: Cannot resolve module 'app/assets/theme/stylus/index.styl' in app/assets/theme/stylus
resolve module app/assets/theme/stylus/index.styl in app/assets/theme/stylus
  looking for modules in app
    app/app doesn't exist (module as directory)
  looking for modules in assets/base
    assets/base/app doesn't exist (module as directory)
[app/app]
[assets/base/app]
 @ app/assets/theme/stylus/index.styl 4:14-164

I have suspicion that webpack is not getting it through stylus-loader on despite of stylus loader is setted up properly. All other stylus files are working well.
Assets are used for images as well which are working well. Any idea?

@creaux What is the require or import statement look like? I'm guessing you are trying to @import 'stylus';. stylus-loader tries to append .stylin a case like that but it doesn't do all the possibilities that webpack can. What you probably need is to setresolve.extensions`.
resolve: {
  extensions: ['', '.js', '.styl'],
},

@mzgoddard oh yes sorry I ommited this yes I have the following there as well.
...
resolve: {
   ...
   extensions: ['', '.js', '.jsx', '.styl'],
   ...
},
...

Found the issue
// I changed this
...
resolve: {
   ...
    root: 'app',
   ...
},
...
// To this
...
resolve: {
   ...
    root: path.resolve('app'),
   ...
},
...

root option has to be absolute.
Thank you!


Improve Merkhet implementation

As merkhets are already on their own routines, it would make more sense to spin up a routine for a merkhet tast rather than a merkhet instance itself. Pushability tests can take longer than the time between the tests, and it would result in blocks

Fixed by #39


Made changes on nav bar to redirection

Signed-off-by: afzal442<EMAIL_ADDRESS>Made changes on nav bar to redirection, added container instead of linkcontainer from different module;
Makes it easier to read code

Caught some redirection issues. Closing for that


Upgrade is successful, but no changes are effected

I seem to have a nice update going on, I have this in output
executing: bin/xservice upgrade 0.0.4
Release 0.0.4 not found, attempting to unpack releases/0.0.4/xservice.tar.gz
Unpacked successfully: "0.0.4"
Installed Release: 0.0.4
Made release permanent: "0.0.4"
however, even though, I do mix clean, mix deps.get, mix compile, mix release
with some changed files I'm just not seeing any changes in my output.
I'm running my erlang process in docker/ubuntu in foreground mode as it's run as a daemon afterwards, then i do the exrm upgrade it in a separate process.
I'm new to erlang hot code updates, so I am not sure exactly how they work, but generally I believe the @vsn in a module is a checksum I don't explicitly have to set. However, i also tried setting the @vsn to "0.0.4" for the module I'm checking for updates on in case that was necessary - still no cigar.
So, I think I'm missing someting fundamental somewhere.
Any ideas?
....
update: one thing, the changes I'm looking for are in another project which is referenced as a dep from the one I'm actually releasing, would that make a diff?
update2: also, like Devinus, I'm not getting any log output in the log dir

exrm now generates appups automatically for dependencies, as of 0.19.0. I'm closing this for now, but please feel free to reopen it if this is still an issue.


fix: email validation issued in #151

Update the regex for email validation to include special characters per RFC 5322. See Also a Stack Overflow answer for this one.

First of all thank you very much for your PR,we are already unifying some general regular check rules，you can see from the pattern.ts.

So we use this rule to check all mailboxes in v1.0.6.If you have other questions, welcome to continue to feedback.

that one looks great! I can close this PR now.


Multiple enhancements/fixes with handling of HCL Object Values

This PR enhances the handling of HCL Object Values and fixes multiple issues caused by the fact that we are currently parsing non-comma object values as blocks instead of object values.
These changes are a bit outside my comfort zone. appreciate a deep review. cc: @jkschneider
Background/Context:
HCL Object Values can be written with commas:
object = { key1 = "value1", key2 = "value2" }

object = {
  key1 = "value1",
  key2 = "value2"
}

or without commas resembling blocks
object = {
  key1 = "value1"
  key2 = "value2"
}

But there are a few subtle differences between blocks and object values without commas (Reference: https://hcl.readthedocs.io/en/latest/language_design.html#blocks-vs-object-values)

Blocks can have nested blocks whereas object values cannot contain blocks
Keys (attributes) in object values can be quoted expressions whereas the block attributes are always identifiers. (Reference: https://github.com/hashicorp/hcl/blob/main/hclsyntax/spec.md#collection-values)

Issues addressed in this PR:
Issue: Ambiguous object structure when parsing single value objects (ObjectValue) vs multi value non-comma objects (Block). This is caused by the usage of BlockExpression to parse object values as blocks instead.
Fix: Remove BlockExpression and change grammar to parse all object values using ObjectValue model structure.
Fixes https://github.com/openrewrite/rewrite/issues/2069
Issue: Current grammar allows nested blocks inside object values since non-comma object values are being parsed as blocks
Fix: With new grammar, this isn't allowed
Issue: Parser error when using string templates as keys for object values
Fix: New grammar supports object attribute keys as string templates (block attribute keys should not and won't support string templates as keys)
Fixes https://github.com/openrewrite/rewrite/issues/2083
Issue: multi-line object values are not indented correctly
Fix: TabsAndIndentsVisitor now adds an indent for multi-line object values

can i get some eyes on this PR please?

Fantastic work @rmadamanchi, and a bold step to dig into the grammar. HCL is definitely not the easiest of grammars either, as I learned the hard way initially ;)


Clientside Pushstate Routing

Is it possible to use the clientside router with pushstate instead of hashes ?

Thank You !


pycrypto -> pycryptodome & readme update

https://github.com/xeroc/python-bitshares/issues/15

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   45.94%   45.94%
=======================================
  Files          38       38
  Lines        3104     3104
=======================================
  Hits         1426     1426
  Misses       1678     1678

Impacted Files
Coverage Δ

setup.py
100% <ø> (ø)
:arrow_up:

bitsharesbase/memo.py
90.38% <0%> (ø)
:arrow_up:

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 4018815...9838a5b. Read the comment docs.

Was reading the python-bitshares docs today, and spotted the following:

Flow: pull requests need to be made against the develop branch

Want me to resubmit this PR against the development branch instead of master?

Will resubmit PR on own branch to the staging/development branch instead of directly to master (as requested in the python-bitshares documentation).


Q: when will be the next release?

When will be the next release on NuGet?  Thanks.

@candychiu if everything is working with boost 1.63 then after release of boost 1.63.

@raffienficiaud maybe you have an idea?

Update: Soon

Boost Unit Test Adapter v<IP_ADDRESS> is up on the Visual Studio Gallery.
Many thanks for the contributors and users which allowed for this release!


Update agents-overview.md

Fix PowerShell install commands to leverage Hash Tables instead of JSON so they work correctly.

@grbray : Thanks for your contribution! The author(s) have been notified to review your proposed change. @guywild

#assign: @guywi-ms
@guywi-ms Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@sign-off

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @guywild

#sign-off

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @guywild

#sign-off

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @guywild

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Deprecate redshift_privilege resource

redshift_privilege is buggy and has been superseded by redshift_grant + redshift_default_privilege. This PR adds a deprecation message to the resource.

Unfortunately the deprecation message does not appear in the online docs for this resource: https://registry.terraform.io/providers/brainly/redshift/latest/docs/resources/privilege


add docstring of precision

Summary
Write docstring in each function in TimeSeriesPrecision.
Format:
"""Description
  Args:
      args1: type
          Description
      args2: type
          Description
  Returns:
      type: Description
"""

Goal
Write docstrings of TimeSeriesPrecision
Todo
Write docstring of

[x] TimeSeriesPrecision class
[x] init
[x] score
[x] _update_precision

Deadline
2020 / 12 / 30
Parent issue
If the parent issue exists, post a link here.
References
If there are any reference links, they are described here.
Notes
Example:
"""The function of selecting the gamma value according to the parameters.
  Args:
      gamma: str
          - 'one': the value 1
          - 'reciprocal';: a reciprocal of the overlap
          - 'udf_gamma': user defined gamma
      overlap: int
          overlap between real and pred
  Returns:
      float: the selected gamma
"""

@ryoherisson

#39


Omni for Neovim

Add a new theme to the organization
If you have already created a theme, make sure you check the following requirements:

[x] The theme follows the template;
[x] The theme follows the Omni Color Palette;
[x] The branch name is main (we will keep this name pattern from now on);
[x] The theme has correct instructions on how to install it;
[x] The repository name is lowercase and contains just the application name. E.g. visual-studio-code.

Application: Neovim
Application URL https://neovim.io/
GitHub URL: https://github.com/joaom00/neovim

Hey @joaom00, I have reviewed the theme, and we can include it in the organization. 🎉
I'll be sending an invite for you to join the organization.
Before transferring the repo, make sure to change all URLs to match the new repository link.
Please, open a PR and include the theme on the main repository 👊🏻

Just one question: can we change the package name here to:
use 'getomni/neovim'

You can still publish it.

Thanks, @joaom00!


Add server-subscription-request-response

Resolves https://github.com/solid/notifications/issues/57

I think that besides the requirement we also should have clear definitions of

Subscription Request
Subscription Response

Having that the requirement could clearly state that it adds specific details to either one of those two.
With current PR we still don't have a clear way in subscription type to extend requirements on Subscription Response, since the protocol doesn't define it.

Updated in https://github.com/solid/notifications/pull/72/commits/c8892edc434acdad27e8e87e370bf80ec40b4656 .. We'll figure out later whether we move some of this into Terminology or not. I think this is okay for this PR.

Merging as per https://github.com/solid/notifications-panel/pull/68/files#diff-697e56f4b6e7271430f73e456bd8dc14cec4e0332eb60255b77dfb9088374028R59 (the minutes are under review as of this writing).


Finalize dependencies

At minimum, I think we need:

AFNI 3dTShift, for slice timing correction
FSL SUSAN, to smooth BOLD data before running MELODIC
FSL MELODIC, to perform the ICA

ICA-AROMA (https://github.com/maartenmennes/ICA-AROMA) uses the following FSL commands as well:

bet
fslmaths
fslinfo
zeropad
fslroi
fslmerge
flirt
applywarp
fslstats
fsl_regfilt

Of course, most, if not all, of the ICA-AROMA dependencies could be replaced with Python code. Not sure if a fork with that change already exists. I know that the ME-ICA team (myself included) worked hard to write a pure Python version, but progress on that stalled when we tried to extend ICA-AROMA to work on native-space BOLD data. Still, it might be worth resurrecting: https://github.com/ME-ICA/aroma.
Do we need any other non-Python dependencies?

I had forgotten ANTs, but everything should be working now.


fix findHttpManager

What this PR does:
Which issue(s) this PR fixes:

Fixes #192
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report

Merging #193 (29c7497) into develop (73949d3) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop     #193   +/-   ##
========================================
  Coverage    43.14%   43.14%
========================================
  Files           33       33
  Lines         1757     1757
========================================
  Hits           758      758
  Misses         890      890
  Partials       109      109

Impacted Files
Coverage Δ

pkg/pixiu/listener.go
19.79% <0.00%> (ø)

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 73949d3...29c7497. Read the comment docs.


Update deepspeed and fairscale versions

What does this PR do?
Part of #12373.

Updates deepspeed version used in CI from 0.5.7 to 0.5.10 (as of now) and avoids using 0.6.{0,1} due to https://github.com/microsoft/DeepSpeed/issues/1878
Updates fairscale version used in CI from 0.4.0 to 0.4.6 (as of now)
Adapts deepspeed tests to >=0.5.9. The change in DeepSpeed API was introduced in https://github.com/microsoft/DeepSpeed/pull/1607.

Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[n/a] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[n/a] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @carmocca @akihironitta @borda @SeanNaren @awaelchli @rohitgr7

@carmocca @Borda Addressed @awaelchli's comment. Could you have another look?


can not translate while using it in gulpfile?

below is my gulpfile:
const translate = require('google-translate-api');
gulp.task('check', function(){
    var cultureFile = fs.readFileSync('./locale.txt', 'utf8');
    translate(cultureFile, {from: 'en', to: 'zh-cn'}).then(res => {
        fs.writeFileSync('./check.txt',res.text,'utf8');
    }).catch(err => {
        console.error(err);
    });
});

Hi, take a look at this repo, https://github.com/vitalets/google-translate-api
its update to fix this issue,
Also i have a clone of the above repo and maintain it too,
https://github.com/ZyC0R3/google-translate-api

HI @ZyC0R3 ,
Still it doesn't translate my text - refer below gulp task
https://github.com/kumaresan-subramani/gulp-translate/blob/master/gulpfile.js


Theme customize style tooltip wrong library

Change Type
Cleanup (formatting, typos, etc.)
Proposed Changes
The info tooltip at Theme showcase  says "The Default style has larger inputs, uses lucide-react for icons." Should be lucide-svelte?

That is correct! Thanks for catching it!

Closed by #296


Reword and reorder system basics

For discussion, as I'm still not 100% happy with the order and nesting, and have a couple of questions. (I might also have unintentionally changed some intended meaning - let me know.)
I also removed the code diff, sorry. It was adding noise (hard to follow), and making that section disjointed (lump of abstract code between related clauses).

The diff is too big to fix.

I'm done with https://github.com/mui-org/material-ui/pull/23294. I have tried to bring most of your changes into it.


"XMLHttpRequest failed" in jest but not mocha

I realize this may not be directly related to parse-mockdb, but I've spent a day on this and narrowed it way down and was wondering if you could give me any insight. It's as if jest is interfering with parse-mockdb's mocking of the REST controller. The jest tests were working until today. I have tried reverting to earlier versions of my repo where they were working, but I still get the errors. (I removed node_modules and reinstalled each time I reverted.)
I've written two very simple tests files, one using mocha and the other jest. There are no special configs for mocha or jest. Both use parse/node. Strangely, if I remove the Parse.initialize call from the mocha test, it still works, but in the jest test I get the usual complaint from Parse.
This is the mocha version, which I simply run with "mocha "
'use strict'

import Parse from 'parse/node'
import ParseMockDB from 'parse-mockdb'

Parse.initialize('test')

describe('parse-mockdb testing', () => {

  it('should save correctly', () => {
    ParseMockDB.mockDB(); // Mock the Parse RESTController
    let
      TheObj = Parse.Object.extend('TheParseObj'),
      obj = new TheObj()
    obj.save({message:'hello'})
      .then(obj => {
        assert.equal(obj.get('message'), 'hello');
        ParseMockDB.cleanUp(); // Clear the Database
        ParseMockDB.unMockDB(); // Un-mock the Parse RESTController
      })
  }
  )
})

The output for the mocha test:
  parse-mockdb testing
    ✓ should save correctly

  1 passing (21ms)

This is the jest version, which I simply run with "jest "
'use strict'

import Parse from 'parse/node'
import ParseMockDB from 'parse-mockdb'

Parse.initialize('test')

describe('parse-mockdb testing', () => {

  test('should save correctly', () => {
    expect.assertions(1)
    ParseMockDB.mockDB(); // Mock the Parse RESTController
    let
      TheObj = Parse.Object.extend('TheParseObj'),
      obj = new TheObj()
    return obj.save({message:'hello'})
      .then(obj => {
        expect(obj.get('message')).toBeDefined()
        ParseMockDB.cleanUp(); // Clear the Database
        ParseMockDB.unMockDB(); // Un-mock the Parse RESTController
      })
  })
})

The output for the jest test (after a 5-second wait):
  parse-mockdb testing
    ✕ should save correctly (4593ms)

  ● parse-mockdb testing › should save correctly

    Error
      Failed: XMLHttpRequest failed: "Unable to connect to the Parse API"

  ● parse-mockdb testing › should save correctly

    expect.assertions(1)

    Expected one assertion to be called but received zero assertion calls.

      at extractExpectedAssertionsErrors (node_modules/expect/build/extract_expected_assertions_errors.js:46:19)
          at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        5.476s

I debugged both files in Webstorm, adding breakpoints in the MockRESTController and mockDB functions in node_modules/parse-mockdb/src/parse-mockdb.js (see screenshot below). When I ran the debugger, it stopped at both breakpoints in the mocha version, but only at the mockDb breakpoint in the jest version.

I also double-checked that simply running your usage example with a simple save works in node on my machine and another Mac:

Create file 'parse-mockdb-test.js':

'use strict';
const Parse = require('parse/node');
const ParseMockDB = require('parse-mockdb');

ParseMockDB.mockDB(); // Mock the Parse RESTController

// Perform saves, queries, updates, deletes, etc... using the Parse JS SDK
const
  TheObj = Parse.Object.extend('TheParseObj'),
  obj = new TheObj()

return obj.save({message:'hello'})
  .then(obj => {
    console.log(obj.get('message'))
    ParseMockDB.cleanUp(); // Clear the Database
    ParseMockDB.unMockDB(); // Un-mock the Parse RESTController
  })

Then run it with node:

$ node parse-mockdb-test.js'
hello

@charleskoehl There shouldn't be any need to call Parse.initialize as you don't want to connect to any server whilst using parse-mockdb. I use the following test setup with Jest and it works well:
// Ensure that Parse is defined for cloud code.
const Parse = global.Parse = require('parse');
const ParseMockDB = require('parse-mockdb');

const TestObject = Parse.Object.extend('TestObject');

beforeEach(() => {
  ParseMockDB.mockDB();
  // You may also want to call registerHook here when testing beforeSave etc
});

afterEach(() => {
  ParseMockDB.cleanUp();
  ParseMockDB.unMockDB();
});

test('hook', () => {
  return new TestObject({ foo: 'bar' })
    .save()
    .then(obj => {
      expect(obj.get('foo')).toEqual('bar');
    });
});

My cloud functions are tested without the Parse wrappers, so for instance a beforeSave method might look like this:
module.exports = (request, response) => {
  response.success(request.object);
};

This is then consumed via the main cloud code, this part is not under test as it doesn't really need to be (only test your code, not library code):
Parse.Cloud.beforeSave('TestObject', require('./TestObject/beforeSave'));


Chrome.exe trying to connect to metriq.xyz

My Malwarebytes is picking up chrome.exe (ungoogled chromium executable) trying to send outbound connects to metriq.xyz with the ip address <IP_ADDRESS>. I have downloaded the latest version and this is a new event that seems to be correlated with the newest version.
Version: 96.0.4664.45
OS: Windows 10 64bit

Where did you get the binary from? Can you reproduce this without any extensions on a clean profile?

Where did you get the binary from?

https://ungoogled-software.github.io/ungoogled-chromium-binaries/releases/windows/64bit/96.0.4664.45-1
I'll check without extensions and report back, but my suspicions are in the program since I have had the same extensions since the previous version.

The binary is released via GitHub Actions, and its source code can be found here: https://github.com/Nifury/ungoogled-chromium-windows/tree/github_action
I don't think the root cause is in the program. chrome.exe connecting to metriq.xyz doesn't necessarily mean the executable is suspicious or compromised. The request may be initiated by an extension, a webpage, or even an external program.


Issues When Running

I can't seem to get the Hello World example from the README running. I have updated my main.rs file and added the dependency to Cargo.toml, but when I run using trunk I get a long list of errors (see below).
Environment

Maple: 0.4.x
WSL / Ubuntu 20.04.1 LTS

Additional context
I have updated trunk, wasm-pack-cli, Rust, and a few other dependencies I think are related, just in case.
Here is the start of the output. The list goes on for quite a while longer.
❯ trunk serve --open
Apr 01 07:16:47.612  INFO 📦 starting build
Apr 01 07:16:47.616  INFO spawning asset pipelines
Apr 01 07:16:47.775  INFO building maple-test
   Compiling js-sys v0.3.49
   Compiling console_error_panic_hook v0.1.6
error: expected `,`
  --> /home/googlemac/.cargo/registry/src/github.com-1ecc6299db9ec823/console_error_panic_hook-0.1.6/src/lib.rs:80:43
   |
80 |             #[wasm_bindgen(js_namespace = console)]
   |                                           ^^^^^^^

error[E0433]: failed to resolve: use of undeclared type `Error`
   --> /home/googlemac/.cargo/registry/src/github.com-1ecc6299db9ec823/console_error_panic_hook-0.1.6/src/lib.rs:106:21
    |
106 |             let e = Error::new();
    |                     ^^^^^ not found in this scope
    |
help: consider importing one of these items
    |
71  | use std::error::Error;
    |
71  | use std::io::Error;
    |
71  | use wasm_bindgen::__rt::core::fmt::Error;
    |

error[E0425]: cannot find function `error` in this scope
   --> /home/googlemac/.cargo/registry/src/github.com-1ecc6299db9ec823/console_error_panic_hook-0.1.6/src/lib.rs:117:13
    |
117 |             error(msg);
    |             ^^^^^ not found in this scope

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0425, E0433.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `console_error_panic_hook`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: expected `,`
   --> /home/googlemac/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:639:39
    |
639 |         #[wasm_bindgen(js_namespace = Atomics, catch)]
    |                                       ^^^^^^^

error: expected `,`
   --> /home/googlemac/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:649:39

Sorry, I can't reproduce. May I ask what Rust compiler version you are using?

Also know that all the examples are hosted on maple-rs.netlify.app/example/example-name (so the hello world example would be at maple-rs.netlify.app/example/hello)

rustc 1.51.0 (2fd73fabe 2021-03-23)
I should clarify I'm following the steps in the Getting Started section of the README, so not the actual Hello World example.

It seems to be an error with console_error_panic_hook. And also the README.md is slightly out of date. The example should be
render(|| root);

But that doesn't seem to be the cause of the error you posted. Could I take a look at your Cargo.toml please?

Could I also see any other code you have?

Here you go! https://github.com/parker-codes/maple-build-error-repro

Hmm, I fixed it by running cargo update. Not sure what the problem was there

Crazy. Sorry to bother you! 😄 It works now, so I can try more advanced things!


Editing an existing ticket fails with error "State is invalid"

This was a data problem. I had to change all past tickets to "fridge"


Fine-Tuning Scheduler Tutorial Updates for Lightning 2.0.x

A few minor updates to the Fine-Tuning Scheduler Tutorial to simplify it slightly and better accommodate the Lightning and PyTorch 2.0.x releases.
Changed

Support for PyTorch and PyTorch Lightning 2.0.0! Note that lightning>=2.0.0 is a dependency of finetuning-scheduler 2.0.0 which this tutorial requires.
Use the unified lightning package rather than the standalone package. Fine-Tuning Scheduler (FTS) by default depends upon the lightning package rather than the standalone pytorch-lightning package beginning with FTS 2.0 (though the latter can still be installed and used similar to Lightning).
Leverage a feature now available in finetuning-scheduler 2.0.0 to simplify the example.
Updated the list of distributed strategies FTS supports as of FTS 2.x.
Further simplify the example by requiring torch>=1.12.1 (to avoid https://github.com/pytorch/pytorch/issues/80809 with torch 1.12.0 and the version checking/special patched version of AdamW that was required for 1.12.0)

Congrats on the successful Lightning 2.0 launch!! :rocket: :tada:
Before submitting

[X] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[X] Did you make sure to update the docs?
[X] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@Borda @carmocca @ethanwharris @awaelchli
Congrats on the successful 2.0 launch! Since Fine-Tuning Scheduler 2.0 was released yesterday and by default depends upon the unified lightning package rather than the standalone pytorch-lightning package I'm hoping this PR can be merged before too long. Only bothering you guys since I think it's important for users visiting the 2.0 tutorials to see the updated FTS default usage that aligns with the unified lightning package. Thanks again for all your work!!


Thank you for openma

Sorry this seems not the right place to post this, but I can't really find any way to contact.
So apologize if needed.
I really like the idea of open source biomechanics toolkit so thanks for your effort!
I would like to know if there is any status updates about openma.
I'm a master student just getting into the filed of sports biomechanics, I have preliminary experience in python. If there's anything I can help, just let me know, I would like to volunteer.

@Alzathar has ceased working in OpenMA since the last commit. The company he works for, Solution Moveck Inc., is offering an enhanced, closed-sourced solution, along with a new version of Mokka. These will not be added to OpenMA, though.

Thanks for your update, this clears thing a ton, was really curious what happened after a ambitious announcement for OpenMA along with it's new website.
Since you mentioned Mokka, is there any info about the new release?
Since its an open source project, is the new release going to be merged back to the master branch, or stays wild as a fork?

If I'm not mistaken, any further development from @Alzathar and Moveck will be closed-sourced. The sells representative explained to me that even thought they started as an open source project, interest on it wasn't big enough for it to be profitable within an open sourced model. It is a real shame though, this might be the best conceived approach I've seen to tackling real world gaitlab problems, without ties to any specific vendor. But sadly, she's right. There were very few contributors to this project apart from himself. The most mature project I've seen using OpenMA is @aaa34169's pyCGM2.
Funny thing is, BTKToolkit is still widely used: pyCGM2 uses it, the newest Opensim 4.x uses it, basically anyone trying to read or edit C3Ds uses it, even thought it's been unsupported for some years now. The old mailing list is still active, with new people asking about old problems.

I see. I agree that it's a real pity.
Since they're not clearly stating their OSS license version, maybe it won't violate it via being a closed source downstream, but I highly doubt that's the case.
A vendor independent ecosystem would be remarkably nice, considering how VR and IOT devices are impacting the world.
Thanks for your update, this is sad but mayb finally I have to make a decision whether to learn opensim or dive into BTKToolkit.
I wondered how is the ecosystem around motion analysis so closed. Everything is mostly tied to vendor specification and hardware. And they never seem to let others play with their toys.

BTKToolkit and OpenSIM are different solutions for different problems. Luckily for us, both have working Python wrappers, and they play along very nicely. BTK is already included as a third party addition to the newest OpenSIM, so there goes your decision: you'll very likely have to learn both.

Oh, and they do state their license. BSD 2.0

I see, thanks for your reply.

You could also try https://github.com/pyomeca/ezc3d. It is relatively new but has an active development team and is opensource.

@jimmyDunne thanks for the suggestion, looks like a nice project. That's in C++ though, so it would be a bit harder for me to contribute.
Also, SWIG is great but sometimes I long for native Python APIs. For example my btk code for getting the 'body mass' subject parameter in btk ended up looking like this:
metadata = acq.GetMetaData()
bodymass = metadata.FindChild("PROCESSING").value().FindChild("Bodymass").value().GetInfo().ToDouble()[0]

Not sure if it's due to btk or SWIG though...


OVH DNS-01 fails on challenges for host.sub.example.com

When challenging a certificate for host.sub.example.com the OVH API fails:
ovh: error when call api to add record (/domain/zone/sub.example.com/record): Error 404: \"This service does not exist\"\n
This is caused because there is no zone called sub.example.com on OVH.  The API URL must be /domain/zone/example.com/record and the record _acme-challenge.host.sub

This is a duplicate of #618 - Feel free to subscribe there for updates.

I am not sure if it really is a duplicate. In #618 the issuing of sub.example.com fails. This works without a problem for me. I have several certificates with a single subdomain issued with traefik.
But certificates for hosts in a subdomain are failing.

Have to try this https://github.com/xenolf/lego/issues/618#issuecomment-449390547 ?

API key is working with certbot for certificates for hosts like host.sub.example.com.
I just logged into the OVH API and executed: /domain/zone which gets me my available zones: example.com.
Executing /domain/zone/example.com returns HTTP 200 and information about the zone.
/domain/zone/sub.example.com returns
Not Found (404)
{ "message": "This service does not exist" }

I think the API url for all records must then be /domain/zone/example.com/record

@sauerj If I create a patch for lego, would you be able to build lego to test and validate the non-regression?

or maybe you can create the patch?

@ldez yes, just tell when the patch is ready.

or maybe you can create the patch?

I do not have any skills in go. But I think this will be a rather small fix. I can give it a try.

so try :+1: and if you have a problem, do not hesitate to ask me for help.

So, today I had time to do some testing and reproduction of the error with latest code. I did not mentioned above, that the error occurred with Traefik.
I have to apologize, this issue IS absolutely my fault.
Let me explain: I have a registered domain which I use for public services. I also use DNS zone for LAN hosts and services: internal.example.com for which I provide my own authoritative server in the LAN. My local caching DNS server redirects requests for the internal zone to the authoritative server. Requests for e.g. _acme-challenge.www.internal.example.com will then be answered from the local authoritative DNS server, instead for OVH servers, and will fail.
I am not 100% sure, but I explain the failing API call with the existing SOA for internal.example.com which is then parsed into the API call and will fail on the OVH end.
When I define an external DNS server, like Google Public DNS, to use by lego the issuing for internal hosts succeed.


Future development?

Hello OHW MHW project team,
(@cgentemann, @NickMortimer, @ocefpaf, et al )
Can I ask how far along you folks progressed on the goal of taking E. Oliver Marine Heat Waves (MHW) code and refactoring to take advantage of xarray, datetime, and dask?
Assuming it still needs work to be generalised for public use should others jump aboard this effort?  Or start from scratch?  Is there a list of issues to tackle?  Thanks!

Hi! we are scheduling a meeting to organize on github issues to address.  We would love to have you help out!

Thanks for a great chat!


Add MediaVault text search to navbar

This PR adds the text search functionality directly to the navbar:

It also removes the dedicated search page (although the search results page remains), as searching will be spawned from the navbar and from a more advanced search atop the Dashboard page.
This PR also sneaks in a move of the Add URL button to the user menu to make more room on the primary navbar.
Testing:

rails t
Start the server with ./bin/dev (or rails assets:precompile + rails s)
Log in and search for things
✅ Get search results as expected
✅ See query prefilled in the search field on the search results page
✅ See search history still works (in user menu > Settings)
✅ Narrow the window enough to spawn the mobile menu and ensure the search form shows up there as expected

⚠ Note that media search is not affected and the search results screen is not yet changed/improved.
Closes #438

Two things as I begin the review: can we change "Media Search" to "Reverse Media Search"? It'll make the functionality much clearer without onboarding. Second: Not now, but let's consider how to add media search functionality into the search bar (see: google images) so that there's not two distinct search pages.

This is what I'm getting on Safari and Firefox and Chrome

Can we change "Media Search" to "Reverse Media Search"? It'll make the functionality much clearer without onboarding.

Sure! I'll default to that language but may explore even more clear language. I'll do that as another sub-task of #364 rather than as part of this PR though.

Not now, but let's consider how to add media search functionality into the search bar (see: google images) so that there's not two distinct search pages.

Absolutely. I have some ideas along those lines as part of #439, where we have a single UI element that allows easy toggling back and forth.

This is what I'm getting on Safari and Firefox and Chrome…

Hmm. Did you happen to start the server with rails s? I think you'll either need to start with ./bin/dev or do the rails assets:precompile first. I keep forgetting to note that. It's a bummer and I wish we didn't need to do that. :/
Can you give that a try?

Ooh, nice catch on the gray border. No, I think I just had a blind spot to it. 😬 I'll make that styling change. Thanks for the review!


Make qldb-workbench as npm package which could be consumed by console

Description of changes:
We would like to reuse qldb-workbench repo as an npm package in console for query editor V2 to avoid duplicate effort. This PR is mainly to fix compatible issues to make it usable both in qldb-workbench and console.
This change could be tested in console locally following the steps below:

Run npm link --only=production in the root of qldb-workbench Github repo to create a symlink.
Run npm link qldb-workbench in the root of console assets package to import the node modules locally.

Next steps:

Prettify and add features specific in console
Publish qldb-workbench version "0.0.1-alpha" in npm library which could be used by running npm install qldb-workbench in console.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing the PR as the plan changed and we don't want to reuse qldb-workbench repo in console for now.


feat: added ability to quit early

As mentioned in https://github.com/aisk/pick/pull/90, it would be useful for me to be able to quit before making the choice. This is my proposition on how to do it

“Hi, please avoid formatting codes you don't touch. If you want to format the code, a new PR is welcome.

Oh right, my bad, I'm too used to have my auto formatter always on, this should be reverted!

I have a concern that the current user doesn't have the codes to handle the result of (None, -1), and this could crash their process.
Can we simply add an optional parameter to the pick function, allowing the user to pass a list of keys, such as KEYS_QUIT, with the default value being None? In this way, the code will retain its original behavior if users don't pass this argument.
What's your opinion on this?

What's your opinion on this?

I like the idea. I wanted to avoid affecting the signature as much as possible, but I think a default option serves this role perfectly

Except for the minor review comment, this change looks good to me. However, an update for the README in the Options section and a simple example in basic.py would be more practical. Could you please add these changes to this PR? @Henri-ColibrITD


tcomb-form don't work with react v15.0.1

tcomb-form any version
react v15.0.1
tcomb-form don't work with react v15.0.1

any details?


no such method not called on properties of dart:html objects

Describe your issue compiling with DDC
noSuchMethod is not called on get calls for properties of MouseEvent does not get called.
Does this error show up at build time or at run time? run time
Include repro instructions. How can we try to build (or run) this code?
Using mockito
class MockMouseEvent extends Mock implements MouseEvent {}
final mock = new MockMouseEvent();
final point = new Point(0,0);
when(mock.client).thenReturn(point);
var client = mock.client;
Expected:
Will return point
Actual:
noSuchMethod is never called on MockMouseEvent and mockito does not have an opportunity to return a value.
Tried to implement this in another way and it also doesn't work:
class MockMouseEvent extends Mock implements MouseEvent {
@override
Point client = new Point(0, 0);
}

Is this with DDC? It isn't clear from the description, and I think we might be playing games with noSuchMethod in Dartium.

Yes sorry it is DDC. I thought that the issue tracker was just for that. Didn't realize it was a more general one. Vijay is looking at the issue.

Here's a smaller repro based on @davidmorgan 's internal test:
import 'dart:html' as html;

class Mock {
  noSuchMethod(Invocation i) {}
}

@proxy
class MockLocation extends Mock implements html.Location {
  String href = "";
  String get hash => href.substring(href.indexOf("#"));

  Uri get _uri => Uri.parse(href);

  String get pathname => _uri.path;
  String get search => _uri.query;
  String get origin {
    try {
      return Uri.parse(href).origin;
    } catch (e) {}
    return '';
  }

  void assign([String url]) {
    href = url;
  }
}

void main() {
  var mock = new MockLocation();
  mock.href = "foo";
  html.Location loc = mock;
  print(loc.href);
}

I suspect we're not handling fields in the mocked class correctly.

The bug is with field specifically.  A workaround for now: If MockLocation's href is changed to a getter/setter (on a private variable), the code works.


[RFC] Dont hard code UsedBy urls in db views

First pass at #6491. I'm planning to change the user-visible bits in a separate branch.

I'm not sure anymore we want/need to do this, see the comment in the issue.

@freeekanayaka looks like something is busted in UsedBy for networks?

@stgraber ah true, the used_by field for networks is not rendered using those db views (which are indeed unrelated), but still I had changed the networks integration tests to look for "/1.0/instances" instead of "/containers", regressing them. I assume we want "/1.0/instances" also for networks, so I fixed the code as well.

@freeekanayaka yep, perfect, thanks


fix:  AU-2518: Profile form fixes

AU-2518
What was done

Delete invalid/old profile documents which do not contain user_id & content field is empty (Caused by GDPR deletion)
Try ro tefresh tokens in private/unregistered profile forms during data refresh (If access token is expired)

⚠Contains developement version of ATV-module, so do not merge before release version ⚠
How to install

Make sure your instance is up and running on correct branch.

git checkout UHF-0000_insert_correct_branch
make fresh

Run make drush-cr

How to test

[ ] Login as Private Person
[ ] Wait for 5+ minutes (Access tokens last only for 5 minutes)
[ ] https://hel-fi-drupal-grant-applications.docker.so/fi/oma-asiointi/hakuprofiili/muokkaa
[ ] Check that "Hae päivittyneet tiedot"-button works correctly

GDPR deletion

[ ] Find an user which doesn't use any other services than grants.
[ ] Create a grants profile for this user
[ ] Iniatite GDPR deletion process in https://profiili.test.hel.ninja/
[ ] (You might need to do this manually in your local env. Get token from dev openshift logs)
[ ] After you have called the local deletion endpoint you will be kicked out (/helfi-gdpr-api/endpoint/<user_id>)
[ ] Check ATV for the profile content and you should see a profile with empty user_id & content fields (/v1/documents/?type=grants_profile&lookfor=profile_id:<profile_id>)
[ ] Login again and go to the profile form. Check ATV once again and now the empty user_id & content document should be gone and a new one is initialized for the user.

Designers review

[ ] This PR does not need designers review
[ ] This PR has been visually reviewed by a designer (Name of the designer)

Automatic- / Regression tests

[ ] This PR makes no changes that effects any tests. (This will be caught in automatic testing later on, but please, please run regression tests always on PR before asking for a review)
[ ] This PR passes regression tests. (make test-pw)

Other PRs

https://github.com/City-of-Helsinki/drupal-module-helfi-atv/pull/39

Hups mä tosiaankin mergesin tän vahingossa samalla ku noita muita approvettuja. Reverttasin ni ehkä tän voi tehä uusiks päivitetyllä ATV rellulla?


manjaro-zsh-config not working

I can't run manjaro-zsh-config in terminal, its always return command not found. Is there any fix?

I never used this, as I am quite happy with the default. Will have to have a look.

one moment. why do you think the command manjaro-zsh-config exists? this might be just a documentation issue.

one moment. why do you think the command manjaro-zsh-config exists? this might be just a documentation issue.

I've seen article how to configure this arrow, manjaro-zsh-config is used for configure the arrow.
I found command p10k configure its the same feature as manjaro-zsh-config.

In Manjaro sway this is pre- configured

closing as this is already enabled (and by the way not an executable afaik)


Missing relocation for auipc instructions

This contract  does not build without the solc optimizer.
Contract `PolkaGotchi.sol:Polkagochi` compiling error: polkavm linker failed: found an unrelocated auipc instruction at offset 50302 in section '.text'; is the program compiled with relocations?polkavm linker failed: found an unrelocated auipc instruction at offset 50302 in section '.text'; is the program compiled with relocations?

    c47e: 17 23 00 00   auipc   t1, 0x2
    c482: 67 00 63 e8   jr      -0x17a(t1) <.Lpcrel_hi90+0xa4>

I noticed many unrelocated auipc instructions elsewhere in the object code. They are an exception and allowed if possible, but only aupic+jalr pairs are considered.

Uploading dbg.zip…

#140


meshio

With meshio you'd instantly get a plethora of file formats to write to. Probably with a good match.

This looks great, I'll give it a try. Thanks for the suggestion!

Done: https://github.com/fogleman/sdf/commit/609c4f104f2627a3232f28bdefb08e3d7353d883

You could also use meshio for STL writing, but lets consider this done.

Yes, but my implementation is significantly faster, so I kept it.
Also, might I recommend a table of file extensions => file type in your readme? That would be helpful.

Yes, but my implementation is significantly faster, so I kept it.

Perhaps I can improve meshio. I'll back when I get something.

Also, might I recommend a table of file extensions => file type in your readme? That would be helpful.

Done.

I'll back when I get something.

Okay, it's improved in meshio. A more memory-efficient and a little faster than the sdf-variant with tofile(). https://github.com/nschloe/meshio/pull/1033/files


Error when user does not have permission to access a directory

If the user does not have permission to access a directory, a nasty error is raised. Instead, that directory should be skipped and a warning  should be displayed.
This behaviour should obviously be tested. In particular, see what happens when gitsum is called from the root of the filesystem.

It might be easier to test this once #2 is implemented.


Change: fix typo in save audio for api doc

Hi, I was trying to use demuc in a .py file without cli commands. When I tried the below code:
# Remember to create the destination folder before calling `save_audio`
# Or you are likely to recieve `FileNotFoundError`
for stem, source in separated.items():
    demucs.api.save_audio(wav=source, path=f"{stem}_file.mp3", samplerate=separator.samplerate)

first I encounterd this error:
too many values to unpack (expected 2)
it was refering to the first loop. when I digged in I found out that separate_audio_file return a tuple which is origin file and a dict. but few lines above we have this code:
origin, separated = separator.separate_audio_file("file.mp3")

as you can see, separated is now has the dict part of that tuple, so we face an error here.
After fixing that with some code like below:
for file, sources in separator.separate_audio_file("file.mp3"):
    for stem, source in sources.items():
        demucs.api.save_audio(source, f"{stem}_{file}", samplerate=separator.samplerate)

we face another error which is:
'Tensor' object has no attribute 'items'
I found out that first loop is not working, so I made some changes and decided to change doc for api section.
I was hoping it helps other people facing these errors.

Thanks for the fix. This PR has still not been merged.

The README also links to Band-Spit RNN but should be Band-Split RNN
only noticed because the SDR is just as good as Demucs!


"Warning, state of non-volatile memory is unchanged." when trying to configure static password or delete slot.

Hello,
I get the above error when trying to configure a static password or delete a slot. This error happens only when I proceed in a specific way:

Configure a static password using the last example from this PDF (version 2.2):
 // Clear current settings.
 yk.ykClear();

 // Use selected config.
 yk.ykFlagProperty(ykFlagProperty.SECOND_CONFIG) = (slot == 2);

 // Don't append enter at the end.
 yk.ykFlagProperty(ykFlagProperty.APPEND_CR) = false;

 // Use static password mode => output scancodes (as opposed to modhex).
 yk.ykFlagProperty(ykFlagProperty.STATIC_TICKET) = false;

 // Use short ticket.
 yk.ykFlagProperty(ykFlagProperty.SHORT_TICKET) = true;

 // Encode plain text into keyboard scan codes.
 var scanCodes = text2scancode(input);

 // Split key to fit in various yubikey properties.
 var key1 = scanCodes.substr(0, FIXED_SIZE * 2);
 var key2 = scanCodes.substr(FIXED_SIZE * 2, UID_SIZE * 2);
 var key3 = scanCodes.substr(FIXED_SIZE * 2 + UID_SIZE * 2);

 // Set key parts.
 yk.ykStaticId = key1;
 yk.ykUID = key2;
 yk.ykKey = key3;

 // Write config to YubiKey.
 var programResult = yk.ykProgram;

Without removing the Yubikey, use the current .Net SDK to configure a static password:
 public void SendStaticPasswordToYubikey(IYubiKeyDevice yubikey, Memory<char> payload, int slot)
 {
     if (slot != 1 && slot != 2)
         throw new ArgumentException($"{nameof(slot)} has to be either 1 or 2.");

     using (var otp = new OtpSession(yubikey))
     {
         var castSlot = (Slot)slot;

         if (castSlot == Slot.LongPress && otp.IsLongPressConfigured)
             otp.DeleteSlot(Slot.LongPress);
         else if(castSlot == Slot.ShortPress && otp.IsShortPressConfigured)
             otp.DeleteSlot(Slot.ShortPress);

         otp.ConfigureStaticPassword((Slot)slot)
             .WithKeyboard(KeyboardLayout.en_US)
             .SetPassword(payload)
             .Execute();
     }
 }

The call to Execute will throw the above error. Is there any way to "fix" this? I tried deleting the slot, but I get the same error. The only way to make it go away is to delete the slot (which leads to the above error) and restart the program. After that, it will write to the key successfully.

And you say this only happens if you provision with the COM code first?
As in: If you did not use COM, but configured the slot using the .NET SDK first and then try to re-run it on the same YubiKey, would that work fine?
How quickly is the .NET code running after the COM code is run?
Lastly, what version of the .NET SDK are you using?

And you say this only happens if you provision with the COM code first?
As in: If you did not use COM, but configured the slot using the .NET SDK first and then try to re-run it on the same YubiKey, would that work fine?

Yes and yes. What I noticed too was that the serial was not displayed when I wrote a static password using COM api. It doesn't really matter whether I wait a few hours or try to send a password immediately, the result is still the same.
I did a bit of digging around and found out that it has to do with the transport I am using. According to the docs, HID keyboard should support most operations. However, sometimes I also get SmartCard and this is where the error occurs. So now, the problem is, I get a SmartCard key and a HID key, but they are returned as two IYubiKey instances and due to the missing serial number, I cannot guarantee that these are the same key. Also, I noticed that I only get a SmartCard when using VMs, which makes kinda sense due to the RDP protocol and how it handles USB passthrough. But this is still a problem because the software needs to work both on host machines and VMs.

Could there be any background or long running processes that are attempting to communicate with the YubiKey?
I am not really sure. I am working on a customer laptop and they got all different kinds of programs and background processes running, they basically have a 3rd party app for everything.
I am not sure that the .Net SDK is even the problem here, I think it's rather the COM api because even when we open Yubikey Manager, the serial numbers are not there after we write a static password to the key. The call to yk.ykProgram seems to be the point of entry for this problem. As you can see in my example above, we are not really doing anything out of the ordinary.
Anyway, I added Serilog to my application. It's a WinForms app so I had to make a few adjustments. However, I don't get any output from your SDK. I can inject an ILogger to my app and log with that, so the logging seems to be working.
 var builder = new HostBuilder()
    .ConfigureServices((hostContext, services) =>
    {
        services.AddScoped<Form1>();

        //Add Serilog
        var serilogLogger = new LoggerConfiguration()
            .WriteTo.File("log.log")
            .CreateLogger();
        services.AddLogging(x =>
        {
            x.SetMinimumLevel(LogLevel.Information);
            x.AddSerilog(logger: serilogLogger, dispose: true);
            x.AddFilter(level => level >= LogLevel.Information);
        });
    });

var host = builder.Build();
ApplicationConfiguration.Initialize();
Application.Run(host.Services.GetRequiredService<Form1>());

Yes, any kind of logger will do.
You say you're still not getting any output from the SDK? I assume based on your code snippet above that this is run prior to any SDK functionality being invoked?

Yes, any kind of logger will do.
You say you're still not getting any output from the SDK? I assume based on your code snippet above that this is run prior to any SDK functionality being invoked?

Yes, that is correct. I only use the Yubikey stuff inside Form1 and that is injected deeper in the pipeline so it should work.

Hey @MartinTeichler ! Are you still experiencing this issue? If not, we'll close the issue. Thanks.

Closing old issues. Feel free to reopen if this is still important to you.


fix(consul-provider): Compare consul catalog tag keys with lowered case

LGTM
Needs a rebase ;)

Done ;-)

LGTM 🐮


Fix #2951 - Throw when we encounter a sentinel key value during mater…

…ialization.

@maumar

:shipit:


Can you port this extension to the A1111?

Welp, probably not...
This Extension feels pretty useless anyway


documented error responses in drf_yasg schema

Fixes #405

In order to document errors in drf_yasg following changes are made:-

added documentation for 500 error in all views of api app
in image_views.py added serialiser to ImageDetail's get and delete methods so as to document 400 error
in list_views.py added serialiser to CreateList's post method and ListDetail's get, delete and put methods to document 400 error
in site_views.py added serialiser to Register's post method to document 400 error
in link_views.py added serialiser to CreateShortenedLink's post method to document 400 error

Following new serializers have been added:-

in image_serializers.py, ImageDetailInputErrorSerializer has been added to serialize uuid field
in list_serializers.py, ListDetailInputErrorSerializer to serialize slug field

Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

@aldenstpage I am not sure regarding following:-

/v1/auth_tokens/register takes name, description and email as args and OAuth2RegistrationSerializer serialize these fields. So, where should it be changed?
v1/images takes query parameter as serialized by OAuth2RegistrationSerializer. Therefore 400 can come. Why should it not be considered?
what format for error 500 should be used?

Some serializers model requests, and others model responses, and you've switched them around in some cases. For instance, for /v1/auth_tokens/register, you say that error 400 returns a response like this:
{
    "name": "string",
    "description": "string",
    "email"<EMAIL_ADDRESS>}

But it doesn't. There are similar issues with the other endpoints I pointed out.

@aldenstpage apologies for late reply. I have fixed following in codebase:-

changed error 500 formats in SearchImages get method, ImageDetail get method, CreateShortenedLink post method, ImageStats get method and register post method
removed error 400 from ImageDetail's get method and 500 from ImageDetail's delete method
added error 401 in ImageDetail's delete method
changed serializer for error 400 in CreateShortenedLink's post method

@aldenstpage fixed style test error

@aldenstpage removed unused imports from:-
Removed unused import from:-
analytics/tests.py
cccatalog-api/cccatalog/api/controllers/search_controller.py
cccatalog-api/cccatalog/api/serializers/image_serializers.py
cccatalog-api/cccatalog/api/views/image_views.py
cccatalog-api/cccatalog/api/views/link_views.py
cccatalog-api/cccatalog/scripts/thumbnail_load_test/locustfile.py
cccatalog-api/cccatalog/urls.py
ingestion_server/ingestion_server/qa.py
ingestion_server/test/unit_tests.py
misc/gen_popularity.py

Build seems to work fine for my fork as shown here:-

But PR is failing build after ./load_sample_data.sh.
Build for PR

Build for my fork

After observing two screenshots it can be seen that command after load_sample_data.sh are different.

See https://github.com/creativecommons/cccatalog-api/issues/369 – sometimes it's necessary to restart the build.

@aldenstpage  thanks!

@aldenstpage in image_serializer I have used UUID field for identifier in ImageDetailInputErrorSerializer. Should i change it to CharField as done in ImageSerializer?

The PR has gotten too stale to merge without a lot of work; we'll cherry pick the changes that document error messages (and credit you properly)


Add prettier and precommit hooks

Deployed to: http://dev.quranicaudio.com:32813

Deployed to: http://dev.quranicaudio.com:32814

Want to add it to quran.com?

@mmahalwy yes - inshallah tonight!


Fixes broken build due to misplaced import

The GRPCCall import must be in the header because it defines a protocol that GRPCRequestHeaders uses.

Can one of the admins verify this patch?

Fixup of #3437


No auto complete options show for Openpyxl

From https://github.com/MicrosoftDocs/intellicode/issues/199 by @Blotuxs

Hi
About a month ago Intellicode showed me recommendations for the Openpyxl library in Python. And since a few days ago it does not show all the recommendations (As seen in the image it does not show the Cell recommendation or others).
Try reinstalling Visual Studio Code, Openpyxl, Python and Intellicode but it doesn't work.
Try to delete the Extensions folder and download it again.
Settings:
"python.jediEnabled": false
"python.languageServer": "Microsoft"
I would appreciate any recommendation. Thank, in advance.

Update:
If I dont click on "Enable it and Reload Windows", appear all the suggestions

I'm not sure this is related to Pylance, if the old "Microsoft" language server setting was being used. Try with pylance enabled, perhaps?

@MoonBrain1 and @84tom, we have recently released a new and more performant language server called Pylance which likely solves these issues you are reporting.  You can download Pylance from the marketplace and install it alongside the core Python extension.  Would you be able to try it out and let us know if it's working?

It's been over a month since we asked for info and added the "waiting for info label"; I'm going to close this. If this is still a problem and you can provide more info, we can reopen this issue.

Any update regarding this issue? I'm using Pylance 2021.5.1 but the issue is still there.
Not working with wb["Sheet1"]

But works with wb.worksheets[0]

Thanks. This appears to be a case where we can't infer the type of the result of the index expression; it's likely this library needs to be better stubbed (or have stubs written) to capture what that operator does.

Thanks for the input, @jakebailey. I have installed the openpyxl-stubs and it seems to be working fine now (tested both in Windows 10 and Linux).
$ pip install openpyxl-stubs
https://github.com/MartinThoma/openpyxl-stubs

Thanks for that link; we may be able to bundle those stubs like we do a few other stub packages.

This issue has been fixed in version 2021.5.3, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202153-19-may-2021


load assetbundle error

I'm trying loading a assetbundle with header UnityFS 5.x.x 5.4.1f1 but got error
Traceback (most recent call last):
  File "test.py", line 10, in <module>
    print(id, object.type)
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 28, in type
    script = self.read()["m_Script"]
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 74, in read
    return self.read_value(self.type_tree, buf)
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 132, in read_value
    result[child.name] = self.read_value(child, buf)
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 101, in read_value
    result = buf.read_string(size)
  File "/home/tangpei/文档/UnityPack/unitypack/utils.py", line 70, in read_string
    ret = struct.unpack(self.endian + "%is" % (size), self.read(size))[0]
struct.error: unpack requires a bytes object of length<PHONE_NUMBER>

001_school_winter.zip

If you read the last line, it says the object has to be the bytes length of 3.4GB. I didn't look at the file.

@Stellarspace Thanks. I think it may got wrong size from file... I tried other files, they didn't crash but the size is also huge.

@tangpei506 It's weird that developers compile their Unity games and apps with a large file size. Is it a desktop game?

This is just a decode issue.  The asset itself should be 4.5MB uncompressed, and the assetbundle uses LZ4 compression.  The<PHONE_NUMBER> number is a uint32 (2E 3F 43 CB) visible in the compressed bytes.  Unsure why unitypack isn't feeding it through LZ4 properly.

Can you pull master and see if this is fixed now?

This was fixed by 11c22bcc.

@Mischanix Thanks!


Paginate NFTs

Backend will make the /collectibles endpoint paginated. See https://github.com/safe-global/safe-transaction-service/issues/239
We need to take advantage of this in the UI.
Either an infinite scroll or just simple prev/next buttons.

Closing this, as it will be done in the new version of the app in another repo.


Add an option to avoid disk caching

on old devices, sometimes disk caching creates IO bounds which cause the
app slowness.
with this parameter we can avoid disk caching at all.

Discussed via email
Hi Elad
Thanks a lot for your PR! It's definitely a good idea to be able to disable caching.
In fact I expected to add a Skip() Fluent method for this release so it's a good surprise :)
I would rather use our CacheType enum and be able to skip disk cache, memory cache or both. Would it be possible to change your PR to be more like that? We could then have on TaskParameter:
public CacheType? SkipCache { get; private set; }

And a simple method Skip to fill it :)
Now what bothers me is that IO issue that slows down old Android devices.
I will investigate what happens.

I changed it to CacheType, i think the skip cache is a bit confusing.
if you want, I can set it as SkipCache, just let me know what do you think

Do you have an alternative for the name?

maybe CacheStrategy ? whatever you want, just let me know and I'll refactor

@eladmarg My proposal:
public enum EnabledCache
{
DiskAndMemory,
Memory,
Disk
}
Thanks for your collaboration!

@daniel-luberda We already have an enum so I'd rather not recreate one: https://github.com/molinch/FFImageLoading/blob/master/source/FFImageLoading.Common/Cache/CacheType.cs
@eladmarg The names you chose are totally fine for me. It is clear with WithCache().
Three last things:

CacheType enum should probably have a None value. In that case no cache would be used.
Then in TaskParameter, instead of

public CacheType? CacheType { get; private set; }

We could have
public CacheType CacheType { get; private set; } = CacheType.All; // by default all caches are used

@molinch Yes, I know we have an enum, but we don't have None. If we add it to current enum, it may cause confusion for some methods which are already using it (eg. InvalidateCache None?), we'll need to do some refactorings to handle it, etc.

so what's decided? I already aknist finished to create another enum and refactor (EnabledCache),
now i need to rollback ? guys, please lets just try to do this

@daniel-luberda https://github.com/molinch/FFImageLoading/blob/017541135eba42fee001b11016556231e8524772/source/FFImageLoading.Shared/ImageService.cs#L257
There is no need to refactor anything. CacheType would "just work".
@eladmarg if you already changed your code then it's fine, not my preferred choice though.
This enum should then have: None, Memory, Disk and All.

@molinch @eladmarg Sorry for confusion, @molinch you decide :)

I still don't understand why to allow the option not to use the memory cache, memory cache store the rendered result, we already paid for that, (in cpu and allocations), if we have ram, why not to use it?
this is still something i need to modify on the ImageLoaderTask files, but i prefer to do the first PR, (without the none option) then we'll complete it in other pr.
@molinch , i rolled this back and i'm fine with the WithCache(),
any other changes to this pr?

@eladmarg This is why I commented some EnabledCache enum values, it's a thing for a discussion if disabling memory cache should be allowed.

@daniel-luberda totally agree.
from my point of view, there is no need to allow this. we don't store the image bytes in ram, we're storing the rendered native control (which is perfect), I would stay with the current options.
if this will be requested in the future, we'll add this as well.

For 99% of people that doesn't make sense but for testing/debugging it is useful.
Being able to disable any cache doesn't add confusion: the parameters are crystal clear, you know what you do.
Also there are use cases where you don't want to load into memory:
With Preload option you can choose to have the image downloaded and cached to disk but not loaded into RAM.

that's correct,
so do you want me to apply the changes to this pr?
if so, I will add also the None to the CacheType Enum,
i just prefer to move in small steps, but as you wish, just let me know.

You can leave it like that for now. I'll merge the PR and add a few options.
Thanks :+1:

Thank you !

@eladmarg Thanks! You can also skip Windows as I need to implement 2.1 features anyway by the weekend.

great, thanks for the update


diff shows projects with 0 cost or no cost diff

The CLI seems to be outputting projects that have a 0 cost, and ones where there is no diff in the costs - see the bottom 2 projects in the following output. It seems best if we combine them into one line at the end, e.g. "The following projects had no cost estimate changes: logging, project2"
Current output:
----------------------------------
Project: <project>/cluster
~ google_container_cluster.default
  -$103 ($278 -> $176)
    - node_pool[0]

        - Instance usage (Linux/UNIX, on-demand, e2-medium)
          -$88.14

        - Standard provisioned storage (pd-standard)
          -$14.40
Monthly cost change for <project>/cluster
Amount:  -$103 ($278 -> $176)
Percent: -37%

----------------------------------
Project: <project>/logging
Monthly cost change for <project>/logging
Amount:  $0.00 ($0.00 -> $0.00)

----------------------------------
Project: <project>
Monthly cost change for <project>
Amount:  $0.00 ($469 -> $469)
Percent: 0%

Desired output:
----------------------------------
Project: <project>/cluster
~ google_container_cluster.default
  -$103 ($278 -> $176)
    - node_pool[0]

        - Instance usage (Linux/UNIX, on-demand, e2-medium)
          -$88.14

        - Standard provisioned storage (pd-standard)
          -$14.40
Monthly cost change for <project>/cluster
Amount:  -$103 ($278 -> $176)
Percent: -37%

The following projects had no cost estimate changes: logging, project2

I'll work on it.


DLAU cannot run in an environment with more that 20 Domino server documents

When DLAU is run in an environment with more than 20 Domino server documents, the user will encounter a data limit to the Field that stores the Domino server information.
"Notes error: Adding entry will cause text list to exceed 64K"

The same error will occur if there is a large amount of Observations made


GHPage: Links point to ombulabs org

Links are pointing to github.com/ombulabs/pecas, it works because it redirects them to fastruby, but I guess it's clearer if they just point to github.com/fastruby/pecas

Same issue for a link from `developer.nokotime.com

Fixed by https://github.com/fastruby/pecas/commit/1027e0da814e6cb1e30ed5ec2b5475e6848b6bb2


Split plugins

In versions 0.7.3 and earlier all features were included in a single plugin, but a lot of developers started to get issues with the size of their app, because even though they needed a single feature, the plugin included all the resources for the rest of the features, that increased the size of the app significantly.
In this versions we have split the plugin in multiple plugins to allow developers to use only what they need.

@X-SLAYER: We still have 3 Natural Language APIs to wrap up for iOS, hopefully this will be done by EOW and published next week

how to use it ???

@shivamCDP: it is still a work in progress, wait for the next release, ETA: 1 or 2 weeks.


Report on reliability of the service infrastructure wordpress-to-github depends on

From Jim: "Yesterday’s NPM outage illustrated a failure point where we are reliant on a 3rd party service. There are several of these: Azure, AWS, Github, NPM, Akamai (possibly more). It would be good to add a story about making our build process resistant to any one of these going down."

What can we expect to happen when our services go down?
How reliable have our services been for the last few years?

I don't know what to do here.  Ok to close?

@jbum Is there anything to do here?


Further optimize the Docker image.

Use the official golang:alpine image for the build. (see also #191).
Build and install MailHog from the current repository instead of retrieving it from GitHub.
Statically compile MailHog, so it can be installed without any dependencies.
Disable symbol table and DWARF generation for a smaller binary size.
Build the final Docker image from scratch, adding only the MailHog binary and ca-certificates.

Closing based on #245