Plugins suddenly don't load anymore at boot: "failed to load plugins: 'outdated headers'

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 8bb75a223db3ea9471d05d74fbed3328334a9f78  (hyprctl completions: Use only awk rather than grep + awk).
Date: Tue Jul 2 21:46:20 2024
Tag: v0.41.2-18-g8bb75a22, commits: 4904

flags: (if any)

System Information:
System name: Linux
Node name: zjeffer
Release: 6.9.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:24dd] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  555.58  Tue Jun 18 20:52:44 UTC 2024

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  split-monitor-workspaces by Duckonaut ver 1.1.0

======Config-Start======

Config File: /home/zjeffer/.config/hypr/hyprland.conf: Read Succeeded
# ###################################################################
# ██╗  ██╗██╗   ██╗██████╗ ██████╗ ██╗      █████╗ ███╗   ██╗██████╗
# ██║  ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██║     ██╔══██╗████╗  ██║██╔══██╗
# ███████║ ╚████╔╝ ██████╔╝██████╔╝██║     ███████║██╔██╗ ██║██║  ██║
# ██╔══██║  ╚██╔╝  ██╔═══╝ ██╔══██╗██║     ██╔══██║██║╚██╗██║██║  ██║
# ██║  ██║   ██║   ██║     ██║  ██║███████╗██║  ██║██║ ╚████║██████╔╝
# ╚═╝  ╚═╝   ╚═╝   ╚═╝     ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝
# ###################################################################

$HYPR_FOLDER = ~/.config/hypr
$APP_FOLDER = $HYPR_FOLDER/apps
$CONFIG_FOLDER = $HYPR_FOLDER/configs

source = $CONFIG_FOLDER/env.conf

source = $CONFIG_FOLDER/general.conf
source = $CONFIG_FOLDER/animations.conf
source = $CONFIG_FOLDER/decoration.conf
source = $CONFIG_FOLDER/monitors.conf
source = $CONFIG_FOLDER/window_rules.conf
source = $CONFIG_FOLDER/input.conf
source = $CONFIG_FOLDER/workspace_rules.conf
source = $CONFIG_FOLDER/plugins.conf

# Execute your favorite apps at launch
exec-once = xhost + local:
exec-once = hyprctl setcursor capitaine-cursors-light 24
exec-once = /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = hyprpaper --config $APP_FOLDER/hyprpaper.conf
exec-once = nm-applet
exec-once = dunst
exec-once = ~/.config/activePlayer/mediaplayers.sh 2>~/.config/activePlayer/.mediaplayer.err
exec-once = hyprpm reload -n
exec-once = ydotoold
exec-once = bash $APP_FOLDER/waybar/launch.sh
exec-once = swayosd-server

source = $CONFIG_FOLDER/keybinds.conf

# this should always be at the bottom
exec-once = dbus-update-activation-environment --systemd --all

Config File: /home/zjeffer/.config/hypr/configs/env.conf: Read Succeeded
# Some default env vars.
env = XCURSOR_SIZE,28
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = SDL_VIDEODRIVER,wayland
env = _JAVA_AWT_WM_NONREPARENTING,1

env = __GL_GSYNC_ALLOWED,0
env = __GL_VRR_ALLOWED,0
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

env = WLR_DRM_NO_ATOMIC,1
env = GBM_BACKEND,nvidia-drm
env = XDG_CURRENT_DESKTOP,Hyprland

env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = DESKTOP_SESSION,gnome
env = MOZ_ENABLE_WAYLAND,1

# gtk
env = GDK_BACKEND,wayland

# xdg stuff
env = XDG_CONFIG_HOME,$HOME/.config
env = XDG_CACHE_HOME,$HOME/.cache
env = XDG_DATA_HOME,$HOME/.local/share
env = XDG_DATA_DIRS,/usr/local/share:/usr/share
env = XDG_CONFIG_DIRS,/etc/xdg

# environment variables to use in configs
env = EWW_CONFIG_DIR,$HOME/.config/eww
env = APP_FOLDER,$HOME/.config/hypr/apps
env = PLUGIN_FOLDER,$HOME/.local/share/hyprload/plugins/bin

Config File: /home/zjeffer/.config/hypr/configs/general.conf: Read Succeeded

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 10

    border_size = 4
    col.active_border = rgba(5e81acff)
    col.inactive_border = rgba(00000000)

    layout = dwindle
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section
    preserve_split = true # you probably want this
}

misc {
  vrr = 2
  no_direct_scanout = false
  render_ahead_of_time = false
  focus_on_activate = true
  force_default_wallpaper = 0
  initial_workspace_tracking = 0
}

debug {
  overlay = false
  disable_logs = false
  disable_time = false
  error_limit = 1
  error_position = 2 # bottom
}

opengl {
  nvidia_anti_flicker = false
}

Config File: /home/zjeffer/.config/hypr/configs/animations.conf: Read Succeeded
animations {
    enabled = true

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
    animation = windows, 1, 1, default
    animation = windowsOut, 1, 2, default
    animation = border, 1, 5, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 3, default
    animation = workspaces, 1, 4, default
    animation = specialWorkspace, 1, 4, default, slidevert
}

Config File: /home/zjeffer/.config/hypr/configs/decoration.conf: Read Succeeded

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    rounding = 5

    blur {
      enabled = true
      size = 15
      passes = 2
      ignore_opacity = true
      new_optimizations = true
    }
    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(2e3440ee)
    col.shadow_inactive = rgba(00000000)
}

Config File: /home/zjeffer/.config/hypr/configs/monitors.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=desc:California Institute of Technology 0x1600<EMAIL_ADDRESS>1920x0, 1
monitor=desc:Acer Technologies K222HQL T0EEE0018512, 1920x1080, 4480x0, 1
monitor=desc:Philips Consumer Electronics Company PHL 240V5A UK01715035811, 1920x1080, 0x0, 1

monitor=desc:DENON Ltd. DENON-AVR 0x01010101, preferred, auto, 1, mirror, desc:California Institute of Technology 0x1600 # Denon
# monitor=desc:DENON Ltd. DENON-AVR 0x01010101, preferred, auto, 1 # Denon

monitor=,preferred,auto,1

Config File: /home/zjeffer/.config/hypr/configs/window_rules.conf: Read Succeeded
windowrulev2 = float, title:^(Open Folder)$
windowrulev2 = float, title:^(Open File)$
windowrulev2 = float, title:^(Save As)$
windowrulev2 = float, title:^(Friends List)$
windowrulev2 = float, title:^(File Operation Progress)$
windowrulev2 = float, title:^(Firefox — Sharing Indicator)$
windowrulev2 = suppressevent fullscreen,float, title:^(Extension: (Bitwarden - Free Password Manager) - — Mozilla Firefox)$
windowrulev2 = suppressevent fullscreen,float, title:^(Extension: (Bitwarden - Free Password Manager) - Bitwarden — Mozilla Firefox)$
# windowrulev2 = suppressevent fullscreen,tile,class:^(libreoffice.*)$
windowrulev2 = float, class:^(flameshot)$
windowrulev2 = noanim, float, class:^(Rofi)$
windowrulev2 = float, class:^(org.gnome.Calculator)$
# opacity
windowrulev2 = opacity 0.85, class:[gG]nome-terminal*
windowrulev2 = opacity 0.85, class:kitty
windowrulev2 = opacity 0.90, initialTitle:^(Spotify( Premium)?)$
windowrulev2 = opacity 0.90, class:Code
windowrulev2 = opacity 0.90, class:Code - Insiders
windowrulev2 = opacity 0.90, class:code-url-handler
windowrulev2 = opacity 0.90, class:code-insiders-url-handler
windowrulev2 = opacity 0.80, class:[Tt]hunar
windowrulev2 = opacity 0.70, class:Dunst
windowrulev2 = opacity 0.95, class:discord

# flameshot workaround
windowrulev2=move 0 0,title:^(flameshot)
windowrulev2=suppressevent fullscreen,title:^(flameshot)

# steam friends list workaround
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
windowrulev2 = minsize 200 500, initialTitle:^(Friends List)$,initialClass:^(steam)$

# jellyfin media player
# windowrulev2 = tile, initialClass:^(Jellyfin Media Player)$
windowrulev2 = tile, initialTitle:^(Jellyfin Media Player)$

Config File: /home/zjeffer/.config/hypr/configs/input.conf: Read Succeeded
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    touchpad {
        clickfinger_behavior = true
        scroll_factor = 0.25
        middle_button_emulation = true
        tap-and-drag = true
    }

    sensitivity = -0.5 # -1.0 - 1.0, 0 means no modification.

    numlock_by_default = 1
    repeat_rate = 50
    repeat_delay = 200
    accel_profile = flat
}

cursor {
    no_hardware_cursors = true
}

# Per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = msft0001:00-04f3:31ad-touchpad
    sensitivity = 0.4
    accel_profile = flat
    natural_scroll = true
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = true
}

misc {

}

Config File: /home/zjeffer/.config/hypr/configs/workspace_rules.conf: Read Succeeded
# generated by split-monitor-workspaces plugin
source = /tmp/hyprland-workspace-rules

workspace = special:special, on-created-empty:kitty, gapsout:96

Config File: /tmp/hyprland-workspace-rules: Read Succeeded
workspace = 6,monitor:DP-2,persistent:true
workspace = 7,monitor:DP-2,persistent:true
workspace = 8,monitor:DP-2,persistent:true
workspace = 9,monitor:DP-2,persistent:true
workspace = 10,monitor:DP-2,persistent:true
workspace = 11,monitor:HDMI-A-1,persistent:true
workspace = 12,monitor:HDMI-A-1,persistent:true
workspace = 13,monitor:HDMI-A-1,persistent:true
workspace = 14,monitor:HDMI-A-1,persistent:true
workspace = 15,monitor:HDMI-A-1,persistent:true
workspace = 16,monitor:eDP-1,persistent:true
workspace = 17,monitor:eDP-1,persistent:true
workspace = 18,monitor:eDP-1,persistent:true
workspace = 19,monitor:eDP-1,persistent:true
workspace = 20,monitor:eDP-1,persistent:true

Config File: /home/zjeffer/.config/hypr/configs/plugins.conf: Read Succeeded
plugin {
    split-monitor-workspaces {
        count = 5
        keep_focused = 1
        enable_notifications = 0
    }
}

