bitbake core-image-minimal error

ERROR: core-image-minimal-1.0-r0 do_image_wic: No kickstart files from WKS_FILES were found: sdimage-dual-raspberrypi.wks core-image-minimal.wks. Please set WKS_FILE or WKS_FILES appropriately.
ERROR: core-image-minimal-1.0-r0 do_image_wic: Execution of '/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_wic.28073' failed with exit code 1:
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.28073
ERROR: Task (/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-core/images/core-image-minimal.bb:do_image_wic) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2409 tasks of which 1 didn't need to be rerun and 1 failed.
DEBUG: Executing python function set_image_size
DEBUG: 70049.200000 = 53884 * 1.300000
DEBUG: 74145.200000 = max(70049.200000, 8192)[70049.200000] + 4096
DEBUG: 74146.000000 = int(74145.200000)
DEBUG: 77824 = aligned(74146)
DEBUG: returning 77824
DEBUG: Python function set_image_size finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.4.1.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-core/glibc/glibc_2.31.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/gcc/gcc-runtime_9.3.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bb:do_populate_sysroot', 'virtual:native:/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/python/python3_3.8.2.bb:do_populate_sysroot', '/home/rat/rauc_raspberry/poky-rpi-rauc/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['bc-native', 'parted-native', 'rpi-config', 'gptfdisk-native', 'dosfstools-native', 'glibc', 'gcc-runtime', 'gcc-cross-arm', 'flex-native', 'bison-native', 'lzop-native', 'u-boot-tools-native', 'dtc-native', 'kern-tools-native', 'swig-native', 'binutils-cross-arm', 'rpi-u-boot-scr', 'linux-raspberrypi', 'popt-native', 'linux-libc-headers', 'libgcc', 'libmpc-native', 'gmp-native', 'mpfr-native']
NOTE: Skipping as already exists in sysroot: ['update-rc.d-native', 'patch-native', 'pseudo-native', 'kmod-native', 'mtools-native', 'btrfs-tools-native', 'xz-native', 'bmap-tools-native', 'opkg-native', 'openssl-native', 'cdrtools-native', 'opkg-utils-native', 'syslinux-native', 'qemuwrapper-cross', 'pigz-native', 'cross-localedef-native', 'pbzip2-native', 'squashfs-tools-native', 'makedevs-native', 'e2fsprogs-native', 'ldconfig-native', 'depmodwrapper-cross', 'python3-native', 'quilt-native', 'debianutils-native', 'readline-native', 'automake-native', 'gnu-config-native', 'texinfo-dummy-native', 'libtool-native', 'autoconf-native', 'ncurses-native', 'util-linux-native', 'gettext-minimal-native', 'pkgconfig-native', 'attr-native', 'gtk-doc-native', 'zlib-native', 'systemd-systemctl-native', 'shared-mime-info-native', 'lzo-native', 'python3-setuptools-native', 'acl-native', 'python3-six-native', 'libarchive-native', 'libsolv-native', 'shadow-native', 'perl-native', 'nasm-native', 'm4-native', 'qemu-native', 'libpcre-native', 'bzip2-native', 'lz4-native', 'gdbm-native', 'sqlite3-native', 'libffi-native', 'libtirpc-native', 'libnsl2-native', 'libpcre2-native', 'libcap-ng-native', 'itstool-native', 'glib-2.0-native', 'libxml2-native', 'unzip-native', 'expat-native', 'cmake-native', 'ninja-native', 'db-native', 'groff-native', 'meson-native', 'gettext-native', 'curl-native', 're2c-native']
DEBUG: sed -e 's:^[^/]*/:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native/:g' /home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/sysroots-components/x86_64/gcc-cross-arm/fixmepath /home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/sysroots-components/x86_64/bison-native/fixmepath /home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/sysroots-components/x86_64/gmp-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/pkgdata/raspberrypi4:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/temp/fifo.28073:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_image_wic
ERROR: No kickstart files from WKS_FILES were found: sdimage-dual-raspberrypi.wks core-image-minimal.wks. Please set WKS_FILE or WKS_FILES appropriately.
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/rat/rauc_raspberry/poky-rpi-rauc/build/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_wic.28073' failed with exit code 1:
WARNING: exit code 1 from a shell command.

Hi @r4t31,
What is your configuration for WKS_FILE in conf/local.conf ?
Best regards, Leon

Hi @r4t31,
What is your configuration for WKS_FILE in conf/local.conf ?
Best regards, Leon

Hi @r4t31,
What is your configuration for WKS_FILE in conf/local.conf ?
Best regards, Leon

Hello!
WKS_FILE = "sdimage-dual-raspberrypi.wks"
When I rename sdimage-dual-raspberrypi.wks.in to just sdimage-dual-raspberrypi.wks (without io) it compiles normally.
(meta-rauc-raspberrypi/wic)
Can you please help me, how can I run this created image in qemu?

Hi @r4t31,
What is your configuration for WKS_FILE in conf/local.conf ?
Best regards, Leon

Hello!
WKS_FILE = "sdimage-dual-raspberrypi.wks"
When I rename sdimage-dual-raspberrypi.wks.in to just sdimage-dual-raspberrypi.wks (without io) it compiles normally.
(meta-rauc-raspberrypi/wic)
Can you please help me, how can I run this created image in qemu?

Yes, it should be WKS_FILE = "sdimage-dual-raspberrypi.wks.in" following the rename of the fine in GitHub PR: https://github.com/leon-anavi/meta-rauc-community/pull/6
As of the moment only Raspberry Pi is supported in this Yocto/OE layer. Further integration and efforts are required for QEMU.
It seems that you have solved the issue with WKS_FILE therefore I will close the issue.
Best regards,
Leon

Yes, it should be WKS_FILE = "sdimage-dual-raspberrypi.wks.in" following the rename of the fine in GitHub PR: https://github.com/leon-anavi/meta-rauc-community/pull/6
As of the moment only Raspberry Pi is supported in this Yocto/OE layer. Further integration and efforts are required for QEMU.
It seems that you have solved the issue with WKS_FILE therefore I will close the issue.
Best regards,
Leon

WKS_FILE = "sdimage-dual-raspberrypi.wks
In your youtube video and presentation WKS_FILE = "sdimage-dual-raspberrypi.wks".

Can you please advice some other possibility to get RAUC in QEMU?

WKS_FILE = "sdimage-dual-raspberrypi.wks
In your youtube video and presentation WKS_FILE = "sdimage-dual-raspberrypi.wks".

Can you please advice some other possibility to get RAUC in QEMU?

@r4t31 have you tried https://github.com/romainreignier/meta-rauc-qemux86 ?
Best regards, Leon

@r4t31 have you tried https://github.com/romainreignier/meta-rauc-qemux86 ?
Best regards, Leon

@r4t31 have you tried https://github.com/romainreignier/meta-rauc-qemux86 ?
Best regards, Leon

Unfortunately, I need to run it in ARM... Do exist some way to run ARM applications in qemux86?

@r4t31 have you tried https://github.com/romainreignier/meta-rauc-qemux86 ?
Best regards, Leon

Unfortunately, I need to run it in ARM... Do exist some way to run ARM applications in qemux86?

Hi,
Maybe something from https://layers.openembedded.org/layerindex/branch/master/machines/?q=qemu&search=1 ?
Cheers,
Bartłomiej

Hi,
Maybe something from https://layers.openembedded.org/layerindex/branch/master/machines/?q=qemu&search=1 ?
Cheers,
Bartłomiej

Hi,
Maybe something from https://layers.openembedded.org/layerindex/branch/master/machines/?q=qemu&search=1 ?
Seems that qemuarm is already in openembedded-core.
Cheers,
Bartłomiej

Thank you! I know that. But then I try to add RAUC meta layer or compile RAUC in this emulator I always have problems...

Hi,
Maybe something from https://layers.openembedded.org/layerindex/branch/master/machines/?q=qemu&search=1 ?
Seems that qemuarm is already in openembedded-core.
Cheers,
Bartłomiej

Thank you! I know that. But then I try to add RAUC meta layer or compile RAUC in this emulator I always have problems...

Thank you! I know that.

Ah, sorry :)
I never tried to use qemuarm. I don't even sure what bootloader is used when using with qemu. If there is possibility to run uboot there then boot.cmd script maybe useful.

Do exist some way to run ARM applications in qemux86

I remember that qemu offers qemu-static-user or something like that. With this I was able to chroot into arm rootfs environment on x86-64 host. Probably this is not great idea to insert qemu-static-user into qemu86 image in order to run arm application (with whole arm rootfs also).

Thank you! I know that.

Ah, sorry :)
I never tried to use qemuarm. I don't even sure what bootloader is used when using with qemu. If there is possibility to run uboot there then boot.cmd script maybe useful.

Do exist some way to run ARM applications in qemux86

I remember that qemu offers qemu-static-user or something like that. With this I was able to chroot into arm rootfs environment on x86-64 host. Probably this is not great idea to insert qemu-static-user into qemu86 image in order to run arm application (with whole arm rootfs also).

Thank you! I know that.

Ah, sorry :)
I never tried to use qemuarm. I don't even sure what bootloader is used when using with qemu. If there is possibility to run uboot there then boot.cmd script maybe useful.

Do exist some way to run ARM applications in qemux86

I remember that qemu offers qemu-static-user or something like that. With this I was able to chroot into arm rootfs environment on x86-64 host. Probably this is not great idea to insert qemu-static-user into qemu86 image in order to run arm application (with whole arm rootfs also).

Thank you for your answer!  If you in future will find some solution, please share it with me!

Thank you! I know that.

Ah, sorry :)
I never tried to use qemuarm. I don't even sure what bootloader is used when using with qemu. If there is possibility to run uboot there then boot.cmd script maybe useful.

Do exist some way to run ARM applications in qemux86

