Any custom variables with sleep not ready at startup

Get this every time I enter tmux, even for the first time. So I think killing all tmux processes may not help.

And after the first sleep timeout everything is okay.
I've seen issue https://github.com/gpakosz/.tmux/issues/479, but I don't use any TPM plugins.
I'm using WSL2:

host: Windows 10 21H2
os-release: Manjaro
tmux: tmux 3.3a

Thx~

Hello @v1nh1shungry 👋
I suspect you don't have curl installed. Can you please double check?

Hi! Thanks for your reply! However I think I have installed curl.

For now I can't reproduce,
Does
$ curl -m 1 wttr.in?format=3 2>/dev/null

work for you in a terminal?

What could happen is

curl -m 1 wttr.in?format=3 2>/dev/null takes more than 1 second, and the curl call prints nothing
sleep 900 starts
tmux realizes nothing has been printed by the job after several seconds and decides to replace the job output by the <... not ready> message

Thanks for your explaining! I just found that curl -m 1 'wttr.in?format=3' fails most of time. However I don't use weather in my config actually. I use another one which I used to believe that it is the same as weather.
hitokoto() {
	curl "https://v1.hitokoto.cn?encode=text" 2>/dev/null
	sleep 120
}

I didn't notice -m 1 so I thought they are the same issue. After I add -m 1, when the networks gets awful, it will print empty instead, but when I enter tmux it still prints ... not ready. So is it because the awful networks? If so, why the difference?

However I don't use weather in my config actually

I don't understand. The weather() function in your .tmux.conf.local copy will only be called if #{weather} appears in tmux_conf_theme_status_left and/or tmux_conf_theme_status_right

Yes, I mean I use hitokoto instead of weather in my config. But I use weather in the issue's example because weather is built in the .tmux.conf.local and I think using weather as the example will be good to communicate. Their error messages look the same so I thought they are the same issue. But now it turns out to be not, maybe? Because curl -m 1 'wttr.in?format=3' fails most of time, but curl "[https://v1.hitokoto.cn?encode=text](https://v1.hitokoto.cn/?encode=text)" 2>/dev/null won't. I'm sorry that I've made the whole thing complicated.

So...
Can you please try
# weather() {
#   curl -f -k -s -m 2 'https://v1.hitokoto.cn?encode=text' || printf '\n'
#   sleep 900
# }

And restart tmux?
If curl fails because of the 2 seconds timeout, printf '\n' will kick in and tmux shouldn't complain with the <... not ready> message

Thanks for reply! But it doesn't work.

Can you please double check that you didn't modify ~/.tmux.conf?
Then can you please paste your ~/.tmux.conf.local copy?

No, I'm sure I haven't modified .tmux.conf because I've read readme. And just now I donwloaded a new copy of .tmux.conf and diff it with mine. No changes. Here's my .tmux.conf.local,
# : << EOF
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
#         without any warranty.
#         Copyright 2012— Gregory Pakosz (@gpakosz).

# -- navigation ----------------------------------------------------------------

# if you're running tmux within iTerm2
#   - and tmux is 1.9 or 1.9a
#   - and iTerm2 is configured to let option key act as +Esc
#   - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys
# then uncomment the following line to make Meta + arrow keys mapping work
#set -ga terminal-overrides "*:kUP3=\e[1;9A,*:kDN3=\e[1;9B,*:kRIT3=\e[1;9C,*:kLFT3=\e[1;9D"

# -- windows & pane creation ---------------------------------------------------

# new window retains current path, possible values are:
#   - true
#   - false (default)
#   - disabled (do not modify new-window bindings)
tmux_conf_new_window_retain_current_path=false

# new pane retains current path, possible values are:
#   - true (default)
#   - false
#   - disabled (do not modify split-window bindings)
tmux_conf_new_pane_retain_current_path=true

# new pane tries to reconnect ssh sessions, possible values are:
#   - true
#   - false (default)
#   - disabled (do not modify split-window bindings)
tmux_conf_new_pane_reconnect_ssh=false

# prompt for session name when creating a new session, possible values are:
#   - true
#   - false (default)
#   - disabled (do not modify new-session bindings)
tmux_conf_new_session_prompt=false

# -- display -------------------------------------------------------------------

# RGB 24-bit colour support (tmux >= 2.2), possible values are:
#  - true
#  - false
#  - auto (default)
#
# automatic detection relies on the COLORTERM environment variable being defined
# to 'truecolor' or '24bit' or '$ tput colors' answering '16777216'
# see https://github.com/termstandard/colors
tmux_conf_24b_colour=auto

# default theme
tmux_conf_theme_colour_1="#080808"    # dark gray
tmux_conf_theme_colour_2="#303030"    # gray
tmux_conf_theme_colour_3="#8a8a8a"    # light gray
tmux_conf_theme_colour_4="#00afff"    # light blue
tmux_conf_theme_colour_5="#ffff00"    # yellow
tmux_conf_theme_colour_6="#080808"    # dark gray
tmux_conf_theme_colour_7="#e4e4e4"    # white
tmux_conf_theme_colour_8="#080808"    # dark gray
tmux_conf_theme_colour_9="#ffff00"    # yellow
tmux_conf_theme_colour_10="#ff00af"   # pink
tmux_conf_theme_colour_11="#5fff00"   # green
tmux_conf_theme_colour_12="#8a8a8a"   # light gray
tmux_conf_theme_colour_13="#e4e4e4"   # white
tmux_conf_theme_colour_14="#080808"   # dark gray
tmux_conf_theme_colour_15="#080808"   # dark gray
tmux_conf_theme_colour_16="#d70000"   # red
tmux_conf_theme_colour_17="#e4e4e4"   # white

# default theme (ansi)
#tmux_conf_theme_colour_1="colour0"
#tmux_conf_theme_colour_2="colour8"
#tmux_conf_theme_colour_3="colour8"
#tmux_conf_theme_colour_4="colour14"
#tmux_conf_theme_colour_5="colour11"
#tmux_conf_theme_colour_6="colour0"
#tmux_conf_theme_colour_7="colour15"
#tmux_conf_theme_colour_8="colour0"
#tmux_conf_theme_colour_9="colour11"
#tmux_conf_theme_colour_10="colour13"
#tmux_conf_theme_colour_11="colour10"
#tmux_conf_theme_colour_12="colour8"
#tmux_conf_theme_colour_13="colour15"
#tmux_conf_theme_colour_14="colour0"
#tmux_conf_theme_colour_15="colour0"
#tmux_conf_theme_colour_16="colour1"
#tmux_conf_theme_colour_17="colour15"

# window style
tmux_conf_theme_window_fg="default"
tmux_conf_theme_window_bg="default"

# highlight focused pane (tmux >= 2.1), possible values are:
#   - true
#   - false (default)
tmux_conf_theme_highlight_focused_pane=false

# focused pane colours:
tmux_conf_theme_focused_pane_bg="$tmux_conf_theme_colour_2"

# pane border style, possible values are:
#   - thin (default)
#   - fat
tmux_conf_theme_pane_border_style=thin

# pane borders colours:
tmux_conf_theme_pane_border="$tmux_conf_theme_colour_2"
tmux_conf_theme_pane_active_border="$tmux_conf_theme_colour_4"

# pane indicator colours (when you hit <prefix> + q)
tmux_conf_theme_pane_indicator="$tmux_conf_theme_colour_4"
tmux_conf_theme_pane_active_indicator="$tmux_conf_theme_colour_4"

# status line style
tmux_conf_theme_message_fg="$tmux_conf_theme_colour_1"
tmux_conf_theme_message_bg="$tmux_conf_theme_colour_5"
tmux_conf_theme_message_attr="bold"

# status line command style (<prefix> : Escape)
tmux_conf_theme_message_command_fg="$tmux_conf_theme_colour_5"
tmux_conf_theme_message_command_bg="$tmux_conf_theme_colour_1"
tmux_conf_theme_message_command_attr="bold"

# window modes style
tmux_conf_theme_mode_fg="$tmux_conf_theme_colour_1"
tmux_conf_theme_mode_bg="$tmux_conf_theme_colour_5"
tmux_conf_theme_mode_attr="bold"

# status line style
tmux_conf_theme_status_fg="$tmux_conf_theme_colour_3"
tmux_conf_theme_status_bg="$tmux_conf_theme_colour_1"
tmux_conf_theme_status_attr="none"

# terminal title
#   - built-in variables are:
#     - #{circled_window_index}
#     - #{circled_session_name}
#     - #{hostname}
#     - #{hostname_ssh}
#     - #{hostname_full}
#     - #{hostname_full_ssh}
#     - #{username}
#     - #{username_ssh}
tmux_conf_theme_terminal_title="Manjaro ❐ #S ● #I #W"

# window status style
#   - built-in variables are:
#     - #{circled_window_index}
#     - #{circled_session_name}
#     - #{hostname}
#     - #{hostname_ssh}
#     - #{hostname_full}
#     - #{hostname_full_ssh}
#     - #{username}
#     - #{username_ssh}
tmux_conf_theme_window_status_fg="$tmux_conf_theme_colour_3"
tmux_conf_theme_window_status_bg="$tmux_conf_theme_colour_1"
tmux_conf_theme_window_status_attr="none"
tmux_conf_theme_window_status_format="#I #W"
#tmux_conf_theme_window_status_format="#{circled_window_index} #W"
#tmux_conf_theme_window_status_format="#I #W#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}"

# window current status style
#   - built-in variables are:
#     - #{circled_window_index}
#     - #{circled_session_name}
#     - #{hostname}
#     - #{hostname_ssh}
#     - #{hostname_full}
#     - #{hostname_full_ssh}
#     - #{username}
#     - #{username_ssh}
tmux_conf_theme_window_status_current_fg="$tmux_conf_theme_colour_1"
tmux_conf_theme_window_status_current_bg="$tmux_conf_theme_colour_4"
tmux_conf_theme_window_status_current_attr="bold"
tmux_conf_theme_window_status_current_format="#I #W"
#tmux_conf_theme_window_status_current_format="#{circled_window_index} #W"
#tmux_conf_theme_window_status_current_format="#I #W#{?window_zoomed_flag,🔍,}"