Config File: /home/zjeffer/.config/hypr/configs/keybinds.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# window control
bind = $mainMod, W, killactive,
bind = $mainMod SHIFT, W, exec, kill -9 $(hyprctl activewindow -j | jq -r '.pid')
bind = $mainMod CTRL SHIFT, Escape, exit,
bind = $mainMod, S, togglefloating,
bind = $mainMod, F, fullscreen

bind = $mainMod, P, pseudo,      # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# reload hyprland and send a inotify reload to waybar at .config/waybar/config.json
bind = $mainMod, Escape, exec, hyprctl reload && hyprpm reload && sleep 0.5 && touch -m $APP_FOLDER/waybar/config.jsonc

# applications
bindr = $mainMod, SUPER_L, exec, ~/.config/rofi/bin/launcher_colorful
bind = $mainMod, return, exec, kitty
bind = $mainMod SHIFT, return, togglespecialworkspace
bind = $mainMod, Z, exec, firefox
bind = $mainMod SHIFT, Z, exec, chromium
bind = $mainMod, X, exec, thunar
bind = $mainMod, A, exec, /usr/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland
bind = $mainMod, Q, exec, code
bind = $mainMod, D, exec, discord --enable-features=UseOzonePlatform --ozone-platform=wayland
bind = ,Print,exec, grimblast copy area
bind = $mainMod, Print, exec, grimblast copy output
bind = $mainMod SHIFT, C, exec, hyprpicker -a -f hex
bind = CTRL SHIFT, Escape, exec, gnome-system-monitor

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# move window with arrow keys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d

# Tabbed windows
bind = $mainMod, g, togglegroup

# Switch workspaces with mainMod + [0-5]
bind = $mainMod, 1, split-workspace, 1
bind = $mainMod, 2, split-workspace, 2
bind = $mainMod, 3, split-workspace, 3
bind = $mainMod, 4, split-workspace, 4
bind = $mainMod, 5, split-workspace, 5

# Move active window to a workspace with mainMod + SHIFT + [0-5]
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, r+1
bind = $mainMod, mouse_up, workspace, r-1

# focus with left/right bracket
bind = $mainMod, bracketleft, workspace, r-1
bind = $mainMod, bracketright, workspace, r+1

# move with shift + left/right bracket
bind = $mainMod SHIFT, bracketleft, movetoworkspace, r-1
bind = $mainMod SHIFT, bracketright, movetoworkspace, r+1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# media keys
bindle = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindle = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bind =, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle

bind =, XF86AudioPlay, exec, ~/.config/activePlayer/control.sh play-pause
bind =, XF86AudioPrev, exec, ~/.config/activePlayer/control.sh previous
bind =, XF86AudioNext, exec, ~/.config/activePlayer/control.sh next
bind =, XF86AudioStop, exec, ~/.config/activePlayer/control.sh stop

bind = SHIFT, XF86AudioPrev, exec, ~/.config/activePlayer/control.sh skipBackward
bind = SHIFT, XF86AudioNext, exec, ~/.config/activePlayer/control.sh skipForward

# brightness
binde = , XF86MonBrightnessUp, exec, brightnessctl -d nvidia* set +10%
binde = , XF86MonBrightnessDown, exec, brightnessctl -d nvidia* set 10%-

# screen lock
bindl= , switch:on:Lid Switch, exec, $APP_FOLDER/swaylock/lock.sh && sleep 2 && systemctl suspend-then-hibernate
bind = $mainMod, L, exec, hyprlock

# forward and back with mouse buttons
bind = $mainMod, 123, exec, ydotool key 159:1 159:0
bind = $mainMod, 122, exec, ydotool key 158:1 158:0

# forward global shortcuts
bind = $mainMod SHIFT, N, pass, ^(io\.github\.nuttyartist\.notes)$

# passthrough mainMod to virtual machine
bind = $mainMod, O, submap, passthru
submap = passthru
bind = $mainMod, I, submap, reset
submap = reset

# # ### swayosd ###
bind = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume
bind = , XF86AudioLowerVolume, exec, swayosd-client --output-volume
# # Sink volume toggle mute
# bind = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
# # Source volume toggle mute
# bind = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle

# # Brightness raise
# bind = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise
# # Brightness lower
# bind = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower

======Config-End========

Description
A couple of days ago I updated Hyprland to latest master (it was on a version from beginning of June I think), and since then my plugin won't load on boot. The notification says: [hyprpm] Failed to load plugins: Outdated headers. Please run hyprpm update manually.
If I simply reload hyprpm after it's fully booted, they load fine. If I run hyprpm update -v, it doesn't need to update any headers and simply loads the plugins.
Output of hyprpm list:
→ Repository split-monitor-workspaces:
  │ Plugin split-monitor-workspaces
  └─ enabled: true

How to reproduce

Enable a plugin
Restart Hyprland with exec-once = hyprpm reload -n
Notification appears, plugins don't load
manually execute hyprpm reload -n
Plugins now loaded correctly

Crash reports, logs, images, videos
hyprland.log
bisect:
b2590b58c51094424a9651d8df37dfab838b5bbb is the first bad commit
@Truenya
It doesn't make sense to me why it would stop working with that commit, though. Here's my bisect log:
git bisect start
# status: waiting for both good and bad commits
# good: [9e781040d9067c2711ec2e9f5b47b76ef70762b3] props: bump version to 0.41.1
git bisect good 9e781040d9067c2711ec2e9f5b47b76ef70762b3
# status: waiting for bad commit, 1 good commit known
# bad: [cc98594c3aed0b542e03818371a4636f549f80e1] pointer: update geometry after unplug events
git bisect bad cc98594c3aed0b542e03818371a4636f549f80e1
# bad: [fb15b7aa2a9bba0f0693f84d0c65d386942583f8] core: Move to hyprutils for Math
git bisect bad fb15b7aa2a9bba0f0693f84d0c65d386942583f8
# bad: [2566d818848b58b114071f199ffe944609376270] xwayland: fixup unfocus atom conditions
git bisect bad 2566d818848b58b114071f199ffe944609376270
# bad: [cb63398f079b4b4324c04e2e41ba17983d66487c] [gha] Nix: update inputs
git bisect bad cb63398f079b4b4324c04e2e41ba17983d66487c
# good: [9cd5b3587cb1e3d42b647fa230024cd0153ea9cb] layerSurface: fix layer being refocused every commit with on_demand (#6487)
git bisect good 9cd5b3587cb1e3d42b647fa230024cd0153ea9cb
# bad: [a357fa3e0a60b4f96a1924e0d9753d23001ab00e] window: use effective damage for tearing re-schedules
git bisect bad a357fa3e0a60b4f96a1924e0d9753d23001ab00e
# bad: [a9d53a2252f7ec084e2487d18777e2df01c8c351] vrr: add option to fix mouse breaking vrr (#6483)
git bisect bad a9d53a2252f7ec084e2487d18777e2df01c8c351
# bad: [b2590b58c51094424a9651d8df37dfab838b5bbb] hyprctl: added --follow option to rolliglog (#6325)
git bisect bad b2590b58c51094424a9651d8df37dfab838b5bbb
# first bad commit: [b2590b58c51094424a9651d8df37dfab838b5bbb] hyprctl: added --follow option to rolliglog (#6325)

EDIT: just reproduced it again, the previous commit works fine but b2590b58c51094424a9651d8df37dfab838b5bbb breaks it. Interestingly, adding logs to the hyprpm reload comand (like this exec-one = hyprpm reload -n 2>&1 > ~/hyprpm.log) makes the hyprpm.log file empty on that commit, but correctly shows the output of hyprpm in the previous commit.
As if on that commit the hyprpm command is not even run at all? But according to the hyprland logs the hyprpm command does run...

I'm having the same exact issue with plugins loading at the second run of the hyprpm reload -n

Yes have the same issue on Arch 0.41.2-1

the same

@Truenya Have you had a chance to look at this yet?

Omw

manual make all && hyprctl plugin load /home/... working good, so problem is somewhere in hyprpm

Doesn't hyprpm call hyprctl somehow? Maybe something goes wrong in how it calls it?

Not sure about others but this issue is resolved for me in arch/extra release 0.41.2-3

That's strange, 0.41.2 contains the commit that breaks it for me.

Nvm you are right, so it somehow fixed it self for me or atleast I don't need to rerun hyprpm reload after boot to get rid of error.

I see in your dotfiles you run hyprpm reload -n twice? https://github.com/sayhilel/dotfiles/blob/master/.config/hypr/hyprland.conf#L70-L71 Did that fix it for you?

Yeah I did that thinking that would help, I don't think it did. I only have one reload on the my local version.

Indeed, doesn't seem to help when I try it.

After some debugging I managed to narrow down the problem to the execAndGet method.
hyprpm does actually run during exec-once, it simply fails when it tries to get the current hash using the getHyprlandVersion method:
https://github.com/hyprwm/Hyprland/blob/381cb2d8330d09f8994ca01591fb3e3737e6a67a/hyprpm/src/core/PluginManager.cpp#L48
After adding some logging, the result of execAndGet is this:
Hyprland IPC didn't respond in time
Couldn't read (5)

which is logged from here: https://github.com/hyprwm/Hyprland/blob/381cb2d8330d09f8994ca01591fb3e3737e6a67a/hyprctl/main.cpp#L195-L196
I think it's due to these lines which were added in b2590b58c51094424a9651d8df37dfab838b5bbb:
https://github.com/hyprwm/Hyprland/blob/381cb2d8330d09f8994ca01591fb3e3737e6a67a/hyprctl/main.cpp#L144-L145
Testing this now

Yep, commenting those lines makes hyprpm work at boot again. I don't really know much about sockets so I don't know how to actually fix it properly, @Truenya can you do this?

That is not so much about sockets, but about networks in general.
Each call should have a timeout (added by me) and for the most important parts there should be retries of the request (not added by me).
So maybe simple read retries could solve this problem. EWOULDBLOCK is equal to EAGAIN, which means try again.
Or making timeout more(2 seconds is not so much).