I remember that qemu offers qemu-static-user or something like that. With this I was able to chroot into arm rootfs environment on x86-64 host. Probably this is not great idea to insert qemu-static-user into qemu86 image in order to run arm application (with whole arm rootfs also).

Thank you for your answer!  If you in future will find some solution, please share it with me!


Addressing documentation gaps, using Ruff for linting/formatting, and removing Python 3.7 support

Overview
In this pull request, I'm addressing the documentation-related comments from #28. In addition, I'm implementing Ruff as our linter/formatter of choice (thanks @jdawang for the help on this one).
I'm also removing references to our readthedocs documentation.

Codecov Report
Attention: Patch coverage is 87.75510% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 96.30%. Comparing base (ef2c16a) to head (86dfe3b).

Files
Patch %
Lines

lazyscribe/artifacts/joblib.py
42.85%
4 Missing :warning:

lazyscribe/project.py
90.00%
1 Missing :warning:

tests/test_project.py
85.71%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #38      +/-   ##
===========================================
- Coverage    96.41%   96.30%   -0.11%
===========================================
  Files           19       19
  Lines         1003     1002       -1
===========================================
- Hits           967      965       -2
- Misses          36       37       +1

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


Domain name parsing in shell commands

Shell commands should accept both domain ID and domain name. E.g.
xu console DomD

and
xu console 1

Should do the same (providing that DomD have id 1)

In my opinion It's overhead from Zephyr point of view. What should be there is smth like "xu list" which should list name/xen_id/. Then ids used in all other commands.
 : <state ::= "created" | "running" | "paused";>
From Zephyr point of view there should be always static (configurable) number of supported domains and it's probably time to strictly define domainID/domainNum from Zephyr point of view for cmdline. Of course, It potentially might be possible to have static and dynamic domains (static - configured statically, dynamic - dominfo obtained from some source), but over all number of domains will always be static.

We already have AOS use case where they download domains over internet and run them. In this case number of domains is practically unbound. It is limited only by number of free resources.

I think no need to play with dom names and better (a) use numbering not connected to Xen domain id (b) add "list" command to obtain Xen domain id.

What is the purpose of the separate domain number then?
I want interface to resemble used in "xl" tool as it is already familiar for almost everyone working with Xen.

What is the purpose of the separate domain number then?
I want interface to resemble used in "xl" tool as it is already familiar for almost everyone working with Xen.

I meant (a) or (b).
If you want the same functionality as in XEN Linux dom0 - use linux. If you port all of it in Zephyr - you'll get the same problems and disadvantages as in the Linux dom0, so what will be the sense of doing it.
And xen console here definitely not a product feature.

It is not a product feature, but we, as developers, spending too much time in the console. So it is in our interest to have convenient console interface.
Anyways, I agree with you. We need xu list command. I am surprised that it is not implemented yet, actually.

not only 'xu list', but also some way to retrieve and maintain current xen state. Here I'm referring to domains created not by dom0 (dom0less boot), which we might/might not wanna control, but we definitely want console access in case "hvc0" is used.
Some summary:

dom ctrl commands should accept xen_dom_id
xen_dom_id is known or can be obtained through xu list

potential addon:

xu update command to retrieve Xen state, so foreign xen_dom_id can be used at least for HVC console access

Well, I am no sure if dom0 can access dom0less HVC consoles. AFAIK, those consoles are managed by Xen directly. Is there an API to switch dom0less HVC to Dom0 console server?


Generate .gitignore using gitignore.io

What's the problem?
.gitignore files are not generated with gitignore.io
How can it be fixed?
I found two .gitignore (in stackle_app/ and stackle_api/) files which should be generated with gitignore.io. Stackle is built on MEAN stack so I'll use this technology (Node for _api and Angular for _app) to generate new .gitignore files.

I think since the stackle_app uses Bower, we have to include bower also.

@TheLukaszNs You are good to go. Let's generate the .gitignore file with the above discussed technologies.


how to make 3d text in babylon.js

how to make 3d text in babylon.js

@deltakosh can we re-open this issue as a feature request?
Thanks!

Actually a contributor proposed this solution : https://forum.babylonjs.com/t/3d-text-in-babylon/253
Would that fit your need ?

Thank you for pointing me @sebavan, the examples doesn't work, I'll open an issue on extensions repo.

I think posting a bug on the forum could work as well as the other is also on the forum :)

I asked on the forum thread as it looks like the server used in the demo is having a cert issue and as it it an external contrib, we do not own the servers to fix it.


Adding ant build script to build umple parser

Merging of this PR has been delayed for an extended period, since it is not well documented.
My understanding is the following: If within Umple end-user code, one wants to be able to parse, one needs to call Umple's parsing features, which are not part of the compiler, but are a separate feature writen in Umple. Therefore this PR builds a jar that can be incorporated in end-user Umple code to enable parsing.
But testing and example cases are needed.


[BUG] CI failed to get network, response with 404

Describe the bug

To Reproduce
Steps to reproduce the behavior:

create pr
check ci result,sometimes ci failed due to this error.

Expected behavior

ci pass
Log

 failed to get network, response with 404, {"type":"error","links":{},"code":"NotFound","message":"network-attachment-definitions.k8s.cni.cncf.io \"rhq7t\" not found","status":404,"type":"error"}

Environment:

Harvester ISO version:
Installation Mode: ISO/app-mode
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

Close in favor of #500


Latest Update MacOS

With the latest Discord update The installer worked fine(using the 0.2.82) but I lost the emotes, the themes load normally tho.

use this https://github.com/rauenzi/BetterDiscordApp/releases

Ty very much, fixed. I don't know why I couldn't find it. I'll close this!


Fix center alignment on avatars

While fixing issue https://github.com/python-discord/seasonalbot/issues/78 I noticed none of the avatars were perfectly centered.
This commit fixes the vertical and horizontal alignment on all of the avatars in relation to the icon itself (not including the shadows).

You're likely going to hate me, but I've got a PR pending that actually deletes these entirely and uses instead the branding repository. Sorry!

Righto, I should probably check the PRs before submitting my own, my bad.

Definitely not your fault. That PR is a bit... long to look through.
I should have updated my Issue ticket. Thanks though for making the effort. Feel free to visit the branding repo to address positioning on those resources though, because they're actually in the same situation.


expand crypto option

Not sure this is of interest, but I wanted to try plugging in wasm-crypto in place of hypercore-crypto to use signatures over the Ristretto group. This PR makes it possible to specify a keyPair function that hypercore will use to generate keys, along with the size of keys/signatures. lukeburns/wasm-crypto has an api matching that of hypercore-crypto that can be used in the following example.
var hypercore = require('hypercore')
var { keyPair, sign, verify } = require('wasm-crypto')

var crypto = {
  keyPair,
  sign (data, sk, cb) {
    return cb(null, sign(data, sk))
  },
  verify (data, sig, pk, cb) {
    return cb(null, verify(data, sig, pk))
  },
  secretKeySize: 32, // 32-byte secret keys
  publicKeySize: 32,
  signatureSize: 64
}

var feed = hypercore('./tmp', { valueEncoding: 'json', crypto })

feed.append({
  hello: 'world'
})

feed.append({
  hej: 'verden'
})

feed.append({
  hola: 'mundo'
})

feed.flush(function () {
  console.log('Appended 3 more blocks, %d in total (%d bytes)\n', feed.length, feed.byteLength)

  feed.createReadStream()
    .on('data', console.log)
    .on('end', console.log.bind(console, '\n(end)'))
})

Closing cause old and lots have changed


tf2fhe: Figure out the correct support for memref globals in the pipeline

Right now, the tf2fhe pipeline from #267 is blocked on the following issue from hello_world, see this paste https://gist.github.com/asraa/97e95df7b42b84bcf738e6ae5434da9d for the partial debug output.
    %0:6 = secret.generic {
      %14 = memref.get_global @__constant_16x1xi8 : memref<16x1xi8>
      %15 = memref.get_global @__constant_16xi32 : memref<16xi32>
      %16 = memref.get_global @__constant_16x16xi8 : memref<16x16xi8>
      %17 = memref.get_global @__constant_16xi32_0 : memref<16xi32>
      %18 = memref.get_global @__constant_1x16xi8 : memref<1x16xi8>
      %alloc = memref.alloc() {alignment = 64 : i64} : memref<1x16xi8>
      secret.yield %14, %15, %16, %17, %18, %alloc : memref<16x1xi8>, memref<16xi32>, memref<16x16xi8>, memref<16xi32>, memref<1x16xi8>, memref<1x16xi8>
    } -> (!secret.secret<memref<16x1xi8>>, !secret.secret<memref<16xi32>>, !secret.secret<memref<16x16xi8>>, !secret.secret<memref<16xi32>>, !secret.secret<memref<1x16xi8>>, !secret.secret<memref<1x16xi8>>)
    affine.for %arg1 = 0 to 1 {
      affine.for %arg2 = 0 to 16 {
        secret.generic ins(%0#0, %0#5 : !secret.secret<memref<16x1xi8>>, !secret.secret<memref<1x16xi8>>) {
        ^bb0(%arg3: memref<16x1xi8>, %arg4: memref<1x16xi8>):
          %14 = affine.load %arg3[%arg2, %arg1] : memref<16x1xi8>
          affine.store %14, %arg4[%arg1, %arg2] : memref<1x16xi8>
          secret.yield
        }
      }
    }

In this, you can see memref.get_globals that have been wrapped in a secret.generic.
These are plain contstants, and so may not need this wrapping, so perhaps some data flow analysis is needed for distribute-secret-generic, or I can also assume that these values are to be trivially encrypted and hoisted outside the generic.
The current choke point is that we "assume" we must yosys-optimize this no-input region...

Ideas:

Only run yosys-optimizer when the body has some arithmetic instruction that we need to booleanize
Ops like memref.get_global, affine.load and affine.store don't really need to be wrapped in a secret.generic body. Should they just be hoisted out of the body? I think we would only trivially encrypt the loaded values that are involved in the ciphertext ops (the logic from comb-to-cggi does this)


character plunge frames/attack implementation - airborne from xianyun

In addition to my comment re setting status, every jump action should also probably return an error (and therefore ending the sim) if already airborne (i.e. jump, jump should crash the sim).
This is because if we don't simulate slow falling to ground, then you can't jump again while in mid air

In addition to my comment re setting status, every jump action should also probably return an error (and therefore ending the sim) if already airborne (i.e. jump, jump should crash the sim).
This is because if we don't simulate slow falling to ground, then you can't jump again while in mid air

Hmm I thought this would be like globally applied to all characters (no actions except plunge can be done while airborne), and it's up to the individual characters to override

In addition to my comment re setting status, every jump action should also probably return an error (and therefore ending the sim) if already airborne (i.e. jump, jump should crash the sim).
This is because if we don't simulate slow falling to ground, then you can't jump again while in mid air

retracted. already handled here. i forgot
https://github.com/genshinsim/gcsim/blob/cb8fccbc4ce4f45c48a55e9db081cc621dd3d538/pkg/core/player/exec.go#L127-L129


Decoding failed: Syntax error

Hi all,
This error comes up when trying to save attributes. I know at some point two fixes where suggested and merged but i still get this error when trying to modify and then save my attributes. any suggestions?

turn out to be a compatibility issue with a go mage plugin. sorted.

Hi,
we have the same problem. How did you solve it?

@rtjc
search for jsonDecode and make sure its not getting null inputs, follow this:
https://github.com/Inchoo/Inchoo_PHP7/pull/31/files


Add better decoupled support to python client

Adds enable_empty_final_response arg (default False) to tritonclient.grpc.async_stream_infer to opt-in to receiving an empty response with response.paramters["triton_final_response"] == True when a decoupled model sends a nullptr response with the TRITONSERVER_RESPONSE_COMPLETE_FINAL flag.

This PR only changes the python client. Since the C++ client doesn't currently expose response parameters (DLIS-2446), I don't want to expose the request parameter in InferOptions yet to avoid confusion.
Testing added to L0_decoupled for now.
Server PR: https://github.com/triton-inference-server/server/pull/5878

This PR only changes the python client. Since the C++ client doesn't currently expose response parameters (DLIS-2446), I don't want to expose the request parameter in InferOptions yet to avoid confusion.

CC @debermudez @matthewkotila for viz. Adding this on C++ client should unblock PA.


IOnlineMeetingRequest CreateAsync fails with Code: BadRequest Code: BadRequest Message: Invalid request.

I'm trying to use IOnlineMeetingRequest to create an online meeting. I'm building up the OnlineMeeting object and passing it to CreateAsync. However, its coming back with BadRequest Code: BadRequest Message: Invalid request.
var from = turnContext.Activity.From.AadObjectId;
var cBuilder = new  OnlineMeetingRequestBuilder("https://graph.microsoft.com/beta", bc);
IOnlineMeetingRequest r = cBuilder.Request();

var m = new OnlineMeeting();
m.MeetingType = MeetingType.MeetNow;
m.Participants = new MeetingParticipants();

var part1 = new MeetingParticipantInfo() {
    Identity = new IdentitySet() {
         User = new Identity() {
                Id = from } } };

m.Participants.Organizer = part1;
m.Subject = turnContext.Activity.Text;
var mr = await r.CreateAsync(m);

However, using fiddler I've taken the body and the auth headers and used them directly in postman, which creates the meeting without a problem.
The json in the body is as follows, I cant see anything wrong with it.

{<EMAIL_ADDRESS>"#microsoft.graph.onlineMeeting",
"subject": "help me",
"participants": {
<EMAIL_ADDRESS>"#microsoft.graph.meetingParticipants",
"organizer": {
<EMAIL_ADDRESS>"#microsoft.graph.meetingParticipantInfo",
"identity": {
<EMAIL_ADDRESS>"#microsoft.graph.identitySet",
"user": {
<EMAIL_ADDRESS>"#microsoft.graph.identity",
"id": "[MY USER GUID]"
}
}
}
},
"meetingType": "meetNow"
}

The returned data when using this in postman is

<EMAIL_ADDRESS>"https://graph.microsoft.com/beta/$metadata#app/onlineMeetings/$entity",

Just to note, I have also updated the template Auth providers to use:
"https://login.microsoftonline.com/{tenant}";
as the authority template instead of
"https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token";
so that it works with the ADAL v4 libraries.

The OnlineMeetingRequestBuilder needs the full Online meeting url:
  var cBuilder = new OnlineMeetingRequestBuilder("https://graph.microsoft.com/beta/app/onlineMeetings", bc);

We plan on updating all the samples to use ADAL in the upcoming weeks.  Thanks for the hint.
Your OnlineMeeting request is correct.  One suggestion is that you use the DefaultContainerClient to build the request, instead of building it yourself.  This would avoid future invalid URI problems, as the client constructs the right URIs.
var onlineMeeting = new Microsoft.Graph.OnlineMeeting()
{
    ...
};
var meetingRequest = statelessClient.App.OnlineMeetings.Request();
var meeting = await meetingRequest.AddAsync(onlineMeeting).ConfigureAwait(false);

Brill thanks, I thought there must be a way to get it without entering the url


[yaml] move dimensions from under properties field to under dimensions field

context: https://github.com/flutter/cocoon/pull/1839#discussion_r870792041
Currently in ci.yaml, swarming dimensions such as 'cpu' is currently supplied under 'properties' field. Once https://github.com/flutter/cocoon/pull/1839 and https://flutter-review.googlesource.com/c/infra/+/29880 get merged in, we would have support for dimension fields in ci.yaml. And we would like to remove the logic of supporting dimensions under 'properties' field.

Closing as duplicate of https://github.com/flutter/flutter/issues/113732


The test suite is too slow

The test suite currently takes 5 minutes or more to execute. It's almost certainly spending most of the time creating and destroying databases.

It's fast enough now. Longer running tests are now integration tests and can be run separately.


Add ks registry describe command

Intended usage:
$ ks registry describe incubator
https://www.github.com/ksonnet/parts/incubator

Duplicate of a subset of #38.


Disabling/Enabling drawer sections

Hi,
I thought it would be great if we could enable and disable sections at our convenience, like buttons.
Something like mySection.setEnabled(false);
For instance, in my case I have some sections in my drawer that should be clickable only if the device is connected to the Internet.
Thanks.

I think setTouchable(boolean) is what you're looking for. If I look at the code, it won't run the listeners and callbacks when that's false. It doesn't change the UI, so you can't tell if a section is touchable or not (only by clicking it, touchable items will have ripple or different background).

Well then it's not what I'm looking for. I need the section to be greyed
out.
On Mon, Mar 2, 2015 at 6:41 PM Floris Westerman<EMAIL_ADDRESS>wrote:

I think setTouchable(boolean) is what you're looking for. If I look at the
code, it won't run the listeners and callbacks when that's false. It
doesn't change the UI, so you can't tell if a section is touchable or not
(only by clicking it, touchable items will have ripple or different
background).
—
Reply to this email directly or view it on GitHub
https://github.com/neokree/MaterialNavigationDrawer/issues/207#issuecomment-76759717
.

You can hack around that:
View sectionView = section.getView();
TextView sectionTitleView = (TextView) sectionView.findViewById(R.id.section_text); // not sure if you can access that, it's in the R of the library
sectionTitleView.setTextColor(/* your color here */);


Additional docdown commits to 0.29

https://github.com/facebook/react-native/commit/7ac931ee9b5e06ef1935d18e5b6a1e282db16c56 added most of our documentation lockdown commits to the next release (0.29). This adds one more major document that just landed (NavigationExperimental guide) and a minor color change.
Test Plan:

By analyzing the blame information on this pull request, we identified @hramos and @caabernathy to be potential reviewers.

cc @grabbou, this one was picked into 0.29

Ok, thanks for the update


fix(docs): update example output from provision-ec2-cluster.sh

Also cleans up language in "Installing Deis" index doc to mention 3 machines as the minimum, not 1.

:shipit:

Code LGTM


MyFontIconsGlyphs does not distinguish hexa and decimal numbers

Example read in:
const GFXfont MyFontIcons PROGMEM = {
(uint8_t *)MyFontIconsBitmaps,
(GFXglyph *)MyFontIconsGlyphs, 32, 80,  24};
Example output, bug 0x32 and 0x80 instead of 32 and 80:
const GFXfont MyFontIcons PROGMEM = {
(uint8_t *)MyFontIconsBitmaps,
(GFXglyph *)MyFontIconsGlyphs, 0x32, 0x80,  24};

Thanks for the report. I'm quite busy on other projects right now but I'll have a look ASAP !

Hi
https://github.com/tchapi/Adafruit-GFX-Font-Customiser/commit/8bc317623f52e00e51831a521134ef1b60bde569 should fix it. Would you be kind enough to test it ?
Thanks a lot


nxp: move HAL to external repo

Use external repository https://github.com/zephyrproject-rtos/hal_nxp for
the NXP HAL.
Includes #16039 and #16044

@nashif Did you mean to only move the NXP HALs in this PR?

@nashif Did you mean to only move the NXP HALs in this PR?

all HALs will be moved. I am going through them one by one right now.


PHP5 Type Hints

Any thoughts on adding TypeHints to attributes that take another object instead of a String? E.g., https://github.com/spatie/schema-org/blob/master/src/FoodEstablishment.php#L69 which is of type  Rating. I realize that there are some attributes which take a String or Object. Not sure the best approach is there.

I was considering this, decided it wasn't really worth it. My thoughts:

It would add complexity to the generator, it would only allowed to add a type hint if there's only one possible property type
Since most properties also allow strings, this would only apply to a small subset of properties
It wouldn't provide any value when for the developer experience since the phpdocs already take care of that
It's kind of a nice-to-have to be able to pass strings in—even though a type is required—if you're doing some custom stuff

In short: It wouldn't provide enough value imo. Also, adding this in now would be a breaking change in semver.


Mention unordered dictionary iteration notes in documentation

Python doesn't guarantee an ordered iteration.

Ha, they don't have docs yet...


DOC: add section on global optimizers to tutorial

CI results are passing now, only issue is the already solved PyPy test failure on a warning from signal.stft.

Here is a link to the built docs: https://10289-1460385-gh.circle-artifacts.com/0/html-scipyorg/tutorial/optimize.html#global-optimization
Should be good to merge. @andyfaff want to have a look?

This is a straightforward tutorial improvement, I'll merge it soon if there are no comments.

Thanks Ralf

Added a very brief "Other changes" release note--not sure if appropriate.

Added a very brief "Other changes" release note--not sure if appropriate.

That's fine I think. Would be useful if we do that more often then. E.g. for this release one thing I can think of is the rework of the stats.distributions tutorials.


Removing time from ref period start and end dates

What and why?
How to test?
Trello

/deploy baileyw

unfortunately that's not possible because they share the event table and the timestamp column with the reminders and nudge events that do require time

/deploy baileyw

/deploy baileyw

/deploy baileyw

/deploy baileyw

/deploy baileyw


Enable the disabled completion tests

Purpose

Reenable the language server completion tests

Fixes #20183
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@37b6c22). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #20242   +/-   ##
=========================================
  Coverage          ?   15.21%
=========================================
  Files             ?       50
  Lines             ?     1341
  Branches          ?      208
=========================================
  Hits              ?      204
  Misses            ?     1121
  Partials          ?       16

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 37b6c22...9ac0628. Read the comment docs.


Matter has released <IP_ADDRESS> version

The Android library probably should be updated to this release.
https://github.com/project-chip/connectedhomeip/releases/tag/v<IP_ADDRESS>

Agree.
Looks like TE_23_02/rc2 is even more up-to-date. I'll use that.

Done in PR #78.


 element's innerHTML should not be converted.

Like <pre> <script> and <style>，the contents in <textarea>  should not be converted.
See also #303

Closing as stale, merge conflicts. Correct conflicts to have reopened.


docs(guide/Unit Testing): Changed $scope = {} to $scope = $rootScope.…

…$new()
{} will just create an empty object. This will break if the module uses for example $watch or others.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

I signed it!

I guess that although in this case it is not necessary it doesn't do any harm and is more general.

Looks like the CLA didn't go through. Did you make sure the email address is the same as the one in the commit?

I signed it.

Thanks @lisapfisterer !


support parsing unix abstract socket

tendermint core can accept unix abstract socket, but this crate can NOT parse it.
this pr fix this issue.
ref:

man 7 unix on Linux
https://golang-examples.tumblr.com/post/92025745979/pitfall-of-abstract-unix-domain-socket-address-in-go

Codecov Report

Merging #1205 (3c03b9d) into main (00401ae) will increase coverage by 0.0%.
The diff coverage is 50.0%.

@@          Coverage Diff          @@
##            main   #1205   +/-   ##
=====================================
  Coverage   64.0%   64.0%
=====================================
  Files        250     250
  Lines      21554   21560    +6
=====================================
+ Hits       13798   13805    +7
+ Misses      7756    7755    -1

Impacted Files
Coverage Δ

config/src/net.rs
90.1% <50.0%> (-2.1%)
:arrow_down:

testgen/src/header.rs
82.9% <0.0%> (-0.6%)
:arrow_down:

tendermint/src/node.rs
63.9% <0.0%> (+0.1%)
:arrow_up:

light-client-verifier/src/types.rs
38.7% <0.0%> (+0.2%)
:arrow_up:

testgen/src/vote.rs
84.8% <0.0%> (+0.8%)
:arrow_up:

tendermint/src/block/commit_sig.rs
80.3% <0.0%> (+1.9%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


SW-5318 Add endpoints for create and assign (create many) for ParticipantProjectSpecies

POST /api/v1/accelerator/projects/species endpoint for creating a single entry
POST /api/v1/accelerator/projects/species/assign endpoint for bulk assigning species to projects

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1933  👈
#1932
#1924
#1919
#1918
#1917
#1916
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

May 8, 12:09 PM EDT: @nickgraz started a stack merge that includes this pull request via Graphite.


I get this issue

when i run "npm run outbound" i get this issue

Thank You so much now i see that typing error in env file
and can i know how to handle inbound calls with this

@chamanthrosh it should be the same process, are you running into an error?

how can i change this one "Hello! I understand you're looking for a pair of AirPods, is that correct?" that comes when we first pickup the phone. I tried to change that in gpt-service but it didn't change always say the above one when I pickup the phone

If you changed the system prompts in gpt-service, you'll also need to update the incoming voice from Twilio here: https://github.com/twilio-labs/call-gpt/blob/78e88db5a3036ecbeef9c0f53982af77e0083a5a/scripts/inbound-call.js#L15.

I still get this "Hello! I understand you're looking for a pair of AirPods, is that correct?" as the first thing when i answer the call these are the changes that i have done can you help to find out how can i change that one

Are you sure you've deployed / saved your code properly?

@ChamathRosh I believe this is the line you are looking to change: https://github.com/twilio-labs/call-gpt/blob/main/app.js#L51
You can also update this line to give the bot context about what intro message was said: https://github.com/twilio-labs/call-gpt/blob/main/services/gpt-service.js#L20


refactor: separate styles from templete, more redability

@rahul-vashishtha Styles are separated from template and added into styles section check once.


As a developer, I want to run vulnerability code scans as part of my CI/CD pipeline, so that I know my code is secure.

Description
From Geoplatform:
Here are some suggested tools to use. As long as the tool can detect vulnerabilities, flaws and improper configurations, it’s really up to you if you would rather use something else.
Web Application Scans:
OWASP ZAP (>https://www.zaproxy.org/<)
Pentest-Tools Website vulnerability Scanner (>https://pentest-tools.com/website-vulnerability-scanning/website-scanner<)
Snyk (>https://snyk.io/website-scanner/<)
Source Code Analysis Tools:
CodeQL (https://github.com/github/codeql)Steps to configure scans - https://docs.github.com/en/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository
SonarQube (>https://www.sonarqube.org/<)
Fluid Attack’s Scanner (>https://docs.fluidattacks.com/machine/scanner/plans/foss<)
Solution
Identify and implement a code scanner for CI/CD.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Links to user research or other resources
Tasks

[ ] Pick scanner
[ ] Implement in CI/CD
[ ] Send results to Geoplatform

Definition of "Done"

Ask Geoplatform if there is anything baked in.

Testing out CodeQL set up because of out of the box open source repo support on Github with Github Actions. Performing an OWASP ZAP test as well.

I wasn't able to finish confirming that the setup is correct for this before heading out. The checks appear to be passing, but I don't know that they should. For example, running npm audit on the client directory reveals a number of issues, none of which seem to be caught by CodeQL. I'd expect CodeQL to raise some of these same issues of not all.
@NatHillardUSDS @esfoobar-usds @ginabeena would any of y'all be able to take a look at this before we close the sprint?

We want to do these security checks as part of the build and deploy workflow. Looks like the runtime is pretty small. Added benefit of failing in one place.

(just popping in, @switzerc-usds sent me this asking if I had comments).
I think to say anything useful I'd need a bit of background information. Do you have an architecture diagram of the site and a description of what it does?
Can people write data to the site? Do people have user accounts? Are there read only datasets? These would change what's worth scanning, and for what.

@sverchdotgov We do have an architecture diagram! We have a bunch of info in the docs directory of the repo, although admittedly I think the architecture diagram itself there is out of date. I will update it tomorrow. In the meantime, here is a summary:
The front end is a static site generated by Gatsby JS. It lives on an S3 bucket with a Cloudfront CDN. There is no auth or database. The map on our site is created with the MapLibre open source library, which is an open source fork of MapBox. The map uses data that our backend publishes at static files (tiles) on S3 and with a Cloudfront CDN.
Our backend is serverless. It consists of a few python functions that get run as Github Actions. These functions ETL raw data from specified open data locations, then use that data to calculate a score (or currently, multiple scores), and then publish that data as geojson at two zoom levels and then publish that as uncompressed tiles. All files generates in this backend process live on S3.

Status update: We have dependabot and codeql set up and running, and we are actively addressing any identified issues as they are identified by dependabot and by codeql during CI/CD on pull requests. We should be good to go: since our infrastructure is entirely static assets on S3 with a CDN, we don't need application scanning and doing things like pen-tests or DDOS tests would essentially just be testing AWS, not us, and therefore be redundant.


BZ-1221380: remove use of cookies (that have 4k limit) what, depending

of the number of roles/groups of a user, can be reached. new solution
patches the host page (UserHostPageFilter) with user's info that now
is supported on errai client security.

I'm getting this error after merging this PR and running dashbuilder-webapp:
ERROR [org.jboss.as.controller.management-operation] JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "ROOT.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit."ROOT.war".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ROOT.war"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: org.jboss.errai.security.server.servlet.UserHostPageFilter from [Module "deployment.ROOT.war:main" from Service Module Loader]
Caused by: java.lang.ClassNotFoundException: org.jboss.errai.security.server.servlet.UserHostPageFilter from [Module "deployment.ROOT.war:main" from Service Module Loader]"}}
Not sure what's the right Errai version. Currently we are on:
<version.org.jboss.errai>3.2.0-SNAPSHOT</version.org.jboss.errai>

Did you try a mvn clean install -U ?

Reviewed & merged on master.
Thanks Alex!


Docker Training

All of the team members must study Docker to some degree, in a way that the whole team would be comfortable with using the technology, meanwhile the Dev-ops must create the docker container for posterior use.

If anyone is interested, I have a Udemy course to recommend on the topic, it touches more complex topics and might be useful for the Dev-ops :

https://www.udemy.com/share/1001ESAkMedVtUR34=/

Free Docker Course on Udemy: https://www.udemy.com/docker-essentials/

Os membros realizaram o treinamento de docker e sabem subir containers.


How to set a system prompt for RAG implementation for Inference for Gemma 2b on IOS ?

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
IOS
MediaPipe Tasks SDK version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
LLM inference
Programming Language and version (e.g. C++, Python, Java)
SwiftUI
Describe the actual behavior
Currently we can load the gemma 2b on IOS and chat with it in general . But if we want to set some system prompt like You will act as this agent or a bot and your name is this , then How can user set this . As there is only an function to genrate response taking users query .
Describe the expected behaviour
Currently we can load the gemma 2b on IOS and chat with it in general . But if we want to set some system prompt like You will act as this agent or a bot and your name is this , then How can user set this .
Standalone code/steps you may have used to try to get what you need
.

Other info / Complete Logs
No response

Hi @omkar806,
At present, this feature is unavailable. Should you wish to incorporate it, we kindly ask you to submit a feature request outlining the potential benefits for the community upon its implementation. Subsequently, we will review and forward your request to the appropriate team. Based on the ensuing discussion and demand, we can consider implementing it in the near future.
Thank you!!

okay I will add a feature request for this

We are working on making it easier to build more advanced use case on top of our LLM Inference. That being said, you can already tell the model to act like an agent by simply including this instruction in the prompt you are using. We will have more examples for this in the coming weeks.

That being said, you can already tell the model to act like an agent by simply including this instruction in the prompt you are using. We will have more examples for this in the coming weeks.

Hi: Has this guide been published?

Hi,
Sorry we don't have any new guides published on RAG yet, but we do plan to launch an example of a RAG pipeline with a Gemma model soon. I noticed that this issue is specifically asking about System prompts, but obviously a full RAG example would involve more than just prompting the model in a particular way. We hope to launch an example that shows information retrieval which is then fed to the model for inference, as is typical in RAG workflows.


Would be useful if command node output had a property that showed what command was executed

One of the ideas I've thought about for a while was to make a subflow that verified a device state changed to the expected value after a command node command was issued.
It would be much easier to do post-processing after a command node if the command that the command node executed was in the output.
Potentially something like:
msg.command_ran
msg.arguments_used
Any thoughts on the value of adding something like that to the output msg from the command mode?

Agree
The current output is the Maker API output (in msg.response) which is the device state before executing command ...
Do you think of any consequence to use the same name than input?
msg.command
msg.arguments

Agree
The current output is the Maker API output (in msg.response) which is the device state before executing command ...
Do you think of any consequence to use the same name than input?
msg.command
msg.arguments

Sorry I missed this... I got the notification email - but must have been busy, and then forgot about it!
The issue re-using msg.command and msg.arguments would be when users are doing multiple commands in serial. They would have to be sure to overwrite msg.command/msg.arguments, or delete them if they are specifying the command in the downstream command node.
Would probably be better in a different variable(s).

Sorry I missed this... I got the notification email - but must have been busy, and then forgot about it!
The issue re-using msg.command and msg.arguments would be when users are doing multiple commands in serial. They would have to be sure to overwrite msg.command/msg.arguments, or delete them if they are specifying the command in the downstream command node.
Would probably be better in a different variable(s).

Because sometimes commands do not work (maker api issue, mesh congestion, etc) I have made a few subflows that check device status after a command is issued, and re-issues the command if the device status doesn't match the commanded action (I only support a small subset of commands - on/off/setLevel/a few custom device specific commands).
In those subflows I do end up using msg.command and msg.arguments (where appropriate).
So I guess I changed my opinion on this. I think it would be OK just storing the command and arguments in msg.command and msg.arguments in all cases.


Error when specifying cartopy projection settings

When projection settings are passed to cartopy inline with the geoviews settings shebang, multi-parameter setting specifications will fail to work correctly.
For instance, here's a minimum working example:
import holoviews as hv
import geoviews as gv
import geoviews.feature as gf
from cartopy import crs
hv.notebook_extension()
g = crs.Orthographic(central_longitude=-98, central_latitude=39)

%%opts Overlay [fig_size=250 projection=g]
gf.land * gf.ocean

Here's a minimum non-working example:
import holoviews as hv
import geoviews as gv
import geoviews.feature as gf
from cartopy import crs
hv.notebook_extension()

%%opts Overlay [fig_size=250 projection=crs.Orthographic(central_longitude=-98, central_latitude=39)]
gf.land * gf.ocean

The latter will raise a Warning that this combination of parameters has been ignored, and the resultant map will be centered on the default axis (0,0) instead of the desired one, (-98, 39).

Try taking out the space after "-98,". The opts magic parser is not as lenient as Python.

Yes, that's probably the answer.
Linked to https://github.com/ioam/holoviews/issues/270 and https://github.com/ioam/holoviews/issues/874

We should investigate whether there is a simple fix for this. The parser can be a bit hairy to fiddle with but there may be something easy we can do.

Closing since this is a known issue in holoviews.


[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H2, locale en-GB)   [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 12.0.1) [!] Android Studio (version 4.1)     ✗ Flutter plugin not installed; this adds Flutter specific functionality.     ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] IntelliJ IDEA Ultimate Edition (version 2019.3.2) [✓] VS Code (version 1.50.1) [✓] Connected device (1 available)

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H2, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[!] Android Studio (version 4.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.2)
[✓] VS Code (version 1.50.1)
[✓] Connected device (1 available)

Duplicate of #68274

Closing this as duplicate of 67986


connect search frontend to api and made food results component

connect /search-food component to its respective API
when users navigate to /search-food they can input a food name in the search button at the top and the user will be redirected to /search-food/<food_name_by_user_input> to see a list of the results
from there, users can select a food they want to see the details of.
I also:

added test,
set up navigation for the sidebar ( so when user clicks add food , they navigate to /search-food

Later, I will redirect the user to /food-item so the user can view the details of the respective food.
Question: do I have to test if it renders food items correctly? -> If it clicks a food from search-food results and goes to food item to see the details

To answer your question: testing if the correct food is rendered would be useful 🙂

Is this the intended styling?

yea, until wireframe is made


fix(grpc-gateway): handle null values in payload

Summary

#10658
Problem: When using the grpc-gateway plugin, if there is a null in the payload of the client request, such as:
{
    "step_id": "INT.L3-222",
    "step_parent_id": "INT.L2-64",
    "name": null
}

an error will be thrown: bad argument #2 to 'encode' (string expected for field 'object_type', got userdata), causing Kong to return 500 to the client, which is an error because Kong did not handle this edge case.
Cause: In JSON, null is valid and legal. However, after this payload is decoded by cjson, null actually becomes cjson.null in Kong, and its data type is userdata, but the name is defined as a string type in the proto file.
Solution: Use pcall to wrap the pb.encode function call, record the error log, and convert the error into a common client parameter error.
Checklist

[x] The Pull Request has tests
[x] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference

Fix #[issue number]

Please provide a useful summary in your pull request description. What is the problem, what is the cause, what is the solution. It can be short, but it needs to describe what the change is about.

updated

@hanshuebner Could you please cherry pick this change into EE?

@sabertobihwy does the fix accepts the JSON payload with null? or it will just throw an error says that "Null in Json"?

does the fix accepts the JSON payload with null? or it will just throw an error says that "Null in Json"?

it does't convert null in JSON payload to a string value, and will return failed to encode payload.

But that doesn't fix the actual problem right?
As per the suggestion from @attenuation https://github.com/Kong/kong/issues/10658#issuecomment-1507148837 and our expectation, the fix should allow null values irrespective of what client throws us.

the fix should allow null values irrespective of what client throws us.

The error occurred due to a type matching error in lua-protobuf. If you want to pass null to upstream after encoding, there should be other ways, including redefining the properties of the field in the proto file to allow the field to accept both string|null attributes.

@arunpk-zageno This PR has fit my suggestion. After patched this PR, Kong can not return 5xx error code, returning 400 error. 500 error means is Kong internal error, it will print a traceback in the error log, and this is not expected behavior.  The correct behavior is Kong at a very early age finds this mistake and tells customers that are not allowed to input.

Got it @attenuation , And thanks @sabertobihwy for the fix. Which version I could expect this fix?

I think it will released in 3.3

Sorry for iterative question, when can we expect the release?

Expected time is May 15th


572 admiral eric

Minor typos.
As per Stefan: fixed typo in "Parameters" section: should be order = vars(AVISIT, desc(AESEV)) instead of order = desc(AVISIT, desc(AESEV)).
As per Stefan: moved the "Handling of Missing Values" section after the "Parameters" section.
As per Stefan: added example code to Computation section.

@bundfussr Could you approve as well? It's currently blocked as you had requested changes in the past.


fix: use actual namespace instead of alias

When aliases are disabled in a Laravel project, we have to specify the entire FQCN. Third-parties that use aliases will cause errors, which this package did when we tried to update it.

@tpetry this fix isn't on the 1.0.0 release, could you release it please ?

@ElRochito Fixed with 1.0.1


RPC exception for custom message and code is added

JSONRPCException is added for the ability of creating custom errors (user defined message and code).
However, it's even better to have an ability to modify custom errors in request/response level. But, above suggestion is good too.
(I don't know why it failed in "The Travis CI build".)

I think this PR is fine, can you merge it @davidfischer ?

ping @davidfischer

I ran the tests manually and they all passed. Merging.


Can't load WebRTC native plugin on the Mac

Godot version
4.1.1
Plugin version
Latest Official Build
System information
Mac OS 13.3.1 (Ventura) M1 PRO
Issue description
I tried the official webrtc demo project.
Downloaded the native webrtc plugin and copied to root folder of the project.
On Debug start there is an error: Error loading extension: res://webrtc.gdextension
Steps to reproduce
Unpack the sample and put official libs to lib folder in the project.
Run the project on Mac M1.
Minimal reproduction project
sample-rtc-project.zip

Oh I see the folder structure seems wrong it should be in "webrtc" folder but I can't run demo because of
WebSocketClient not declared in the current scope. on multiplayer_client.gd

Oh I see the folder structure seems wrong it should be in "webrtc" folder

This issue is also being tracked in #118 and there is a bit more information there.

WebSocketClient not declared in the current scope

WebSocket classes have changed in Godot 4.0, check the updated demo here


Various catalog related fixes

Add your specific features or fixes

Resolves:
MWPW-147654
MWPW-147697
MWPW-147762
MWPW-147772
Test URLs:

Before: https://main--cc--adobecom.hlx.live/products/catalog/?martech=off
After: https://catalog-fixes--cc--adobecom.hlx.live/products/catalog?martech=off

@yesil Validated above tickets in Catalog https://catalog-fixes--cc--adobecom.hlx.live/products/catalog?martech=off
and fixes looks fine. Although regression on Kitchen sink and other a.com pages is pending - Tomorrow i'll be in whole day AHome related session/meeting, @afmicka will be validating regressions around thanks

@yesil @Roycethan If the PR is verified could you change the label to 'verified' and add 'ready for stage' once it can be merged to stage?

@aishwaryamathuria I'm waiting for validation from @afmicka  as well.
I'll add the label later today.

as discussed offline, we should stop with "uber" PR, and have one per ticket

@aishwaryamathuria this is ready for stage, thanks.

@yesil Can you take a look at the failing PSI checks as we cannot merge till the PSI check is successful

@aishwaryamathuria the catalog page has heavy UI components and the lighthouse score is not a regression. Same on main.
I propose to merge it as is.
Closer to go-live, we will perform another performance review and address findings if any.


Feature request: Whitelist default messages language

I'd like to be able to configure a language for all default translations. This would essentially treat any message that has a defaultMessage as a whitelisted item for the specified language.
{
  ...
  defaultMessagesLanguage: 'en',
}

Treat all messages with a defaultMessage set as "en" and add to whitelist_en.

I'm not sure why you would need that, since you don't need to maintain your default messages because you already have them in your components themselves. If you want to have a list is all default messages I'd recommend taking a look at the singleMessagesFile option.

Yes, but the tool still tells me I have untranslated keys for 'en' (which are the defaults). Am I doing something wrong?

I'm guessing you also include your default language into the languages array? You shouldn't have to do this, since this is a language where you don't need to maintain translations for. You should only have to include languages of which you want to maintain translations ( = all languages except your default language)
If I'm missing something please explain, I might not be fully understanding your issue.

Ah, yes - I'm including all languages in the array in order to load the messages later and feed them to react-intl based on the user's language choice. If I don't provide the en messages, react-intl whines very loudly in the console about it.

Hm, I'm not sure whats wrong, but if I provide undefined or an empty object {} into the messages prop of IntlProvider, react-intl correctly falls back to the defaultMessages. So I think that excluding your default language from the react-intl-translations-manager languages config, and providing an empty object as en messages should do the trick? As I think this is more an issue with react-intl than with this package, you might open a new issue there?
I'll close this issue for now, but if you have some more questions, just ask.

Alas, an empty object passed to messages still produces the error, but there is a ticket for it open already (yahoo/react-intl/issues/251).
Thanks for the help on this and for all the work on react-intl-translation-manager!

We also found ourselves wanting to have the default messages in en.json, and went for this approach:
import manageTranslations, {
  readMessageFiles,
  createSingleMessagesFile,
  getDefaultMessages
} from 'react-intl-translations-manager';

const messagesDirectory = 'src/locales/extractedMessages';
const translationsDirectory = 'src/locales';

// Output Default Messages
const extractedMessages = readMessageFiles(messagesDirectory);
createSingleMessagesFile({
  messages: getDefaultMessages(extractedMessages).messages,
  directory: translationsDirectory,
  fileName: 'en.json'
});

// Manage the Translations
manageTranslations({
  messagesDirectory,
  translationsDirectory,
  languages: ['sv']
});

Very elegant solution – I'll definitely give it a shot. Thank you!


Use git-publish to publish a single version are not recognized by patchew, I don't know if this is a git-publish issue or patchew issue #94

Patch
https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg07570.html
and
https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg07571.html
https://github.com/stefanha/git-publish/issues/94

With eyeball I don't see anything suspicious with the two patches. Will need to do some testing to tell...

@bonzini The server spits this upon importing above patches:
    self.model._meta.object_name
api.models.DoesNotExist: Topic matching query does not exist.
Internal Server Error: /api/import/
Traceback (most recent call last):
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/utils/decorators.py", line 67, in _wrapper
    return bound_func(*args, **kwargs)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/utils/decorators.py", line 63, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/opt/patchew/api/views.py", line 29, in dispatch
    return super(APIView, self).dispatch(request, *args, **kwargs)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/views/generic/base.py", line 88, in dispatch
    return handler(request, *args, **kwargs)
  File "/opt/patchew/api/views.py", line 47, in post
    r = self.handle(request, **params)
  File "/opt/patchew/api/views.py", line 195, in handle
    mbox, request.user
  File "/opt/patchew/api/models.py", line 509, in add_message_from_mbox
    if is_series_head
  File "/opt/patchew/api/models.py", line 552, in for_stripped_subject
    topic = self.get(pk=q[0]["topic"])
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/opt/patchew/venv/lib64/python3.4/site-packages/django/db/models/query.py", line 380, in get
    self.model._meta.object_name
api.models.DoesNotExist: Topic matching query does not exist.

This seems to be part of the Topic work.
I am not sure about the assumptions made by for_stripped_subject here, we seem to only set topic for series heads in add_message_from_mbox but here we query all messages with the stripped subject.
Maybe we want:
@@ -543,7 +544,7 @@ class QueuedSeries(models.Model):
 class TopicManager(models.Manager):
     def for_stripped_subject(self, stripped_subject):
         q = (
-            Message.objects.filter(stripped_subject=stripped_subject)
+            Message.objects.filter(stripped_subject=stripped_subject, topic__isnull=False)
             .order_by("date")
             .reverse()[:1]
             .values("topic")

Paolo, could you confirm?

Fixed by 6de904a6a92


Implement API to get address pool information

Blocked by #84 and #62.

See #87 for the reason why this get closed.


.com.de domain with namecheap not working

if i use and domain which has name.tld.tld2 the authentication fails with namecheap.
if i use my other domain like name.tld it workd perfectly. both the domains are in the same namecheap account.
anyone know why and how to solve it?
letsencrypt-dns | 2019-10-17 15:13:07 [19] | manual-auth-hook command "/var/lib/letsencrypt/hooks/authenticator.sh" returned error code 1
letsencrypt-dns | 2019-10-17 15:13:07 [19] | Error output from manual-auth-hook command authenticator.sh:
letsencrypt-dns | 2019-10-17 15:13:07 [19] | Traceback (most recent call last):
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/namecheap.py", line 121, in _authenticate
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     xml = self.client._call('namecheap.domains.getInfo', extra_payload)  # pylint: disable=protected-access
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 144, in _call
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     xml = self._fetch_xml(payload, extra_payload)
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 137, in _fetch_xml
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     raise ApiError(error.attrib['Number'], error.text)
letsencrypt-dns | 2019-10-17 15:13:07 [19] | namecheap.ApiError: 2030166 - Domain is invalid
letsencrypt-dns | 2019-10-17 15:13:07 [19] | During handling of the above exception, another exception occurred:
letsencrypt-dns | 2019-10-17 15:13:07 [19] | Traceback (most recent call last):
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File "/usr/local/bin/lexicon", line 10, in <module>
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     sys.exit(main())
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/cli.py", line 117, in main
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     results = client.execute()
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File
letsencrypt-dns | 2019-10-17 15:13:07 [19] | "/usr/local/lib/python3.7/site-packages/lexicon/client.py", line 71, in execute
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     self.provider.authenticate()
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/base.py", line 69, in authenticate
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     return self._authenticate()
letsencrypt-dns | 2019-10-17 15:13:07 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/namecheap.py", line 127, in _authenticate
letsencrypt-dns | 2019-10-17 15:13:07 [19] |     raise Exception('Authentication failed: `%s`' % str(err))
letsencrypt-dns | 2019-10-17 15:13:07 [19] | Exception: Authentication failed: `2030166 - Domain is invalid`
letsencrypt-dns | 2019-10-17 15:13:07 [19] | Waiting for verification...
letsencrypt-dns | 2019-10-17 15:13:09 [19] | Challenge failed for domain mikrotik.com.de
letsencrypt-dns | 2019-10-17 15:13:09 [19] | dns-01 challenge for mikrotik.com.de
letsencrypt-dns | 2019-10-17 15:13:09 [19] | Cleaning up challenges
letsencrypt-dns | 2019-10-17 15:13:09 [19] | Running manual-cleanup-hook command: /var/lib/letsencrypt/hooks/cleanup.sh
letsencrypt-dns | 2019-10-17 15:13:10 [19] | manual-cleanup-hook command "/var/lib/letsencrypt/hooks/cleanup.sh" returned error code 1
letsencrypt-dns | 2019-10-17 15:13:10 [19] | Error output from manual-cleanup-hook command cleanup.sh:
letsencrypt-dns | 2019-10-17 15:13:10 [19] | Traceback (most recent call last):
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/namecheap.py", line 121, in _authenticate
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     xml = self.client._call('namecheap.domains.getInfo', extra_payload)  # pylint: disable=protected-access
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 144, in _call
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     xml = self._fetch_xml(payload, extra_payload)
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 137, in _fetch_xml
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     raise ApiError(error.attrib['Number'], error.text)
letsencrypt-dns | 2019-10-17 15:13:10 [19] | namecheap.ApiError: 2030166 - Domain is invalid
letsencrypt-dns | 2019-10-17 15:13:10 [19] | During handling of the above exception, another exception occurred:
letsencrypt-dns | 2019-10-17 15:13:10 [19] | Traceback (most recent call last):
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/local/bin/lexicon", line 10, in <module>
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     sys.exit(main())
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/cli.py", line 117, in main
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     results = client.execute()
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/
letsencrypt-dns | 2019-10-17 15:13:10 [19] | local/lib/python3.7/site-packages/lexicon/client.py", line 71, in execute
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     self.provider.authenticate()
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/base.py", line 69, in authenticate
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     return self._authenticate()
letsencrypt-dns | 2019-10-17 15:13:10 [19] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/namecheap.py", line 127, in _authenticate
letsencrypt-dns | 2019-10-17 15:13:10 [19] |     raise Exception('Authentication failed: `%s`' % str(err))
letsencrypt-dns | 2019-10-17 15:13:10 [19] | Exception: Authentication failed: `2030166 - Domain is invalid`
letsencrypt-dns | 2019-10-17 15:13:10 [19] | Some challenges have failed.

I've got a similar problem with my namecheap domain at the moment, too. Tried downgrading to an older version but that didn't work. Maybe there were some recent changes to the namecheap api that didn't make it into lexicon yet? Anyhow, any help is much appreciated!
2019-12-03 15:10:58 [17] | >>> Creating a certificate for domain(s): -d *.example.org -d example.org
2019-12-03 15:10:59 [17] | Saving debug log to /etc/letsencrypt/logs/letsencrypt.log
2019-12-03 15:10:59 [17] | Plugins selected: Authenticator manual, Installer None
2019-12-03 15:10:59 [17] | Cert is due for renewal, auto-renewing...
2019-12-03 15:10:59 [17] | Renewing an existing certificate
2019-12-03 15:11:00 [17] | Performing the following challenges:
2019-12-03 15:11:00 [17] | dns-01 challenge for example.org
2019-12-03 15:11:00 [17] | dns-01 challenge for example.org
2019-12-03 15:11:00 [17] | Running manual-auth-hook command: /var/lib/letsencrypt/hooks/authenticator.sh
2019-12-03 15:11:04 [17] | Output from manual-auth-hook command authenticator.sh:
2019-12-03 15:11:04 [17] | Remote: 21
2019-12-03 15:11:04 [17] | To set: 22
2019-12-03 15:11:04 [17] | manual-auth-hook command "/var/lib/letsencrypt/hooks/authenticator.sh" returned error code 1
2019-12-03 15:11:04 [17] | Error output from manual-auth-hook command authenticator.sh:
2019-12-03 15:11:04 [17] | Traceback (most recent call last):
2019-12-03 15:11:04 [17] |   File "/usr/local/bin/lexicon", line 8, in <module>
2019-12-03 15:11:04 [17] |     sys.exit(main())
2019-12-03 15:11:04 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/cli.py", line 117, in main
2019-12-03 15:11:04 [17] |     results = client.execute()
2019-12-03 15:11:04 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/client.py", line 78, in execute
2019-12-03 15:11:04 [17] |     return self.provider.create_record(record_type, name, content)
2019-12-03 15:11:04 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/base.py", line 80, in create_record
2019-12-03 15:11:04 [17] |     return self._create_record(rtype, name, content)
2019-12-03 15:11:04 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/namecheap.py", line 201, in _create_record
2019-12-03 15:11:04 [17] |     self.client.domains_dns_addHost(self.domain, record)
2019-12-03 15:11:04 [17] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 388, in domains_dns_addHost
2019-12-03 15:11:04 [17] |     self._call("namecheap.domains.dns.setHosts", extra_payload)
2019-12-03 15:11:04 [17] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 144, in _call
2019-12-03 15:11:04 [17] |     xml = self._fetch_xml(pa
2019-12-03 15:11:04 [17] | yload, extra_payload)
2019-12-03 15:11:04 [17] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 137, in _fetch_xml
2019-12-03 15:11:04 [17] |     raise ApiError(error.attrib['Number'], error.text)
2019-12-03 15:11:04 [17] | namecheap.ApiError: 2050900 - Please enter a fully qualified domain name.
2019-12-03 15:11:04 [17] | Running manual-auth-hook command: /var/lib/letsencrypt/hooks/authenticator.sh
2019-12-03 15:11:07 [17] | Output from manual-auth-hook command authenticator.sh:
2019-12-03 15:11:07 [17] | Remote: 21
2019-12-03 15:11:07 [17] | To set: 22
2019-12-03 15:11:07 [17] | manual-auth-hook command "/var/lib/letsencrypt/hooks/authenticator.sh" returned error code 1
2019-12-03 15:11:07 [17] | Error output from manual-auth-hook command authenticator.sh:
2019-12-03 15:11:07 [17] | Traceback (most recent call last):
2019-12-03 15:11:07 [17] |   File "/usr/local/bin/lexicon", line 8, in <module>
2019-12-03 15:11:07 [17] |     sys.exit(main())
2019-12-03 15:11:07 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/cli.py", line 117, in main
2019-12-03 15:11:07 [17] |     results = client.execute()
2019-12-03 15:11:07 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/client.py", line 78, in execute
2019-12-03 15:11:07 [17] |     return self.provider.create_record(record_type, name, content)
2019-12-03 15:11:07 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/base.py", line 80, in create_record
2019-12-03 15:11:07 [17] |     return self._create_record(rtype, name, content)
2019-12-03 15:11:07 [17] |   File "/usr/local/lib/python3.7/site-packages/lexicon/providers/namecheap.py", line 201, in _create_record
2019-12-03 15:11:07 [17] |     self.client.domains_dns_addHost(self.domain, record)
2019-12-03 15:11:07 [17] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 388, in domains_dns_addHost
2019-12-03 15:11:07 [17] |     self._call("namecheap.domains.dns.setHosts", extra_payload)
2019-12-03 15:11:07 [17] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 144, in _call
2019-12-03 15:11:07 [17] |     xml = self._fetch_xml(pa
2019-12-03 15:11:07 [17] | yload, extra_payload)
2019-12-03 15:11:07 [17] |   File "/usr/local/lib/python3.7/site-packages/namecheap.py", line 137, in _fetch_xml
2019-12-03 15:11:07 [17] |     raise ApiError(error.attrib['Number'], error.text)
2019-12-03 15:11:07 [17] | namecheap.ApiError: 2050900 - Please enter a fully qualified domain name.
2019-12-03 15:11:07 [17] | Waiting for verification...
2019-12-03 15:11:09 [17] | Challenge failed for domain example.org
2019-12-03 15:11:09 [17] | Challenge failed for domain example.org
2019-12-03 15:11:09 [17] | dns-01 challenge for example.org
2019-12-03 15:11:09 [17] | dns-01 challenge for example.org
2019-12-03 15:11:09 [17] | Cleaning up challenges
2019-12-03 15:11:09 [17] | Running manual-cleanup-hook command: /var/lib/letsencrypt/hooks/cleanup.sh
2019-12-03 15:11:11 [17] | Running manual-cleanup-hook command: /var/lib/letsencrypt/hooks/cleanup.sh
2019-12-03 15:11:14 [17] | Some challenges have failed.

Hello!
Lexicon, that is used to communicate with the DNS provider, makes an elaborate guess for a given domain to understand what is the actual zone handled by your dns provider. If it is obviously example in example.com, it is less obvious for example.co.uk that is still example, and not example.co. This is done by tldextract, and utility that uses the known TLD in the DNS system.
This allows Lexicon to handle "exotic" tlds, and domains passed to the cli: like on sub.example.co.uk is correctly interpretated as the zone example.co.uk, where co.uk is the TLD.
However, it happens that a DNS provider owns a domain with its own DNS server (here, com.de) then delegates the subdomains to customers (in your case, microtik.com.de).  In this case, tldextract will wrongly interpretate that the zone to edit is com.de.
To prevents that, a flag is designed on Lexicon to explicitly say what is the zone, it is --delegated.You can pass it in my Docker using the env variable LEXICON_OPTIONS (it would be typically --delegated microtik.com.de).
Sadly this option will be applied to all of the domains you handle, so also on microtik.de. I will fix that in the next major version of the Docker, but until that, you will need to setup a specific instance of my Docker, with this env variable, for microtik.com.de.


No release for 2.2.1

I'm seeing 2.2.1 referenced in several online tutorials, and in your code: https://github.com/driftyco/ionic-plugin-keyboard/commit/011283b781a94ba9db9d87fc9531790fcd8aa7e7
But there is no release/tag for 2.2.1. Is this on purpose? I was updating all my plugins, and I was confused to see 2.2.1 referenced in my config.xml, but the latest release is 2.2.0

Hey thanks for the issue, should be fixed now!


Support for factory-boy 3+

Hey factory-boy have released version 3 but it looks like mimesis-factory depends on factory-boy (>=2.11,<3.0). Could we get this supported?
Much thanks for a great library!

PRs are welcome!

PRs are welcome!

I will try :)

Strange issue, this project clearly defines factory-boy = ">=2.11,<4.0" inside the pyproject.toml directory. But when I try to install with in my own project poetry I get:
[SolverProblemError]
Because mimesis-factory (1.1.0) depends on factory-boy (>=2.11,<3.0)
 and no versions of mimesis-factory match >1.1.0,<2.0.0, mimesis-factory (>=1.1.0,<2.0.0) requires factory-boy (>=2.11,<3.0).
So, because dacp depends on both mimesis-factory (^1.1.0) and factory-boy (^3), version solving failed.

Very strange because when I clone this repo and run poetry install it actually installs factory-boy v3.0.1

Checkout this line https://github.com/mimesis-lab/mimesis-factory/blob/1.1.0/pyproject.toml#L40

Checkout this line https://github.com/mimesis-lab/mimesis-factory/blob/1.1.0/pyproject.toml#L40

I was looking at the master branch (where it has been bumped). Looks like dependabot bumped the version in mimesis-lab/mimesis-factory/pull/178. How do we tag/initiate a release?

Manually only. I guess we can start with adding different factoryboy version to the CI, like here: https://github.com/sobolevn/django-split-settings/blob/master/.travis.yml#L9

Maybe I don't understand but I don't think it should effect anything since the current CI is still passing with the newest factory-boy version: https://travis-ci.com/github/mimesis-lab/mimesis-factory/jobs/376062661#L302

Can we trigger a release?

Yes, will do today!

Released 1.2.0


Issue when Generating Mocks with Protocol Composition

Howdy! I am trying to generate a mock for a protocol that inherits from other protocols using protocol composition. When testing this, I tried the following:
/// @mockable
protocol FirstSwiftProtocol {
    var someBool: Bool { get }

    func doSomething()
}

/// @mockable
protocol SecondSwiftProtocol {
    var someInt: Int { get set }

    func doSomethingElse() -> Bool
}

/// @mockable
protocol TestProtocol: FirstSwiftProtocol & SecondSwiftProtocol {}

And the result of generating mocks was the following:
class TestProtocolMock: TestProtocol {
    init() { }
    init(someBool: Bool = false) {
        self.someBool = someBool
    }

    private(set) var someBoolSetCallCount = 0
    var someBool: Bool = false { didSet { someBoolSetCallCount += 1 } }

    private(set) var doSomethingCallCount = 0
    var doSomethingHandler: (() -> ())?
    func doSomething()  {
        doSomethingCallCount += 1
        if let doSomethingHandler = doSomethingHandler {
            doSomethingHandler()
        }

    }
}

which fails to compile as TestProtocolMock does not conform to SecondSwiftProtocol. Interestingly, if I wrap the conformance:
protocol TestProtocol: (FirstSwiftProtocol & SecondSwiftProtocol) {}

The mock is:
class TestProtocolMock: TestProtocol {
    init() { }

}

Additionally, if I use a typealias, I get the same empty init mock as when I wrap the conformance.
Looking for any insight as to why this may be happening. Thank you!

Hi @tinder-richardchildress, I came across the same issue.
here's my question on  stackoverflow
I will also tag this issue on my post.
Hope to get this issue solved soon. Sai :)

@tinder-richardchildress
check your mockolo script in your build phases, make sure that ur protocol B is defined inside the source directory of the script.
./mockolo -s ./protocolB.swift -d ./OutputMocks.swift
stackoverflow

If your protocol extends to another protocol that was defined in a different module/target. You can include the generated mock/mocks after the -mock flag (for multiple files put a space between them)
./mockolo -s YourSourcePath -mocks OtherModulePath/TestProtocolMocks.swift  -d OutputPath/Mocks.swift


Fix custom linear gradient angles

Why does this PR exist?
Partial fix for #2331

What does this pull request do?
Before

After

Testing this change

Additional Notes (if any)

@macintoshhelper linting seems to have failed here

Fixed the ESLint errors

Since September, tbh this bug is so frustrating ... also to see that there is fix and every release since then does not include that fix :(

Since September, tbh this bug is so frustrating ... also to see that there is fix and every release since then does not include that fix :(

@qimmiq sorry about the miss in this one
I will take a look at this PR and will keep you posted on it's progress


fix when clicking version dropdown it jumps to top of the page

Description
Resolved this issue https://github.com/apache/incubator-mxnet/issues/16231, the fix is to delegate an event handler to parent node ul to prevent all its child nodes<a/> from triggering default click action (direct to target url, which cause the page to jump to the top).
To verify the change:
Go to get started page and see "Mxnet version" drop down, scroll down a little bit and hover on the version drop down. After selecting any of the version, the page should stay at where is was (compare to unexpectedly jump to top of the page).
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Tested on Chrome, Edge, Safari and Firefox
[x] Tested on mobile

Changes

[x] Fixed MXNet Version selection Drop-down makes page jump to top of page

Comments

Preview - link

@mxnet-label-bot add [website, pr-awaiting-review ]

@mxnet-bot run ci [centos-cpu]

Say I'm on
http://ec2-34-219-59-203.us-west-2.compute.amazonaws.com/versions/1.6/api/python/docs/api/ndarray/ndarray.html#mxnet.ndarray.Activation

Then it redirects to : http://ec2-34-219-59-203.us-west-2.compute.amazonaws.com/versions/1.4.1/

Thanks @ChaiBapchya . It looks like the fix here only applies to the current master version of website. Because all pre master version websites are archived and any changes to pre master version need to made to static artifact repo maintained by @connorgoggins .
I will submit a PR to Connor's git repo and once finished I will update the preview. No changes required in this PR.

Thanks for the clarification.
[ all pre master version websites are archived and any changes to pre master version need to made to static artifact repo maintained by @connorgoggins .
Has this been documented somewhere?
Like would any external MXNet contributor know about this "pre master version maintained somewhere else" point?

@ChaiBapchya the repository is being moved to a CodeCommit repo where access can be delegated to both internal and external contributors.

@mxnet-bot run ci [unix-gpu]

@mxnet-bot run ci [ unix-gpu ]

@mxnet-bot run ci [ unix-cpu ]

@ChaiBapchya the repository is being moved to a CodeCommit repo where access can be delegated to both internal and external contributors.

Has this been documented anywhere? @connorgoggins

@ChaiBapchya the website team has been informed of the move. Documentation will be added when the migration is complete.

Works good when the global version of website is 1.6.0
But when global version is master
And MXNet version selection dropdown in Get Started page is chosen then it misbehaves [goes to top of the page]

@ChaiBapchya The change should apply to master now, could you try disable cache and reload the website? Thanks.


[QNN] Multiplication operator

Implementation of the qnn multiplication operator following the same pattern as the addition operator.

@tristan-arm @anijain2305 please followup on this thread :)

@tristan-arm Sorry for the huge delay. This is what the lowering should look like. Let me know what do you think about this.
Quantized mul operation

    scale_c * (Q_c - zp_c) = (scale_a * (Q_a - zp_a))   *   (scale_b * (Q_b - zp_b))

    scale_c * (Q_c - zp_c) = (scale_a * scale_b)   *   [  (Q_a - zp_a) *  (Q_b - zp_b) ]

Going from right to left on the RHS
1) Shifted_input_A = Subtract Q_a - zp_a (Precision int32)
2) Shifted_input_B = Subtract Q_b - zp_b (Precision int32)
3) Int_tensors_muliplication = Shifted_input_A * Shifted_input_B

Our equation looks like this

    scale_c * (Q_c - zp_c) = (scale_a * scale_b)   *    Int_tensors_muliplication

RHS can be thought of quantized tensor with (scale, zero_point) = (scale_a * scale_b, 0)
So, we can requantize.

4) Requantize the  Int_tensors_muliplication with (input_scale, input_zero_point) = (scale_a * scale_b, 0)
    And (output_scale, output_zero_point) = (scale_c, zp_c)

ping @tristan-arm please follow up :)

@tqchen - tristan is on holidays , the other PR by @ekalda in #4141 should supersede this work and I think this PR should be abandoned.

thanks @u99127 @tristan-arm


[qos] handle NCP messages based on the priority of the message

@abtink @nibanks Could you help me to review this PR at your convenience.

0_historical_data-Maker Index.xlsx
https://drive.google.com/file/d/1s3-dBZTXUuYN-_vn4wR4Ll1LapPm-aTB/view?usp=drivesdk
zai
On Thu, Dec 6, 2018, 5:47 PM rongli<EMAIL_ADDRESS>wrote:

@librasungirl commented on this pull request.
In src/core/api/ip6_api.cpp
https://github.com/openthread/openthread/pull/3318#discussion_r239381810
:

@@ -201,6 +201,21 @@ otError otIp6Send(otInstance *aInstance, otMessage *aMessage)
return error;
}

+otError otIp6GetPriority(otInstance *       aInstance,

                    const uint8_t *    aDatagram,

                    uint16_t           aDatagramLen,

                    otMessagePriority *aPriority)

+{

otError   error    = OT_ERROR_NONE;
Instance &instance = *static_cast<Instance *>(aInstance);

SuccessOrExit(error =

add aPriority check?
In src/core/net/ip6.cpp
https://github.com/openthread/openthread/pull/3318#discussion_r239384378
:

@@ -127,6 +127,23 @@ uint8_t Ip6::PriorityToDscp(uint8_t aPriority)
return dscp;
}

+otError Ip6::GetPriority(const uint8_t *aDatagram, uint16_t aDatagramLen, uint8_t &aPriority) const
+{

otError       error = OT_ERROR_NONE;
const Header *header;

VerifyOrExit((aDatagram != NULL) && (aDatagramLen >= sizeof(Header)), error = OT_ERROR_PARSE);

OT_ERROR_INVALID_ARGS is more proper?
/**

Failed to parse message or arguments.
*/
OT_ERROR_PARSE = 6,

/**

Input arguments are invalid.
*/
OT_ERROR_INVALID_ARGS = 7,

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openthread/openthread/pull/3318#pullrequestreview-182148940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ApPykpIxSbvadlM0nteBQEEP-UHUQxE5ks5u2OekgaJpZM4YowNd
.