# window activity status style
tmux_conf_theme_window_status_activity_fg="default"
tmux_conf_theme_window_status_activity_bg="default"
tmux_conf_theme_window_status_activity_attr="underscore"

# window bell status style
tmux_conf_theme_window_status_bell_fg="$tmux_conf_theme_colour_5"
tmux_conf_theme_window_status_bell_bg="default"
tmux_conf_theme_window_status_bell_attr="blink,bold"

# window last status style
tmux_conf_theme_window_status_last_fg="$tmux_conf_theme_colour_4"
tmux_conf_theme_window_status_last_bg="$tmux_conf_theme_colour_2"
tmux_conf_theme_window_status_last_attr="none"

# status left/right sections separators
#tmux_conf_theme_left_separator_main=""
#tmux_conf_theme_left_separator_sub="|"
#tmux_conf_theme_right_separator_main=""
#tmux_conf_theme_right_separator_sub="|"
tmux_conf_theme_left_separator_main='\uE0B0'  # /!\ you don't need to install Powerline
tmux_conf_theme_left_separator_sub='\uE0B1'   #   you only need fonts patched with
tmux_conf_theme_right_separator_main='\uE0B2' #   Powerline symbols or the standalone
tmux_conf_theme_right_separator_sub='\uE0B3'  #   PowerlineSymbols.otf font, see README.md

# status left/right content:
#   - separate main sections with "|"
#   - separate subsections with ","
#   - built-in variables are:
#     - #{battery_bar}
#     - #{battery_hbar}
#     - #{battery_percentage}
#     - #{battery_status}
#     - #{battery_vbar}
#     - #{circled_session_name}
#     - #{hostname_ssh}
#     - #{hostname}
#     - #{hostname_full}
#     - #{hostname_full_ssh}
#     - #{loadavg}
#     - #{mouse}
#     - #{pairing}
#     - #{prefix}
#     - #{root}
#     - #{synchronized}
#     - #{uptime_y}
#     - #{uptime_d} (modulo 365 when #{uptime_y} is used)
#     - #{uptime_h}
#     - #{uptime_m}
#     - #{uptime_s}
#     - #{username}
#     - #{username_ssh}
tmux_conf_theme_status_left=" ❐ #S "
tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized}「#{hitokoto}」|  #{username}#{root} |  Manjaro #{online} "

# status left style
tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_6,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_8"
tmux_conf_theme_status_left_bg="$tmux_conf_theme_colour_9,$tmux_conf_theme_colour_10,$tmux_conf_theme_colour_11"
tmux_conf_theme_status_left_attr="bold,none,none"

# status right style
tmux_conf_theme_status_right_fg="$tmux_conf_theme_colour_12,$tmux_conf_theme_colour_13,$tmux_conf_theme_colour_14"
tmux_conf_theme_status_right_bg="$tmux_conf_theme_colour_15,$tmux_conf_theme_colour_16,$tmux_conf_theme_colour_17"
tmux_conf_theme_status_right_attr="none,none,bold"

# pairing indicator
tmux_conf_theme_pairing="⚇"                 # U+2687
tmux_conf_theme_pairing_fg="none"
tmux_conf_theme_pairing_bg="none"
tmux_conf_theme_pairing_attr="none"

# prefix indicator
tmux_conf_theme_prefix="⌨"                  # U+2328
tmux_conf_theme_prefix_fg="none"
tmux_conf_theme_prefix_bg="none"
tmux_conf_theme_prefix_attr="none"

# mouse indicator
tmux_conf_theme_mouse="↗"                   # U+2197
tmux_conf_theme_mouse_fg="none"
tmux_conf_theme_mouse_bg="none"
tmux_conf_theme_mouse_attr="none"

# root indicator
tmux_conf_theme_root="!"
tmux_conf_theme_root_fg="none"
tmux_conf_theme_root_bg="none"
tmux_conf_theme_root_attr="bold,blink"

# synchronized indicator
tmux_conf_theme_synchronized="⚏"            # U+268F
tmux_conf_theme_synchronized_fg="none"
tmux_conf_theme_synchronized_bg="none"
tmux_conf_theme_synchronized_attr="none"

# battery bar symbols
tmux_conf_battery_bar_symbol_full="◼"
tmux_conf_battery_bar_symbol_empty="◻"
#tmux_conf_battery_bar_symbol_full="♥"
#tmux_conf_battery_bar_symbol_empty="·"

# battery bar length (in number of symbols), possible values are:
#   - auto
#   - a number, e.g. 5
tmux_conf_battery_bar_length="auto"

# battery bar palette, possible values are:
#   - gradient (default)
#   - heat
#   - "colour_full_fg,colour_empty_fg,colour_bg"
tmux_conf_battery_bar_palette="gradient"
#tmux_conf_battery_bar_palette="#d70000,#e4e4e4,#000000"   # red, white, black

# battery hbar palette, possible values are:
#   - gradient (default)
#   - heat
#   - "colour_low,colour_half,colour_full"
tmux_conf_battery_hbar_palette="gradient"
#tmux_conf_battery_hbar_palette="#d70000,#ff5f00,#5fff00"  # red, orange, green

# battery vbar palette, possible values are:
#   - gradient (default)
#   - heat
#   - "colour_low,colour_half,colour_full"
tmux_conf_battery_vbar_palette="gradient"
#tmux_conf_battery_vbar_palette="#d70000,#ff5f00,#5fff00"  # red, orange, green

# symbols used to indicate whether battery is charging or discharging
tmux_conf_battery_status_charging="↑"       # U+2191
tmux_conf_battery_status_discharging="↓"    # U+2193
#tmux_conf_battery_status_charging="🔌"     # U+1F50C
#tmux_conf_battery_status_discharging="🔋"  # U+1F50B

# clock style (when you hit <prefix> + t)
# you may want to use %I:%M %p in place of %R in tmux_conf_theme_status_right
tmux_conf_theme_clock_colour="$tmux_conf_theme_colour_4"
tmux_conf_theme_clock_style="24"

# -- clipboard -----------------------------------------------------------------

# in copy mode, copying selection also copies to the OS clipboard
#   - true
#   - false (default)
#   - disabled
# on macOS, this requires installing reattach-to-user-namespace, see README.md
# on Linux, this requires xsel or xclip
tmux_conf_copy_to_os_clipboard=false

# -- user customizations -------------------------------------------------------
# this is the place to override or undo settings

# increase history size
#set -g history-limit 10000

# start with mouse mode enabled
#set -g mouse on

# force Vi mode
#   really you should export VISUAL or EDITOR environment variable, see manual
#set -g status-keys vi
#set -g mode-keys vi

# replace C-b by C-a instead of using both prefixes
# set -gu prefix2
# unbind C-a
# unbind C-b
# set -g prefix C-a
# bind C-a send-prefix

# move status line to top
#set -g status-position top

# -- tpm -----------------------------------------------------------------------

# while I don't use tpm myself, many people requested official support so here
# is a seamless integration that automatically installs plugins in parallel

# whenever a plugin introduces a variable to be used in 'status-left' or
# 'status-right', you can use it in 'tmux_conf_theme_status_left' and
# 'tmux_conf_theme_status_right' variables.

# by default, launching tmux will update tpm and all plugins
#   - true (default)
#   - false
tmux_conf_update_plugins_on_launch=true

# by default, reloading the configuration will update tpm and all plugins
#   - true (default)
#   - false
tmux_conf_update_plugins_on_reload=true

# by default, reloading the configuration will uninstall tpm and plugins when no
# plugins are enabled
#   - true (default)
#   - false
tmux_conf_uninstall_plugins_on_reload=true

# /!\ the tpm bindings differ slightly from upstream:
#   - installing plugins: <prefix> + I
#   - uninstalling plugins: <prefix> + Alt + u
#   - updating plugins: <prefix> + u

# /!\ do not add set -g @plugin 'tmux-plugins/tpm'
# /!\ do not add run '~/.tmux/plugins/tpm/tpm'

# to enable a plugin, use the 'set -g @plugin' syntax:
# visit https://github.com/tmux-plugins for available plugins
#set -g @plugin 'tmux-plugins/tmux-copycat'
#set -g @plugin 'tmux-plugins/tmux-cpu'
#set -g @plugin 'tmux-plugins/tmux-resurrect'
#set -g @plugin 'tmux-plugins/tmux-continuum'
#set -g @continuum-restore 'on'

# -- custom variables ----------------------------------------------------------

# to define a custom #{foo} variable, define a POSIX shell function between the
# '# EOF' and the '# "$@"' lines. Please note that the opening brace { character
# must be on the same line as the function name otherwise the parse won't detect
# it.
#
# then, use #{foo} in e.g. the 'tmux_conf_theme_status_left' or the
# 'tmux_conf_theme_status_right' variables.

# # /!\ do not remove the following line
# EOF
#
# # /!\ do not "uncomment" the functions: the leading "# " characters are needed
#
# weather() {
#   curl -m 1 wttr.in?format=3 2>/dev/null
#   sleep 900 # sleep for 15 minutes, throttle network requests whatever the value of status-interval
# }
#
# online() {
#   ping -c 1 www.baidu.com >/dev/null 2>&1 && printf '' || printf ''
# }
#
# hitokoto() {
#   curl -f -k -s -m 2 'https://v1.hitokoto.cn?encode=text' || printf '\n'
#   sleep 30
# }
#
# "$@"
# # /!\ do not remove the previous line

You can try replacing the weather() function with
# weather() {
#   curl -f -k -s -m 1 'wttr.in?format=3' || printf '\n'
#   sleep 900
# }

But since your tmux_conf_theme_status_left and tmux_conf_theme_status_right variables don't contain #{weather} you shouldn't see <'cut -c3- ~/.tmux.conf.local | sh -s weather' not ready> at all.
Please make sure you kill all tmux processes and launch tmux again. You shouldn't see such a <... not ready> message any more