UnboundLocalError: local variable 'l' referenced before assignment (at stacked_autoencoder.py#L128)

Hi @rajarsheem, just got across a failure due to l not being defined in this line.
Context:

Hi, thanks for reporting. That assignment was unnecessary. So removed it.


Missing named parameters symbols for constructor

In this case:

package example
  object Example extends App {
    class Test(isRenameAwesome: Boolean)
    val x = new Test(isRenameAwesome = true)
}

we are missing the occurence for <<isRenameAwesome>> = true

Connected to https://github.com/scalameta/metals/issues/1086

Unfortunately this is not entirely fixed yet:
package example
object Issue2144/*<=example.Issue2144.*/ {
  class Test/*<=example.Issue2144.Test#*/(a/*<=example.Issue2144.Test#a.*/: Boolean/*=>scala.Boolean#*/, b/*<=example.Issue2144.Test#b.*/: Int/*=>scala.Int#*/ = 1, c/*<=example.Issue2144.Test#c.*/: Int/*=>scala.Int#*/ = 2)
  val x/*<=example.Issue2144.x.*/ = new Test/*=>example.Issue2144.Test#*/(a/*=>example.Issue2144.Test#`<init>`().(a)*/ = true, c/*=>example.Issue2144.Test#`<init>`().(c)*/ = 1)
}

a/*<=example.Issue2144.Test#a.*/  doesn't seem correct as a is only a constructor argument. I need to dig in a bit more here.

So I was thinking about changing the occurrence for the named parameter to a field in case it's a primary constructor. The change however was quite involved, so I decided against it. The current status is not really wrong, both example.Issue2144.Test#a. and example.Issue2144.Test#<init>().(a). make sense here.


PQ code package update script

This is part of the planned workflow for packaging libcrux-ml-kem in the PQ code package. (cf. #302)

Waiting on #327 and #329 for further changes before marking this ready for review.

I've updated the custom Cargo.toml to include the feature flags from #327, #333 and those that will probably land with #329.

We finally need to get back to this. This may be a little stale. But still the thing to do.


print usage

Hi
Why --no-print-usage option is not available in manifest mode?
It's a useful option for suppressing usage instruction each time.

I am in the process of submitting a pull request to implement this exact feature.
https://github.com/microsoft/vcpkg-tool/pull/721

Waiting https://github.com/microsoft/vcpkg/pull/27209 merged.

Fixed :)

Now I see not print usage by default. Was this option enabled by default?

Now I see not print usage by default. Was this option enabled by default?

Do you have a repro? This sounds like an issue submission rather than a change for this PR.

I'll see if I can report a repro. I have VSCode project with CMake presets. Before the current release I was complaining about seeing the find_package info but qfter the upgrade they disappeared completely.


Dockerize the app

@BlaneCordes I imagine this breaks the Heroku integration, so I won't merge until we figure out a deployment strategy for the Dockerized version of this app.

@azlyth sweet! thanks, will check this out


Implement Youtube playlist sending to plugin.video.youtube

Youtube playlists should be sent to plugin.video.youtube as a whole, not only the first video
( YouTube playlists can be added to Kodi via "Queue Playlist" not the "Play" button as I tried above)
The JSON list of videos from YouTube playlist (using googleapis.com/youtube) is empty.

I found the root cause of the problem. The list is empty because the add-on does not have permissions to get data from https://www.googleapis.com/.


Refactored FieldDictionary and tests.

Changes from code review.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[ ] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[ ] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

During development, I think it is confusing to have ChangeLog entries for each bit of MAPL 3 as it comes in.   When the ultimate merge happens, there does need to be a sizable entry in the log that describes the main differences, but to reiterate each piece of old  MAPL as it is reimplemented - possibly with just cleaner code becomes counterproductive.
So I'd suggest disabling for this branch if possible.   Otherwise I'll try to get better about setting the label.

During development, I think it is confusing to have ChangeLog entries for each bit of MAPL 3 as it comes in. When the ultimate merge happens, there does need to be a sizable entry in the log that describes the main differences, but to reiterate each piece of old MAPL as it is reimplemented - possibly with just cleaner code becomes counterproductive.
So I'd suggest disabling for this branch if possible. Otherwise I'll try to get better about setting the label.

I'll see if I can figure that out; it's been a while since I've looked at the label enforcer...
Though, if at some point we do make a commit that seems to be non-zero-diff, it would be good to be able to track down when that happened in MAPL 3.
I've labeled and pressed the "Update branch" button.


Add encode method to convert Sections into GPP String

Can you put a note in the README that, in practice, only CMPs should be writing GPP strings as per the IAB documentation? We don't want to encourage people to be generating GPP strings in production when they really should not be.

Just a friendly ping to see if you have read the comments, and intend to keep working on this PR.
Thanks

Coming back, still working on this.

Just a friendly ping to see if you have read the comments, and intend to keep working on this PR.
Thanks

Coming back, still working~

It may be interesting to write a test where we decode some GPP strings, then re-encode them and compare to see if we got the original string back. It could uncover a subtle error, or potentially that the spec is under specified such that there are multiple ways to encode a set of data into a string.

Sorry we have been a bit busy and haven't responded in a bit. This PR seems to be in a good state, and we should get the final review in soon.

Hi @duduchristian, just checking in to see if you have any time to address my comments. Overall, it looks good. No rush and thanks!

yep, I get some time next week. Just coming back from my holiday hahah.

Hi @duduchristian, just checking in to see if you have some time to address the outstanding comments. No rush 🙂

Hi @duduchristian. It looks like you made some of the updates but there are a few more comments outstanding. Are you planning to address those as well? Thanks!

Hi @duduchristian. It looks like you made some of the updates but there are a few more comments outstanding. Are you planning to address those as well? Thanks!

Sorry I was so busy in the previous weeks. It seems I've addressed all the problems mentioned in comments, can you check the code and if there are any problems, make comments just as what you did before. Thank you.

Hi @duduchristian, thanks for responding to our comments. We recently left a few more for you to address when you get a chance. If you don't mind, could you please merge with master instead of force pushing? It will save us a lot of time reviewing. Thanks!

Hi @duduchristian. It looks like we're close here. If you could address the remaining comment when you get a chance, that would be great. Thanks!


Generic cgmath conversions

Made the cgmath type conversions more generic.
Tested on stable and nightly.
I suspected that the specific conversions i32->f32 would 'collide' with the generic ones. But Rust handles that just fine.
Since cgmath_conversions.rs  is just a copy of nalgebra_conversions.rs I figure I could backport the changes to nalgebra (if you like.).

Since cgmath_conversions.rs is just a copy of nalgebra_conversions.rs I figure I could backport the changes to nalgebra (if you like.).

@eadf Sure if you want to give it a try. I think nalgebra requires several trait bounds on the scalar type as well.

Since cgmath_conversions.rs is just a copy of nalgebra_conversions.rs I figure I could backport the changes to nalgebra (if you like.).

@eadf Sure if you want to give it a try. I think nalgebra requires several trait bounds on the scalar type as well.

Seems to be enough with nalgebra::base::Scalar


Bump DC/OS UI version (1.8.9)

High Level Description
Fix incorrect rounding of resource allocation (dashboard).
Related Issues

DCOS-12054: Fix incorrect rounding of resource allocation

Checklist for all PR's

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): change log
[x] Test Results: unit-tests
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and Review Process
What is the review process and when will my changes land?
All PRs require 2 approvals using github's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@MatApple @weblancaster could you please review this one?

@orlandohohmeier where did you get the ref 66817fe6102e286c638e7e2fcf85401232d6a1b9  from?

@weblancaster that's the latest DC/OS UI 1.8 commit sha https://github.com/dcos/dcos-ui/commits/release/1.8


pull/clone fails on windows: cannot create folder aux

The src/aux folder is causing git clone and git pull to fail in windows, because apparently aux (and and a few other names) are actually reserved names!

Maybe this is also the reason why it doesn't compile with mingw32.

Indeed. After pulling the latest changes, the compiler failed to find wren_aux_meta.h and other files, as they are in src/aux/, causing a compilation failure.

Whoops! I'll come up with a better name for that directory. Sorry!

Great, thanks! :+1:


chore(connect): Replace connect with Connect

