[bug]: Cannot Use Some 2.1 models imported using UI model manager

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
6GB
What version did you experience this issue on?
2.3.4.post1
What happened?
Trying to use 2.1 models imported using the UI manager (box-> add new-> add checkpoint/safetensor model) generates a bunch of errors during conversion to diffuses (either manual or automatic) resulting in a fall back to previous model for some 2.1 models
Models tried:
https://civitai.com/models/40223/guozianime
https://civitai.com/models/3091/cinematic-diffusion
Models that do convert and work (in that they don't throw errors; images provided are not that on prompt):
https://civitai.com/models/24348/dvportrait
https://civitai.com/models/4043/djz-airlock-v21-768-v21-512-inpainting-v15
Side note that many 2.1 models (including the ones here that don't work) do not say if they are 512 or 768, just that they are 2.1, so user has to guess during import. Tried both ways and got the same errors.
Screenshots
An example of the error, for manual conversion. Same errors during autoconvert on model change, with the addition of falling back to the prior model.
>> Optimizing cinematicDiffusion_v1 (30-60s)
   | Scanning Model: F:\Stable_diffusion_models\cinematicDiffusion_v1.ckpt
   | Model scanned ok
   | global_step key not found in model
** Conversion failed: Error(s) in loading state_dict for UNet2DConditionModel:
        size mismatch for down_blocks.0.attentions.0.proj_in.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for down_blocks.0.attentions.0.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for down_blocks.0.attentions.0.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for down_blocks.0.attentions.0.proj_out.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for down_blocks.0.attentions.1.proj_in.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for down_blocks.0.attentions.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for down_blocks.0.attentions.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for down_blocks.0.attentions.1.proj_out.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for down_blocks.1.attentions.0.proj_in.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for down_blocks.1.attentions.0.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for down_blocks.1.attentions.0.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for down_blocks.1.attentions.0.proj_out.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for down_blocks.1.attentions.1.proj_in.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for down_blocks.1.attentions.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for down_blocks.1.attentions.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for down_blocks.1.attentions.1.proj_out.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for down_blocks.2.attentions.0.proj_in.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for down_blocks.2.attentions.0.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for down_blocks.2.attentions.0.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for down_blocks.2.attentions.0.proj_out.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for down_blocks.2.attentions.1.proj_in.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for down_blocks.2.attentions.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for down_blocks.2.attentions.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for down_blocks.2.attentions.1.proj_out.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for up_blocks.1.attentions.0.proj_in.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for up_blocks.1.attentions.0.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for up_blocks.1.attentions.0.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for up_blocks.1.attentions.0.proj_out.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for up_blocks.1.attentions.1.proj_in.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for up_blocks.1.attentions.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for up_blocks.1.attentions.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for up_blocks.1.attentions.1.proj_out.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for up_blocks.1.attentions.2.proj_in.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for up_blocks.1.attentions.2.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for up_blocks.1.attentions.2.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for up_blocks.1.attentions.2.proj_out.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for up_blocks.2.attentions.0.proj_in.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for up_blocks.2.attentions.0.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for up_blocks.2.attentions.0.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for up_blocks.2.attentions.0.proj_out.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for up_blocks.2.attentions.1.proj_in.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for up_blocks.2.attentions.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for up_blocks.2.attentions.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for up_blocks.2.attentions.1.proj_out.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for up_blocks.2.attentions.2.proj_in.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for up_blocks.2.attentions.2.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for up_blocks.2.attentions.2.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1024]).
        size mismatch for up_blocks.2.attentions.2.proj_out.weight: copying a param with shape torch.Size([640, 640, 1, 1]) from checkpoint, the shape in current model is torch.Size([640, 640]).
        size mismatch for up_blocks.3.attentions.0.proj_in.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for up_blocks.3.attentions.0.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for up_blocks.3.attentions.0.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for up_blocks.3.attentions.0.proj_out.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for up_blocks.3.attentions.1.proj_in.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for up_blocks.3.attentions.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for up_blocks.3.attentions.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for up_blocks.3.attentions.1.proj_out.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for up_blocks.3.attentions.2.proj_in.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for up_blocks.3.attentions.2.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for up_blocks.3.attentions.2.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1024]).
        size mismatch for up_blocks.3.attentions.2.proj_out.weight: copying a param with shape torch.Size([320, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 320]).
        size mismatch for mid_block.attentions.0.proj_in.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
        size mismatch for mid_block.attentions.0.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for mid_block.attentions.0.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1024]).
        size mismatch for mid_block.attentions.0.proj_out.weight: copying a param with shape torch.Size([1280, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
** If you are trying to convert an inpainting or 2.X model, please indicate the correct config file (e.g. v1-inpainting-inference.yaml)
>> Model Converted: cinematicDiffusion_v1

Note model is not converted. It still shows in the checkpoints area.

Try using the console model install utility. You can access it from the invoke.bat launcher under option 5. You can either copy-paste the URL of the model you wish to install, or enter its local file path if already downloaded.

I tried to install the two indicated models just now, but civitai seems to be doing maintenance.


Faux Scrolling doesn't work

Which operating system does the issue occur on?
osx 10.14
This is the configured scrolling section:
scrolling:
  history: 10000
  multiplier: 3
  faux_multiplier: 3
  auto_scroll: true

Which application did you test this in?

Man, less, vim :)

Please make sure the correct configuration file is used and that arrow keys work to scroll in man/less/vim. For vim it's also likely a better choice to enable its proper mouse mode. If you're running tmux, also try running without it please and make sure your TERM is set to alacritty.

I can confirm arrow keys work to scroll in these programs.
I can also confirm this is the correct configuration file (changed the background color, and asserted the background color of the terminal has been changed)
I haven't installed the terminfo, nor set it the TERM variable in the configuration file to alacritty.
But even after doing so, the problem persists.

Could you share your configuration file? Also which shell are you using, could you maybe test bash?

I'm using zsh, but the problem persists when I use bash.
I may have been wrong to expect so, but I expected faux scrolling to make terminal pager program be scrollable with the trackpad. (instead of using j and k)
Here there be my config file
env:
  TERM: alacritty

window:
  dimensions:
    columns: 0
    lines: 0

  # Window position (changes require restart)
  #
  # Specified in number of pixels.
  # If the position is not set, the window manager will handle the placement.
  #position:
  #  x: 0
  #  y: 0
  padding:
    x: 10
    y: 0

  dynamic_padding: false
  decorations: transparent

  # Startup Mode (changes require restart)
  #
  # Values for `startup_mode`:
  #   - Windowed
  #   - Maximized
  #   - Fullscreen
  #
  # Values for `startup_mode` (macOS only):
  #   - SimpleFullscreen
  startup_mode: Windowed

  # Window title
  title: Alacritty

  # Window class (Linux only):
  #class: Alacritty

scrolling:
  # Maximum number of lines in the scrollback buffer.
  # Specifying '0' will disable scrolling.
  history: 10000

  # Number of lines the viewport will move for every line scrolled when
  # scrollback is enabled (history > 0).
  multiplier: 3

  # Faux Scrolling
  #
  # The `faux_multiplier` setting controls the number of lines the terminal
  # should scroll when the alternate screen buffer is active. This is used
  # to allow mouse scrolling for applications like `man`.
  #
  # Specifying `0` will disable faux scrolling.
  faux_multiplier: 3

  # Scroll to the bottom when new text is written to the terminal.
  auto_scroll: true

# Spaces per Tab (changes require restart)
#
# This setting defines the width of a tab in cells.
#
# Some applications, like Emacs, rely on knowing about the width of a tab.
# To prevent unexpected behavior in these applications, it's also required to
# change the `it` value in terminfo when altering this setting.
tabspaces: 8

# Font configuration (changes require restart)
font:
  # Normal (roman) font face
  normal:
    # Font family
    #
    # Default:
    #   - (macOS) Menlo
    #   - (Linux) monospace
    #   - (Windows) Consolas
    family: "FuraCode Nerd Font Mono"

    # The `style` can be specified to pick a specific face.
    style: Retina

  # Bold font face
  #bold:
    # Font family
    #
    # If the bold family is not specified, it will fall back to the
    # value specified for the normal font.
    #family: monospace

    # The `style` can be specified to pick a specific face.
    #style: Bold

  # Italic font face
  #italic:
    # Font family
    #
    # If the italic family is not specified, it will fall back to the
    # value specified for the normal font.
    #family: monospace

    # The `style` can be specified to pick a specific face.
    #style: Italic

  # Point size
  size: 16.0

  # Offset is the extra space around each character. `offset.y` can be thought of
  # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
  offset:
    x: 0
    y: 0

  # Glyph offset determines the locations of the glyphs within their cells with
  # the default being at the bottom. Increasing `x` moves the glyph to the right,
  # increasing `y` moves the glyph upwards.
  glyph_offset:
    x: 0
    y: 0

  # Thin stroke font rendering (macOS only)
  #
  # Thin strokes are suitable for retina displays, but for non-retina screens
  # it is recommended to set `use_thin_strokes` to `false`
  #
  # macOS >= 10.14.x:
  #
  # If the font quality on non-retina display looks bad then set
  # `use_thin_strokes` to `true` and enable font smoothing by running the
  # following command:
  #   `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
  #
  # This is a global setting and will require a log out or restart to take
  # effect.
  use_thin_strokes: true

# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true

colors:
  primary:
    background: '0x2E3440'
    foreground: '0xD8DEE9'
  cursor:
    text: '0x2E3440'
    cursor: '0xD8DEE9'
  normal:
    black: '0x3B4252'
    red: '0xBF616A'
    green: '0xA3BE8C'
    yellow: '0xEBCB8B'
    blue: '0x81A1C1'
    magenta: '0xB48EAD'
    cyan: '0x88C0D0'
    white: '0xE5E9F0'
  bright:
    black: '0x4C566A'
    red: '0xBF616A'
    green: '0xA3BE8C'
    yellow: '0xEBCB8B'
    blue: '0x81A1C1'
    magenta: '0xB48EAD'
    cyan: '0x8FBCBB'
    white: '0xECEFF4'

# Visual Bell
#
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
# rung, the terminal background will be set to white and transition back to the
# default background color. You can control the rate of this transition by
# setting the `duration` property (represented in milliseconds). You can also
# configure the transition function by setting the `animation` property.
#
# Values for `animation`:
#   - Ease
#   - EaseOut
#   - EaseOutSine
#   - EaseOutQuad
#   - EaseOutCubic
#   - EaseOutQuart
#   - EaseOutQuint
#   - EaseOutExpo
#   - EaseOutCirc
#   - Linear
#
# Specifying a `duration` of `0` will disable the visual bell.
visual_bell:
  animation: EaseOutExpo
  duration: 0
  color: '0xffffff'

# Background opacity
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
background_opacity: 1.0

# Mouse bindings
#
# Available fields:
#   - mouse
#   - action
#   - mods (optional)
#
# Values for `mouse`:
#   - Middle
#   - Left
#   - Right
#   - Numeric identifier such as `5`
#
# All available `mods` and `action` values are documented in the key binding
# section.
mouse_bindings:
  - { mouse: Middle, action: PasteSelection }

mouse:
  # Click settings
  #
  # The `double_click` and `triple_click` settings control the time
  # alacritty should wait for accepting multiple clicks as one double
  # or triple click.
  double_click: { threshold: 300 }
  triple_click: { threshold: 300 }

  # If this is `true`, the cursor is temporarily hidden when typing.
  hide_when_typing: false

  url:
    # URL launcher
    #
    # This program is executed when clicking on a text which is recognized as a URL.
    # The URL is always added to the command as the last parameter.
    #
    # When set to `None`, URL launching will be disabled completely.
    #
    # Default:
    #   - (macOS) open
    #   - (Linux) xdg-open
    #   - (Windows) explorer
    #launcher:
    #  program: xdg-open
    #  args: []

    # URL modifiers
    #
    # These are the modifiers that need to be held down for opening URLs when clicking
    # on them. The available modifiers are documented in the key binding section.
    modifiers: None

selection:
  semantic_escape_chars: ",│`|:\"' ()[]{}<>"

  # When set to `true`, selected text will be copied to the primary clipboard.
  save_to_clipboard: false

# Allow terminal applications to change Alacritty's window title.
dynamic_title: true

cursor:
  # Cursor style
  #
  # Values for `style`:
  #   - ▇ Block
  #   - _ Underline
  #   - | Beam
  style: Beam

  # If this is `true`, the cursor will be rendered as a hollow box when the
  # window is not focused.
  unfocused_hollow: true

# Live config reload (changes require restart)
live_config_reload: true

# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
# Entries in `shell.args` are passed unmodified as arguments to the shell.
#
# Default:
#   - (macOS) /bin/bash --login
#   - (Linux) user login shell
#   - (Windows) powershell
shell:
 program: /usr/local/bin/zsh
 args:
   - --login

working_directory: None
enable_experimental_conpty_backend: false

# Send ESC (\x1b) before characters when alt is pressed.
alt_send_esc: true

debug:
  # Display the time it takes to redraw each frame.
  render_timer: false

  # Keep the log file after quitting Alacritty.
  persistent_logging: false

  # Log level
  #
  # Values for `log_level`:
  #   - None
  #   - Error
  #   - Warn
  #   - Info
  #   - Debug
  #   - Trace
  log_level: Warn

  # Print all received window events.
  print_events: false

  # Record all characters and escape sequences as test data.
  ref_test: false

# Key bindings
#
# Key bindings are specified as a list of objects. Each binding will specify a
# key and modifiers required to trigger it, terminal modes where the binding is
# applicable, and what should be done when the key binding fires. It can either
# send a byte sequence to the running application (`chars`), execute a
# predefined action (`action`) or fork and execute a specified command plus
# arguments (`command`).
#
# Bindings are always filled by default, but will be replaced when a new binding
# with the same triggers is defined. To unset a default binding, it can be
# mapped to the `None` action.
#
# Example:
#   `- { key: V, mods: Control|Shift, action: Paste }`
#
# Available fields:
#   - key
#   - mods (optional)
#   - chars | action | command (exactly one required)
#   - mode (optional)
#
# Values for `key`:
#   - `A` -> `Z`
#   - `F1` -> `F12`
#   - `Key1` -> `Key0`
#
#   A full list with available key codes can be found here:
#   https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
#
#   Instead of using the name of the keys, the `key` field also supports using
#   the scancode of the desired key. Scancodes have to be specified as a
#   decimal number.
#   This command will allow you to display the hex scancodes for certain keys:
#     `showkey --scancodes`
#
# Values for `mods`:
#   - Command
#   - Control
#   - Option
#   - Super
#   - Shift
#   - Alt
#
#   Multiple `mods` can be combined using `|` like this: `mods: Control|Shift`.
#   Whitespace and capitalization is relevant and must match the example.
#
# Values for `chars`:
#   The `chars` field writes the specified string to the terminal. This makes
#   it possible to pass escape sequences.
#   To find escape codes for bindings like `PageUp` ("\x1b[5~"), you can run
#   the command `showkey -a` outside of tmux.
#   Note that applications use terminfo to map escape sequences back to
#   keys. It is therefore required to update the terminfo when
#   changing an escape sequence.
#
# Values for `action`:
#   - Paste
#   - PasteSelection
#   - Copy
#   - IncreaseFontSize
#   - DecreaseFontSize
#   - ResetFontSize
#   - ScrollPageUp
#   - ScrollPageDown
#   - ScrollLineUp
#   - ScrollLineDown
#   - ScrollToTop
#   - ScrollToBottom
#   - ClearHistory
#   - Hide
#   - Quit
#   - ClearLogNotice
#   - SpawnNewInstance
#   - ToggleFullscreen
#   - None
#
# Values for `action` (macOS only):
#   - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
#
# Values for `command`:
#   The `command` field must be a map containing a `program` string and
#   an `args` array of command line parameter strings.
#
#   Example:
#       `command: { program: "alacritty", args: ["-e", "vttest"] }`
#
# Values for `mode`:
#   - ~AppCursor
#   - AppCursor
#   - ~AppKeypad
#   - AppKeypad
key_bindings:
  # (Windows/Linux only)
  #- { key: V,        mods: Control|Shift, action: Paste            }
  #- { key: C,        mods: Control|Shift, action: Copy             }
  #- { key: Insert,   mods: Shift,         action: PasteSelection   }
  #- { key: Key0,     mods: Control,       action: ResetFontSize    }
  #- { key: Equals,   mods: Control,       action: IncreaseFontSize }
  #- { key: Add,      mods: Control,       action: IncreaseFontSize }
  #- { key: Subtract, mods: Control,       action: DecreaseFontSize }
  #- { key: Minus,    mods: Control,       action: DecreaseFontSize }
  #- { key: Return,   mods: Alt,           action: ToggleFullscreen }

  # (macOS only)
  #- { key: Key0,   mods: Command,         action: ResetFontSize    }
  #- { key: Equals, mods: Command,         action: IncreaseFontSize }
  #- { key: Add,    mods: Command,         action: IncreaseFontSize }
  #- { key: Minus,  mods: Command,         action: DecreaseFontSize }
  #- { key: K,      mods: Command,         action: ClearHistory     }
  #- { key: K,      mods: Command,         chars: "\x0c"            }
  #- { key: V,      mods: Command,         action: Paste            }
  #- { key: C,      mods: Command,         action: Copy             }
  #- { key: H,      mods: Command,         action: Hide             }
  #- { key: Q,      mods: Command,         action: Quit             }
  #- { key: W,      mods: Command,         action: Quit             }
  - { key: F,      mods: Command|Control, action: ToggleFullscreen }

  - { key: Up,        mods: Alt,     chars: "\x1bj"        }
  - { key: Down,        mods: Alt,     chars: "\x1bk"      }
  - { key: Left,        mods: Alt,     chars: "\x1bb"      }
  - { key: Right,        mods: Alt,     chars: "\x1bf"     }

  - { key: Paste,                   action: Paste                            }
  - { key: Copy,                    action: Copy                             }
  - { key: L,        mods: Control, action: ClearLogNotice                   }
  - { key: L,        mods: Control, chars: "\x0c"                            }
  - { key: Home,     mods: Alt,     chars: "\x1b[1;3H"                       }
  - { key: Home,                    chars: "\x1bOH",        mode: AppCursor  }
  - { key: Home,                    chars: "\x1b[H",        mode: ~AppCursor }
  - { key: End,      mods: Alt,     chars: "\x1b[1;3F"                       }
  - { key: End,                     chars: "\x1bOF",        mode: AppCursor  }
  - { key: End,                     chars: "\x1b[F",        mode: ~AppCursor }
  - { key: PageUp,   mods: Shift,   action: ScrollPageUp,   mode: ~Alt       }
  - { key: PageUp,   mods: Shift,   chars: "\x1b[5;2~",     mode: Alt        }
  - { key: PageUp,   mods: Control, chars: "\x1b[5;5~"                       }
  - { key: PageUp,   mods: Alt,     chars: "\x1b[5;3~"                       }
  - { key: PageUp,                  chars: "\x1b[5~"                         }
  - { key: PageDown, mods: Shift,   action: ScrollPageDown, mode: ~Alt       }
  - { key: PageDown, mods: Shift,   chars: "\x1b[6;2~",     mode: Alt        }
  - { key: PageDown, mods: Control, chars: "\x1b[6;5~"                       }
  - { key: PageDown, mods: Alt,     chars: "\x1b[6;3~"                       }
  - { key: PageDown,                chars: "\x1b[6~"                         }
  - { key: Tab,      mods: Shift,   chars: "\x1b[Z"                          }
  - { key: Back,                    chars: "\x7f"                            }
  - { key: Back,     mods: Alt,     chars: "\x1b\x7f"                        }
  - { key: Insert,                  chars: "\x1b[2~"                         }
  - { key: Delete,                  chars: "\x1b[3~"                         }
  # - { key: Left,     mods: Shift,   chars: "\x1b[1;2D"                       }
  # - { key: Left,     mods: Control, chars: "\x1b[1;5D"                       }
  # - { key: Left,     mods: Alt,     chars: "\x1b[1;3D"                       }
  - { key: Left,                    chars: "\x1b[D",        mode: ~AppCursor }
  - { key: Left,                    chars: "\x1bOD",        mode: AppCursor  }
  # - { key: Right,    mods: Shift,   chars: "\x1b[1;2C"                       }
  # - { key: Right,    mods: Control, chars: "\x1b[1;5C"                       }
  # - { key: Right,    mods: Alt,     chars: "\x1b[1;3C"                       }
  - { key: Right,                   chars: "\x1b[C",        mode: ~AppCursor }
  - { key: Right,                   chars: "\x1bOC",        mode: AppCursor  }
  - { key: Up,       mods: Shift,   chars: "\x1b[1;2A"                       }
  - { key: Up,       mods: Control, chars: "\x1b[1;5A"                       }
  - { key: Up,       mods: Alt,     chars: "\x1b[1;3A"                       }
  - { key: Up,                      chars: "\x1b[A",        mode: ~AppCursor }
  - { key: Up,                      chars: "\x1bOA",        mode: AppCursor  }
  - { key: Down,     mods: Shift,   chars: "\x1b[1;2B"                       }
  - { key: Down,     mods: Control, chars: "\x1b[1;5B"                       }
  - { key: Down,     mods: Alt,     chars: "\x1b[1;3B"                       }
  - { key: Down,                    chars: "\x1b[B",        mode: ~AppCursor }
  - { key: Down,                    chars: "\x1bOB",        mode: AppCursor  }
  - { key: F1,                      chars: "\x1bOP"                          }
  - { key: F2,                      chars: "\x1bOQ"                          }
  - { key: F3,                      chars: "\x1bOR"                          }
  - { key: F4,                      chars: "\x1bOS"                          }
  - { key: F5,                      chars: "\x1b[15~"                        }
  - { key: F6,                      chars: "\x1b[17~"                        }
  - { key: F7,                      chars: "\x1b[18~"                        }
  - { key: F8,                      chars: "\x1b[19~"                        }
  - { key: F9,                      chars: "\x1b[20~"                        }
  - { key: F10,                     chars: "\x1b[21~"                        }
  - { key: F11,                     chars: "\x1b[23~"                        }
  - { key: F12,                     chars: "\x1b[24~"                        }
  - { key: F1,       mods: Shift,   chars: "\x1b[1;2P"                       }
  - { key: F2,       mods: Shift,   chars: "\x1b[1;2Q"                       }
  - { key: F3,       mods: Shift,   chars: "\x1b[1;2R"                       }
  - { key: F4,       mods: Shift,   chars: "\x1b[1;2S"                       }
  - { key: F5,       mods: Shift,   chars: "\x1b[15;2~"                      }
  - { key: F6,       mods: Shift,   chars: "\x1b[17;2~"                      }
  - { key: F7,       mods: Shift,   chars: "\x1b[18;2~"                      }
  - { key: F8,       mods: Shift,   chars: "\x1b[19;2~"                      }
  - { key: F9,       mods: Shift,   chars: "\x1b[20;2~"                      }
  - { key: F10,      mods: Shift,   chars: "\x1b[21;2~"                      }
  - { key: F11,      mods: Shift,   chars: "\x1b[23;2~"                      }
  - { key: F12,      mods: Shift,   chars: "\x1b[24;2~"                      }
  - { key: F1,       mods: Control, chars: "\x1b[1;5P"                       }
  - { key: F2,       mods: Control, chars: "\x1b[1;5Q"                       }
  - { key: F3,       mods: Control, chars: "\x1b[1;5R"                       }
  - { key: F4,       mods: Control, chars: "\x1b[1;5S"                       }
  - { key: F5,       mods: Control, chars: "\x1b[15;5~"                      }
  - { key: F6,       mods: Control, chars: "\x1b[17;5~"                      }
  - { key: F7,       mods: Control, chars: "\x1b[18;5~"                      }
  - { key: F8,       mods: Control, chars: "\x1b[19;5~"                      }
  - { key: F9,       mods: Control, chars: "\x1b[20;5~"                      }
  - { key: F10,      mods: Control, chars: "\x1b[21;5~"                      }
  - { key: F11,      mods: Control, chars: "\x1b[23;5~"                      }
  - { key: F12,      mods: Control, chars: "\x1b[24;5~"                      }
  - { key: F1,       mods: Alt,     chars: "\x1b[1;6P"                       }
  - { key: F2,       mods: Alt,     chars: "\x1b[1;6Q"                       }
  - { key: F3,       mods: Alt,     chars: "\x1b[1;6R"                       }
  - { key: F4,       mods: Alt,     chars: "\x1b[1;6S"                       }
  - { key: F5,       mods: Alt,     chars: "\x1b[15;6~"                      }
  - { key: F6,       mods: Alt,     chars: "\x1b[17;6~"                      }
  - { key: F7,       mods: Alt,     chars: "\x1b[18;6~"                      }
  - { key: F8,       mods: Alt,     chars: "\x1b[19;6~"                      }
  - { key: F9,       mods: Alt,     chars: "\x1b[20;6~"                      }
  - { key: F10,      mods: Alt,     chars: "\x1b[21;6~"                      }
  - { key: F11,      mods: Alt,     chars: "\x1b[23;6~"                      }
  - { key: F12,      mods: Alt,     chars: "\x1b[24;6~"                      }
  - { key: F1,       mods: Super,   chars: "\x1b[1;3P"                       }
  - { key: F2,       mods: Super,   chars: "\x1b[1;3Q"                       }
  - { key: F3,       mods: Super,   chars: "\x1b[1;3R"                       }
  - { key: F4,       mods: Super,   chars: "\x1b[1;3S"                       }
  - { key: F5,       mods: Super,   chars: "\x1b[15;3~"                      }
  - { key: F6,       mods: Super,   chars: "\x1b[17;3~"                      }
  - { key: F7,       mods: Super,   chars: "\x1b[18;3~"                      }
  - { key: F8,       mods: Super,   chars: "\x1b[19;3~"                      }
  - { key: F9,       mods: Super,   chars: "\x1b[20;3~"                      }
  - { key: F10,      mods: Super,   chars: "\x1b[21;3~"                      }
  - { key: F11,      mods: Super,   chars: "\x1b[23;3~"                      }
  - { key: F12,      mods: Super,   chars: "\x1b[24;3~"                      }
  - { key: NumpadEnter,             chars: "\n"                              }

If you scroll really fast, does that make things work? macOS has really, really strange mouse and scrollback acceleration, so unless the scrolling speed is sufficiently high it's often tough to get any reasonable scrolling speed going.

The thing is - I am able to scroll, but not to "faux" scroll.
meaning, if I have an app with a pager, and I scroll up - instead of the terminal triggering a scrollup from inside the app, it'll scroll outside of it. Meaning, I'll see the things I wrote on the terminal before opening the app.

Do you have tmux running or any similar terminal multiplexer? It's impossible for Alacritty to scroll up when you're in the alternate screen mode, which is the default for less/man/vim, since it does not have any scrollback history there. So this sounds like there might be something wrong with your system configuration.

No, I'm not using tmux or any other multiplexer.
Do you have any idea what may be causing that issue? It's a new laptop, so not much is installed here other than alacritty :)
(Btw, and this may be unrelated - but the same issue persists over other terminal emulators I've tried)

(Btw, and this may be unrelated - but the same issue persists over other terminal emulators I've tried)

Many terminal emulators don't even support faux scrolling, so that wouldn't surprise me in general.
I'll have to test on my macbook myself to see if I can maybe reproduce it.

Much obliged!

I've managed to test this at work on my MBP today and I think I've got an idea what's going on.
If you remove the env: TERM: alacritty from your config, does it start working?

Once I've removed it, it started working for vim(!!!), but not for less and vim :(

You might still have some aliases configured or stuff like that. Can you try TERM=xterm-256color man man? Does that work?

Nope :/

I can not reproduce your issues, but if one application works now it seems like it might be configuration on your end that is messing stuff up.
Could you please try in bash and make sure that Alacritty is launched without TERM set in the config? Then you can check again if it has been overridden using echo $TERM.

Ok so here are some of my findings.
echoing $TERM, after removing ENV: TERM: alacritty, I saw that it was overriden (with the value "alacritty").
I've tried changing the value of shell: program: from zsh to bash, and running. The faux scrolling worked!
I've changed the default shell from bash back to zsh, and added unset TERM at the bottom of my .zshrc. It didn't work, and I was also prompted with WARNING: terminal is not fully functional.

I've tested this again on my macbook and everything works great with the TERM set to xterm-256color. This is for man, neovim and less.
If you get any terminal is not fully functional warnings in zsh, that means that you have an invalid TERM set.

I have the same issue on Windows. Having read thru this thread and tried all your suggestions, no luck.


Markdown rename tests fail

https://monacotools.visualstudio.com/DefaultCollection/Monaco/_build/results?buildId=167753&view=logs&j=672276a2-8d3a-5fab-615d-090c51352f92&t=6a86faf8-ed15-56db-877e-46756fb8e8fa&l=1223

Tried to revert your latest committ, but that was not it. Reverted the suite: https://github.com/microsoft/vscode/commit/72b4be55fad0d41092d7df8e03b5597c715fd2e2


Add support to change Datagrid toolbar height

In the guidance, it says that the toolbar height should change as the user adjusts the row height. Neither v1 or v2 demonstrate this in the storybook.

[ ] Action item: Decide if this should still be included in the pattern even if it is not going to be supported behavior of the component.

Originally posted by @Ashley-Bock in https://github.com/carbon-design-system/ibm-products/issues/3117#issuecomment-1591931929

... is this something we changed intentionally, something users have control over instead of us, or something that was missed. I could imagine this being a little bit tricky for some of the smaller sizes.

Originally posted by @elycheea in https://github.com/carbon-design-system/ibm-products/issues/3117#issuecomment-1595340914

We've been investigating TanStack Table, a third-party, open-source offering, which provides extensive data table capabilities surpassing what our Carbon Datagrid offers. It provides much more flexibility and customization. TanStack Table is headless which means it can easily be added alongside Datagrid component in your product or application. The benefits of more flexibility for product teams and less maintenance for Carbon makes it a win win. Lastly, it is available in multiple frameworks including React and Web Component so it provides an option to non-React product teams.
For these reasons, we have decided to transition from building our own custom table component to using an example-based approach with TanStack Table. Datagrid will still exist in our library for existing teams but we are announcing the deprecation* of the Datagrid component in v2.54.0 release so teams can begin to work through the transition. Details about how to use both Datagrid and TanStack together can be found here.
*Deprecation means that no new features will be added however sev 1 and sev 2 bugs will be supported.


Data Space governance - main sections

Feature: Data Space governance - main sections

As a user of the Data Space,
I want to see all the sections of the governance rules,
So that I understand the terms and conditions of the Data Space

Acceptance criteria
Scenario 1: Default display (desktop)
Given that I am a user of the web portal (unauthenticated or authenticated),
And I am using a desktop device,
When I am on the Data Space Governance page
Then I should see the title of the Data Space
And I should see the different section titles that appear as presented in the mockup below
Scenario 2: Mobile Display
Given that I am a user of the web portal (authenticated or unauthenticated),
When I am on the Data Space governance page
And I use a mobile device
Then I should see mobile friendly display (See mock up)
Scenario 3: Change section
Given that I am a user of the web portal (authenticated or unauthenticated),
And I am on the Data Space governance page
When the selected section is Identity Management, Governance Model, Datasets Management, Services Management or Business Model
Then the adequate selected section should be displayed with its title (See mock up)
Scenario 4: Internationalization
Given that I am a user of the web portal (authenticated or unauthenticated),
When the selected language is English, French, or German
Then sections title should be displayed in the adequate selected language
Config example
En

Governance
Identity Management
Governance Model
Datasets Management
Services Management
Business Model

Fr

Gouvernance
Gestion des Identités
Modèle de Gouvernance
Gestion des Jeux de Données
Gestion des Services
Modèle Économique

Gr

Governance
Verwaltung von Identitäten
Modell der Governance
Verwaltung von Datensätzen
Verwaltung von Dienstleistungen
Wirtschaftliches Modell

Requirements

Default landing section is Identity Management

Resources
Mockups
Desktop

Mobile

Environment

staging URL: https://app.staging.okp4.network/

Additional informations
None.

I have written in my notes (in November) /governance/ID
As it is not directly to the description of a Data Space, it is not necessary to put it in the dataverse.
What do you think @ccamel ?

@ccamel @fredericvilcot could we discuss it today ?

Sure @MdechampG.

@SpicySalm0n the title is composed of the label of the data space element (rhizome on the mockup), separated from the word governance by a | pipe.
Screenshot example for mobile version

What happens when the label contains several words and much more characters? Is it truncated? If yes, what is it's maximum length?
Can the pipe be positioned at the beginning or a end of a line ?
Thanks

@0xLodz
the best is to switch on 2 lines, the user can arrive from a web link, it's preferable that the name of the data space is displayed in full.
The pipe can be at the end of the line, no word can be truncated.

Decision about the URL of the page : /dataverse/dataspace/ID/governance

According to the discussion with @ccamel , it was decided that when a user chooses a section as well as a sub-section, the url will carry these indications to be shared correctly, like: /dataverse/dataspace/ID/governance/Section1/SubSection1
Section1 & SubSection1 are both elements ids, like:
ex:Section1 a meta:Section, owl:NamedIndividual ;
  core:hasTitle "Datasets Management" ;
  core:hasDescription "Specifies the governance rules regarding the management of datasets." ;
  meta:hasNumber "1.1" ;
  core:isPartOf ex:Chapter1 .

Do you agree @MdechampG ?

The ID in the URL scheme allow us to find the right dataspace item. Is it possible that no dataspace item are found for this ID? If yes, what should we display to the user?

The ID in the URL scheme allow us to find the right dataspace item. Is it possible that no dataspace item are found for this ID? If yes, what should we display to the user?

We'll display a 404 page if resource is not found. There is an issue created for this :)

@SpicySalm0n  Yes that's totally makes sense. I was wondering that because there is a back arrow button for the mobile Explore page. We might harmonise both page? What do you think? Thanks

@SpicySalm0n Yes that's totally makes sense. I was wondering that because there is a back arrow button for the mobile Explore page. We might harmonise both page? What do you think? Thanks

for the catalog detail pages it's a little more complex since the user can arrive from an external link to the portal but the back arrow button brings the user to the Dataverse (Explore). On the other hand, if he's coming from his external link, and he uses the native back button of his app, he will return to his web search or the place from which he clicked on the external link...
That's why the explorer back arrow button have the "dataverse" wording added
I don't think we should remove it for this particular case

@SpicySalm0n @MdechampG what to do when section or subsection texts are very large?
Thanks.

@0xLodz I edited the english text in internationalisation

@ChaimaaZaoui on the screenshot I changed the section title for testing.
I added all mocked data you provided in this file.
Could we have new sections and subsections in the future that are larger than the one already provided? Thanks

@0xLodz for now the length of text is not limited, but this is something we are going to work on when defining "create data space" module

You're right @ChaimaaZaoui but even if we restrain the number of characters in the UI "Create a Data Space", it will be possible (through other interfaces than the portal) to have long titles.
I suggest to have an ellipse. @SpicySalm0n what should be the maximum size that we display ?

For the Section and Subsection titles we could put an ellipse with one line or two lines, both are ok for me:
Sections:
One line:

Two lines:

Subsections:
One line:

Two lines:

in any case the text must not exceed the width of the 3 columns of the layout

I implemented the one line solution. Don't hesitate to ask for changes if necessary. Thanks

Test executed in firefox

S1 : Pass
S2 : not run, to be tested in #200
S3 : Pass
S4 : Pass
S5 : Pass
S6 : not run, to be tested in #207
S7 : Pass
S8 : not run, to be tested in #207


Allow server to pass end users messages for logging purposes (and notification Snackbar) when an event='message' is received.

EG: When an error is caught, a ws message like this is sent out to all browsers in the session in which the error occurred:
            utils.broadcasting.ws_broadcast_object(
                object=session,
                event="message",
                data={"snackbarShow": True, "snackbarType": "error", "message": str(e), "duration": 5, "traceback": traceback_str},
            )

Note: This previously used the event="error" for logging functionality.
All passed data should be logged in the console.
If snackbarShow is true, this should also launch an informative snackbar in the bottom center of the screen.
See: https://mui.com/material-ui/react-snackbar/
This would only use the following keys: snackbarType, message and duration.
To create a test ws message, use the static_model open up the options pane (3 cogs) and push the button to trigger an error.

See:
https://github.com/MIT-CAVE/cave_app/commit/2af55376a7e273be4f56bf782edd350d9aaff727
And:
https://github.com/MIT-CAVE/cave_static/commit/be2a60c20098220e72230742e6bf36737ddef3d7


Campus Directions program - increase accuracy of paths

Working on issue #13 would help this, but there is still the issue that the path is sometimes unrealistic (ex: jumping up to JEC bridge when you could cross underneath) and sometimes images that are close together are added to the path in the wrong order.

This is an important issue. We need to consider to add altitude data to enable 3D. Also, as we want to take images insider buildings. Algorithm should be capable to tell the difference in GPS data. (The easiest way is to add a tag in JSON file and as calculating fastest path, we should neglect those locations inside buildings.)

Somewhat fixed. The images added this semester have more accurate coordinate data + the map program uses coordinates for start and end point now (instead of addresses). However I don't want to close this until all images have more precise coordinates.


feat(core): expose additional_browser_args to window config (fix: #5757)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[x] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information
Could probably help various use cases, including mine in #5757.
Discord thread.

I think we should document the default value like we do in wry: https://docs.rs/wry/latest/x86_64-pc-windows-msvc/wry/webview/trait.WebViewBuilderExtWindows.html#tymethod.with_additional_browser_args


IDE initializes with the bottom line below the bottom of the window

Cannot view bottom or type on bottom line of the IDE.

@kkterai do we know what version this user was on? it looks like they may still be on something < v2.5
This is the very issue 2.5 was aiming to address, so I certainly hope they are on older version 😬

@drewprice they are on v.2.5.2

Still a problem 2.5.3


Throw exception if collection is empty

Hope you're well
If list of data is empty, your library couldn't detects type of data and throw and exception.
Could you please find a solution for this situation

It's expected behaviour, although we should maybe rethink the exception throwing. The lib relies on the type parameter to determine the data type to deserialize. By the JSON:API specification, empty lists shouldn't be sent by the backend. Instead the key of the empty value should be omitted in the output.
That being said, I will look into what we can do about that exception. In the meantime, I suggest modelling the backend to skip sending keys with empty values

Also, thanks for your feedback @Alireza-Milani we really appreciate it!


Analyzer Feedback from IntelliJ

error: The return type 'bool' isn't a 'KeyEventResult', as required by the closure's context. (return_of_invalid_type_from_closure at [fstore] lib\widgets\layout\highlight_focus.dart:81)

Same q as #46146 : Is this a bug or working as intended? It appears that Flutter deprecated this recently. Did something not work correctly?

Closing as dup of #46146


Unknown blueprint error when generating a model

The 0.2.x docs suggest generating models via this shortcut:
ember g mirage:model foo
However that results in this error:
version: 1.13.8
Unknown blueprint: mirage:model

Thanks!
Don't believe there are namespaced generators so we're stuck with mirage-model for now. Master is updated, and I'll update the guides.

Ok, figured out how to use :. Back to mirage:model!

Also followed 0.2x install doc for a brand new app, and I'm getting the same "Unknown blueprint: mirage:model" error. I also tried "ember g mirage-model" but got same "Unknown blueprint" error. Per commit history of sample app, the exact repro steps are:
ember new
ember install<EMAIL_ADDRESS>ember g model author
...So far so good until:
ember g mirage:model author
results in error :fire:
Unknown blueprint: mirage-model
Any tips please, anyone ?

This should be fixed in master
On Tue, Nov 17, 2015 at 11:52 PM Ola Adedoyin<EMAIL_ADDRESS>wrote:

Also followed 0.2x install doc for a brand new app, and I'm getting the
same "Unknown blueprint: mirage:model" error. I also tried "ember g
mirage-model" but got same "Unknown blueprint" error. Per commit history of sample
app https://github.com/Oladele/mirage-v2-new/commits/master, the exact
repro steps are:
ember new
ember install<EMAIL_ADDRESS>ember g model author
...So far so good until:
ember g mirage:model author
results in error [image: :fire:]
Unknown blueprint: mirage-model
Any tips please, anyone ?
—
Reply to this email directly or view it on GitHub
https://github.com/samselikoff/ember-cli-mirage/issues/381#issuecomment-157486630
.

@samselikoff https://github.com/samselikoff/ember-cli-mirage/commit/a2b5e321f8840702894a0e1cfeca3616f1b3ee0e, the commit that fixed this issue, actually breaks installation on Windows environment, because directory names could not contain colons there.

@irnc right- someone else raised this issue too. Looks like we'll need to move back to ember g mirage-factory

Have the same problem

@actorius should be fixed in 0.2.0-beta.2, with ember g mirage-factory


Adding skipIfLocked option to lock step

I previously proposed a tryLock-step in #179. This fulfills that requirement with the lock-step by adding the option to not wait queue but instead skip the execution of the body.
lock(resource: 'some_resource', skipIfLocked: true) {
  echo 'Do something now or never!'
}

Perhaps skipIfQueue is better naming.

Nice idea! I'm just a bit unhappy with the name. I always saw the existence of some kind of "queue" more as an artifact/implementation detail. May skipIfLocked or something like that? (skipIfWouldWait sounds a bit verbose...)

I renamed it to skipIfLocked.


how to use with ActionController::Live

I know the README says
RailsStreaming will not use ActionController::Live
and the ZIP output will run in the same thread as your main request.

But I'm wondering if there's a way to use this library with ActionController::Live. I guess I'm looking for a way to use ZipStreamer#write_deflated_file but on a the Rails response stream object instead of a ZipStreamer object.
I understand if you close this as won't do/can't do. I guess I'm just wondering if there's any way to use ActionController::Live with this library.

That's a very valid question, no worries. This is going to be a long comment so strap in :-)
The reason why I decided to remove ActionController::Live from zip_tricks (and not use it in zip_kit) is because the Live responses spin up a separate thread from which your response body gets served. I have tried to figure out why exactly this happens - asked @tenderlove about this - but could not find any pointers. The issue is that this separate thread breaks tests and a few more things that rely on running inside the Rails controller context. For example, the database connection can get switched out for another inside of your streaming thread. Apartment (https://github.com/influitive/apartment) would switch to a different database inside this response writing thread, etc. And it's not really clear why one would want to do this - if you are going to be using a database connection anyway, you will still be using one - just in a different thread.
And in tests ActionController::Live just produces empty responses - at least with rspec-rails - which probably doesn't support ActionController::Live at all. This meant that it was hard to test zip_tricks-generated responses.
Then I started looking and I found that the reason why RailsStreaming was not working was not because I was not using Live, it was because we were not setting headers to disengage the Rack::ETag middleware 🤡 which actually was a Rack-originated issue (see https://github.com/rack/rack/issues/1619)  Once that got sorted streaming actually started working without ActionController::Live, and there is no longer that issue with your response body running in a separate thread and all.
That said, you totally can use zip_kit with ActionController::Live. What you would need to do is write your own method which does roughly what the method in zip_kit_stream does, but use the stream object as the output. Roughly like so:
def download_with_live
  headers = ZipKit::OutputEnumerator.new.streaming_http_headers
  response.headers.merge!(headers)

  send_stream(filename: "subscribers.zip") do |stream|
    ZipTricks::Streamer.open(stream) do |zip|
      zip.write_file("some.txt") {|io| io << "Ohai there!" }
    end
  end
end

But did you try using zip_kit_stream without Live first?

Thank you so much for the reply!

That said, you totally can use zip_kit with ActionController::Live. What you would need to do is write your own method which does roughly what the method in zip_kit_stream does, but use the stream object as the output. Roughly like so:

Thank you so much for this. I'll close this now as your response is surely enough to get me going.

But did you try using zip_kit_stream without Live first?

Yes this works fine, but we need Live in the API to stream larger files to reduce memory consumption (it's a file CRUD api).
Thanks again for the gem and the response!

Yes this works fine, but we need Live in the API to stream larger files to reduce memory consumption (it's a file CRUD api).

Well, hope this works out then. In theory using ZipKit::RailsStreaming should not consume any more memory than using Live (less, actually, because you won't need an extra pthread with a stack and all), but hope this helps. Good luck using zip_kit 🎩

Actually come to think of it - RailsStreaming might work out of the box for you also with Live. I will play around - it should not be a big deal if the helper gets included in a controller which also uses Live on other actions

Thanks for the additional info. To close the loop on this - in case someone else sees this in the future - the snipped of code you've provided works like a charm.


Fix Jacob Moss Twitter link

Fix the incorrect link in Jacob Moss' quote.

Thanks for the fix!
Actually README.md is generated from templates/index.md.  Could you undo the change to README.md, and then make the same change in templates/index.md?

I just realised we are using a weird rendition of the name. Jacob’s last name is Kaplan-Moss. This would probably be as good a chance as any to fix it.

@itsayellow Whopps! I got it mixed up and thought it was the other way around. Will fix.
@uranusjr I'll correct his last name as well—good catch!

Is the CI failure related to #358?

Yeah seems so, I'll merge in those changes into my branch after #358 makes it into master.

OK #358 is merged, can you try to merge master into your branch and hopefully the docs test won't fail anymore.

Fix the incorrect link in Jacob Moss' quote.

I just realized we are using a weird rendition of the name. Jacob’s last name is Kaplan-Moss. This would probably be as good a chance as any to fix it.

I thoroughly screwed up adding that quote :sweat_smile:.

I just merged a change that lets you modify the README directly. It caused conflicts with this branch. If you want to fix, feel free, otherwise I don't mind. Sorry about the churn, I wanted to make this easier for future PRs.

@cs01 Not a problem! Switched the edit (back) to the README.

Cool, thank you


App Switcher (CMD+Tab): Radiant Player doesn't show up!?

Hi guys,
I got a couple issues...

When I am in another app and want jump back to Radiant, Radiant Player doesn't appear in the app switcher (cmd+tab)!?
there is no dot under the radiant icon in the dock when radiant player is open :/
The options menu is missing for me when i'm in radiant player, the shortcuts work though (cmd+ ,)
Someone got the same issues? I'm on Mac OS 10.11.4 Beta + latest flash player (v. 20)
Thank you!

Hi
I'm not seeing any of the issues you've listed.  That said, I'm on OSX 10.11.3. It's possible that these issues could be from the OSX beta, so it may be worth waiting until 10.11.4 and see if that fixes the issues for you.
Out of interest, did you see any of these problems on 10.11.3? Or did it just start since you installed the beta?

Chris

Hi Chris,
I've been having these issues ever since I've started using radiant player over a year ago. Thats why I thought it must be an app issue... With 1.7.1 at least radiant player shows up in Exposé for me now.

I'm on 10.11.3 as well and not experiencing the issue...  If you've been experiencing this for a while, what other software do you have installed?  (especially anything that might affect the dock, window management, or theming)

Nothing extraordinary...
I used to use better touch tool for better windows management (split screen windows like windows 7), (https://www.boastr.net/) but have uninstalled it over a year ago since it came with os x 10.11(!?)...:/

Is this still happening with the latest 1.8.0?

yes, but I think it has to do with my os x installation...tested it on another Macbook Air and it works as its supposed to. I'll just do a re-install of Mac OS X....Thank you guys!

Cheers for letting us know! :-)


added new limit for number of contigs from single genbank file which …

…currently get split into separate genbank files
the limit is 1000 and only the first 1000 will be uploaded if there are > 1000

Is this addressing a specific ticket?

yes
https://atlassian.kbase.us/browse/KBASE-3781?filter=10930

BTW I also double-checked the splitting code -- file handles are definitely closed. It is reading and writing line by line but this should still be fairly quick. I'm not sure where the 3 hour runtime is coming from. I'll try to test it with Dan O's genome

I'm going to merge this to get the bugfix in for the notes field (which is clearly not the title of this PR), but we need to revisit git branching to split these issues into separate PRs.


Readme cites non-existent configure script for building without git

The README file says one can do a traditional build (i.e., without requiring git) use the usual ./configure -> make -> make check; however there is no configure script in the package. Generating it with autogen.sh requires git, thus defeating the purpose, and using autoconf to attempt to generate it complains about missing m4 macros, despite my having a recent (4.4.18) m4 on my system.
configure.ac:5: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
       Or else include the configure file for building without git.
(To answer the obvious question, the target system doesn't have a working git in the repositories and compiling git from scratch would be a long-winded process that is best avoided.)

Oh, thank you for the report. Not sure why the ./configure file is missing. Creating a new tarball for 0.21.1 locally contains it. Have to check what went wrong here :-).

Now I am confused. If you go to https://github.com/rockdaboot/libpsl/releases/tag/0.21.1 and download libpsl-0.21.1.tar.gz, don't you have a ./configure script ? There is another tar.gz that is just an archive of the git repo (so not ./configure script).
Yeah, that is all a bit confusing... not sure how to disable the automatic generation of those repo archives done by Github.

Well, I don't know what's happened, but thanks very much - the file you just linked to has the script.

Haha, happend to me also on the first try. It's just easy to confuse the two tar.gz files.


Stop method does nothing on a single animation document

Hello, I'm probably having an uncommon use case in my hands. I have an aseprite document with a single animation of 5 frames that I want it to run just once. I thought about doing this:
animatedSprite.OnAnimationEnd += animatedSprite.Stop;

but the animation loops anyway.
EDIT:
I tried OnAnimationLoop and it worked. I thought that OnAnimationEnd would fire after the last frame, my bad.

So, OnAnimationEnd is supposed to be for when the animation ends, and since a looping animation doesn't end, it's not called.
OnAnimationLoop was the correct call since it's called on the frame the animation loops back to the first frame.
In hindsight I can see how this would be confusing and definitely may need a change or better documentation.
As for one time animations that play and dont loop, check this out.  If you end a tag name in Aseprite with [oneshot], then the processor will detect this and only play the animation once.  So like if your animation is a door opening and the tag is called open_door, then rename the tag to open_door[oneshot], and it will only play once when called without looping.  Note that to play it you still just call .Play("open_door"), the oneshot part is removed from the name.

So, OnAnimationEnd is supposed to be for when the animation ends, and since a looping animation doesn't end, it's not called.
OnAnimationLoop was the correct call since it's called on the frame the animation loops back to the first frame.
In hindsight I can see how this would be confusing and definitely may need a change or better documentation.
As for one time animations that play and dont loop, check this out.  If you end a tag name in Aseprite with [oneshot], then the processor will detect this and only play the animation once.  So like if your animation is a door opening and the tag is called open_door, then rename the tag to open_door[oneshot], and it will only play once when called without looping.  Note that to play it you still just call .Play("open_door"), the oneshot part is removed from the name.

Just checked and the [oneshot] trick isn't in the documentation page at all, so I def need to update that

Just checked and the [oneshot] trick isn't in the documentation page at all, so I def need to update that

The [oneshot] trick is really neat. I will use that surely!
Thanks

The [oneshot] trick is really neat. I will use that surely!
Thanks

Closing this issue, tracking will now be done in issue #43


Use a better cache timestamper than new Date()

Use System.getTimeMilliseconds(), unnecessary allocations make baby jesus weep.
http://stackoverflow.com/questions/368094/system-currenttimemillis-vs-new-date-vs-calendar-getinstance-gettime

Thanks for your feedback!
I'm going to start implement this.

Fixed on 0.2


Bind ESC key to collapse map

When clicking Map from the menu, the map slides out. The only way to collapse it again is using the X.
client/main.js:298
$('.map-aside-action-collapse').on('click', collapseMap);
Would an event handler that fires on keyup for ESC key work?
This is a wish list item. Mostly I wanted to see if I could locate where in the code this happens. Thanks!

@jboxman this has been an intuitive thing for me to want to do too. I've put this code underneath the one you've cited and tested it and it works.
$(document).keyup(function(e){
  if (e.keyCode === 27) collapseMap();
});

@FreeCodeCamp/issue-moderators good to add?

I tried implementing it myself:
window.Mousetrap.bind('esc', () => {
  collapseMap();
});

But I ran into a maddening bug: the binding doesn't work unless one clicks outside of the map, then presses ESC.  Just to make it interesting, the binding works just fine any subsequent time you open the map, it just fails to take the first time the map slides out.
There's some further subtleties too, possibly related: the esc key currently clears the map filter, so the map ought only be collapsed if the input is already blank (i.e. one hits esc twice).  This is straightforward to check for, but I got nowhere, as I found that ESC would be ignored at all times whenever the search box had focus.
Might be easier to fix this in the react branch.

@BerkeleyTrue Why was this closed?
I'm working on fixing this (rather, I've fixed this) but I'm unsure about some of the implementation details.
Currently, pressing escape with the input in focus empties out the input. If we want this feature, it would make sense to get rid of this functionality. Our options are either removing focus from the input on pressing escape, or to close it immediately. What would be the best option?
/cc @FreeCodeCamp/moderators

Why was this closed?

Issues which do not see any activity for prolonged periods of time and aren't mission critical can be closed with 'decayed' flag.
They may be re-opened if the activity picks up.
If you have a fix, please make a pull request.
Thanks.

Ok, thanks @raisedadead! I'll fine-tune what I have and submit a PR

@systimotic You might want to hold off. We are in the process of removing all the sidecar related drawers.


CI: gke-stable

CI failure
gke-stable fails in https://jenkins.cilium.io/job/Cilium-PR-K8s-GKE/6900/ due to one of the test pods fail health check, seems like a flake?
14:40:09  22:40:08 STEP: WaitforPods(namespace="default", filter="-l zgroup=test-k8s2") => timed out waiting for pods with filter -l zgroup=test-k8s2 to be ready: 4m0s timeout expired
14:40:09  22:40:09 STEP: cmd: kubectl describe pods -n default -l zgroup=test-k8s2
14:40:09  Exitcode: 0
14:40:09  Stdout:
14:40:09   	 Name:         test-k8s2-79ff876c9d-r4pnc
14:40:09  	 Namespace:    default
14:40:09  	 Priority:     0
14:40:09  	 Node:         gke-cilium-ci-10-cilium-ci-10-f656816e-cm7x/<IP_ADDRESS>
14:40:09  	 Start Time:   Wed, 10 Nov 2021 22:35:51 +0000
14:40:09  	 Labels:       pod-template-hash=79ff876c9d
14:40:09  	               zgroup=test-k8s2
14:40:09  	 Annotations:  <none>
14:40:09  	 Status:       Running
14:40:09  	 IP:           <IP_ADDRESS>
14:40:09  	 IPs:
14:40:09  	   IP:           <IP_ADDRESS>
14:40:09  	 Controlled By:  ReplicaSet/test-k8s2-79ff876c9d
14:40:09  	 Containers:
14:40:09  	   web:
14:40:09  	     Container ID:   containerd://2e1cf68e14e6853986326c358a8403306083a30dfbc94a2bf7892d0b7d58315e
14:40:09  	     Image:          docker.io/cilium/echoserver:1.10.1
14:40:09  	     Image ID:       docker.io/cilium/echoserver@sha256:daa2b422465b8714195fda33bc14865a8672c14963d0955c9d95632d6b804b63
14:40:09  	     Port:           80/TCP
14:40:09  	     Host Port:      8080/TCP
14:40:09  	     State:          Running
14:40:09  	       Started:      Wed, 10 Nov 2021 22:35:58 +0000
14:40:09  	     Ready:          False
14:40:09  	     Restart Count:  0
14:40:09  	     Readiness:      http-get http://:80/ delay=0s timeout=1s period=10s #success=1 #failure=3
14:40:09  	     Environment:    <none>
14:40:09  	     Mounts:
14:40:09  	       /var/run/secrets/kubernetes.io/serviceaccount from default-token-tc7rj (ro)
14:40:09  	   udp:
14:40:09  	     Container ID:   containerd://d038b7f739f1bc4e760f78d0be57b58599690f821569c997da408de3e4ccfbe8
14:40:09  	     Image:          docker.io/cilium/echoserver-udp:v2020.01.30
14:40:09  	     Image ID:       docker.io/cilium/echoserver-udp@sha256:66680075424a25cae98c4a437fec2b7e33b91fbe94e53defeea0305aee3866dd
14:40:09  	     Port:           69/UDP
14:40:09  	     Host Port:      6969/UDP
14:40:09  	     State:          Running
14:40:09  	       Started:      Wed, 10 Nov 2021 22:35:58 +0000
14:40:09  	     Ready:          True
14:40:09  	     Restart Count:  0
14:40:09  	     Environment:    <none>
14:40:09  	     Mounts:
14:40:09  	       /var/run/secrets/kubernetes.io/serviceaccount from default-token-tc7rj (ro)
14:40:09  	 Conditions:
14:40:09  	   Type              Status
14:40:09  	   Initialized       True
14:40:09  	   Ready             False
14:40:09  	   ContainersReady   False
14:40:09  	   PodScheduled      True
14:40:09  	 Volumes:
14:40:09  	   default-token-tc7rj:
14:40:09  	     Type:        Secret (a volume populated by a Secret)
14:40:09  	     SecretName:  default-token-tc7rj
14:40:09  	     Optional:    false
14:40:09  	 QoS Class:       BestEffort
14:40:09  	 Node-Selectors:  cilium.io/ci-node=k8s2
14:40:09  	 Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
14:40:09  	                  node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
14:40:09  	 Events:
14:40:09  	   Type     Reason     Age                  From               Message
14:40:09  	   ----     ------     ----                 ----               -------
14:40:09  	   Normal   Scheduled  4m18s                default-scheduler  Successfully assigned default/test-k8s2-79ff876c9d-r4pnc to gke-cilium-ci-10-cilium-ci-10-f656816e-cm7x
14:40:09  	   Normal   Pulling    4m16s                kubelet            Pulling image "docker.io/cilium/echoserver:1.10.1"
14:40:09  	   Normal   Pulled     4m11s                kubelet            Successfully pulled image "docker.io/cilium/echoserver:1.10.1" in 4.818380138s
14:40:09  	   Normal   Created    4m11s                kubelet            Created container web
14:40:09  	   Normal   Started    4m11s                kubelet            Started container web
14:40:09  	   Normal   Pulled     4m11s                kubelet            Container image "docker.io/cilium/echoserver-udp:v2020.01.30" already present on machine
14:40:09  	   Normal   Created    4m11s                kubelet            Created container udp
14:40:09  	   Normal   Started    4m11s                kubelet            Started container udp
14:40:09  	   Warning  Unhealthy  78s (x18 over 4m8s)  kubelet            Readiness probe failed: Get "http://<IP_ADDRESS>:80/": dial tcp <IP_ADDRESS>:80: connect: connection refused
14:40:09
14:40:09  Stderr:
14:40:09
14:40:09
14:40:09  FAIL: Expected
14:40:09      <*errors.errorString | 0xc000696730>: {
14:40:09          s: "timed out waiting for pods with filter -l zgroup=test-k8s2 to be ready: 4m0s timeout expired",
14:40:09      }
14:40:09  to be nil

Duplicate of https://github.com/cilium/cilium/issues/17307.


fix: add void annotation

This PR surpresses compiler warning in a package which uses rclcpp_compoent.
Starting >>> traffic_light_visualization
--- stderr: traffic_light_visualization
In file included from /opt/ros/jazzy/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:27,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/subscription.hpp:50,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/any_executable.hpp:25,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/memory_strategy.hpp:25,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/memory_strategies.hpp:18,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/executor_options.hpp:20,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/executor.hpp:38,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/executors.hpp:21,
                 from /opt/ros/jazzy/include/rclcpp/rclcpp/rclcpp.hpp:172,
                 from /home/daisuke/workspace/autoware/build/traffic_light_visualization/rclcpp_components/node_main_traffic_light_visualization_node.cpp:21:
/opt/ros/jazzy/include/libstatistics_collector/libstatistics_collector/topic_statistics_collector/received_message_period.hpp: In member function ‘virtual void libstatistics_collector::topic_statistics_collector::ReceivedMessagePeriodCollector<rmw_message_info_s, void>::OnMessageReceived(const rmw_message_info_t&, rcl_time_point_value_t)’:
/opt/ros/jazzy/include/libstatistics_collector/libstatistics_collector/topic_statistics_collector/received_message_period.hpp:175:32: error: unused parameter ‘message_info’ [-Werror=unused-parameter]
  175 |     const rmw_message_info_t & message_info,

CI:

Linux
Linux-aarch64
Windows

CI looks good here, so going ahead and merging.  Thanks for the PR.


Tweak information regarding the GitHub GPG key

Why:
Following the discussion #6444 I had with @felicitymay, this pull request includes changes to information regarding GPG verification that have been discussed in that thread.

What's being changed:
The paragraph with information on GitHub's key that is used to sign web commits has been slightly rearranged to improve readability, and the full fingerprint of the key has been added, which enables everybody to directly verify that the key they downloaded is indeed correct.

Check off the following:

[X] I have reviewed my changes in staging (look for the deploy-to-heroku link in your pull request, then click View deployment).
[X] For content changes, I have completed the self-review checklist.

I think that for security reasons, before merging in this pull request, it is necessary that at least one, but preferably more GitHub employees check the key fingerprint and explicitly write an approval in this pull request stating that the fingerprint is indeed correct.

Hi - sorry for the delay in getting back to you. The engineering team has verified that the fingerprint that you've included is correct.
I'm going to update this PR from main and merge your improvements to the article. Thanks for your help ✨


No notifications or notifications disappear with two accounts

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
When you receive mail at the same time to two accounts, you should get a notification icon to the notification bar and a sound should be played. This should happen if the screen is on or locked. If the screen is open, yopu should get thge notification sound and the notification icons, the icon shoud stay until you open a mailbox.
Actual behavior
When phone screen is locked, and mail is received to two accounts at the same time, a notification should appear. Now there is no notification icon in the notification bar, and no sound is played. The mails are received in the both mailboxes. If you open incoming messages, there is new mail, but you don't know it's there, if you don't open the mailbox.
If the screen is on when mail is received at the same time to both accounts, the notifications work, but after a few second the notification icons disappear. This is wrong.
If you get mail to the accounts at the same auto sync in sepatate times, the notifications works as they should.
Steps to reproduce

Use two email accounts in K9, send (empty)mail from account  a to b and from account b to a, close K9 and lock the screen. Wait for auto sync.
Screen is locked, and sync is "when automatic sync is on". Mail is synced when auto sync turns on, but no notification sound, unlock the screen, and there is no notification icons
Open the mailboxes, there is new unreaded mail
Send a (empty)mail from account a to account b, and wait for the autosync as before screen locked etc, everything works, there is a notification sound and also a notification icon. Same when sending mail from b to a.
Do as in step 1, If you have screen on  when the sync happens, you get the notification sound and the notification icons, but the notifications disappears after few seconds. This is wrong.
Open the mailboxes, there is new unreaded mail.

Environment
K-9 Mail version: 5.403 & 5.600
Samsung Galaxy S9
Android version: Android 8 & 9
Account type (IMAP, POP3, WebDAV/Exchange):IMAP
Please take some time to retrieve logs and attach them here

#3205


fix: corrected getting of proof request template

Summary of Changes
Issue: The logic of getting the proof request template was incorrect because the function searched for the request in the default constant. Instead, it must search in the application configuration, so if the app overrides the templates the proper one will be found.
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[ ] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[ ] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[ ] Updated documentation as needed for changed code and new or modified features;
[ ] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

@bryce-mcmath Sorry, didn't see your comment above before I approved this one. Must not be running since I think they would pick up this issue.

@bryce-mcmath
I did know about husky. Why is it not listed in the devDependencies of the root package.json?
But I regularly ran yarn lint and yarn test commands manually.
yarn lint listed lots of warnings but they are not caused our changes. yarn test passed for me.


[CodeArea] Add Sizing functionality

Add button "Full-size"
Solve the problem with displaying the default HTML resizer
Add ability to set max height(for example 60vh)

hide a resizer using ::webkit-resizer { display: none};


Development mode (debug = true ) with CakePHP 3.0

Hi,
The cache is not generated automatically even when debug value is set to 'true' with CakePHP 3.0 application. I have to manually generate the static files via the shell command everytime for every change.
Is there a way to avoid this ?

Set debug to false. There isn't a way to generate the static files on each request in debug mode. However, the development output is cached so that if input files do not change the development builder uses the cache for better performance. Why do you need the static files regenerated all the time?

Hi,
What should be the development configuration ?
Even setting debug to true and timestamp to true make javascript/css development very tedious.
I need to rebuild with the CLI tool each time I modify a file.
Did I misunderstand something ?

You shouldn't need to use the CLI tool in development mode. An example configuration that I have is
; Define an extension type.
; build targets are prefixed with this value
; are connected when the ini file is parsed.
[js]
paths[] = WEBROOT/js/*
cachePath = WEBROOT/cache/
filters[] = JsMinFilter

[css]
paths[] = WEBROOT/css/*
cachePath = WEBROOT/cache/

[app.js]
files[] = vendor/jquery-2.1.4.js
files[] = repos.js

[app.css]
files[] = base.css
files[] = cake.css

And in my config/bootstrap.php I have
Plugin::load('AssetCompress', ['bootstrap' => true]);

Hi, sorry for long time response. Do not know if it is the right way to solve the problem but it seems to work.
I had a similar configuration than the above one.
Problem was: in the routes.php file, I commented line for InflectedRoute
    //$routes->fallbacks('InflectedRoute');

to specify explicitly my own routes.
Changed to something like
if (Configure::read('debug')) {
    Router::scope('/cache_js', function ($routes) {
        $routes->fallbacks('InflectedRoute');
    });
    Router::scope('/cache_css', function ($routes) {
        $routes->fallbacks('InflectedRoute');
    });
}

Note : if the css/js file is present in the webroot/cache_css and webroot/cache_js it will not be overwritten if the source file is modified. So in development mode those directories should by either empty or not present

Why do you need to define routes? This plugin doesn't use a controller and should be able to respond to URLs even if they have no routes.


Misleading errors when using CompositeConnectionDetails

What happened?
I defined the following CompositeConnectionDetails resource
apiVersion: meta.gotemplating.fn.crossplane.io/v1alpha1
kind: CompositeConnectionDetails
{{ if eq $.observed.resources nil }}
data: {}
{{ else }}
data:
  {{ $redisCacheMR := get .observed.resources "redis-cache" | default dict }}
  {{ $connectionString := dig "connectionDetails" "attribute.primary_connection_string" "" $redisCacheMR }}
  {{ $host := dig "status" "atProvider" "hostname" " " $redisCacheMR }}
  connection_string: {{ $connectionString }}
  host: {{ $host | b64enc }}
{{ end }}

When all the MR's successfully reached a ready state, the claim would fail with the following error.

cannot propagate connection details from composite: cannot establish
control of existing connection secret

This error was resolved by adding quotes to the host host parameter.
...
  host: {{ $host | quote | b64enc }}
 ...

This error was extremely misleading and I'm assuming thats because there's no error handling in the portion of this function which sets connection details. I'm unsure if its feasible but It might be useful to make this a little more robust by automatically quoting / encode values which aren't already in the correct format or outputting an error message.
How can we reproduce it?
set
What environment did it happen in?
Function version: v0.3.0
crossplane: v1.14.2
k8s: 1.26.9

I feel like, since the only Resource associated with CompositeConnectionDetails is the Composition itself, that errors generating the connection details should cause a Composition to not go into the Synced status, and the error message should populate the Synced condition message. Thoughts on this approach?


Is this a Binary Search Tree C++ Solution

Nice:)

Thank You very much.
Looking forward to contribute more.


Currency overwritten even when unchecked

Import, uncheck the "Currency" button, but it still gets updated from DND Beyond, overwriting the information on the character sheet.

Hi @frvwfr2 I can't replicate this can you upload a screen shot of the options selected, either here or on the discord. Thanks.

Was doing further testing, and it seems I had a version (0.0.22) from a few days ago. Once I updated, the issue is gone. Thanks.


[Backport 2.8] Update Kubectl to the latest version in system agent

Backport for https://github.com/rancher/rancher/issues/46527

PR is merged, now waiting for  new rancher image


status 400 and 190 Invalid OAuth access token errors

Describe the bug
I have set up a new heroku app and can see it works https://f-stop-2020.herokuapp.com. But the site is not able to get the token.
If I put the starter token into my js file directly it works - so I think that means I have my Facebook app set up correctly too.
Expected behavior
I expected to see my instagram feed when using the heroku instagram token agent the same way I can see it when I put the starter token in directly to the js file.
Screenshots
here are the errors I see in console

Desktop (please complete the following information):

OS: 10.15.6 Mac
Browser Chrome, Safari

I got it to work by changing my js code that places it in the page from what worked previously:
var feed = new Instafeed({      accessToken: 'InstagramToken',      limit : 6,      template: '

', }); feed.run();
To what the demo shows here https://codepen.io/companionstudio/pen/rNVPGOz


Improve documentation on Marshal and Unmarshal

This is not for Preview
This pull request is to improve documentation on Marshal and Unmarshal

Codecov Report

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

@@           Coverage Diff           @@
##           master     #124   +/-   ##
=======================================
  Coverage   76.06%   76.06%
=======================================
  Files          23       23
  Lines        5105     5105
=======================================
  Hits         3883     3883
  Misses        732      732
  Partials      490      490

Impacted Files
Coverage Δ

ion/marshal.go
72.89% <ø> (ø)

ion/unmarshal.go
71.89% <ø> (ø)

Continue to review full report at Codecov.

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


🔀 :: (#224) 지원자 목록 조회 API

close #224

Codecov Report

Merging #227 (8e3ae98) into main (5dd6ff3) will decrease coverage by 0.23%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #227      +/-   ##
============================================
- Coverage     18.46%   18.22%   -0.24%
  Complexity      186      186
============================================
  Files           158      159       +1
  Lines          2080     2107      +27
  Branches         18       18
============================================
  Hits            384      384
- Misses         1695     1722      +27
  Partials          1        1

Impacted Files
Coverage Δ

...ecruitment/presentation/RecruitmentController.java
9.09% <0.00%> (-0.91%)
:arrow_down:

...n/payload/response/QueryApplicantListResponse.java
0.00% <0.00%> (ø)

...domain/recruitment/service/RecruitmentService.java
0.50% <0.00%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

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


Crash on new install launch

Press any button or wait 20 seconds to continue.
2016-11-15 12:11:05,838 [       cli] [INFO] PokemonGO Bot v1.0
2016-11-15 12:11:05,846 [       cli] [INFO] commit: 30dbcc0d
2016-11-15 12:11:05,849 [       cli] [INFO] Configuration initialized
2016-11-15 12:11:05,850 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-11-15 12:11:05,850 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-11-15 12:11:05,858 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
(23653) wsgi starting up on http://<IP_ADDRESS>:4000
[2016-11-15 12:11:05] [SleepSchedule] [INFO] Next sleep at 12:26:41, for a duration of 05:54:05
[2016-11-15 12:11:05] [PokemonGoBot] [INFO] Setting start location.
[2016-11-15 12:11:05] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
[2016-11-15 12:11:05] [PokemonGoBot] [INFO] Location found: 37.809295714,-122.410976772 (37.809295714, -122.410976772, 8.0)
[2016-11-15 12:11:05] [PokemonGoBot] [INFO] Now at (37.809295714, -122.410976772, 8.0)
[2016-11-15 12:11:05] [PokemonGoBot] [INFO] Login procedure started.
[2016-11-15 12:11:07] [PokemonGoBot] [INFO] Login successful.
[2016-11-15 12:11:07] [PokemonGoBot] [INFO]
[2016-11-15 12:11:07] [PokemonGoBot] [INFO] [x] Error while opening cached forts: [Errno 2] No such file or directory: u'/Users/moquette/Bot/pokemongo_bot/../data/recent-forts-Evolver1K.json'
[2016-11-15 12:11:08] [PokemonGoBot] [INFO] Level: 3 (Next Level: 2860 XP) (Total: 3140 XP)
[2016-11-15 12:11:08] [PokemonGoBot] [INFO] Pokemon Captured: 5 | Pokestops Visited: 0
[2016-11-15 12:11:08] [PokemonGoBot] [INFO]
[2016-11-15 12:11:08] [PokemonGoBot] [INFO] --- Evolver1K ---
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Pokemon Bag: 5/250
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Items: 74/350
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Stardust: 1100 | Pokecoins: 0
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] PokeBalls: 70 | GreatBalls: 0 | UltraBalls: 0 | MasterBalls: 0
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] RazzBerries: 0 | BlukBerries: 0 | NanabBerries: 0
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] LuckyEgg: 0 | Incubator: 0 | TroyDisk: 0
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Potion: 0 | SuperPotion: 0 | HyperPotion: 0 | MaxPotion: 0
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Incense: 2 | IncenseSpicy: 0 | IncenseCool: 0
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Revive: 0 | MaxRevive: 0
[2016-11-15 12:11:10] [PokemonGoBot] [INFO]
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Pokemon:
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] #4 Charmander: (CP 12, IV 0.67)
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] #72 Tentacool: (CP 36, IV 0.67) | (CP 11, IV 0.69)
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] #118 Goldeen: (CP 11, IV 0.36)
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] #147 Dratini: (CP 37, IV 0.47)
[2016-11-15 12:11:10] [PokemonGoBot] [INFO]
[2016-11-15 12:11:10] [RandomAlivePause] [INFO] Next random alive pause at 13:21:15, for a duration of 0:01:28
[2016-11-15 12:11:10] [RandomPause] [INFO] Next random pause at 12:41:42, for a duration of 0:00:53
[2016-11-15 12:11:10] [RecycleItems] [INFO] Next forced item recycle at 12:15:55
[2016-11-15 12:11:10] [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
[2016-11-15 12:11:10] [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
[2016-11-15 12:11:10] [PokemonGoBot] [INFO] Starting bot...
[2016-11-15 12:11:10] [CollectLevelUpReward] [INFO] Received level up reward:
[2016-11-15 12:11:11] [       cli] [INFO]
[2016-11-15 12:11:11] [       cli] [INFO] Ran for 0:00:06
[2016-11-15 12:11:11] [       cli] [INFO] Total XP Earned: 0  Average: 0.00/h
[2016-11-15 12:11:11] [       cli] [INFO] Travelled 0.00km
[2016-11-15 12:11:11] [       cli] [INFO] Visited 0 stops
[2016-11-15 12:11:11] [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before ()
[2016-11-15 12:11:11] [       cli] [INFO] Threw 0 pokeballs
[2016-11-15 12:11:11] [       cli] [INFO] Earned 0 Stardust
[2016-11-15 12:11:11] [       cli] [INFO] Hatched eggs 0
[2016-11-15 12:11:11] [       cli] [INFO]
[2016-11-15 12:11:11] [       cli] [INFO] Highest CP Pokemon:
[2016-11-15 12:11:11] [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 846, in
main()
File "pokecli.py", line 205, in main
bot.tick()
File "/Users/moquette/Bot/pokemongo_bot/init.py", line 770, in tick
if worker.work() == WorkerResult.RUNNING:
File "/Users/moquette/Bot/pokemongo_bot/cell_workers/buddy_pokemon.py", line 135, in work
if self._km_walked() - self.buddy['last_km_awarded'] >= self.buddy_distance_needed:
KeyError: 'last_km_awarded'
[2016-11-15 12:11:11] [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/Users/moquette/Bot/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/Users/moquette/Bot/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/Users/moquette/Bot/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/Users/moquette/Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/Users/moquette/Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/Users/moquette/Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/Users/moquette/Bot/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/Users/moquette/Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 895, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
[2016-11-15 12:11:11] [sentry.errors.uncaught] [ERROR] [u"KeyError: 'last_km_awarded'", u'  File "pokecli.py", line 846, in ', u'  File "pokecli.py", line 205, in main', u'  File "pokemongo_bot/init.py", line 770, in tick', u'  File "pokemongo_bot/cell_workers/buddy_pokemon.py", line 135, in work']
Tue Nov 15 12:11:11 PST 2016 Pokebot  Stopped.

Previous issues haven't exactly explained how to solve, please help.
https://github.com/PokemonGoF/PokemonGo-Bot/issues/5469
@Gobberwart , can you help me fix this?

At a glance, I can tell you two things:

The error is in this line (135) of buddy_pokemon.py...

if self._km_walked() - self.buddy['last_km_awarded'] >= self.buddy_distance_needed:
Looks like 'last_km_awarded' is not a property of self.buddy.

It's not even vaguely related to #5469

I'd need a little more time to investigate the full cause, which I don't have at the moment, but there's a starting point.

Thank you @Gobberwart ,
I assumed this to be the same error, as I repeatedly get the same error message, however I have a different traceback leading to the inventory.py file,
The bot worked before the recent update, and this seems to be the only issue with the same error keywords, so I am replying here. The following error message is common in #5469 and #5817(this)
Error while opening cached forts: [Errno 2] No such file or directory: u'/Users/moquette/Bot/pokemongo_bot/../data/recent-forts-
This error shows up every time I try to change the config file, even after using a new installation and gmail id.

Hey, sorry about the trouble,
Clearly I misunderstood the cause of the error.
This error MAY be appearing due to the recent cp changes,
It is covered here #5832
Hope it helps.