But since your tmux_conf_theme_status_left and tmux_conf_theme_status_right variables don't contain #{weather} you shouldn't see <'cut -c3- ~/.tmux.conf.local | sh -s weather' not ready> at all.

Sorry, I don't understand. So I should modify weather, and then use weather instead for a try? I did so, and it did not show <'cut -c3- ~/.tmux.conf.local | sh -s weather' not ready> any more. But when it prints, it will turn out to be like this,

And if I replace the address with https://v1.hitokoto.cn?encode=text, then ... not ready shows again. What happened?
I make sure I kill all tmux processes by rebooting WSL2.

I also noticed the white line. It's a Windows Terminal bug when the status line contains emojis.
About <... not ready> when using https://v1.hitokoto.cn?encode=text I have no idea. It should not happen if you use the #{hitokoto} variable as you defined it:
# hitokoto() {
#   curl -f -k -s -m 2 'https://v1.hitokoto.cn?encode=text' || printf '\n'
#   sleep 30
# }

The || print '\n' part is there to make sure tmux will always read something from the job's output which prevents the <... not ready> message from appearing.

Okay. Great thanks to your patience and help. 👍
I think this issue's title may not be accurate but I have no idea how to change it. And should I close this issue?

I'll push an update to the weather() sample function and close the issue with the commit message


Afreecatv Failed to parse XML

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
The afreecatv website has just stopped working since six hours ago. There is the prompt:
yt-dlp https://vod.afreecatv.com/player/117026071
[afreecatv] Extracting URL: https://vod.afreecatv.com/player/117026071
[afreecatv] 117026071: Downloading JSON metadata
Extracting cookies from firefox
Extracted 1509 cookies from firefox
[afreecatv] 117026071: Downloading video info XML
ERROR: [afreecatv] 117026071: 117026071: Failed to parse XML (caused by ParseError('no element found: line 1, column 0')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://vod.afreecatv.com/player/117026071']
[debug] Portable config "C:\Users\syazyz\scoop\apps\yt-dlp\current\yt-dlp.conf": []
[debug] Home config "yt-dlp.conf": ['--proxy', 'socks5://<IP_ADDRESS>:7888', '--merge-output-format', 'mkv', '--continue', '-o', '%(uploader)s\\%(upload_date)s - %(title)s.%(ext)s', '--no-check-certificate', '--prefer-insecure', '--user-agent', 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)', '--concurrent-fragments', '3', '--cookies-from-browser', 'firefox:C:/GreenSoft/System/Profiles/FFP', '--downloader-args', 'ffmpeg_i:-hwaccel cuda -c:v vp9_cuvid']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds [e5d4f1110] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2024-03-20-git-e04c638f5f-full_build-www.gyan.dev (setts), ffprobe 2024-03-20-git-e04c638f5f-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {'all': 'socks5://<IP_ADDRESS>:7888'}
Extracting cookies from firefox
[debug] Extracting cookies from: "C:\GreenSoft\System\Profiles\FFP\cookies.sqlite"
Extracted 1514 cookies from firefox
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1807 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds)
[afreecatv] Extracting URL: https://vod.afreecatv.com/player/117026071
[afreecatv] 117026071: Downloading JSON metadata
[afreecatv] 117026071: Downloading video info XML
ERROR: [afreecatv] 117026071: 117026071: Failed to parse XML (caused by ParseError('no element found: line 1, column 0')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 732, in extract
  File "yt_dlp\extractor\afreecatv.py", line 202, in _real_extract
  File "yt_dlp\extractor\common.py", line 1086, in download_content
  File "yt_dlp\extractor\common.py", line 1056, in download_handle
  File "yt_dlp\extractor\common.py", line 1046, in parse
  File "yt_dlp\extractor\common.py", line 1026, in _parse_xml
  File "yt_dlp\extractor\common.py", line 1016, in __print_error

  File "yt_dlp\extractor\common.py", line 1024, in _parse_xml
  File "yt_dlp\compat\__init__.py", line 24, in compat_etree_fromstring
  File "xml\etree\ElementTree.py", line 1321, in XML
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

i'm having the same issue as well, region: europe
`(base) x@Xs-MacBook-Pro ~ % yt-dlp "https://vod.afreecatv.com/player/120332459" --verbose
[debug] Command-line config: ['https://vod.afreecatv.com/player/120332459', '--verbose']
[debug] User config "/Users/x/.config/yt-dlp/config": ['-P', '~/Downloads', '-o', '%(title)s.%(ext)s', '-f', 'bv*+ba/b', '--merge-output-format', 'mp4', '--alias', '--insta', '-o "Instagram %(title)s %(upload_date)s %(id)s.%(ext)s"', '--alias', '--ori', '-o "%(title)s %(upload_date)s.%(ext)s"', '--live-from-start', '--write-subs', '--sub-langs', 'en']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [615a84447] (pip)
[debug] Python 3.8.12 (CPython x86_64 64bit) - macOS-10.16-x86_64-i386-64bit (OpenSSL 1.1.1w  11 Sep 2023)
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2023.11.17, mutagen-1.45.1, requests-2.31.0, sqlite3-3.37.0, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1803 extractors
[afreecatv] Extracting URL: https://vod.afreecatv.com/player/120332459
[afreecatv] 120332459: Downloading JSON metadata
[afreecatv] 120332459: Downloading video info XML
ERROR: [afreecatv] 120332459: 120332459: Failed to parse XML (caused by ParseError('no element found: line 1, column 0')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 732, in extract
ie_result = self._real_extract(url)
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/afreecatv.py", line 202, in _real_extract
video_xml = self._download_xml(
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1086, in download_content
res = getattr(self, download_handle.name)(url_or_request, video_id, **kwargs)
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1056, in download_handle
return parse(self, content, video_id, transform_source=transform_source, fatal=fatal, errnote=errnote), urlh
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1046, in parse
return getattr(ie, parser)(content, *args, **kwargs)
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1026, in _parse_xml
self.__print_error('Failed to parse XML' if errnote is None else errnote, fatal, video_id, ve)
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1016, in __print_error
raise ExtractorError(f'{video_id}: {errnote}', cause=err)
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1024, in _parse_xml
return compat_etree_fromstring(xml_string.encode('utf-8'))
File "/Users/x/opt/miniconda3/lib/python3.8/site-packages/yt_dlp/compat/init.py", line 24, in compat_etree_fromstring
return etree.XML(text, parser=etree.XMLParser(target=_TreeBuilder()))
File "/Users/x/opt/miniconda3/lib/python3.8/xml/etree/ElementTree.py", line 1321, in XML
return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0`


Fail on vital browsers

This makes our PR tests fail for vital browsers (Chrome and Firefox for now). As soon as we had all our tests green for all supported browsers once, we should just generally fail for any failing browser.

:+1:


[Branch-2.11] Revert [improve][broker] Require authRole is proxyRole to set originalPrincipal(#19455)

This reverts commit c7eabc9391361508fc222469479bfea83d5d0c64.
Motivation
PR #19455 introduced break change and has been cherry-picked to release branch-2.11. It will lead to users upgrading to the new release version authenticate failed.
Modifications

Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

We need to revert more commits related to this PR.

We have an acceptable solution for now. So that we don't need to revert this change, just push a fix to the release branches.
https://lists.apache.org/thread/q1k1krfjr8njdf8t3sy1ht4vg67s4x71 the discussion thread.
And @michaeljmarshall message me in Slack, he will open PR to fix it.
Thanks @hangc0276 and @michaeljmarshall

https://github.com/apache/pulsar/pull/19830 should supersede this PR, so I am going to close this for now.


Unable to download Helm (Github API Rate limit)

Based on https://github.com/kubernetes/helm/blob/master/docs/install.md
When installing from script doing:
$ curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh
$ chmod 700 get_helm.sh
$ ./get_helm.sh

I get:

SHA sum of /tmp/helm does not match. Aborting.

After debugging I found the tag was emtpy inside the script.
After trying to get the tag manually:
$ curl https://api.github.com/repos/kubernetes/helm/releases/latest
{
  "message": "API rate limit exceeded for x.x.x.x. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://developer.github.com/v3/#rate-limiting"
}

We should change the script to work by scrapping HTML content rather than using the Github API to avoid this issue.

Update: PR in its way

Closed by #2324


chore(main): release 1.0.2

:robot: I have created a release beep boop
1.0.2 (2024-10-30)
Features

Implement missing player methods (8a58122)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.2
:sunflower:


Make data-hovered apply for non-interactive rows/cells/columns

Closes https://github.com/adobe/react-spectrum/issues/4411 https://github.com/adobe/react-spectrum/issues/5488
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Test Table, GridList, TagGroup, ListBox, Checkbox, RadioGroup, Menu and Switch to see that data-hovered is applies to the rows/cell/items/component when hovered so long as the component isn't disabled. See the stories added in the PR and test the respective docs. Sanity check tailwind examples.
Also confirm that data-interactive is applied if the row/cell/item/component supports selection/row action/isnt read only.
🧢 Your Project:
RSP

We discussed these changes some more as a team and were worried about inconsistencies with data-pressed and when that was applied. We believe that we'll want to actually provide a prop to control whether hover is applied only to interactive elements or if it should always be applied to similar to native hover. For now I'll be closing this PR since the above changes will need more time to be discussed and won't make it in time for GA


Fix index out of range panic when size is bigger than 1 TiB

Gentle ping @syndtr ? :)

Huh, I didn't see this coming 🤯

Thank you! @syndtr  :) You're project is awesome and we're really grateful for you for creating and maintaining it! :)

@karalabe Thanks! I'm trying but honestly I use Python more than Go nowadays. I really like Go but it lacks of data science tools apparently.


[v1.3] User getter

Added a new getter function in the UserAccount class in model to support a getter method for currently logged in user.

Pull Request Test Coverage Report for Build 533

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 80.829%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/model/UserAccount.java
0
2
0.0%

Totals

Change from base Build 531:
-0.08%

Covered Lines:
1619

Relevant Lines:
2003

💛  - Coveralls


Uniled cannot connect to SP620E anymore