Related: 5e9f72e (#48)
Because textlint-rule-prh skips child nodes of a BlockQuote node, this is not be pointed out by npm test.

@vzvu3k6k Thanks!


Remove duplicated lines from subtitles

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

Auto-generated subtitles downloaded from YouTube usually have duplicated lines. Removing such lines is more or less easy with additional scripts. But wouldn't it be great to have this feature integrated in youtube-dl with a separate option to activate it?
( an example of mentioned scripts )

This is an interesting idea. We would have to formulate the rules for doing this and the linked Gist doesn't give me confidence that such rules are well understood.
From my limited acquaintance with the VTT format there seem to be two straightforward cases:

duplicate text: consecutive cues with identical text where the cue period is identical: delete the second (and any further such cues);
duplicate period: consecutive cues with identical text where the start of the second cue is equal to the end of the first cue, or possibly within the period of the first cue: extend the period of the first cue to the end of the second cue and delete the second (and similarly for any further such cues).

The first case is actually a degenerate special case of the second.
Is this an issue with other subtitle formats?

i am interested in solving this issue but i need your help.
Could u please share the urls of the videos of which vtt file have duplicated lines?

Ιs anyone available for a few questions about some scripts?

Is calling an external program within the scope?
On linux (or any posix system)
sed '/^[[:space:]]*$/d' "$1" | sed 's/^[ \t]*//;s/[ \t]*$//' | awk '!($1 " " $2 in arr){print; arr[$1 " " $2] = 1}'
I ran this on the generated srt file, first bit deletes trailing white spaces on the lines and deletes empty lines, second bit checks for duplicates with awk
I ran the following (it has some extra bits not related to this issue, mostly merging timestamps in the same line as the words, and deleting the end timestamps)
sed '/^[[:space:]]*$/d' "$1" | sed 's/^[ \t]*//;s/[ \t]*$//' | awk '!($1 " " $2 in arr){print; arr[$1 " " $2] = 1}' | awk '/^[[:alnum:][:space:]]*[[:alpha:]]/ {if (NR > 1) {print prev, $0;} else {print $0;}; prev = "";} {prev = $0;}' | cut -d' ' -f1,4- | sed -z 's/,[0-9]*//g' >| "$1".cleaned
and it took only 15 ms ± 0.5 ms (averaged over 20 runs) (for context, the original file was 110 KiB, after duplicate removal, it became 65 KiB, with my additions, it became 25.2 KiB), it became, so on the systems with sed and awk, this is almost negligible overhead
for a long term solution, we can look for a python implementation

It should be easy enough to implement a solution in Python once we all agree on what the problem is. Unfortunately no-one was able to spend time on defining the problem beyond my original comment and one slightly generic response to clarification requests from @GNtravios.
Probably sed is one of the least suitable languages for expressing a requirement specification. Do I understand correctly that the proposed script is dealing with the first case in my original comment, linked above, and also removing trailing spaces and blank lines?

yes, removing trailing spaces is important, as the duplicate lines sometimes have some extra white spaces, and deleting empty lines improve the awk loop (lesser total number lines)
yes I do understand having sed ruins portability, and this is one of those cases where I can also contribute with python, but I commented mostly because I saw no activity on issue. And I coincidentally just wrote the second bit today, and this issue came up.
I am trying to implement a efficient summarisation of youtube videos, hopefully with sumi, and reducing these lines make the output much better

It's not the portability, just that a sed script is pretty opaque to anyone other than its author.
Given a list of real-world cases that need to be fixed, we can add some heuristics to fix similar cases. In addition to the cases I previously identified, it's now suggested that white-space needs to be adjusted.
Verbatim problem subtitle text extracts that can be used as test-cases are needed.


runtime: GDB tests fail on freebsd/arm builder

From https://github.com/golang/go/issues/28679#issuecomment-450915013 ...

This is still failing freebsd-arm-paulzhol builds.
Latest failure: https://build.golang.org/log/d9278491818714d74a9190557d6107f737d48612
Is it feasible to disable this test, as @bradfitz suggested earlier? Or is there something else that can be tried?

Disabling for now.
/cc @paulzhol

I've booted the older 11.2 image and ran the test:
[paulzhol@arm-virt /tmp/go/src/runtime]$ ../../bin/go test -v -run "GdbPython$"
=== RUN   TestGdbPython
=== PAUSE TestGdbPython
=== CONT  TestGdbPython
--- SKIP: TestGdbPython (0.25s)
    runtime-gdb_test.go:68: skipping: gdb version 6.1 too old
PASS
ok      runtime 0.373s

That is the in-tree gdb, it's really old.
[paulzhol@arm-virt /tmp/go/src/runtime]$ gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "armv6-marcel-freebsd".

It seems it was finally retired from FreeBSD 12 as intended.
If I modify the test to use the ports collection gdb81, the test fails the same as with the GDB 8.2 builder log.
This raises several concerns:

All our amd64 builders except the FreeBSD 12 one have an ancient GDB, so they have always skipped the test.
The FreeBSD 12 image needs to be updated to install a gdb from the ports collection as it has none at all.
This will cause the test to fail, so it needs to be disabled on all GOARCHes, not just arm.


pgBouncer / Migrate workaround

Migrate uses transactions for checking out the current state of the database and the migrations table. We have special connection management code in Client to make transactions work with PgBouncer, but not in Migrate, meaning you can run into confusing errors if you use Migrate with a Postgres database behind PgBouncer. Migrate only needs a single connection to the database, so it does not use or support connection pooling: users should connect directly to the database server without going over PgBouncer. How to achieve this depends on the particular setup or cloud provider (example, other example).
Related issues:

https://github.com/prisma/prisma/issues/6480
https://github.com/prisma/prisma/issues/6053
https://github.com/prisma/prisma/issues/4752

Example for an error that would pop up if you use Migrate with a PgBouncer connection:
Error querying the database: db error: ERROR: prepared statement "s0" already exists

Hello, are you sure this is working as intended? I am using version 2.30.0 of Prisma, and I still get the same error when migrating over pgbouncer

Migrate can not run reliably over PgBouncer with Prisma unfortunately - optimally use the unpooled connection string: https://www.prisma.io/docs/guides/performance-and-optimization/connection-management/configure-pg-bouncer#prisma-migrate-and-pgbouncer-workaround You can follow https://github.com/prisma/prisma/issues/6485 for updates if we can improve this on our side.


[Bug]  Background Scan container flag is misleading and expensive scans

Page link
https://kyverno.io/docs/installation/#container-flags
Description
While reading through the documentation on the container flags it seems like the backgroundScan container flag would disable background scans but it just stops background scan reports from being emitted, setting the backgroundScanWorkers to 0 also does not disable the background scans from running. And to understand that the issue for our peaks in resource usage was the background scans we had to check the background scan metrics emitted.
In order to disable the background scans all policies need to have the /spec/background field set to false.
Contrary to what is in the documentation here when talking about resource filters, the background scans are very resource intensive causing significant peaks in both memory and cpu.
Expected behavior
At least 3 changes should be made to the documentation:

Have the backgroundscan flag documentation explain that it only disables the reports and that the scans will be executed regardless.
Document better what is the purpose for the backgroundScanWorkers variable
Give some estimates for different number of policy runs and number of resources to estimate resource usage for background scans(For us it was a spike of 100x for cpu usage and 5x for memory usage).

Slack discussion
No response

Will be closed by PR #843. Scaling guidelines is being tracked in https://github.com/kyverno/kyverno/issues/6944.


Allow the changes you make to be stored in a session

Right now, if you make changes such as adding income and/or remove expenses will get lost if the user refreshes the page.

Why a session and not a database/csv/json ?


I can't use C# in Visual Studio Code

I tried as many tutorials as I could, to use VSCode for c# programming, but none of them are working. If I type in 'dotnet' in CMD once I am done downloading the dotnet-sdk files, it says ''dotnet' is not recognized as an internal or external command,
operable program or batch file.' and if I type in, 'dotnet new console', in VSCodes terminal, it says, 'dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1

dotnet new console

  + CategoryInfo          : ObjectNotFound: (dotnet:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException'

Make sure that "C:\Program Files\dotnet" is part of the "path" system environment variable. If not, after adding, the problem should be resolved. :)

Thanks for logging your issue @Whitestarlines. Here are some good instructions on how to get VSCode setup for c# development: https://code.visualstudio.com/docs/languages/csharp
Given this was a question and I believe that the link I sent and the the comment from @KleberTomazi should resolve this, I'll go ahead and close this issue for now for bookkeeping purposes but if you have any additional follow up questions or comments feel free to re-open it.


Support multiple GitHub integrations

If you have multiple GitHub integrations setup in app-config.yaml (like shown below), currently this plugin only uses the first one.
integrations:
  github:
    - host: github.com
      token:
        $env: GITHUB_TOKEN
    - host: github.domain.com
      apiBaseUrl: https://github.domain.com/api/v3
      token:
        $env: GHE_TOKEN

Feature Suggestion

Add support for multiple GitHub integrations.
Possible Implementation

I haven't looked at your code yet so I'm not sure.
Context

We are using Backstage with both public GitHub (github.com) and an enterprise GitHub server.

Unstale, please.


MoM 1.7.0 - broken import on Android

Description of Problem or Question
The latest version of the official app has broken the import function of Valkyrie.
I just ran the reimport on my Valkyrie and after "importing" it goes back as if the important was not run.

Valkyrie Version
2.2

Strange, it works for me in 2.2 and 2.1.3
I have v1.7.0 (740) on steam.

Can you please share the logs of Valkyrie ? : %USERPROFILE%\AppData\LocalLow\NA\Valkyrie

Android 1.7.0 (821)

Well done on fixed the bug so quick and a big thanks  from me! :)

Yeh thanks BenRQ

I can confirm that I also have the same importing issue on my Fire 7 - of course using the android file

I wish I could. I'm not much of a coder. Back in the day I was doing wikis to assist with people jumping in to using Valkyrie. I can help with any new how-tos we might need.

I have confirmed my first assumption, something is wrong with the package extractor on Unity.
In \libraries\FFGAppImport\AssetImport\Unity_Studio\Font.cs:61
On Windows 10 the value is 0
On Android it's 0x3F800000
Maybe something related to size of object, compiler or endianness ...
I'm still investigating.

I have disabled the font export, and now the import is working just fine.
But unfortunately, the sprite placement is different on Android.
This is a very bad news as it means we need to update the sprite system to support a different placement mechanism between android and windows.
And of course we need to do the placement of sprites again.
Here is the old (first) and new token placement on the texture file for Android.
Old DDS texture

New PVR texture on Android for MoM 1.7.0

The tokens have this image format ATM:
[TokenYellowWoman]
image="{import}/img/SpriteAtlasTexture-ATLAS_FEATURES_CORE (Group 0)-2048x1024-fmt12"
image2="{import}/img/SpriteAtlasTexture-ATLAS_FEATURES_CORE (Group 0)-2048x1024-fmt47"
x=130
y=520
height=130
width=130

We could introduce x2 and y2 in order to overwrite that parameter on the second resolved image if it is used.
[TokenYellowWoman]
image="{import}/img/SpriteAtlasTexture-ATLAS_FEATURES_CORE (Group 0)-2048x1024-fmt12"
image2="{import}/img/SpriteAtlasTexture-ATLAS_FEATURES_CORE (Group 0)-2048x1024-fmt47"
x=130
x2=758
y=520
y2=130
height=130
width=130

This this continues, I could create tokens in a similar design if necessary.

Version 2.1.5 is available with import and tile fix


History-based sorting of file completion

I prefer to have the discussion here than on reddit. I see these options:

Pass full file candidates to the preprocessing function
Special case file completions in the preprocessing function

I prefer option 1, since it seems to be more generic and does not require special casing. Do you see downsides of this approach, @clemera? Maybe it pushes too much complexity to the file completion function?
I should add - for me this feature is not of particular importance since I rather use consult-buffer with recent files. I don't use find-file that much actually.

Like mentioned on reddit we could think about changing it generally so that the full version gets passed around in all cases and the display gets adjusted to display a shorter version. This would also have the advantage that one doesn't need to be aware of this distinction and selectrum--refined-candidates would always contain the "real" candidates.

If we have this file completion sorting too, would it make sense to rework the readme a little bit and recommend Prescient less prominently? It seems to me that it creates a lot of confusion for newcomers, because of the subtlety of not being a completion style and because of the complexity if combined with Orderless. History-based sorting is certainly not as good as the frecency sorting of Prescient, but it already gives you most of the benefits.
My personal recommendation is to use Selectrum plus Orderless and you are good to go. Only under the special circumstances that you really want frecency fine tuning you can add Prescient on top. And then you may also want to use Prescient for filtering with the downside that it is not as all-encompassing as Orderless, since it does not hook into the Emacs completion style infrastructure.
My proposal would be the following:

Clean up the scattered mentions of Prescient, which create confusion
Write a basic section in the readme, which only uses built-in completion styles.
Write an advanced section a which uses only Prescient for both filtering and sorting.
Write an advanced section b which uses only Orderless and also mention Prescient sorting there with a note that Selectrum already has history-based sorting.

I bet this won't be too different from what we have now in the readme, only a little bit more streamlined.

I would appreciate this because all of these differences still are not clear to me.  In fact I've put off trying orderless because I think  I like the sorting behavior that prescient gives me but I'm not really sure what behavior comes from what package (I'm using prescient and selectrum).
FWIW,

I really like seeing recent things at the top based on "category" and not per command.  The example of using a command via M-x and then having it at the top of describe-function is very common for me.
The persistence of filename history between invocations of emacs is also nice.  I'm fine if I get that from recentf (directly or via consult-buffer) vs prescient but would like to understand those distinctions.
Also the buffer list being in mru order is one of the bits of emacs magic I've used for a very long time (it often just knows the buffer I want) .  I turned off grouping in consult-buffer because it seemed to screw that up and I didn't have time then to figure out how to fix it.
And for all these things I'm interested in how much of the history appears at the top of the list, is it just the most recent item, or the most recent 5, because I think I'll compare that to how valuable scoring is to me.  Basically if I'm going to use some "smart" suggestion (recent or highly scored) it has to appear visibly in the completions list (so top 10 items) or I'm going to keep typing for incremental narrowing to bring my item to the top, which as I understand it, would make scoring less useful to me.

I turned off grouping in consult-buffer because it seemed to screw that up and I didn't have time then to figure out how to fix it.

It is not screwed up, only the groups take precedence in the sorting. The mru sorting is still present within the groups. This is a feature. But for this reason it is possible to turn it off :)

It is unfortunate that users get confused, we should try to explain the options in a better way then. With regard to history based sorting vs prescient sorting it is useful to know that opposed to prescient, history based sorting keeps the working for infrequently used commands but on the other hand prescient gives you global sort like across categories (like @hmelman described). Also it integrates with company which is nice as chosen candidates are then sorted there, too. I think we can skip the description about using only built-in styles, I don't think that is common enough to dedicate a section to it.


Checks variable type before updating

This verifies that the variable type matches before updating.  Currently
it only checks the name, and then updates the value.  For instance, if
you have a machine variable, but accidently use set instead of
set_machine, the variables pane will show the updated value, but its not
actually updated because it created a player variable with that name in
the actual runtime.  This creates a new dictionary to tie the varaible
to the type, and then verifies the variable exists of the correct type
before updating a row.  Otherwise it will enter it.  In this case you
would have two variables named the same, one of type machine, and one of
type player.

If this is an acceptable fix, please let me know.  It appears there isn't a test for the variables section.  So if this is good, I will write a test case for variables that includes general stuff and this specific change to include.
I didn't make any changes, and one of the tests failed.  I can look into that as well, but not sure about the already_hidden check.

It looks like the failure point was removed in logic back in 2020.  The setting hidden is now not part of the add_event_to_model, but only update_events.  Should we update the test then to not fail for that?

@toomanybrians Do you have any thoughts on this? I think the fix is good, but it's erroring from prior changes. We can update the tests, based on the previous changes to pass. But wanted someone's opinion before writing my tests and fixing the currently broken tests.

I'm updating MPF Monitor to 0.57 and taking a look at this. Good find here! Your logic makes sense. I'm going to implement it slightly differently, instead of a separate dict() to track types, I'm going to change the keys in the variables dict to be tuples of (variable, type).
Thanks for finding this!


Translations?