Describe the bug
Uniled cannot connect aynmore to SP620E
Configuration
I'm using the addon on an Home Assistant docker install on a raspberry pi 4.
Core 2024.1.1, Frontend 20240104.0
Version of the custom_component
I also tried to downgrade from 2.2.5 to 2.2.1 but same issue.
Configuration
docker compose HA
    ...
    volumes:
        - /run/dbus:/run/dbus:ro
    privileged: true

    #command: /bin/bash -c "bluetoothctl power on && hass -c /config/"

    restart: unless-stopped
    devices:
        - /dev/ttyUSB0:/dev/ttyUSB0
        - /dev/ttyUSB1:/dev/ttyUSB1

only added this

          ...
          bluetooth:
          ...

Add your logs here.

log
here a part of the log
2024-02-28 20:17:28.642 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] Checking support for: '34:00:00:00:0B:34' (SP620E)... AdvertisementData(local_name='SP620E', manufacturer_data={20563: b'\x1b\x104\x00\x00\x00\x0b4'}, service_uuids=['0000ffe0-0000-1000-8000-00805f9b34fb', '5833ff01-9b8b-5191-6142-22a4536ef123'], rssi=-70)
2024-02-28 20:17:28.642 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] Device 'SP620E' (34:00:00:00:0B:34) is supported!
2024-02-28 20:17:28.644 DEBUG (MainThread) [custom_components.uniled] *** Setup UniLED BLE Device: 34:00:00:00:0B:34: SP620E v3 - {'transport': 'ble', 'address': '34:00:00:00:0B:34', 'model': 'SP620E'} AdvertisementData(local_name='SP620E', manufacturer_data={20563: b'\x1b\x104\x00\x00\x00\x0b4'}, service_uuids=['0000ffe0-0000-1000-8000-00805f9b34fb', '5833ff01-9b8b-5191-6142-22a4536ef123'], rssi=-50)
2024-02-28 20:17:28.645 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Inititalizing (SP620E)...
2024-02-28 20:17:28.645 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Set model as 'SP620E' by SPLED (BanlanX)
2024-02-28 20:17:28.645 DEBUG (MainThread) [custom_components.uniled.lib.channel] Inititalized: channel_0 (0x7f87d0fad0)
2024-02-28 20:17:28.645 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Updated '34:00:00:00:0B:34' advertisement; RSSI: -50
AdvertisementData(local_name='SP620E', manufacturer_data={20563: b'\x1b\x104\x00\x00\x00\x0b4'}, service_uuids=['0000ffe0-0000-1000-8000-00805f9b34fb', '5833ff01-9b8b-5191-6142-22a4536ef123'], rssi=-50)
2024-02-28 20:17:28.645 DEBUG (MainThread) [custom_components.uniled] *** Awaiting UniLED Device: SP620E, first response...
2024-02-28 20:17:28.646 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Update!
2024-02-28 20:17:28.646 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Update - Send State Query... (retrys=0)
2024-02-28 20:17:28.646 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Send 1 command(s), attempt 1 of 1...
2024-02-28 20:17:28.646 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Connecting '34:00:00:00:0B:34'; RSSI: -50
2024-02-28 20:18:49.668 ERROR (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Device not found, no longer in range, or poor RSSI: -50
2024-02-28 20:18:49.668 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Send command failed!
2024-02-28 20:18:49.669 DEBUG (MainThread) [custom_components.uniled.coordinator] Finished fetching SP620E data in 81.023 seconds (success: False)
2024-02-28 20:18:49.669 WARNING (MainThread) [custom_components.uniled] SP620E: First update attempt failed!
2024-02-28 20:18:49.670 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] SP620E: Stopped
2024-02-28 20:18:50.189 DEBUG (MainThread) [custom_components.uniled.coordinator] SP620E: Coordinator destroyed
2024-02-28 20:18:50.190 DEBUG (MainThread) [custom_components.uniled.lib.device] SP620E: Deleted Device
2024-02-28 20:18:50.190 DEBUG (MainThread) [custom_components.uniled.lib.channel] Deleted: channel_0
Text
after installing it through HACS I was able to detect and connect the SP620E and control it.
unfortunately in the coming days it started to disconnect regularly.
thought it was a problem with the rpi 4 and searched how to fix the bluetooth, made some change to the docker compile and the bluetooth seems to work.
but then the Uniled isn't able anymore to connect with the SP620E: it shows always Initializing status and then no success. if I try to configure I get the error
"Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble"
with the IOs app I can still control it, so the device is fine.

any idea what could be?

Same Problem with SP602E :(

after an update of the IOS app, now it started to work again in the uniled too.. hope it last

it didn't. already impossible to connect to it via Uniled / HA. Still working on the app

Same with our SP620E.
It was working once, but since then no success.

Same with SP630e, it seems that the integration doesn't use the bluettoth gateway and can't connect to the LED driver because is to far. Does it have sense?


release-notes-preview gets broken by the  portion of a commit header

Tried 1.6.2 and it didn't seem to work I had a line (feat(play): test) which should have generated notes for that and it didnt post anything to the PR.
processing line: ea19f82 feat(play): test
adding "test (ea19f82)" to others

The actual beta release notes were created, however:

Thanks for the details :)
When I wrote the code here, I completely neglected the  part of the commit header:
<type>(<scope>): <subject>
Because I never used it.
Now I realise it's used and should be supported.


Waiting for Elasticsearch to come online.

this message is for this is the message waiting for the service to start


binary formatter  clean up

Moved from #19442
Topics we'll want to cover, with samples:

[ ] Serializing Exception graphs
[ ] Polymorphic deserialization with System.Text.Json
[ ] Reasoning about cycles, data complexity, algorithmic attacks
[ ] Deserializing dictionaries safely
[ ] Dangerous Type.GetType calls

Docs we need to update because they give improper security guidance:
API:
See https://github.com/dotnet/dotnet-api-docs/pull/4508

[x] https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.formatters.binary.binaryformatter - to link to this document
[x] https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.formatters.binary.binaryformatter.binder - to clarify that a SerializationBinder is not a long-term security solution
[x] https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.serializationbinder - to remove the "SerializationBinder can be used for security" line (w.r.t. BinaryFormatter / NetDataContractSerializer)
[x] https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.formatters.typefilterlevel - clarifying that a TypeFilterLevel shouldn’t be used for security
[x] https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.netdatacontractserializer
[x] https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.losformatter
[x] https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.objectstateformatter
[x] https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.formatters.soap.soapformatter - to clarify that these are all dangerous serializers and should link to this doc

dotnet repo:

[x] https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/controlling-serialization-and-deserialization-with-serializationbinder - to clarify that this shouldn’t be used for security
[x] https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/security-considerations-for-data – remove text "It is possible to make it secure by writing a secure, type-limiting type binder"

previous-versions:

[ ] https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/5dxse167(v=vs.100) – clarifying that a TypeFilterLevel shouldn’t be used for security

visualstudio:

[x] https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2300
[x] https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2301
[x] https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2302 - to clarify that SerializationBinder is not recommended as a long-term mitigation strategy
[x] https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2310
[x] https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2311
[x] https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2312 - same as above, but for NetDataContractSerializer

Not on the list, but I added

https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/serialization-and-deserialization

I'm not sure if this is the best place to comment, but there is a rather strange suggestion that users should switch from byte[] serialization to string serialization (as the recommended alternatives) for reasons that have something to do with security. That is nonsense of course. You should really include a form of binary serialization as a suggested alternative. CBOR will do well, especially as there is such a serializer in dotnet/runtime now. Moving from byte[] to string formats should be a decision based on whether there is a need for human readability.


unable to open vs i install so many time and uninstall so many times nothing will happen app cant open .

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

/needsMoreInfo

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

/needsMoreInfo
sir i installed vs code before it was running but after sometimes it is not working it takes 2 seconds loading near mouse but cant open and i uninstall and install so many times but nothing will happen. i have window 7.

Starting with 1.71 Windows 7 is no longer a supported platform.
https://code.visualstudio.com/updates/v1_71#_windows-7-support-has-ended

Closing as mentioned above newer versions of VSCode don't support Windows 7, you can instead use the web version https://code.visualstudio.com/docs/editor/vscode-web


Support declaring plugin aliases without versions in catalog

This feature would allow syntax like:
[plugins]
foobar.id = "foobar"

for assigning an alias without a version. Similar to the way that you can do this for [libraries].
Context is https://github.com/gradle/gradle/pull/19015#issuecomment-971418571.

Oops, didn't realize we already were tracking this under #17968.


Ability to change the color of headings

Feature Request
As a user of RetroQuest
I want to change the color of the columns and column headings in RetroQuest
So that I can better customize my board to my team's preferences
Acceptance Criteria
Given I have a retro board open
When I select the option to change the color of my column/column headings
Then I'm shown color options to choose from

Maybe....


Added flag to prevent multiple triggers of getGroupingOwnersOnClick

Ticket Link
GROUPINGS-1765
List of squashed commits
Test Checklist

[x] Exhibits Clear Code Structure:
[x] Project Unit Tests Passed:
[x] Project Jasmine Tests Passed:
[x] Executes Expected Functionality:
[x] Tested For Incorrect/Unexpected Inputs:

Just a very minor nitpick, I would want the $scope.loadingOwner variable inside $scope.handleGroupingOwnersOnError and $scope.handleGroupingOwnersOnSuccess to be placed right under $scope.loading.
There is also a Codacy issue that you can find in the list of checks at the bottom of this PR. I personally like that coding style you used for early returns in a function but we will need to follow the code style for this project in particular.


[MGDSTRM-9807] Separate image-jib to active-by-default profile

This seems to be the configuration that will allow us to skip the JIB processing when needed.

Couple questions

I considered that but I didn't like that it would be added to all the other modules via the parent.

why we do not want for all the modules?
since we use the profile in release, the metadata file as u were saying will show up in the image anyways, then what are we gaining by putting it in profile?

why we do not want for all the modules?

It's only sync and operator that need it when doing a JIB image build. The others like api, common, and the test modules don't use it for anything.

since we use the profile in release, the metadata file as u were saying will show up in the image anyways, then what are we gaining by putting it in profile?

The release profile is used for GitHub releases, but we don't use that profile for the product build.


[Question]: KVM could I run this without it

Is your question not already answered in the FAQ?

[X] I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

[X] I am sure my question is not about a technical issue.

Question
Long story short my NAS doesn't have KVM is it possible to run this in any way without it? I just need some version of Windows. It doesn't have to be the latest version or anything fancy.

Yeah it's the DS223J which doesn't support virtual machine manager as far as I can tell. I'm looking at upgrading to one of the plus models at some point.

There just isn't enough memory in the system and it can't be upgraded


Configuration rewrite

Hi,
Here's a rewrite of the configuration part + indentation fixes across the app.
coinx-core.js is supposed to be a central place of the app now, providing modules with available/configured exchanges and coins so there's no need to change all modules in case new market is added. I guess usage of static methods there is less than ideal, but most likely still better than hardcode.

Resubmitted: https://github.com/johntitus/coinx/pull/19


 Look above for specific messages explaining why the rule failed. -> [Help 1]

Hi @sergio-alonso...
Funny thing you discovered! Travis is using a older mvn version that the one we require... It may be happening that ToroDB can be compile with mvn 3.1.1 (or we were very lucky!). On the other case, we would need to upgrade mvn on travis compilation

Hi @sergio-alonso...
Funny thing you discovered! Travis is using a older mvn version that the one we require... It may be happening that ToroDB can be compile with mvn 3.1.1 (or we were very lucky!). On the other case, we would need to upgrade mvn on travis compilation


New generator for _vendors.yml with the Subresource Integrity(SRI)

To integrate the  Subresource Integrity(SRI) checksum into NexT. （cont. https://github.com/next-theme/hexo-theme-next/discussions/182 and #51 )
A _vendors.yml  generator will generate vendors config with Integrity checksum. (via ssri).
It will create a comment on pull request like this: https://github.com/uuznn/plugins/pull/15
How to generate configuration files?
git clone https://github.com/next-theme/plugins
npm i
node test/generator.js

then, _vendors.yml will be refreshed and exported.
Exclude SRI
node test/generator.js --without-integrity

Check resource integrity from CDN vendors
Example
The following packages are updated in the Pull Request.

@fortawesome/fontawesome-free

The affected CDN links are listed below.
fontawesome

CDN Provider
Status
Integrity

jsdelivr
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

unpkg
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

cdnjs
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

Because of https://github.com/next-theme/plugins/blob/b549a834b9ca4dc50e6bf3c7e0ed9f56ed92f802/test/index.js#L12
Broke the workflow...

Because of https://github.com/next-theme/plugins/blob/b549a834b9ca4dc50e6bf3c7e0ed9f56ed92f802/test/index.js#L12
Broke the workflow...

Check resource integrity from CDN vendors #16
Example
The following packages are updated in the Pull Request.

@fortawesome/fontawesome-free

The affected CDN links are listed below.
fontawesome

CDN Provider
Status
Integrity

jsdelivr
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

unpkg
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

cdnjs
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

How to generate configuration files?
git clone https://github.com/next-theme/plugins
npm i
node test/generator.js

then, _vendors.yml will be refreshed and exported.
Exclude SRI
node test/generator.js --without-integrity

Check resource integrity from CDN vendors #16
Example
The following packages are updated in the Pull Request.

@fortawesome/fontawesome-free

The affected CDN links are listed below.
fontawesome

CDN Provider
Status
Integrity

jsdelivr
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

unpkg
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

cdnjs
✅ 200
sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=

How to generate configuration files?
git clone https://github.com/next-theme/plugins
npm i
node test/generator.js

then, _vendors.yml will be refreshed and exported.
Exclude SRI
node test/generator.js --without-integrity

Thanks! It seems that the permission issue is about the forked branch. I believe the bot will work normally in this repository.
I will test the script and merge the pull request as soon as possible.

Thanks! It seems that the permission issue is about the forked branch. I believe the bot will work normally in this repository.
I will test the script and merge the pull request as soon as possible.


add proper error handling and failure tests

check every function and method for proper error handling and add tests passing invalid data everywhere.
I propose to try to recover from most bogus inputs as much as we can and only throw if absolutely necessary.
For cases where we recover it's best to log somewhere and outside of the parser we are not in a stream so emit("error") does not work... :-(
the question is again how to log.

https://medium.com/front-end-hacking/error-handling-in-node-javascript-suck-unless-you-know-this-2018-aa0a14cfdd9d ?


Doesnt work

The component doesnt work as intended, no search results at all
how to recreate:
Start fresh react native project(not expo) and copy the example code.
Or even easier, check your own Snack
react-native version: 0.61

Please follow the issue template. It very much does work.
p.s.  Try and use a valid API key, it might do wonders 😉


[Bug][Flutter Web] PaintingContext.pushClipPath does not work

I am extending a class from RenderBox and overriding its void paint(PaintingContext context, Offset offset) function.
I need to clip an area and draw using context.pushClipPath. But its not working on web (Works perfectly on Android and iOS).
My clip path is like this:
Path _getDimClipPath() {
final size = Size(300, 500);
final rect = Rect.fromLTWH(20.0, 20.0, 100, 100);

return Path()
  ..addRect(rect)
  ..addRect(Rect.fromLTWH(0.0, 0.0, size.width, size.height))
  ..fillType = PathFillType.evenOdd;
}

The expected result is to fill a rectangle of size 300x500 and have a rectangular hole of size 100x100 in the middle.
I am using the master channel, latest commit:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.18.1-pre.4, on Microsoft Windows [Version 10.0.18363.752], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 3.6)
[√] VS Code (version 1.43.2)
[√] Connected device (2 available)

• No issues found!

Hi @xclud
I see there's an open issue addressing the case you described.
Please follow up on https://github.com/flutter/flutter/issues/49534
I'm closing the current one as duplicate.
If you disagree and your case is different please write in the comments and I will reopen it.
Thank you


[Suggestions]D-Adaptation for Adan(Adaptive Nesterov Momentum Algorithm)

Hi, thanks for your excellent works.
Adan is currently a SOTA optimizer.And I think that applying D-Adaptation to Adan would be very practical. So I implemented this. D-Adaptation Adan, D-Adaptation Adan IP
However, I'm not sure if this implementation is correct. It works very well, at least on cifar 10. It also shows higher performance than D-Adaptation Adam.

pseudo code

where λ is the weight decay constant.
Please let me know if there are any mistakes.

Hi, I will run some experiments on this and see how it goes. If you provide a pull request I will be able to merge it in if the experiments show promise.


Simplify code, delete redundancy line

delete redundancy line 597 if args.train which is the same function to line 547, in order to simplify code.

wouldn't this cause some kind of indentation error? (I don't have time to test the change sorry)


ERROR: Unable to extract uploader id;

Verbose:
youtube-dl -v -F https://www.youtube.com/watch?v=pFS4zYWxzNA
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.youtube.com/watch?v=pFS4zYWxzNA']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.18 (CPython) - Linux-5.15.0-73-generic-x86_64-with-Ubuntu-22.04-jammy
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2
[debug] Proxy map: {}
[youtube] pFS4zYWxzNA: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
youtube-dl is up-to-date (2021.12.17)

#30839 !


Asset amount & algos amount should be double

Hello there,
Nice work with the SDK.
I saw that the amount of assets or the amount of algos are intigers, in fact i think it should be a double.
In example when you get total amount of X asset, instead of being 1.5, in turns in an intiger on the Algorand Sdk, and looks 15.
Of course you can divide it by 10 to get it in double, but for the sake of correctness it would be great to have it a double. :sweat_smile:
Thanks

Hi Joan,
The amount of assets or amount of algos should actually be BigIntegers (I still have to do some work to support BigInts).
The base unit of Algo is a microAlgo (1 algo = 1.000.000 microAlgos), so you should actually work in microAlgos.
Regarding assets, that is probably based on the total asset amount and decimals specified when creating the asset, so you should do the calculation yourself. If you create an asset with 0 decimals, the asset amount will probably be correct.
You can use the format method in the Algo class to specify the number of Algos.
Thanks for trying out the SDK btw!

Thanks for the explanations, keep up the good work!


add discord logo to the page

In the sidebar, there is no discord logo and no LinkedIn.By these logo the people can connect easily.
please assign me @pa
please label it under the gssoc and level

@jayanththalla
ok, you can replace the Facebook logo with the LinkedIn logo and the YouTube logo with the Discord logo.


Missing Lyrics Enum

Description
It seems that the change for the Lyrics pane is still not in the official release.
Adding the Lyrics Pane causes an error.  music_directory is "~/Music".
Sample Tree of my setup.
~/Music
├── Opus
│   ├── Bleachers
│   │   └── Merry Christmas, Please Don't Call
│   │       ├── 01 Merry Christmas, Please Don't Call.lrc
│   │       ├── 01 Merry Christmas, Please Don't Call.opus
│   │       └── front.jpeg

TLDR for the log: Unexpected variant named Lyricsin enum PaneTypeFile, expected one of Queue, Directories, Artists, Albums, AlbumArtists, Playlists, Search, AlbumArt instead
Steps to reproduce

rmpc 0.6.0-1
Create default config

rmpc config > ~/.config/rmpc/config.ron

Append to config

# Append https://github.com/mierak/rmpc/issues/105#issuecomment-2495936974
# On top
lyrics_dir: "~/Music",
# Replace tabs name: Queue
                    (
                        size: "40%",
                        pane: Split(
                            direction: Vertical,
                            panes: [
                                (
                                    size: "14%",
                                    pane: Pane(Lyrics),
                                ),
                                (
                                    size: "86%",
                                    pane: Pane(AlbumArt),
                                )
                            ]
                        ),
                    ),

Expected behavior
work
What terminal emulator are you running rmpc in?
kitty 0.37.0-1
rmpc debuginfo

rmpc debuginfo
rmpc 0.6.0 git Arch Linux

Config path          /home/username/.config/rmpc/config.ron
Theme path           None