Hello! I would like to contribute to this while I'm learning it and I noticed it doesn't have translations. I can only help so much translating to PT-BR (and I'm kinda of a newbie using GitHub,so yeah), but I like to think of it as a start. Thanks for the attention.

Hello @rafaeldfigueiredo , thanks definitely you can do that. I will be happy to help.


feat: Send email receipt on successful payment

This commit adds a description to the payment intent describing the items that are being paid for through the transaction. It then provides Stripe with an email for which Stripe will send an email when the payment is successful.
[SCSE-107]
Related: ntuscse/fe#36

CI seems to be stuck as DynamoDB is not terminating correctly, tests pass locally.

I'll try to take a look at the DynamoDB bug


Are there plans to provide the SEEPS score of tp_6hr for Fuxi and the statistics of the variable such as mean and std?

and the SEEPS score of tp_6hr for Fuxi?

Good catch. We are currently revising the scores and will make sure to include precipitation for Fuxi.
As for the mean/std, do you mean the statistics of the FuXi forecast or those of the ERA5 ground truth?

It would be great if you can provide the statistics of ERA5 ground truth.


Can debugProtectionInterval freeze the browser if i don't open the developer tools?

It is not explicit in the documentation of the debugProtectionInterval if it can freeze the browser if i don't open de developer tools as it is clear for the debugProtection.

It should freeze the browser only if the developer tools window is opened.
If for some reason it freezes the browser in other cases - please provide a reproducible example.

It should freeze the browser only if the developer tools window is opened.
If for some reason it freezes the browser in other cases - please provide a reproducible example.

Thanks!!

Thanks!!

Hi @sanex3339, today we were testing one app and we see that when enabling debugProtection  and debugProtectionInterval the app was freezing in mobile.
When we disabled these flags, the app starts to work normally on mobile.
Should i open another issue with bug label?

Hi @sanex3339, today we were testing one app and we see that when enabling debugProtection  and debugProtectionInterval the app was freezing in mobile.
When we disabled these flags, the app starts to work normally on mobile.
Should i open another issue with bug label?

Can you create a repo with a reproducible example?

Can you create a repo with a reproducible example?

Ping

Ping

Closed as inactive. Feel free to create a new issue with more info. Or write here, I'll reopen this issue.


Oracle CDC Whether the dynamic discovery of new tables is supported

Flink CDC Orcale Source Whether can support automatic scanning new table functions, like mysql CDC scanNewlyAddedTableEnabled feature function.

Need this so bad. +1

Oracle now supports automatically detecting newly added tables. What is the scenario of you?

@Rowen110 @hbk671104 pls review it https://github.com/ververica/flink-cdc-connectors/pull/2078 .

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!


Query Azure App Config REST API via curl

I know I'm doing something wrong here, just not sure what. I'm doing some testing and would like to validate with curl the Azure App Config KVs from inside my pod.
I'm able to generate a Bearer Token from aad-pod-identity.
# curl 'http://<IP_ADDRESS>/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fmy-nonprod-appconfig.azconfig.io%2F' -H Metadata:true -s

{"access_token":"MY_TOKEN","refresh_token":"","expires_in":"85876","expires_on":"1602365638","not_before":"1602278938","resource":"https://my-nonprod-appconfig.azconfig.io/","token_type":"Bearer"}

But when I try to use that token to do a GET from App Config I get an Authorization failed message.
curl -i -X GET -H "Authorization: Bearer MY_TOKEN"  -H "Content-Type: application/json" "https://my-nonprod-appconfig.azconfig.io/kv?label=NONPROD&api-version=1.0"

HTTP/2 401
server: openresty/<IP_ADDRESS>
date: Fri, 09 Oct 2020 21:45:18 GMT
content-length: 0
www-authenticate: HMAC-SHA256
www-authenticate: Bearer error="invalid_token", error_description="Authorization token failed validation"
x-ms-request-id: a4bb1049-39a9-40f6-ad86-0b3785801279
x-ms-correlation-request-id: a4bb1049-39a9-40f6-ad86-0b3785801279
access-control-allow-origin: *
access-control-allow-credentials: true
access-control-expose-headers: DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, WWW-Authenticate
strict-transport-security: max-age=15724800; includeSubDomains

Can you remove the trailing / from the resource you are requesting the token for? So resource=https%3A%2F%2Fmy-nonprod-appconfig.azconfig.io%2F becomes resource=https%3A%2F%2Fmy-nonprod-appconfig.azconfig.io. I suspect that will fix the issue.

doh!  Thanks!


Match misplace by 2

When  the ’  (RIGHT SINGLE QUOTATION MARK ; HTML  &RSQUO; HEX  0x2019 )  is in the string to search the span is displace by 2, for example:
string = "it’s your car"
regex = re2.compile('you')
match = regex.search(string)
pather_match = string[match.start():match.end()]
print(pather_match)

'ur c'

Hi @YarikMR. I am sorry, but at this time we do not plan to add explicit support for unicode.
The workwarond that I suggest is:
string.encode()[match.start():match.end()].decode()

If you want to sent a pull request, feel free to reopen the issue. Thank you!


Resource Requirements and processing time

What are the resource requirements and processing time of these examples?

Thank you for your interest in PL2Map. We offer two camera estimation options: point or point+line. If you choose the point option, the processing time will be similar to our previous paper https://thpjp.github.io/d2s/, which depends on the quality of predicted 3D coordinates. On average, the PnP time is 20-40ms, plus 14ms for feedforward of regression network (from RGB image). For more details, please refer to the above work. If you choose the point+line option, it will take more time in PnP, currently around 200ms (similar to Limap). We will report further details on this soon. Resource requirements: we tested on a single GTX 1080ti gpu and i9-9900 cpu.

Could this process imagery from above?

If you mean the example video results on the webpage, we didn't consider the above processing time, just processed and visualized every frame and then merged them into those videos.

I mean from a drone recording video for photogrammetry survey using FLANN matching and SfM and mapping frames to the point cloud currently. The video file has a subtitle file providing gps locations and other camera data (similar to exif data.
Could this be implemented in our pipeline?

Yes, of course.

What file format does it output the point cloud? .laz?

Thank you very much.
We plan to release everything after the paper's acceptance.
If everything goes right, the release time is expected around June.


release 1.0.0-rc-2

changes:

align AxiomRequest with Next.js APIs #140

releasing 1.0.0 instead


Pass Argument to Loungy to Control Launched View

Hi!
I have absolutely no Rust experience so I'm not sure how this would be done in order to contribute, but it would be fantastic if we could pass which feature we'd like to launch in Loungy like:
/Applications/Loungy.app/Contents/MacOS/loungy clipboard

The above launching the clipboard feature without the need to bind a MacOS wide hotkey.
This would be useful in likely several scenarios. The main scenario for me would be to use skhd to launch Loungy without needing to trick MacOS into thinking I pressed a certain key combo like I do right now (karabiner.json, cmd+shift+c being what I set the clipboard hotkey to):
          {
            "description": "fn+shift+c to cmd+shift+c",
            "manipulators": [
              {
                "from": {
                  "key_code": "c",
                  "modifiers": {
                    "mandatory": ["fn", "left_shift"]
                  }
                },
                "to": [
                  {
                    "key_code": "c",
                    "modifiers": ["left_command", "left_shift"]
                  }
                ],
                "type": "basic"
              }
            ]
          },

Whereas I could just do:
fn - shift - c : command open -a /Applications/Loungy.app/Contents/MacOS/loungy clipboard

Unless, of course, there's already a way to do this and I'm just missing it :)
Thanks for this, by the way! This app has been incredibly helpful for me thus far, and it's only been a day!

Not yet possible, but planned. This would improve cross platform hotkey possibilities quite a bit as well.

Rough early implementation:
> cargo run --all-features -- --help
    Finished dev [unoptimized + debuginfo] target(s) in 1.46s
     Running `target/debug/loungy --help`
Loungy is a WIP launcher in the vein of Raycast and Alfred.

Usage: loungy <Action> [Command]

Arguments:
  <Action>   [possible values: toggle, show, hide, quit, command]
  [Command]  [possible values: clipboard, tailscale, bitwarden, matrix, theme, root, process, menu]

Options:
  -h, --help     Print help
  -V, --version  Print version

Usage: loungy command clipboard

It's release in 0.1.3 if you want to give it a shot!

Works wonderfully!
in my skhdrc:
fn - d : command /Applications/Loungy.app/Contents/MacOS/loungy command root
fn + shift - c : command /Applications/Loungy.app/Contents/MacOS/loungy command clipboard

Thank you!


Not working on IOS: Cannot read property 'IsAndroid' of undefined

The error is regarding the following line of code in sound.js :
var RNSound = require('react-native').NativeModules.RNSound;
var IsAndroid = RNSound.IsAndroid;

I have followed the instructions exactly as outlined for IOS, so I have no idea why I am getting this error.
This module works perfectly on Android.

Are you on the latest version? Are you seeing the issue with https://github.com/zmxv/react-native-sound-demo ?

Yes, I am on the latest version. I will clone from the link you provided and get back to you asap.

I am unable to run the demo project because I get the following error: Add RNCookieManagerIOS.h and RNCookieManagerIOS.m to your Xcode project despite running npm install and rnpm link

Weird. Neither the demo app nor the native module directly depends on RNCookieManager
https://github.com/zmxv/react-native-sound/search?utf8=✓&q=RNCookieManagerIOS
https://github.com/zmxv/react-native-sound-demo/search?utf8=✓&q=RNCookieManagerIOS

The error is this line: if (Platform.OS === 'ios') {     invariant(RNCookieManagerIOS,

This error seems to have nothing to do with the sound module.

Back to the original issue, do you have any idea what's causing it?

FYI, I am able to successfully run the demo project. Digging the sample audio.

Having the same issue, any updates @Frosty92?

Unfortunately no.

I'm unable to reproduce the issue with the demo app.

I had this error as well when adding the dependencies but forgetting to recompile. After a new build it worked like a charm! cc @Frosty92

Mine was solved after reintalling node modules and recompiling - haven't had the issue since (touch wood)

I have the same issue, and I tried reinstalling node module and recompiling, but it didn't help.
reinstalled by: npm install react-native-sound --save
recompiled by: react-native run-ios
is this what you did? @will-ockmore

Stack trace is:
Unhandled JS Exception: undefined is not an object (evaluating 'RNSound.IsAndroid')

RCTFatal + 104
-[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 588
__invoking___ + 140
-[NSInvocation invoke] + 286
-[NSInvocation invokeWithTarget:] + 54
-[RCTModuleMethod invokeWithBridge:module:arguments:] + 1887
-[RCTBatchedBridge _handleRequestNumber:moduleID:methodID:params:] + 680
__33-[RCTBatchedBridge handleBuffer:]_block_invoke.456 + 1274
_dispatch_call_block_and_release + 12
_dispatch_client_callout + 8
_dispatch_queue_drain + 1048
_dispatch_queue_invoke + 595
_dispatch_client_callout + 8
_dispatch_root_queue_drain + 890
_dispatch_worker_thread3 + 98
_pthread_wqthread + 1129
start_wqthread + 13

I finally resolved issue by following steps (I don't know which one fixed the issue, so I'll put everything I did)

Kill processes on port 8081
rm -rf ios/build/* (Delete all files in iOS build folder)
Reboot
Open up in XCode and change the scheme from building for a Release to Debug.

Now I see RNSound object on ReactNative.

I get
undefined is not an object (evaluating '_reactNativeSound.Sound.MAIN_BUNDLE')

probably related.
react-native link sets react-native-sound where the docs say RNSound. I changed that manually and the above error is what I end up with after copying a sound to the specified folder android/app/src/main/res/raw.

Unhandled JS Exception: undefined is not an object (evaluating 'RNSound.IsAndroid')

Deleting all files in iOS build folder and restarting the packager solved the issue

rm -rf ios/build/*

@RinorDreshaj there is no such folder as far as I can see. where do you find it?

I have got the same issue with Android undefined is not an object (evaluating 'RNSound.IsAndroid')

Luckily, I fixed by rebuild android and react-native run-android. Thanks all

@anhtata Please help me i am also facing issue in android. I tried

react-native run-android

but still same issue

@snsekar @Frosty92 @zmxv @will-ockmore @Roconda @sydneyitguy
Had the same issue on iOS & Android and was able to fix it.
iOS: My fault I did not choose my target correctly i.e. under built target I had myProjectTests selected rather than myProject. Once I fixed this I did not receive any error on iOS.
Android: According to RN docs RNSound package should be added to getPackages() method of MainApplication.java rather than MainActivity.java. Once I changed this the error went away.
I am using RN version 0.39.2.
Hope this helps.

Looks like there is a Pull Request already on this issue.

I was able to fix the issue undefined is not an object (evaluating 'RNSound.IsAndroid') on iOS 💥.
What I did was just to reinstall react-native-sound npm install react-native-sound --save and instead of linking it to xcode/android manually, I used react-native link react-native-sound to link it automatically, after that the error disappeared.

Just for reference, to play a sound just open xcode, and drag-drop your sound file into the root of the xcode project library:
--AppName
----Libraries
----AppNameTests
----Products
----Resources
----SoundFile.wav

Then tick Copy items if needed, Create folder references and in add to targets select your AppName, then click finish to add it to your project.
Now go to your Project Build Phases and make sure your sound file is listed on Copy Bundle Resources, if it's not in there, add it by drag-drop your sound file.
Now everything should be ready, just don't forget to run your app in xcode to build it.
Here's a sample code I'm using in my React Native app:
import React from 'react';
import { TouchableWithoutFeedback, Text } from 'react-native';
import Sound from 'react-native-sound';

class MyComponent extends Component {
  playSound() {
    const mySound = new Sound('tap.wav', Sound.MAIN_BUNDLE, (e) => {
      if (e) {
        console.log('error', e);
      } else {
        console.log('duration', mySound.getDuration());
        mySound.play();
      }
    });
  }

  render() {
    return (
      <TouchableWithoutFeedback onPress={this.playSound.bind(this)}>
         <Text>Play Sound!</Text>
      </TouchableWithoutFeedback>
    );
  }
}

And now it's 100% working, I tried it on iOS only, but the original error should be gone on both platforms.
Just don't forget to run the project with xcode, then you can use react-native run-ios, that's all!
Hope this is helpful! 😊

Interesting - it's possible the differences between react-native link react-native-sound and the manual instructions may be due to #88

I had this issue briefly, just after running yarn add react-native-sound and react-native link on iOS.
I fixed it by recompiling. I forgot to do that 🙈

I'm closing this as folks have posted helpful solutions that seem to work for people

Running react-native link works, however it doesn't seems to do anything, I had this error as well, and I was able to resolve it by manually adding RNSound.xcodeproj to Libraries folder and drag and drop libRNSound.a to Link Binary with Libraries of my project.

@benvium  I'm not sure why would you close an issue and I'm seeing tone of people encountering this error?

@DeanKamali Which version of the react-native cli and react native are you using? react-native link worked for me (no manual steps required) on 41.2, cli version 1.3.0, Xcode 8.2.1.

hmmm, I believe we both using same versions
react-native-cli: 2.0.1
react-native: 0.41.2
xcode Version 8.2.1 (8C1002)

@DeanKamali ok. I just tried:
react-native init TEST
cd TEST
npm i react-native-sound --save
react-native link
open ios/TEST.xcodeproj/
# open build phases

... and for me it linked the library correctly. What happens when you try?

@benvium I followed your steps verbatim and created new project and I can confirm that  react-native link correctly set things up.
I'm not sure why I encountered that issue earlier, however following the manual process is not a big deal.
Thanks for taking the time to check it out.

@DeanKamali No problem. I'll re-close this ticket until the issue crops up again :-)

Had the same experience as @DeanKamali
I have more than one Xcode Target. I manually selected my dev target and linked libRNSound.a by dragging (see docs), re-built from Xcode and it worked.

I solved this problem.
Solution; close android / ios emulator and close android Studio / XCode and close terminal / cmd. Restart all and it worked.

I have been unable to resolve the problem following any of the above steps. I am using create-react-native-app. Has anyone had found a solution to using create-react-native-app?

I believe your problem is unrelated.  create-react-native-app creates an expo app, and that means it does not work the same when it comes to native modules. you might have to do something called "eject" but this is not just a tiny step, you really should learn more about what it means to have an expo app.

You need to delete your derived data in XCode: /Users/{yourUserName}/Library/Developer/Xcode/DerivedData

I'm able to solve this error, by re-linking the libraries again. It's pretty weird haha
react-native link
react-native run-ios

I am hating myself because I frantically scrolled through the github comments looking for a solution but only after 25 minutes did I realize that I forgot to run react-native link react-native-sound as laid out in the initial instructions. That solved my problem.

I only get the error when running unit tests!
Building an playing sounds works perfectly fine.
What could be the reason for it?

Linking doesn't work whether i relink the library or not, manual installation doesn't work either.
None of the above workaround worked aswell.
Build on ios, both debug and release tested.
App is native with a react-native view (so not created with create react-native app)
ps : fixed this by doing a pod install after linking the library. Now i got to get it to work.

In my case, I used:
npm i --save react-native-sound
and then
react-native link react-native-sound
But then I found under /node_modules/react-native-sound/, there is no 'android' folder.
So I downloaded 'react-native-sound' manually, copy the 'android' folder to /node_modules/react-native-sound/ and rebuilt. It seems no more error.

The Error was appearing when running Jest, and being flagged as soon as the 'react-native-sound' was being imported. I'm having success by importing a mock file into the test, containing:
jest.mock('NativeModules', () => {
  return {
    RNSound: {
      IsAndroid: true
    }
  };
});

Make sure that you run pod install after react-native link react-native-sound in case you are use pods. In other case link it manually https://github.com/zmxv/react-native-sound/issues/36#issuecomment-284443489

@vladbars comment worked for me. I had to cd into the ios directory ad run pod install.

PLEASE, PUT IN  THE DOCUMENTATION WITH CAPITAL LATTERS:
"REBUILD THE APP AFTER IMPORT THE LIBRARY"
Thanks a lot.


Update app to allow sending of anonymous feedback

Task/Issue URL: https://app.asana.com/0/72649045549333/675946344778515
Description:
Replaces the feedback email with a feedback url to allow users to send anonymous feedback.
Steps to test this PR:

Go to app settings
Tap the "Send Feedback" option and note that a "Feedback" page opens in a new tab
Enter details and submit the form

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks for the review @CDRussell. All of that will be addressed in https://app.asana.com/0/361428290920652/681976123812204.


[gardening] Remove unused code, fix PEP 8 regression, fix typos.

What's in this pull request?
Remove unused code, fix PEP 8 regression, fix typos.
Resolved bug number: –

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test


Support negative axis for gather

This PR adds support for negative axis for gather with the corresponding tests

@trevor-m @anijain2305 @comaniac PTAL.

Thanks @codeislife99 @trevor-m @trevor-m


Some questions about the implementation

Hi, thank you for sharing the great work.
I have some questions about the implementation.
First question is about padding in data preparation.
https://github.com/NVIDIA/tacotron2/blob/master/data_utils.py#L103-107
The value of gated_padded[i] will be all of 0 when the i-th length is the maximum length.
Is it correct?
Second question is about network architecture of decoder.
https://github.com/NVIDIA/tacotron2/blob/master/model.py#L341
The lstm structure looks like different from the original.
Is there any specific reason?
Thank you in advance!

Hey @kan-bayashi.

It not really correct. Note that gate_padded is of length maximum mel length + 1. When updating gate_padded, we use the non-padded mels whose maximum length is maximum mel length.

What difference are you referring to? I think you refer to the 2 LSTMs on the decoder but want to make sure before replying.

Hi @rafaelvalle. Thank you for quick response!

Oh I overlooked the size of padded tensor.
Now I understood. Thank you.

Yes. I refer to 2 LSTM part.
In my understanding, the inputs of first lstm layer is prenet outputs + encoder embedding, and the inputs of second layer is outputs of first lstm layer.
Finally, outputs of second layer is concatenated with encoder embedding, and those are inputted into projection layer.
But in the case of your implementation, it looks like different.

We are currently testing the performance of 3 different implementations. The one that seems to resemble the paper the most, i.e. 2 Decoder LSTMs and 1 Attention LSTM is the slowest to learn attention but reaches lower training and validation losses much quicker.
Having said that, we need to run more tests to evaluate how important the difference in loss is.
We're also evaluating adding zoneout with the hope that it will decrease the time it takes to learns attention.

@rafaelvalle Thank you for your answer. I closed this issue.


fix: add codegen native component as external

Why
This adds codegen native component as external, and loads it directly from the react-native instance in the Runtime. It's an attempt to fix react-native-svg on Snack.
How

Added external to Snack Runtime
Added external to Snackager

Test Plan
See staging, load a project with react-native-svg (see expo/expo#27171)

Seems to be working again for https://staging-snack.expo.dev/@bycedrictest/react-native-svg-example


[bug]: Upgrading to Invoke 4.0.1 Doesn't work as expected

Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
RTX 3090
GPU VRAM
24
Version number
4.0.1
Browser
Google Chrome
Python dependencies
No response
What happened
I upgraded My InvokeAi to the last release 4.0.1
installer for the first time had some issues, but were fixed when in relaunched it the second time. ok
the first time i launched invoke.bat , i had errors related to costum nodes (this was expected since it's a major upgrade), so i made a backup of all of them, left my nodes folder empty.
but when i restarted again ,

Generate images with the browser-based interface
console showed this error message :
Starting the InvokeAI browser-based UI..
Traceback (most recent call last):
File "C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\USER\invokeai.venv\Scripts\invokeai-web.exe_main.py", line 7, in
sys.exit(run_app())
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\run_app.py", line 10, in run_app
from invokeai.app.api_app import invoke_api
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\api_app.py", line 34, in
from .api.dependencies import ApiDependencies
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\api\dependencies.py", line 20, in
from ..services.download import DownloadQueueService
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\download_init.py", line 4, in
from .download_default import DownloadQueueService, TqdmProgress
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\download\download_default.py", line 18, in
from invokeai.app.services.events.events_base import EventServiceBase
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\events_init.py", line 1, in
from .events_base import EventServiceBase  # noqa F401
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\events\events_base.py", line 7, in
from invokeai.app.services.session_queue.session_queue_common import (
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\session_queue\session_queue_common.py", line 10, in
from invokeai.app.services.shared.graph import Graph, GraphExecutionState, NodeNotFoundError
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\shared\graph.py", line 18, in
from invokeai.app.invocations import *  # noqa: F401 F403
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\invocations\controlnet_image_processors.py", line 9, in
from controlnet_aux import (
ModuleNotFoundError: No module named 'controlnet_aux'
Desired action:
Generate images with the browser-based interface
Open the developer console
Run the InvokeAI image database maintenance script
Command-line help
Q - Quit

What you expected to happen
Normal behavior
How to reproduce the problem
No response
Additional context
No response
Discord username
angelotheshredder

Thanks for making the separate issue.
The error message is saying that a required package didn't get installed. That's very much unexpected, because the installer always fully reinstalls missing packages.
Next steps:

Re-download the installer from here: https://github.com/invoke-ai/InvokeAI/releases/tag/v4.0.1
Delete the old installer before unzipping the new one (make sure no stale files are in there)
Run the installer again. Be sure this happens in a fresh cmd/powershell/terminal window.

I expect one of these outcomes:

No error messages and everything works.
The installer has some error message about being unable to install controlnet_aux. Please copy the full output from the installer if this happens.

i did as you suggested but i get this error again :
Please enter 1-4, Q: [1] 1
Starting the InvokeAI browser-based UI..
Traceback (most recent call last):
File "C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\USER\invokeai.venv\Scripts\invokeai-web.exe_main.py", line 7, in
sys.exit(run_app())
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\run_app.py", line 10, in run_app
from invokeai.app.api_app import invoke_api
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\api_app.py", line 34, in
from .api.dependencies import ApiDependencies
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\api\dependencies.py", line 20, in
from ..services.download import DownloadQueueService
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\download_init.py", line 4, in
from .download_default import DownloadQueueService, TqdmProgress
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\download\download_default.py", line 18, in
from invokeai.app.services.events.events_base import EventServiceBase
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\events_init.py", line 1, in
from .events_base import EventServiceBase  # noqa F401
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\events\events_base.py", line 7, in
from invokeai.app.services.session_queue.session_queue_common import (
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\session_queue\session_queue_common.py", line 10, in
from invokeai.app.services.shared.graph import Graph, GraphExecutionState, NodeNotFoundError
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\services\shared\graph.py", line 18, in
from invokeai.app.invocations import *  # noqa: F401 F403
File "C:\Users\USER\invokeai.venv\lib\site-packages\invokeai\app\invocations\controlnet_image_processors.py", line 9, in
from controlnet_aux import (
ModuleNotFoundError: No module named 'controlnet_aux'
Desired action:

Generate images with the browser-based interface
Open the developer console
Run the InvokeAI image database maintenance script
Command-line help
Q - Quit

To update, download and run the installer from https://github.com/invoke-ai/InvokeAI/releases/latest.

if i try : pip install controlnet_aux --force-reinstall --no-cache-dir
this will work, but only in CPU , no GPU

Thanks for trying, but I need to see the output from the installer to see what's wrong. Can you please copy everything the installer prints out?

if i try : pip install controlnet_aux --force-reinstall --no-cache-dir
this will work, but only in CPU , no GPU

Yeah, the error about controlnet_aux is not the root issue - I think you are somehow getting the wrong torch. That's why I need the full installer output

using the console : i installed controlnet_aux via : pip install controlnet_aux --force-reinstall --no-cache-dir
then after that : pip install --force-reinstall torch==2.2.1 --index-url https://download.pytorch.org/whl/cu121
it gives me this error :
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
invokeai 4.0.1 requires huggingface-hub==0.21.4, but you have huggingface-hub 0.22.2 which is incompatible.
invokeai 4.0.1 requires requests~=2.28.2, but you have requests 2.31.0 which is incompatible.
invokeai 4.0.1 requires scikit-image~=0.21.0, but you have scikit-image 0.22.0 which is incompatible.
invokeai 4.0.1 requires timm==0.6.13, but you have timm 0.9.16 which is incompatible.
invokeai 4.0.1 requires torchvision==0.17.1, but you have torchvision 0.17.2 which is incompatible.
albumentations 1.4.3 requires typing-extensions>=4.9.0, but you have typing-extensions 4.8.0 which is incompatible.
huggingface-hub 0.22.2 requires fsspec>=2023.5.0, but you have fsspec 2023.4.0 which is incompatible.
torchvision 0.17.2 requires torch==2.2.2, but you have torch 2.2.1+cu121 which is incompatible.
but it's working now

Ok, glad it's working. But you still haven't provided the full installer log output - it's much longer then that.
Also, you shouldn't have torchvision 0.17.2 installed. The installer doesn't even install that version. Do you have some shared virtual environment you are using?

i didn't have full installer log output,  i will delete the venv again, will reinstall again to reproduce the full error message

installer log.txt

and this log file is from starting invoke.bat
invoke-bat log.txt

Do you have some shared virtual environment you are using?
A: i have lot of virtual environments in my PC ( ComfyUI, invokeAI Training, EveryDream2 training, kohya , etc .. ) but i make a special venv folder for every tools i install in my PC .. nothing is shared

I'm still thinking there might be something funky with the controlnet-aux package.  You can take a look at #5863 for how I resolved the same issue.
I wonder if in your case pip was also only installing the dist-info for controlnet-aux without the actual module contents.

i reinstalled controlnet
pip install controlnet_aux --force-reinstall --no-cache-dir
this install command uninstalled torch and made somehow everything works in CPU,
so i installed torch again
pip install --force-reinstall torch==2.2.1 --index-url https://download.pytorch.org/whl/cu121
also this works
pip install --force-reinstall torch==2.2.2 --index-url https://download.pytorch.org/whl/cu121
with this done, I am ok, everything seems working as expected

@angeloshredder Thanks for the logs and continued troubleshooting.
It's not clear why, but on some individual computers, the app ends up running with the CPU version of torch.
Your manual reinstalling is doing essentially the same thing as the installer, though we install more packages. We expect pip to install the same packages as what you got when you reinstalled torch and controlnet_aux manually.
Indeed, reviewing the install logs, I see we did get the same packages:

torch-2.2.1+cu121
controlnet-aux-0.0.7

So then, with these packages apparently successfully installed in your virtual environment, why is the application's python not getting them?
This is really puzzling. I wonder if maybe the wrong venv is being activated somehow. Could be related to the PATH env var or some other global configuration on the system I suppose, but I couldn't say what exactly.
@the-space-fish Thanks for sharing your solution. It's kinda silly that you had to do that to fix it, jeez.


describe() outputs bool as categorical

[ ] closes #6625
[ ] tests passed so far
[ ] passes git diff upstream/master | flake8 --diff

pls add a whatsnew entry. put in API changes.

thanks @vii


vs code problem

Type: Bug
not show any extentation and setting option
VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.22622
Modes:
Sandboxed: No

Hi @Sid2Sahab This issue is related to VS Code, please file it in https://github.com/microsoft/vscode/issues


Trimou TEMPLATE_LOCATOR_INVALID_CONFIGURATION running fat jar

While developing the benchmark I came across this issue while running a fat jar like
$ java -jar target/my-fat-jar-with-templates.jar

Caused by: org.trimou.exception.MustacheException: TEMPLATE_LOCATOR_INVALID_CONFIGURATION: Invalid root dir: file:/Volumes/rober/workspace/FrameworkBenchmarks/frameworks/Java/pippo-undertow/target/pippo-undertow-0.1.0-SNAPSHOT.jar!/templates
       	at org.trimou.engine.locator.FilePathTemplateLocator.checkRootDir(FilePathTemplateLocator.java:136)
       	at ro.pippo.trimou.PippoTemplateLocator.<init>(PippoTemplateLocator.java:49)
       	at ro.pippo.trimou.TrimouTemplateEngine.init(TrimouTemplateEngine.java:81)
       	at ro.pippo.core.Application.setTemplateEngine(Application.java:178)
       	at ro.pippo.benchmark.PippoApplication.onInit(PippoApplication.java:19)
       	at ro.pippo.core.Application.init(Application.java:98)
       	at ro.pippo.core.route.RouteDispatcher.init(RouteDispatcher.java:70)
       	at ro.pippo.core.PippoFilter.init(PippoFilter.java:95)
       	... 27 more

I changed the jar creation maven plugin to use the official method, but the issue still remained.
I tested the same packaging configuration with a different template engine (pippo-peble) and everything worked fine.
So started digging about what can be wrong with Trimou and I found this:
https://github.com/trimou/trimou/issues/50
Which resulted on this fix
https://github.com/trimou/trimou/commit/1ab83d622b6cc7ac1269c38394602c5b8d88abe3
I think the issue might be related to fact that  PippoTemplateLocator extends FilePathTemplateLocator instead of ClassPathTemplateLocator.
Any thoughts?

I will try to take a look. Everything related to Trimou in Pippo is in TrimouTemplateEngine class.
My idea is to configure somehow the Trimou. I think that the main mechanism to do that is via init(Application application, MustacheEngineBuilder builder) method (we do that in PebbleTemplateEngine).

Useful links:
https://github.com/decebals/pippo/pull/212#issuecomment-136359578
https://github.com/decebals/pippo-demo/blob/master/pippo-demo-template/src/main/java/ro/pippo/demo/template/PebbleDemo.java#L41

In conclusion you can set your CustomTrimouLocator in Trimou via TrimouTemplateEngine. init(Application application, MustacheEngineBuilder builder). Also we can modify the actual PippoTemplateLocator to extends ClassPathTemplateLocator but I don't know the impact for the application that already used Trimou template engine.

Thanks for your speedy follow up on this :)
Obviously backward compatibility is important and I wouldn't risk it either.
I guess that It would be nice to have a TrimouTemplateEngine that works out of the box without having to do any custom initialization, but I can live with that.
Thanks again!

I think it was a mistake to use FileTemplateLocator and it should be corrected.

I committed a possible fix. I tested the modification on TrimouDemo and everything seems OK.
The modification is minor, I changed our PippoTemplateLocator with the builtin ClassPathTemplateLocator.
@robertoestivill Please let me know if the modification resolve your use case
@gitblit I like that Pippo has builtin support for a lot of web servers, template engines, ... I see a problem with the maintenance of these implementations. This issue is a good example. I don't use Trimou, I know nothing about this template engine but I must spent time to fix issues related to this engine. Maybe the core developers must spent time on pippo-core and other fundamental modules and less time on particular implementation. I am scary if someone will find an issue in pippo-session-infinispan or pippo-session-mongodb :smile:

@decebals Where is your sense of adventure?  ;)
So how would you like to proceed?  Do you want to split out modules into an extras repo?

@robertoestivill Can we close this issue?

@decebals Just tried the fix. No exceptions. Templates are found just fine in fat-jars and IntelliJ is also locating them correctly.
Closing.


Type A relocations are not currently supported for ELFs without sections. Please report this.

Just got this while loading a game, so I guess I'm reporting it :)

I'll add more info now that I researched a little:

Game is Danganronpa 2 (NPJH50515)
Ghidra 10.2.3
Java JDK 20 (Oracle)
The elf header indeed lists e_shnum as 0

Digging through PPSSPP's source it seems like supporting these might be simple, check: https://github.com/hrydgard/ppsspp/blob/master/Core/ELF/ElfReader.cpp#L643
It just scans for a sections with p_type set as 0x700000A0 (they call it PT_PSPREL1, which I guess are type-A relocs), then it just consumes the whole segment as a big array of relocation info.

Would also be cool if we could recover the NID related sections (.lib.ent, .lib.stub, .rodata.sceModuleInfo, .rodata.sceResident and .rodata.sceNid) so we can use the NIDresolver script on these programs too.
Recovering any other section (say .rodata, .ctors, .dtors, .eh_frame etc) would be entirely optional

Duplicate of #25, should be already fixed in v16, you will need to update your Ghidra too.
Feel free to create separate issue for your last comment. Personally, I don't know how those sections could be recovered.

Ah, didn't catch there was an issue for this already, I guess I'll need to update.
I'll close once I can confirm it's fixed (and open an issue for the last comment, as per your suggestion)

Can confirm v16 fixes the problem, though, I suggest that the relocation segment is either named as such or that the relocation structs appear inside so people know what the segment is for.
Otherwise it's working as intended, thanks!


Setup a test project and structure

setup .net test project with NUNIT
Use GRPC testing framework to test if the right requests are send to the broker
integration tests can be added later

closed with f5a81aa26c0d9923e4d92cdf908d9b2e480fce5b and 0a8c933526f8027ce75cf3b01123243f951bc214


Adding TPC-H (SF1) Tests on Parquet & JSON datasets

Rahul, can you please take a look? I"ll share test run results offline

It is very confusing to see a lot of irrelevant commits in the PR. Can you take care of such issues in the future?
Also when you run any regression jobs, please use the specific commit id instead of just specifying the branch name.
LGTM +1

@rchallapalli done - i've rebased my branch on master. Should only list relevant commits here and henceforth.


Clear "remember me" cookies after trust level alterations

Description
Currently when using the "Remember me" functionality while logging in we do not clear these known cookies when certain trust updates occur. Eg:

Password change/reset
MFA added (future scope)

In these cases it's a security precaution to ensure existing remembered devices are logged out.
/cc @clarkepaul

Duplicate of https://github.com/silverstripe/silverstripe-framework/issues/8694


Embed converted scratch project without internet access

Hi, maybe this is a dumb question, but...
I'd like to convert a Scratch project and convert it to Javascript, as Phosphorus does; however, I wonder if it would be possible to embed this project in an Epub 3 file, so that I could open it and have the converted Scratch project run on the ebook when it is oppened by the reader (GitDen, for example) but without the need for internet access. Is it possible?
Best regards,
Marcos

you can get some at https://phosphorus.github.io/embed.js?id={ID}&auto-start=true&light-content=false

Possible - however you may need to store the project within the javascript (maybe in base64 format) if you don't want to download over the internets

No.

??
That's how I did it for baking projects into an apk.
I Stored the downloaded project.sb2 (which we know is a basically a zip) then base64 encoded file as a javascript var and convert it to a blob object and use that - works a treat as is totally offline solution.


Update CI with external test

On Linux it should be /tmp/fmucktmpLy59Ia/resources/mainclass.txt
not
tmp/fmucktmpLy59Ia/resources/mainclass.txt
for linux a slash needs to be added to resources:
resources_ = "/" + resources_
But I have no idea why SlaveInstance gets the wrong path?

It finally works... Linux and Windows runner can't run at the same time..

Could bump the version to 0.1.1 so we can update the template_fmu4j in
https://github.com/Vico-platform/fmu4j_template

Done. Template repo has been updated too.


Bug: Touch of Destiny doesn't work

Touch of Destiny, which is an ability of Destined Bloodline, doesn't give an insight bonus on anything.

Good find, this turned out to be a pretty core bug in ContextRankConfigs that likely affected many other things. Will be fixed in the next release which should be on 9/29 for the enhanced edition.