MPD:
Address              "<IP_ADDRESS>:6600"
Resolved Address     IpAndPort("<IP_ADDRESS>:6600")
MPD_HOST             unset
MPD_PORT             unset

Youtube playback:
Cache dir            None
ffmpeg               installed       ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
ffprobe              installed       ffprobe version n7.1 Copyright (c) 2007-2024 the FFmpeg developers
yt-dlp               installed       2024.11.18
python3              installed       Python 3.12.7
python-mutagen       installed       PRESENT

Image protocol:
Requested            Auto
Resolved             Kitty
TMUX                 false
ueberzugpp           installed       ueberzugpp 2.9.6

Config file

rmpc config
#![enable(implicit_some)]
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
  address: "<IP_ADDRESS>:6600",
  password: None,
  theme: None,
  cache_dir: None,
  on_song_change: None,
  volume_step: 5,
  scrolloff: 0,
  wrap_navigation: false,
  enable_mouse: true,
  status_update_interval_ms: 1000,
  select_current_song_on_change: false,
  lyrics_dir: "~/Music",
  album_art: (
      method: Auto,
      max_size_px: (width: 600, height: 600),
  ),
  keybinds: (
      global: {
          ":":       CommandMode,
          ",":       VolumeDown,
          "s":       Stop,
          ".":       VolumeUp,
          "c":       ToggleSingle,
          "<Tab>":   NextTab,
          "<S-Tab>": PreviousTab,
          "1":       SwitchToTab("Queue"),
          "2":       SwitchToTab("Directories"),
          "3":       SwitchToTab("Artists"),
          "4":       SwitchToTab("Albums"),
          "5":       SwitchToTab("Playlists"),
          "6":       SwitchToTab("Search"),
          "q":       Quit,
          "x":       ToggleRandom,
          ">":       NextTrack,
          "<":       PreviousTrack,
          "f":       SeekForward,
          "v":       ToggleConsume,
          "p":       TogglePause,
          "z":       ToggleRepeat,
          "b":       SeekBack,
          "~":       ShowHelp,
          "I":       ShowCurrentSongInfo,
          "O":       ShowOutputs,
      },
      navigation: {
          "k":       Up,
          "j":       Down,
          "h":       Left,
          "l":       Right,
          "<Up>":    Up,
          "<Down>":  Down,
          "<Left>":  Left,
          "<Right>": Right,
          "<C-k>":   PaneUp,
          "<C-j>":   PaneDown,
          "<C-h>":   PaneLeft,
          "<C-l>":   PaneRight,
          "<C-u>":   UpHalf,
          "N":       PreviousResult,
          "a":       Add,
          "A":       AddAll,
          "r":       Rename,
          "n":       NextResult,
          "g":       Top,
          "<Space>": Select,
          "G":       Bottom,
          "<CR>":    Confirm,
          "i":       FocusInput,
          "J":       MoveDown,
          "<C-d>":   DownHalf,
          "/":       EnterSearch,
          "<C-c>":   Close,
          "<Esc>":   Close,
          "K":       MoveUp,
          "D":       Delete,
      },
      queue: {
          "D":       DeleteAll,
          "<CR>":    Play,
          "<C-s>":   Save,
          "a":       AddToPlaylist,
          "d":       Delete,
          "i":       ShowInfo,
      },
  ),
  search: (
      case_sensitive: false,
      mode: Contains,
      tags: [
          (value: "any",         label: "Any Tag"),
          (value: "artist",      label: "Artist"),
          (value: "album",       label: "Album"),
          (value: "albumartist", label: "Album Artist"),
          (value: "title",       label: "Title"),
          (value: "filename",    label: "Filename"),
          (value: "genre",       label: "Genre"),
      ],
  ),
  tabs: [
      (
          name: "Queue",
          border_type: None,
          pane: Split(
              direction: Horizontal,
              panes: [
                  (
                      size: "40%",
                      pane: Split(
                          direction: Vertical,
                          panes: [
                              (
                                  size: "14%",
                                  pane: Pane(Lyrics),
                              ),
                              (
                                  size: "86%",
                                  pane: Pane(AlbumArt),
                              )
                          ]
                      ),
                  ),
                  (
                      size: "60%",
                      pane: Pane(Queue),
                  ),

              ],
          ),
      ),
      (
          name: "Directories",
          border_type: None,
          pane: Pane(Directories),
      ),
      (
          name: "Artists",
          border_type: None,
          pane: Pane(Artists),
      ),
      (
          name: "Album Artists",
          border_type: None,
          pane: Pane(AlbumArtists),
      ),
      (
          name: "Albums",
          border_type: None,
          pane: Pane(Albums),
      ),
      (
          name: "Playlists",
          border_type: None,
          pane: Pane(Playlists),
      ),
      (
          name: "Search",
          border_type: None,
          pane: Pane(Search),
      ),
  ],
)

Relevant log output

rmpc log
2024-11-30T13:07:55.904785228Z DEBUG src/main.rs:212 message="rmpc started" rev="Arch Linux"
2024-11-30T13:07:55.905052802Z WARN  src/main.rs:225 message="Failed to read config. Using default values.  The docs are for the git development version. I plan to version the docs eventually but its not a top priority at the moment.

When I've tried to build it based on HEAD on Nix, but get the following error. (Also please flag it as Unreleased in the docs)
error: builder for '/nix/store/yiiky5x0g464zlwnwswlsn8vj20p43n0-rmpc-unstable-2024-12-06-vendor.tar.gz.drv' failed with exit code 101;
       last 10 log lines:
       > error: failed to sync
       >
       > Caused by:
       >   failed to load pkg lockfile
       >
       > Caused by:
       >   failed to parse lock file at: /build/source/Cargo.lock
       >
       > Caused by:
       >   lock file version 4 requires `-Znext-lockfile-bump`
       For full logs, run 'nix log /nix/store/yiiky5x0g464zlwnwswlsn8vj20p43n0-rmpc-unstable-2024-12-06-vendor.tar.gz.drv'.
error: 1 dependencies of derivation '/nix/store/f28622iigzxs5c3kfd0cwsdm8mmk5gkq-rmpc-unstable-2024-12-06.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7w90h52c59ppadkak0zlydjphxj79k69-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h8vyp57z02jzpdgh169j7d9i7fhkpxwq-home-manager-generation.drv' failed to build

> rustc --version
rustc 1.82.0 (f6e511eec 2024-10-15) (built from a source tarball)

Please try building again, this was most likely caused by me updating the Cargo.lock to version 4 which was made default in rust 1.83.0 released a week or so ago. I have specified minimum version to 1.81.0.

There are now two sections in the docs with the release of 0.7.0. One is for the latest released version and the other for the latest dev version from master.


Add resend mock for development

I don't know if this is a good practice or not, which is why I created an issue instead of just doing a pull request, but I like having a mock service for emails while on development that just prints the resulting e-mail to console.
Right now, my src/lib/send-email.tsx looks like this:
import { Resend } from "resend";
import { render } from '@react-email/render';

import { env } from "@/env";
import { ReactNode } from "react";

const resend = new Resend(env.EMAIL_SERVER_PASSWORD);

export async function sendEmail(
  email: string,
  subject: string,
  body: ReactNode
) {

  if (env.NODE_ENV === "production") {
    const { error } = await resend.emails.send({
      from: env.EMAIL_FROM,
      to: email,
      subject,
      react: <>{body}</>,
    });

    if (error) {
      throw error;
    }
  } else {
    const Body = () => <>{body}</>

    console.log(`from: ${env.EMAIL_FROM}`)
    console.log(`to: ${email}`)
    console.log(`subject: ${subject}`)
    console.log(`body: ${render(<Body />, { plainText: true })}`)
  }

}

using render from react-email. I can make the pull request if needed, but I wanted to know your opinion on this before.
Cheers!

that's a good idea, I'm open to a pull request as long as it's a documented env variable.


Udemy - No video formats found

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.06.06
[ ] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

./youtube-dl.exe --cookies udemy.com_cookies.txt --verbose -o '~/udemy-blockchain/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/blockchain-developer/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'udemy.com_cookies.txt', '--verbose', '-o', '~/udemy-blockchain/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s', 'https://www.udemy.com/blockchain-developer/']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] blockchain-developer: Downloading webpage
[udemy:course] 1172526: Downloading course curriculum
[download] Downloading playlist: 1172526
[udemy:course] playlist 1172526: Collected 121 video ids (downloading 121 of them)
[download] Downloading video 1 of 121
[udemy] 6846516: Downloading webpage
[udemy] 6846516: Downloading lecture JSON
[udemy] 22610630: Downloading m3u8 information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://www.udemy.com/assets/22610630/files/2020-03-01_13-29-53-b1af010e8a29298d952aba5ea685043c/2/hls/AVC_1920x1080_6400k_AAC-HE_64k/aa001a1334874de0b44acad3189eaa6dcf6d.m3u8?provider=cloudfront&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MzExMTU1ODEsInBhdGgiOiIyMDIwLTAzLTAxXzEzLTI5LTUzLWIxYWYwMTBlOGEyOTI5OGQ5NTJhYmE1ZWE2ODUwNDNjLzIvIn0._UTSi-fQLDZ_1hqKWRHOvwgtlva7Ljmp0myUtGBX5ic&v=1'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 50
[download] Destination: C:\Users\user\udemy-blockchain\1172526\1 - A Quick Introduction into the Course\Quick Introduction Before Commencing With This Course.mp4
[download] 100% of 209.59MiB in 00:17
WARNING: 22610630: malformed AAC bitstream detected. Install ffmpeg or avconv to fix this automatically.
[download] Downloading video 2 of 121
[udemy] 6846544: Downloading webpage
[udemy] 6846544: Downloading lecture JSON
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\udemy.py", line 408, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 1374, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I'm trying to download video from udemy, 1st video downloads normal, but after that I got the error

I've noticed that this occurs when playlist shows a "Text" item instead of a course video, it doesn't seem to be handled.

Correction, it appears that Udemy have started to encrypt some of their courses, which isn't handled in the script

Right!
I think it happened quite recently (by the way, Udemy has recently changed the design)
@darryl-dixon , Could you please tell me if it is possible to fix it somehow, or is it planned to fix it in the next versions of the script?

Any updates?

same problem: youtube_dl.utils.DownloadError

same problem: youtube_dl.utils.DownloadError

i got it on this url

Same issue. I'm working with the python library and hosting a cloud application.
The issue comes up when I use YoutubeDL.py/extract_info().
It happens in <10% on cases and isn't dependent on the URL. I'm only using it with youtube videos and it might work fine on a URL once but after an application restart the issue is there until another restart.
Most videos work on the first try and the output is as follows:
[youtube] : Downloading player f93a7034
It's sometimes followed by another message. If it's followed by the following:
[youtube] : Downloading API JSON
At this point the rest of the videos I try spit out the same "no video format" error until the next restart which may fix it.
The issue also occurs seemingly randomly, after I've downloaded many videos in a session it gets stuck on one or another.
Important note, I'm not 100% sure it fixes itself because of the restart as I usually do it pretty quickly after a failure. Trying to call extract_info() with another instance of the YoutubeDL class, even with different settings, yields the same results. My point is, either the phenomenon is short-lived or somehow session-dependent? Anyone else to verify my results? Thanks in advance.
Additional info:
only downloading from youtube, the URLs aren't broken and I'm using the latest version.
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.4 (CPython) - Linux-4.4.0-1097-aws-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg N-60236-gffb000fff8-static, ffprobe N-60236-gffb000fff8-static
[debug] Proxy map: {}

Same problem.. any fix?

Also see why a dedicated tool for Udemy was abandoned.


Verification of devfile v2 features

/kind feature
Verify the availability/functionality of following features for odo v2 release:

[ ] odo storage
[ ] odo update (https://github.com/openshift/odo/issues/3396)
[ ] odo link with components
[ ] removal of experimental flag needs to be well tested.

Doesn't matter any more since v2 is out since some time now
/close


Properly handle anchor links local within a file. Fix #142

in toURL test for anchor links and if so prepend the currentPath to t…he generated path. fixes #142.
Please makes sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you are merging your commits to master branch.
[x] Add some descriptions and refer relative issues for you PR.
[x] DO NOT include files inside lib directory.

fixed. sorry i actually don't use semi's myself, but got used to looking at the built version which had semis, and didn't realize the actual code here omits them.

I'll have to properly redo this. I didn't realize the code is a bit different than the built / bundled app.


Issue inferring wavedrom type from file extensions

I guess there might be a dot missing here?
https://github.com/yuzutech/kroki-cli/blob/b802f44b870d62cdd631f2dfd6bd9af056778728/cmd/convert.go#L249

Hi @albertschulz
You are correct, nice catch!
Would you like to submit a pull request to fix this issue? You should also add a test in here to make sure that it's actually working: https://github.com/yuzutech/kroki-cli/blob/b802f44b870d62cdd631f2dfd6bd9af056778728/cmd/convert_test.go#L62
Thanks!


[CI][Flaky][nightly] flaky tutorial test: test_tutorials.test_basic_reshape_transpose

See failure on one of the nihgtly tests:
FAIL: test_tutorials.test_basic_reshape_transpose
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/NightlyTestsForBinaries/detail/v1.5.x/31/pipeline/147
this test passed for other runs.

It's a request time out images hosted on dmlc/webdata. Acutally not a flaky test. closing.


[hive] add docs for hive engine

Purpose

Linked issue: close #2663

Tests

API and Format

Documentation

Hi @zhuangchong , please edit the commit information to merge the code. Currently, this commit information is completely meaningless.


Chrome crashes when spectating certain games

I can consistently reproduce an extreme slowdown followed by a browser crash soon after starting to spectate this Ace of Coders match, running in Chrome 46.0.2490.86m on Windows 10.
This is not reproducible on Firefox, nor in other matches of the same arena in Chrome, so it may be a very specific bug.
I have not tested it in other machines yet, so please spectate this match on Chrome to check whether the issue is reproducible.

I can confirm this on Chrome 47.0.2526.73m on Windows 7.  This appears to be caused by some sort of infinite loop problem or unoptimised code, as my CPU maxes at 100% before eventually crashing.  Memory stays normal throughout the entire thing.

Issue may be related to #3202?

What CPU do you have?  Is there still a problem?  Try Firefox nightly if you want

@Wutikorn The issue is not reproducible on Firefox, as already mentioned in the original bug report above.
The bug is reproducible on different machines, on different versions of Windows and different versions of Chrome, so I don't think the CPU plays a big role here.
I've also just reproduced the issue in OSX Yosemite (10.10.5) running Chrome 47.0.2526.106 (64-bit).

Beware: while in Windows it only crashed the given Chrome tab, in OS X the whole OS froze and I had to hard reset.

I have an Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz at the moment.  Although it seems to not matter what CPU the simulation is run on because I've also crashed it with an AMD processor.

Should be fixed with @basicer's new Esper interpreter. Note our test game is no longer a good test case because the code doesn't run (probably because Esper makes us now in strict mode and so there is an error at the beginning).


get_owl.sh is missing

As pointed out by @BenGeissler in https://github.com/zauberzeug/field_friend/issues/28#issuecomment-2059388035, there is no get_owl.sh file in the latest main branch of lizard. But it is needed for installing Lizard as stated in the documentation: https://lizard.dev/tools/#development. He found the file in the commit history of the main branch and cloned owl by hand.

The file get_owl.sh has been removed more than two years ago in https://github.com/zauberzeug/lizard/commit/bc3dfbd82cffaf47dd120c39669d0129e185de2f. It isn't needed anymore, because owl has been included as a submodule. So I think we can simply remove its reference from the documentation:
https://github.com/zauberzeug/lizard/blob/00662315436f375aae9e25153418c22f83d8d761/docs/tools.md?plain=1#L58-L62
There is already an instruction about installing submodules:
https://github.com/zauberzeug/lizard/blob/00662315436f375aae9e25153418c22f83d8d761/docs/tools.md?plain=1#L66-L70


New pages

Tools
Partners

@kinlane could you craft some draft content for these pages?
Thx

yes, will contribute when ready.


Use MNE master in environment.yml

Codecov Report

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

@@           Coverage Diff           @@
##           master     #147   +/-   ##
=======================================
  Coverage   98.34%   98.34%
=======================================
  Files          30       30
  Lines         726      726
=======================================
  Hits          714      714
  Misses         12       12

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 404e229...b0caf5e. Read the comment docs.


FinishReason enum not compatible with OAI api

System Info
mac, stable rust, master version of TGI
Reproduction
Use the async-openai crate to make a call that ends on the server with eos_token (which doesn't exist in OAI API), you'll get
JSONDeserialize(Error("unknown variant eos_token, expected one of stop, length, tool_calls, content_filter, function_call", line: 1, column: 209))
Expected behavior
serialization should succeed with strict clients

Hi @jondot this appears to be an issue with the async-openai. The error thrown is JSONDeserialize which is defined in the client library.
Additionally for reference, I just tested the library locally and was able to get a response without any issues (not including the eos_token, as it doesn't seem like the library allows you to see that value)
use async_openai::config::OpenAIConfig;
use async_openai::types::CreateCompletionRequestArgs;
use async_openai::Client;
use std::error::Error;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    let client = Client::with_config(OpenAIConfig::new().with_api_base("http://localhost:3000/v1"));

    let request = CreateCompletionRequestArgs::default()
        .model("meta-llama/Meta-Llama-3-8B-Instruct")
        .prompt("What is Hugging Face and what does it do?")
        .max_tokens(40_u32)
        .build()?;

    let response = client.completions().create(request).await?;

    println!("\nResponse (single):\n");
    for choice in response.choices {
        println!("{}", choice.text);
    }

    Ok(())
}

Response (single):

 🤗
Hugging Face is an AI technology company that specializes in natural language processing (NLP) and artificial intelligence (AI) research. The company has developed a range of AI models and

I understand that, yes.
But look at this differently, async-openai is strongly typed, and the serde infra is strict. This mean this is the perfect detector for you to find out what's not adhering to the OAI spec.
If you'd use some python or node.js lib, it is more than likely you'd never bump into this, until some kind of user-side logic would try to make sense of the return values.
Now, if you're not completely compatible with the strict OAI API, then that's a different story. But if you are you should be either:

Fully strongly type-compatible
Have a wider-area API, of which OAI API is a non-breaking subset

In this case, missing values in the original OAI API is a breaking non-subset API surface area.

thanks for the quick response @jondot, I apologize but I'm not sure I fully understand the issue/can reproduce.
Would you be able to share an example of a request you're making that is failing to be parsed by async-openai. Thank you!


Clean up translations

Per this line in this PR https://github.com/apache/incubator-superset/pull/3740/files#diff-21213919e9d7699522fc8d0fcabdc63fR157  it looks like the translations have changed locations, or at least in parts.
I think everything used to be in babel/ but now it looks like some of it moved to superset/translations and some files have stayed where the were.
Should we just move everything under superset/translations/?
@graceguo-supercat

Given I've been in this bit of the code recently, I'm happy to do some testing and submit PR if we think this is a good idea.

I am not sure how it was long time ago, but when we make Chinese translations, only
babel.cfg and messages.pot are in babel/. According to CONTRIBUTING.md we can set translation target.

@alanmcruickshank perfect if you want to change this up. I think we should do as much as possible under superset/translations and get rid of babel/.
Also we should probably remove all of the generated files out of the repo, that includes the .mo files, message.json and maybe more files.
Another nice thing would be to wrap translation processing inside a superset CLI command.

@mistercrunch - for the generated files - if we move them out of the repo - do you see that generating them is then part of setting up your dev environment? Likewise do we have to make that a build step for the final deployment version?
Happy to wrap it into the cli - sounds like a good idea.


dropdown_list_widget: Show stream icons when widget is disabled.

We show the stream privacy icon for the selected option in dropdown list widget even if the widget is disabled.
It is fixed by changing the CSS to hide only the "i" element used for the arrow toggle button and not all the "i" elements in disabled state.

Fixes:  https://chat.zulip.org/#narrow/stream/9-issues/topic/stream.20privacy.20icon.20not.20shown.20in.20disabled.20field

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I am not sure we would want to show the colored icons.

Regardless of the answer to the question above, I think this PR can be merged as a definite improvement. Looks good to me in manual testing.

Merged, thanks @sahil839! The design question on colorized icons remains open.


help! I followed every procedure and no error appears, but 'adb devices' can not find the device

Hi,
Thanks for the great tool. I have an issue that 'adb devices' can not find the rp1 in Mac OS. I can use the tool Serial to login in the diagnosis mode and mount /dev/mmc* and add new files.
I was trying to add the Browser, but did not find the /data/system to backup the 'ExtMgr.db'. May I ask which  file or directory should I mount to access '/data/system'.
Thanks a lot for your time.

does adb devices at least tell you there is any device?
if not, consider a different cable, or port
and keep it unconnected, try adb kill-server and reconnect it
operating in diagnosis mode is not recommended but doable, data partition (in diag mode) can be accessed via mkdir /mnt/data && mount -t ext4 /dev/mmcblk0p17 /mnt/data

thanks a lot for the quick reply.

'adb devices' does not tell me anything, just empty after the line 'List of devices attached'.

Thanks!
It looks that I can not mount the /mmcblk0p17, the above command returns error, although /mmcblk0p9 can be mounted.
root@FPX-1010:/mnt# mount -t ext4 /dev/mmcblk0p17 /mnt/data
mount: mounting /dev/mmcblk0p17 on /mnt/data failed: Invalid argument
I guess maybe my device is not fully rooted.  Anyway, I can live with current state. thanks a lot for the help.

Ah interesting.. I was told it shall work. Your device is fully rooted. It's just the adb thing didn't work out well between your device and computer with the cable. If your device is wirelessly connected, you can also refer to https://stackoverflow.com/questions/14357705/adb-over-wireless.

This problem has also occurred with one of my devices. After the crack is completed, everything is normal, but the adb is not recognized.
Happyz， would you communicate  with me in Chinese？ give an email？

Another possibility is you did not successfully flash the boot.img I modded. It can be caused by an unsuccessful mount. I suggest after you back up the boot img, remove the backed up boot img in the drive, and restart to diagnosis mode. And then follow the procedure.
@sisyphose  you can send me an email at<EMAIL_ADDRESS>

I have the same problem. And I found the error is rename in the Finder gives the file boot.img.bak.img...
After I redo the process again, every went all right.
Thanks


GLTF to GLB convertion issue?

Hello,
I'm trying to convert my glTF to glb with separate textures and Draco compression. My command line is as follows:
gltf-pipeline -i TestModel.gltf -o Converted/TestModel.glb -b -t -d -s
As a result I get one glb file, one bin file and texture files. Is it an expected behavior? As far as I'm concerned, bin files are companions of glTF files, not glb. Is it a consequence of using "-t" for keeping textures links?

It's ok for a glb to have external bin files, though I guess it is a bit unusual. If you just want external textures but not external buffers, remove the -s flag from the command.
gltf-pipeline -i TestModel.gltf -o Converted/TestModel.glb -t -d

It's ok for a glb to have external bin files, though I guess it is a bit unusual.
I see. Is it a reliable combination then? Will it be supported in future versions of the format?

If you just want external textures but not external buffers, remove the -s flag from the command.
Thanks for this tip!

@EtagiBI I believe it is.


EventHub: 2021-01-01-Preview API version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

The diff shows that you are removing private endpoint/link related operations. Is this not a breaking change?

/azp run

/azp run

@majastrz - This is new preview version for 2021-01-01 and not a breaking change. Also could you clarify in what context this is a breaking change.

Waiting on ARM review and following up on python breaking changes.

@majastrz @markcowl @allenjzhang Added the remaining the set of API's for the 2021-preview version. Looking forward to review and approval of this PR.

/azp run

/azp run

@markcowl @majastrz Any update on PR review?


Add bearer security check

Add SAST to Security Checks pipeline stage

This PR is part of this ticket. Waiting on resolution of high flags raised by the tool before merging.


Patou duck contribution

Description
Here my contribution to "The Duck Gallery".

You must respect the following conditions

Your contribution must respect the code of conduct
It's your first PR to this repository
You have added your image of the duck downloaded from https://pimpmyduck.zenika.com
You have not changed the image of the duck
The image filename must be your GitHub username (ex: your-username.png)
You are using your own GitHub user and it's the same as the PR author
Into the contributors.js file, the message must be short and respect the code of conduct

If the PR doesn't respect those conditions, it will be closed

Hey @patou, unfortunately I cant merge this PR because I have conflicts and I can't resolve them because you have deleted your fork :( Can you make another PR and keep the fork until I merged it ? Thanks ;)

Sorry @bpetetot, I clean my fork repos to fast.
I created a new MR #224 .
Thanks.


Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding

This paper might be of interest: https://arxiv.org/pdf/2402.12374.pdf

cc @cadedaniel

Thanks for creating the issue. For us to implement Sequoia we need both https://github.com/vllm-project/vllm/issues/3960 and https://github.com/vllm-project/vllm/issues/4565.


Bump quarks-utils

Pull Request Test Coverage Report for Build 272176480

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.2%) to 77.601%

Files with Coverage Reduction
New Missed Lines
%

pkg/kube/controllers/quarkssecret/copy_reconciler.go
2
79.01%

pkg/kube/controllers/quarkssecret/certificatesigningrequest_reconciler.go
4
87.63%

Totals

Change from base Build 258438662:
-0.2%

Covered Lines:
1216

Relevant Lines:
1567

💛  - Coveralls


Add encoding of flags into tag

Add a TagFlags type. You can write enum variants as Variant(TagFlags, Content) and this will encode a u16 into the top 16 bits of the tag word.
Related to #65.

Great, I assume this can be used to merge the Stroke* and Fill* variants?


Unable to set specific list width for each individual horizontal DragAndDropLists

Im using the listWidth to set the width of each indivual horizontal list. This sets all the lists to the same width.
Is there a method of doing something like this?
listWidth: list.isEmpty ? widthWhenEmpty : widthWhenNotEmpty
So that all empty lists have a different listWidth.
Thanks to any responder!

use contentsWhenEmpty : Container( width //Set your width when the list is empty )


Reboot on connection

Should be an option in the %%CONN command to help out

Also rename the process_output() function which is annoying me

no longer makes sense


the question about the epoch number of data converging

Using the same hyper parameter :22632   the data will converge at about 1850 epoch.
After several times of training using other hyper parameter, however, the data will converge at the number  outnumber 3500 using the same hyper parameter:22632.
Two experiments have the same hyper parameter and the  same code.
The only difference of the second experiment related to the first one is that we have trained the data several times.

Can you give me a bit more information? I'm not sure I understand your exact problem.
What you exactly mean by converging? And what do you mean by trained the data several times?

@xgastaldi thank your reply.

The image named "test_top1.png" showed the test top 1 in two experiments   which had the same hyper parameter :22632. I run the code "CUDA_VISIBLE_DEVICES=0 th main.lua -dataset cifar10 -nGPU 1 -batchSize 64 -depth 26 -shareGradInput false -optnet true -nEpochs 1800 -netType shakeshake -lrShape cosine -widenFactor 2 -LR 0.1 -forwardShake true -backwardShake true -shakeImage true"  which was copied from your readme.md.    Why two same experiments had so much difference.
The other image named "loss.png" showed the loss value in two same experiments  which had the same hyper parameter and the same code.  The blue line decreased more quickly.
First experiment which result indicated by blue line can achieve your result in your paper. Then I run the code by changing several parameter  such as depth, width,  short cut mode, and so on. Finally, I was surprised to find out that  i can not achieve the result of the first experiment. In the last experiment, I changed the parameters back to the first experiment.  I had used the code comparison software to compare the code of two experiments.
Will the train data change after several train?

The training data does not change.
My guess is that you changed -nEpochs to something different than 1800. If it was 1800, it would have stopped at 1800. If you use more epochs, the learning rate decay schedule is "stretched". What I mean by that is that the learning rate is based on the progress percentage and not the absolute number of epochs:
lr at epoch 400 when -nEpochs 1800 = lr at epoch 800 when -nEpochs 3600

@xgastaldi    Thank you.
I think you are right.    In the second experiment , showed in red line, the epochs really setted to 3600.   Now I run the code in the epochs 1800 and hope the results will be the same as your essay. The whole 1800 epochs training time will take more than 2days in my pc which's graphic card is NVIDIA 980ti.   Can you tell me how long you train your  code(epoch 1800,22632） in your pc and what is your graphic card.
If i set epoch number to 900, can I achieve the result showed as your paper. My second problem is whether 1800 is the best epoch number. Is the number of 1800  obtained through multiple experiments?

Training time:
1 TITAN X Pascal 26 2x32d -LR 0.1 -batchSize 64: 51s per epoch
Number of epochs:
Due to the ICLR dealine, I simply had to choose a conservative estimate that would give me the best possible result at 96d. I could not do that based on 32d tests because the higher capacity of 96d models also changes the ideal training time. It could very well be that even at 96d there is no need for so many epochs, but I didn't have the time nor the GPUs to run 3 tests at 900 epochs, 3 tests at 1200 epochs and 3 tests at 1500 epochs.
Learning rate:
The model uses a cosine annealing function as described in https://arxiv.org/abs/1608.03983.
You can find the code at the end of the train.lua.

I will close this issue. Feel free to comment if you still have this problem.


Prebuilds

Hi,
would you be interested in providing prebuilds with the npm package? This would make installation and most importantly cross-compilation way easier.
I really like https://github.com/Julusian/pkg-prebuilds because it's build-system agnostic, easy and uncomplicated.
I could make a PR for that.

I'm already working on this https://github.com/Streampunk/grandiose/tree/feat/ci

Even better 👍

This is merged, so will be usable once I can publish to npm

Sounds good, thanks 👍