text:
Looking beyond default directories and archives?

This is so great. Thanks for writing and sharing it.
I was wondering if it's possible to find voice lines beyond Starfield.esm, ShatteredSpace.esm, SFBGS003.esm, and SFBGSESM004.esm?
For example, here is what it does when it finds the Astrid https://www.nexusmods.com/starfield/mods/8209/ mod:
2024-12-27 10:32:00.471 -05:00 [INF] Loading plugin AstridCrew.esm
2024-12-27 10:32:00.472 -05:00 [INF] Building wem Map for AstridCrew.esm
2024-12-27 10:32:00.472 -05:00 [DBG] Reading archive file C:\Program Files (x86)\Steam\steamapps\common\Starfield\Data\Starfield - Voices01.ba2
2024-12-27 10:32:00.740 -05:00 [DBG] Reading archive file C:\Program Files (x86)\Steam\steamapps\common\Starfield\Data\Starfield - Voices02.ba2
2024-12-27 10:32:00.880 -05:00 [DBG] Reading archive file C:\Program Files (x86)\Steam\steamapps\common\Starfield\Data\Starfield - VoicesPatch.ba2
2024-12-27 10:32:00.882 -05:00 [DBG] Parsing quest CREW_EliteCrew_Astrid in AstridCrew.esm
2024-12-27 10:32:00.882 -05:00 [DBG] Parsing dialogue  in AstridCrew.esm
2024-12-27 10:32:00.882 -05:00 [DBG] Parsing response 00080B:AstridCrew.esm with 1 responses in AstridCrew.esm
2024-12-27 10:32:00.883 -05:00 [WRN] Could not find wem file 000e35b5.wem in archive, continuing on.
2024-12-27 10:32:00.883 -05:00 [DBG] Parsing dialogue  in AstridCrew.esm
2024-12-27 10:32:00.884 -05:00 [DBG] Parsing response 00080C:AstridCrew.esm with 0 responses in AstridCrew.esm
2024-12-27 10:32:00.884 -05:00 [DBG] Parsing response 00080C:AstridCrew.esm with 1 responses in AstridCrew.esm
2024-12-27 10:32:00.884 -05:00 [WRN] Could not find wem file 0069501f.wem in archive, continuing on.
...
The .wem files are here though:
c:\Program Files (x86)\Steam\steamapps\common\Starfield\Data\sound\voice\astridcrew.esm\npcfastrid>dir 000e35b5.wem
Directory of c:\Program Files (x86)\Steam\steamapps\common\Starfield\Data\sound\voice\astridcrew.esm\npcfastrid
01/22/2024  09:15 AM            10,900 000E35B5.wem
1 File(s)         10,900 bytes
Thank you.

Ah yeah I hadn't considered loose files. Seems reasonable it should read the archive AND loose files.

Cool, thanks for considering it.


text:
Set displayName and __ui__ for @yamada-ui/snacks

Closes #2904

@hirotomoyamada
fixed.
please review

source: gharchive/pull-request

repo: yamada-ui/yamada-ui

license: MIT

license_type: permissive

license_source: github-api


text:
Restrict access to API (connect to #52)

Настроил passport-jwt для проверки авторизации. Если jwt правильный, то req.user содержит модель текущего пользователя
По адресу /me возвращается текущий пользователь (для удобства тестирования)
Закрыл доступ к API (кроме создания нового аккаунта через POST /accounts)

оставил пару комментов, в целом ок

authors: Evvik vitalk

license: mit

license_source: bigquery


text:
Query using JSONExtractRaw over a boolean value hangs with 100% CPU usage

TL;DR
SELECT JSONExtractRaw(json_string_field, 'key_with_boolean_value') FROM table;  -- hangs
SELECT visitParamExtractRaw(json_string_field, 'key_with_boolean_value') FROM table;  -- OK
SELECT JSONExtractRaw(json_string_field, 'key_with_boolean_value') FROM table WHERE certain_row_id = 1;  -- OK

Describe the bug
Running such a query over a MergeTree table makes it hang and use 100% of the CPU core:
SELECT click_id, JSONExtractRaw(data, 'adBlock') FROM fingerprint WHERE date = today() ORDER BY created_at LIMIT 1;
It doesn't get either killed or completed (waited for a hour on a table with just ~500K rows). There's also nothing in the error log. Had to restart the server :(
The funny thing is if I explicitly add more clauses in the WHERE, there's no hanging. Like this one:
SELECT click_id, JSONExtractRaw(data, 'adBlock') FROM fingerprint WHERE date = today() AND click_id = 'd60f013d-2f15-4c34-8a33-39de48e6b97b' ORDER BY created_at LIMIT 1;
(the click_id value is the same that would've returned by the first query)
JSONExtractRaw(data, 'otherKey') over the keys having the string (and not a boolean) works fine. It seems to happen only with the booleans.
Other functions like JSONExtractString or JSONExtractBool over those boolean elements work fine.
(well, I was also hoping that JSONExtractString(json_string_field, 'some_boolean') would return 'true' or 'false', but whatever)
SELECT DISTINCT visitParamExtractRaw(data, 'adBlock') FROM fingerprint; shows:
┌─adblock─┐
│ false   │
│ true    │
│         │
└─────────┘

The third, empty value is there because there are several rows with the data being the empty string (not even an empty object like '{}').
By the way, visitParamExtractRaw works fine:
SELECT click_id, visitParamExtractRaw(data, 'adBlock') FROM fingerprint WHERE date = today() ORDER BY created_at LIMIT 1;

perf top -p $(pidof clickhouse-server) while having multiple hanged queries:
Samples: 1M of event 'cycles:ppp', Event count (approx.): 370232537185
Overhead  Shared Object       Symbol
  45.86%  clickhouse          [.] _ZN2DB11WriteBuffer5writeEPKcm
  36.31%  clickhouse          [.] memcpy
  17.51%  clickhouse          [.] _ZN2DB11WriteBuffer4nextEv

The same command while everything's alright:
Samples: 3K of event 'cycles:ppp', Event count (approx.): 512427099
Overhead  Shared Object       Symbol
   4.52%  clickhouse          [.] memcpy
   4.49%  clickhouse          [.] LZ4_compress_fast_extState
   1.75%  clickhouse          [.] free
   1.56%  clickhouse          [.] _ZN2DB12ColumnString10insertFromERKNS_7IColumnEm

Server version: 19.11.3.11
Both binary (clickhouse-client) and HTTP

Additional context
It's a MergeTree table that originally had such structure:
CREATE TABLE default.fingerprint (`created_at` DateTime DEFAULT now(), `date` Date DEFAULT toDate(created_at), `ip` String, `snip1` String, `snip2` String, `headers` String, `click_id` String, `snip3` String) ENGINE = MergeTree(date, (date, snip1), 8192);
CREATE TABLE default.fingerprint_buffer AS default.fingerprint ENGINE = Buffer(default, fingerprint, 4, 5, 30, 25, 100, 1000000, 10000000);

Then I added a new column:
DROP TABLE fingerprint_buffer;
ALTER TABLE fingerprint ADD COLUMN data String AFTER snip3;
CREATE TABLE default.fingerprint_buffer AS default.fingerprint ENGINE = Buffer(default, fingerprint, 4, 5, 30, 25, 100, 1000000, 10000000);

The trace log of such a hanged query:
2019.07.28 09:52:06.350971 [ 46 ] {} <Trace> HTTPHandler: Request URI: /?session_id=553a681b-b4cc-4d8e-9bab-711fee42f641&database=default&stacktrace=0&query_id=aa5ef8cb-3156-4b23-bd0a-016d9a40420b
2019.07.28 09:52:06.351748 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Debug> executeQuery: (from 127.0.0.1:64605) SELECT click_id, JSONExtractRaw(data, 'adBlock') adblock FROM default.fingerprint WHERE date = today() LIMIT 3 FORMAT PrettyCompactMonoBlock
2019.07.28 09:52:06.355713 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Debug> default.fingerprint (SelectExecutor): Key condition: (column 0 in [18105, 18105])
2019.07.28 09:52:06.355774 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Debug> default.fingerprint (SelectExecutor): MinMax index condition: (column 0 in [18105, 18105])
2019.07.28 09:52:06.355811 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Debug> default.fingerprint (SelectExecutor): Selected 4 parts by date, 4 parts by key, 4 marks to read from 4 ranges
2019.07.28 09:52:06.355972 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Trace> default.fingerprint (SelectExecutor): Reading approx. 32768 rows with 4 streams
2019.07.28 09:52:06.356048 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Trace> InterpreterSelectQuery: FetchColumns -> Complete
2019.07.28 09:52:06.356758 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Debug> executeQuery: Query pipeline:
2019.07.28 09:52:06.358298 [ 46 ] {aa5ef8cb-3156-4b23-bd0a-016d9a40420b} <Trace> UnionBlockInputStream: Waiting for threads to finish
2019.07.28 09:52:59.769097 [ 49 ] {eb81beb7-88ec-4cff-87b3-8ab46ca892a9} <Debug> executeQuery: (from 127.0.0.1:46852) KILL QUERY WHERE query_id = 'aa5ef8cb-3156-4b23-bd0a-016d9a40420b' ASYNC
2019.07.28 09:52:59.769163 [ 49 ] {eb81beb7-88ec-4cff-87b3-8ab46ca892a9} <Debug> executeQuery: (internal) SELECT query_id, user, query FROM system.processes WHERE query_id = 'aa5ef8cb-3156-4b23-bd0a-016d9a40420b'
2019.07.28 09:54:55.967934 [ 49 ] {6eb26a38-ac4f-408e-81b1-c0a98a279a8b} <Debug> executeQuery: (from 127.0.0.1:46852) KILL QUERY WHERE query_id = 'aa5ef8cb-3156-4b23-bd0a-016d9a40420b' ASYNC

It's weird, but I couldn't reproduce it myself yet.

@vitlibar That's trivial bug in code.

@4ertus2 Now we have an issue with operator delete[]. It doesn't correctly untrack memory (you may see it in rare test runs that happens to be on AVX2 machines).

source: gharchive/issue

authors: alexey-milovidov hatarist

repo: yandex/ClickHouse


text:
Don't do intermediate commits in Kafka tables by default

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Improvement

Short description:
This new default value leads to possible duplication of Kafka messages in some extreme situations.

?


text:
播放过程中，改变播放速率没有效果，请问需要怎么设置

我是这么设置的:exoPlayerManager.setPlaybackParameters(0.5f,0.5f);  调用此方法

这个方法启动放之前之前调用才会有效

repo: yangchaojiang/yjPlay


text:
🛑 Privatebin is down

In ba16a4a, Privatebin (https://privatebin.icloudnative.io) was down:

HTTP code: 503
Response time: 5796 ms

Resolved: Privatebin is back up in ed8fb34.

repo: yangchuansheng/upptime


text:
🛑 Google is down

In 37701f2, Google (https://google.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Google is back up in 39b832b after 1103 days, 19 hours, 58 minutes.


text:
🛑 Google is down

In 5ef3467, Google (https://google.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Google is back up in ca2684f after 6 minutes.


text:
请问 druid 有演示帐号吗？

另外，swagger-ui的地址好像挂了

ruoyi 123456  swagger演示地址是屏蔽的。

ruoyi 123456  swagger演示地址是屏蔽的。

authors: ah-well yangzongzhuan


text:
Error encountered when opening  drop plan settings

with the latest updates, we are unable to open drop plan settings and stalled in "Please wait while loading data..."  Framework loaded.

Do you have an iteration configured?

Hi @sgtwilko,
Thanks for the quick reply.  We have configured iteration for the entire team (see attached). When we first encountered this, we just go to settings and update, apparently for this project we cannot do that and stalled when loading.

Hiya @Alfadbhq
woah, that's Drop Plan is not pretty!
How many siblings do those tasks have?
I counted one with 103 dots. indicating 103 tasks in a story.
Can you also send a screenshot showing the warnings for one or two of those tasks please.

Hello again @sgtwilko
104 to be exact :) anyways all the warnings are  "Testing starting before Development has finished!." For more than 30 projects that uses this app in ADO, these happens on these project only. Do you think the number of tasks per user story has something do with it

?

Hi @Alfadbhq ,
Couple of questions.
Are you a member of the team?
Are you a member of multiple teams in the project?
What's your Azure Devops licence level (basic, stakeholder, etc)
Do you have permission to view the Project Process?

Hiya @Alfadbhq ,
The latest version has a fix for your large number of tasks.
Also a little debug in the settings page, so a fresh screenshot of that would be handy.
(Would also be nice to see how the drop plan looks with the large number of tasks fix)

Hi @sgtwilko,
Apologies for late reply.
Will try to answer your question one by one in summary.
Our team setup is (see attached) for the whole of our Division is setup that way. No order enforced.
.
I oversee all the project settings even am not part of the team with a Basic + Test Plan license. All teams using the sprint drop plan are with an active iteration and with Basic or Basic + Test plans license as well.
The latest fixed did not resolved the issue, still cannot modify the drop plan settings of the affected project. (see latest screenshots). Hence, discuss the issue with the scrum master to break the user story into two, just to limit large tasks under one user story. Will send another update once breaking user story is done.

Hiya @Alfadbhq
The last screenshot looks a lot better to me, you no longer have things cascading down the screen.
The first screenshot shows the settings working correctly, was that from someone who is a team member?
Was the screenshot of the settings working on the Same project as the final screenshot?
Those settings are per project, so if you want to disable the warning you would need just once on each project.
I think that the size of the stories will Not affect the settings.  You should not need to break them down to get the settings to work.
I suspect that DevOps is not returning the team id when you access the settings page, hence why I was asking if you're part of the team.
I'll see if there's another way to access the information.

Hi @Alfadbhq ,
Can you confirm that the changes made are now no longer showing the warning on each task?
Can you also confirm if you are the only person unable to see the settings page.
Thanks

Hi @sgtwilko,
Thanks for the update. Apparently it still showing, I already included myself as part of the team and project administrator as well just to check if there's change in behavior but it's still the same.  attached is the latest screenshot.
Rest of the team are unable to see the setting page as well.

Regards :)

Hi @Alfadbhq ,
How did you get that screenshot of the settings page working from the 12th?
Was that you or a different user?

Hi @sgtwilko,
The screenshot came from me, since i have the access to all 30 projects and teams that are using this extension for daily scrum meeting, however, only one project is having issues when loading drop plan settings.

@Alfadbhq
I've replicated the issue.
Please can you check the team settings for the project that is failing.
Do you have a blank backlog iteration like the following image:

Hi @sgtwilko,
Here's the snapshot of teams iteration, these includes past, current and future iteration.

Regards

@Alfadbhq
More logging was added to the settings page in 2.2.0.
Please can you check you are on at least 2.2.0 and then can you retry the failing page and let me have the details from the console please.
Thanks

Hi @sgtwilko,
We are using 2.2.1, and we encountered error settings when opening erroneous project, hence rest of the projects are working as expected.

authors: Alfadbhq sgtwilko

repo: yanivsegev/VSTS-DropPlan


text:
Feature Request - Ability to Remove day-off on team-wide days off

This is for multi-time-zone teams or for teams working in shifts, where a weekend and holiday might affect most of the team, but not all.
Thus, for example if Sunday is a holiday for most of the members, but not for some, allow them to right-click --> Remove day-off.

Hi @Lockszmith-GH,
Please see the comment in the "capacity" tab for "team days off" - "These days off apply to the whole team".
Maybe try to set the "team days off" only on those days and mark the rest as personal days off.

Yes, that obviously works.
But I'm the odd man out, the rest of the team rely on this for planning.
The request will introduce a quality-of-life improvement.
It also makes sense when doing shifts - like working weekends (it might be rare in software shops, but it does exist at statups where somebody is working to be able to cover production issues during the weekends/holidays)
Thanks for looking into this. You are definitely not obligated to follow through if this doesn't make sense to you.

Sorry, you will need to ask Microsoft to support this in Azure first.

authors: Lockszmith-GH yanivsegev


text:
日历崩溃

复现步骤：从其他页面切换到日历页后就崩溃了，偶先，容易在第一次安装使用的时候出现，后面极难出现。
android 系统： android 14
android 机型： 红米K60，其他设备如华为也都出现过。
CPU架构：arm64-v8a
崩溃日志：
com.necer.calendar.NViewPager$a$a.run(Unknown Source:191)
2
android.os.Handler.handleCallback(Handler.java:958)
3
android.os.Handler.dispatchMessage(Handler.java:99)
4
android.os.Looper.loopOnce(Looper.java:205)
5
android.os.Looper.loop(Looper.java:294)
6
android.app.ActivityThread.main(ActivityThread.java:8376)
7
java.lang.reflect.Method.invoke(Native Method)
8
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:640)
9
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:982)
@yannecer 麻烦看看，谢谢

bugly上的崩溃日志：

12-19 15:11:56.065 4707 4707 E CrashReport: stack frame :9, has cause false
--
8412-19 15:11:56.066 4707 4707 E CrashReport: #++++++++++Record By Bugly++++++++++#
8512-19 15:11:56.066 4707 4707 E CrashReport: # You can use Bugly(http:\\bugly.qq.com) to get more Crash Detail!
8612-19 15:11:56.066 4707 4707 E CrashReport: # PKG NAME: com.xx.xxx
8712-19 15:11:56.066 4707 4707 E CrashReport: # APP VER: 1.0.0
8812-19 15:11:56.066 4707 4707 E CrashReport: # SDK VER: 4.1.9.2-4.1.9.2
8912-19 15:11:56.066 4707 4707 E CrashReport: # LAUNCH TIME: 2024-12-19 15:09:37
9012-19 15:11:56.066 4707 4707 E CrashReport: # CRASH TYPE: JAVA_CRASH
9112-19 15:11:56.066 4707 4707 E CrashReport: # CRASH TIME: 2024-12-19 15:11:56
9212-19 15:11:56.066 4707 4707 E CrashReport: # CRASH PROCESS: com.xx.xxx
9312-19 15:11:56.066 4707 4707 D CrashReport: isAppForeground:true
9412-19 15:11:56.066 4707 4707 E CrashReport: # CRASH FOREGROUND: true
9512-19 15:11:56.066 4707 4707 E CrashReport: # CRASH THREAD: main
9612-19 15:11:56.066 4707 4707 E CrashReport: # REPORT ID: 2ab4b69c-14a4-4596-8328-3125ca4f1881
9712-19 15:11:56.066 4707 4707 E CrashReport: # CRASH DEVICE: ums9621_1h10_native UNROOT
9812-19 15:11:56.066 4707 4707 E CrashReport: # RUNTIME AVAIL RAM:3590967296 ROM:118169440256 SD:118169440256
9912-19 15:11:56.066 4707 4707 E CrashReport: # RUNTIME TOTAL RAM:5709889536 ROM:120176246784 SD:120176246784
10012-19 15:11:56.066 4707 4707 E CrashReport: # CRASH STACK:
10112-19 15:11:56.066 4707 4707 E CrashReport: Y3.h
10212-19 15:11:56.066 4707 4707 E CrashReport: at com.necer.calendar.NViewPager$a$a.run(Unknown Source:191)
10312-19 15:11:56.066 4707 4707 E CrashReport: at android.os.Handler.handleCallback(Handler.java:958)
10412-19 15:11:56.066 4707 4707 E CrashReport: at android.os.Handler.dispatchMessage(Handler.java:99)
10512-19 15:11:56.066 4707 4707 E CrashReport: at android.os.Looper.loopOnce(Looper.java:205)
10612-19 15:11:56.066 4707 4707 E CrashReport: at android.os.Looper.loop(Looper.java:294)
10712-19 15:11:56.066 4707 4707 E CrashReport: at android.app.ActivityThread.main(ActivityThread.java:8376)
10812-19 15:11:56.066 4707 4707 E CrashReport: at java.lang.reflect.Method.invoke(Native Method)
10912-19 15:11:56.066 4707 4707 E CrashReport: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:640)
11012-19 15:11:56.066 4707 4707 E CrashReport: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:982)
11112-19 15:11:56.066 4707 4707 E CrashReport: #++++++++++++++++++++++++++++++++++++++++++#
11212-19 15:11:56.071 4707 4707 D CrashReport: [Database] insert t_cr success.
11312-19 15:11:56.071 4707 4707 D CrashReport: insert t_cr success!
11412-19 15:11:56.072 4707 4707 D CrashReport: maxMemory : 256.000000
11512-19 15:11:56.072 4707 4707 D CrashReport: totalMemory : 29.115067
11612-19 15:11:56.072 4707 4707 D CrashReport: freeMemory : 226.884933

我没有给开启混淆，会是混淆的原因吗？
我去keep一下包名，只是太难复现了

我已经没有混淆日历代码了。加了:
-keep class com.necer.** {*;}
结果还是崩溃:
前后台状态:              前台
设备机型:                 23013RK75C
系统版本:                 Android 14,level 34
ROM:                       XiaoMi/MIUI
CPU架构:                 arm64-v8a
 com.necer.calendar.NViewPager$1$onPageSelected$1.run(Unknown Source:215) 2 android.os.Handler.handleCallback(Handler.java:958) 3 android.os.Handler.dispatchMessage(Handler.java:99) 4 android.os.Looper.loopOnce(Looper.java:224) 5 android.os.Looper.loop(Looper.java:318) 6 android.app.ActivityThread.main(ActivityThread.java:8777) 7 java.lang.reflect.Method.invoke(Native Method) 8 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561) 9 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

我终于复现了：
崩溃日志：
kotlin.KotlinNullPointerException
at com.necer.calendar.NViewPager$1$onPageSelected$1.run(NViewPager.kt:79)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
源码位置：
com.necer.calendar.NViewPager
init {
    addOnPageChangeListener(object : SimpleOnPageChangeListener() {
        override fun onPageSelected(position: Int) {
            super.onPageSelected(position)
            post {

//                    xxxxx
//算出相差几页
var localDate = if (calendarState == CalendarState.WEEK) {
//                        xxxx
} else {
val intervalMonths = NDateUtil.getIntervalMonths(fulcrumDate, currentViewInitDate!!) // 这里崩溃了 ！！！！！！
//                   xxxxx
}
}
}
应该是currentViewInitDate = null 了，最好是别用 ”！！“，否则会有意想不到的惊喜。
麻烦修复一下，谢谢

repo: yannecer/NCalendar


text:
#969 fix: exception for jsx-no-duplicate-props

jsx-no-duplicate-props is causing error.
TypeError: name.toLowerCase is not a function.
When <Element {...props}> is used.

Sorry for the inconvenience; I've just merged a refactor to start using arrow functions. Would you mind rebasing?
I'll merge within the next day or so, if no objections, after that's done.

authors: ljharb marcelmokos

repo: yannickcr/eslint-plugin-react


text:
Tree return wrong select

Hi i try out the Tree and i get often the wrong selected value.
my Example :
https://gist.github.com/DrMabuse23/b83cf26b9e5a169e576e
thanks for help

ok found myself name was missing on tree

repo: yaronn/blessed-contrib


text:
проблема Date.parse

2.2.1 :002 > Russian::strftime(Date.new(2015,12,31), "%d %B %Y" )
=> "31 декабря 2015"
2.2.1 :003 > Date.parse(Russian::strftime(Date.new(2015,12,31), "%d %B %Y" ))
=> Fri, 31 Jul 2015
2.2.1 :007 > Russian::strftime(Date.new(2015,06,30), "%d %B %Y" )
=> "30 июня 2015"
2.2.1 :008 > Date.parse(Russian::strftime(Date.new(2015,06,30), "%d %B %Y" ))
=> Thu, 30 Jul 2015

а какая версия ruby и версия gem 'russian' ?

ruby 2.2.1 - пробовал и другие
russian 0.6.0

собственно я лично это не считаю никакой проблемой. Так как в форматировании нет никакого смысла "%d %B %Y" так как строка будет парситься Date.parse. То есть форматирование это удобство для кого, для Date.parse форматировать вывод совсем не надо. Date.parse понимает разделение между значениями
/   - "2014/12/31"

"2014-12-31"
.   - "2014.12.31"
И работает с такими значениями Date.parse корректно. Считаю что форматировать вывод Russian::strftime в случае когда строка будет отдана парсеру не нужно. Потому ошибки никакой тут не вижу.

уже разобрался, что проблема не гема - а стандартной библиотеки
26 июля 2015 г., 0:01 пользователь sagax notifications@github.com написал:

собственно я лично это не считаю никакой проблемой. Так как в
форматировании нет никакого смысла "%d %B %Y" так как строка будет
парситься Date.parse. То есть форматирование это удобство для кого, для
Date.parse форматировать вывод совсем не надо. Date.parse понимает
разделение между значениями
/ - "2014/12/31"

"2014-12-31" . - "2014.12.31" И работает с такими значениями
Date.parse корректно. Считаю что форматировать вывод Russian::strftime в
случае когда строка будет отдана парсеру не нужно. Потому ошибки никакой
тут не вижу.

—
Reply to this email directly or view it on GitHub
https://github.com/yaroslav/russian/issues/58#issuecomment-124872843.

тогда и закрыть этот вопрос можно

authors: knasyrov sagax

repo: yaroslav/russian


text:
Fix Social media icons on the footer

The social media handles do not open to the new window properly. Could you pls fix that?

I just checked and the links do open. Can you please explain what the exact issue is?


text:
Add formatting with husky git hooks

Will make code reability better, feel free to adjust .prettierrc.json

sorry this is not happening

Alright

sorry didn't merge this, I now understand how helpful this can be working on real world projects.

Formatting is REALLY important in all kinds of projects, I speak from experience in large-scale projects.
Should i PR again?

Yes that would be very helpful and Thank you.

authors: Shadofer yashash-pugalia yashash1511


text:
Parse.com のMentorモデルをRailsのDojoモデルに移行する

coderdojo.jp に関するDojo Listだけど、現在進行形でちょくちょくアップデートされているので、Parseからexportしたデータだけだと、完全には合致しないと思うので注意。
まずは Dojo モデルとその関連モデルを作るところまで行ったら、一旦閉じます。

Fixed by https://github.com/yasslab/coderdojo.jp/pull/48


text:
Use ENV instead of deprecated set-output

The deprecation is documented at https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

I think CI is failing because github.head_ref refers to a SHA from my fork which isn’t available on this repo. https://github.com/actions/checkout/blob/main/README.md#Checkout-pull-request-HEAD-commit-instead-of-merge-commit shows how to use github.event.pull.refs.head instead.

@bquorning Thank you so much ❤

You should probably rebase #6 to confirm that the code change actually works 😅

Check: Normal case
https://github.com/ydah/mdformat-action/actions/runs/3994275933

authors: bquorning ydah

repo: ydah/mdformat-action


text:
播放大文件的时候，会卡

播放大文件的时候，会卡
你好，我播放了一个400M左右的文件，会很卡，并且后台报错误，请帮忙看下什么原因，谢谢
Caused by: java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240)
at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192)
at org.apache.coyote.Response.doWrite(Response.java:499)
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:402)

题主就从没回复过

repo: yeleaveszi/Play-Videos-In-HDFS


text:
Middleware vs sagas ?

Getting familiar with redux, and sagas, I bumped into a choice between middleware and sagas.
Which are the differences between this:
export function * routerSagas() {
  while (true) {
    const { payload: { method, args } } = yield take(CALL_HISTORY_METHOD);
    if (method === 'push' ) {
       // change route
    }
  }
}

and this:
export default function routerMiddleware() {
  return () => next => action => {
    if (action.type !== CALL_HISTORY_METHOD) {
      return next(action);
    }

    const { payload: { method, args } } = action;
    if (method === 'push' && typeof Actions[args[0]] === 'function') {
       // change route
    }
  };
}

Is it somehow related and sagas are an other way of writing middlewares ? Is there any one better than the other ?
Thanks for your help !

Saga is another way of dealing with async and side effects than thunk-like middleware. So it is not exactly an other way of writing middlewares but another way of dealing with things you could do within middleware.
Saga is more robust and can give you way better structured code than the middleware approach for those scenarios.

A saga (as it is in redux-saga, also called process manager) is just a piece of software that receive events and emit new events.
You can achieve this pattern in a lot of different ways, including using a custom middleware.
It's just the redux-saga impementation based on generators is really interesting as it gives a good testability, and a good expressivity to handle complex currency patterns.
Here is a concrete example I gave: http://stackoverflow.com/questions/35411423/how-to-dispatch-a-redux-action-with-a-timeout/38574266#38574266
Good luck implementing this thing with redux-thunk, or a custom middleware

Thanks a lot for these information !
It is still quite new for me so I was surprise to discover these two ways of achieving this pattern.
No doubt in the power of sagas in handling more complex behaviors. But performances speaking I would have think the sagas would be greedier than a middleware.. Or not ?
Thanks again for theses details !

authors: Andarist julienR2 slorber

repo: yelouafi/redux-saga


text:
feature: groq cloud API support

Feature request
Based on the documentation, it appears that support is currently available for Claude, OpenAI, Azure, Gemini, Cohere, and Copilot. Unfortunately, none of these options are free to use. It is possible that support for other platforms exists but is not documented. If this is not the case, I would like to request the addition of support for Groq Cloud, which is completely free, extremely fast, and utilizes LLaMA
Motivation
avante.nvim and neovim itself are both open source and free, so it makes sense to make it compatible with the biggest free and open source llm alternative: groq could with llama.
Other
No response

check readme for reasoning and wiki

authors: Vinni-Cedraz aarnphm


text:
chore(main): release 1.0.8

:robot: I have created a release beep boop
1.0.8 (2023-09-03)
Bug Fixes

change how the tag name is retrieved (45b6aad)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/yetti/shelfie/releases/tag/1.0.8 :sunflower:

repo: yetti/shelfie


text:
Error during the installation of stdweb with Yew=0.21

Target Software:

Yew (v0.21)
stdweb (v0.4.20)

Operating System:

Ubuntu (22.04.1)

Bug Description
Bug Introduction
I am writing to report a bug that I encountered while upgrading an old Yew/Rocket starter template. During the installation of the stdweb crate (v0.4.20), the Rust compiler raises multiple errors. The bug appears to be related to unresolved imports and missing function scope within the stdweb library.
Reproduction Steps

Create or use an existing Yew project.
In the project's Cargo.toml file, add stdweb as a dependency with a version specified (e.g., stdweb = "0.4.20").
Execute cargo build or cargo run to trigger the compilation process.

Expected Behavior
The project should successfully compile without errors related to the stdweb library.
Actual Behavior
The Rust compiler generates multiple errors, indicating issues with the stdweb crate. The error messages are as follows:

Error E0433 (unresolved import) in stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs:
error[E0433]: failed to resolve: unresolved import
--> /home/mahmoud/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs:67:32
|
67 | alloc: &Closure<Fn(usize) -> *mut u8>,
| ^ unresolved import

Error E0425 (function not found in this scope) in stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs:
error[E0425]: cannot find function `wasm_bindgen_initialize` in this scope
--> /home/mahmoud/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs:77:22
|
77 | let module = wasm_bindgen_initialize(memory, table, &alloc, &free);
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

Additional Information

The error messages provide references to specific source code files in the stdweb crate (stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs).
The error log also mentions a total of 4712 warnings emitted during the compilation process.

Impact
This bug significantly impacts the ability to upgrade or create Yew applications that rely on the stdweb library. It prevents the successful compilation of the project, leading to a build failure.
Bug Analysis
Root Cause
The root cause of this bug appears to be an incompatibility or an issue within the stdweb crate (v0.4.20). The error messages point to unresolved imports and a missing function in the wasm_bindgen.rs file of the stdweb crate.
Potential Sources of the Bug

Incompatibility between the stdweb crate version 0.4.20 a the Yew project.
Errors within the stdweb crate source code itself.
Changes in the Rust language or standard library that may have affected the stdweb crate.

Conclusion
This bug report outlines an issue encountered while upgrading a Yew/Rocket starter template involving errors during the installation of the stdweb crate. The bug seems to be rooted in the stdweb crate, with unresolved imports and missing function scope errors. Further investigation is needed to determine the exact cause of the issue, and potential resolutions should be explored.

I've just discovered that support for it was discontinued well ahead of version 0.21, as indicated in PR #1697.

I also encountered such a problem

If there is a good solution please tell me

If there is a good solution

Absolutely! There's a fantastic crate known as web_sys that pairs seamlessly with the Yew framework. It allows you to do something like log to the console using the log function to log a JsValue and more.
For a real-world example, take a look at this code snippet. It demonstrates how to put web_sys to good use within a Yew component.
But wait, there's more! When you're integrating web_sys into your Yew components, it's important to be mindful of some key considerations. You can find these valuable insights in this note.
Peace ✌

authors: open-nan wiseaidev

repo: yewstack/yew


text:
what do the 'bbox_inside_weights' and 'bbox_outside_weights' mean?

Sorry but I am not familiar with Caffe2. Could you please tell me what do the 'bbox_inside_weights' and 'bbox_outside_weights' mean in https://github.com/yihui-he/KL-Loss/blob/0a5617f02b5c0ebc57ddedffeb212859f1b3f008/detectron/modeling/fast_rcnn_heads.py#L116?
And the loss_box here https://github.com/yihui-he/KL-Loss/blob/0a5617f02b5c0ebc57ddedffeb212859f1b3f008/detectron/modeling/fast_rcnn_heads.py#L154 represent which part of loss? Why would you set the bbox_outside_weights like this?

Yes

repo: yihui-he/KL-Loss


text:
Use composer serve for tests, add tests for windows.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

merge first: https://github.com/yiisoft/actions/pull/73

@terabytesoftw done.

@samdark done, tests only yii serve.

👍

authors: samdark terabytesoftw

repo: yiisoft/app


text:
(#19) Run tests with PHP 8.2 in CI

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
#19

👍

repo: yiisoft/cache-redis


text:
Bug on migration tool when creating fields with type "double"

Using php 7.0 and MariaDB.
When creating a migration that contains fields of type "double", I normally used the function $this->double() which takes one parameter. That one parameter is precision, but when I entered any number or a string, or array of numbers (length and precision), it never set neither length nor precision in my DBMS.
In MariaDB, I'm defining some field like DOUBLE(10, 2) where first number represents the length, and second number represents number of decimals, but I cannot define it in Yii2 migration with $this->double() function.

https://github.com/yiisoft/db/blob/63d9f8eac9caa1cb4d9493cfe7c2ca5a78ff4e50/src/Schema/SchemaBuilderTrait.php#L183
Fixed.

repo: yiisoft/yii-db-migration


text:
independent db for an module

Hello Yii developers :)
Im new in yii freamwork, I want to have a independent database for my module, so I create a db config in my module like this:
1-first I create db.php file that return db config
<?php
/**
 * Created by PhpStorm.
 * User: Rezvania
 * Date: 3/10/2018
 * Time: 11:31 AM
 */
return[
    'class'=>'yii\db\Connection',
    'dsn'=>'mysql:host=localhost;dbname=db_entry_mdu',
    'username'=>'root',
    'password'=>'',
    'charset'=>'utf8',
    'tablePrefix'=>'tbl_entry_mdu_'
];

2-so i create config file that modify my module configs
`<?php
/**
 * Created by PhpStorm.
 * User: Rezvania
 * Date: 3/10/2018
 * Time: 11:30 AM
 */
$db=require __DIR__.'/db.php';
return[

    'defaultRoute'=>'entry',
  'components'=>[
      'db'=>$db,
  ]

];`

3-finaly I set that in my Module class
`<?php
/**
 * Created by PhpStorm.
 * User: Rezvania
 * Date: 3/10/2018
 * Time: 11:26 AM
 */

namespace app\modules\entry;
use yii\base\Module;
use yii;
class EntryModule extends Module
{
    public function init()
    {
        parent::init(); // TODO: Change the autogenerated stub
        \Yii::configure($this,require __DIR__.'/config/config.php');

    }
}
`

now when I try to use of tables data I get this error:
yii\base\ErrorException: Exception (Invalid Configuration) 'yii\base\InvalidConfigException' with message 'The table does not exist: {{%user}}'
in D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\db\ActiveRecord.php:353
Stack trace:
#0 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\db\ActiveRecord.php(384): yii\db\ActiveRecord::getTableSchema()
#1 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\db\BaseActiveRecord.php(491): yii\db\ActiveRecord->attributes()
#2 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\db\BaseActiveRecord.php(288): yii\db\BaseActiveRecord->hasAttribute('uname')
#3 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\helpers\BaseHtml.php(2189): yii\db\BaseActiveRecord->__get('uname')
#4 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\helpers\BaseHtml.php(1319): yii\helpers\BaseHtml::getAttributeValue(Object(app\modules\entry\models\Entry), 'uname')
#5 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\helpers\BaseHtml.php(1373): yii\helpers\BaseHtml::activeInput('text', Object(app\modules\entry\models\Entry), 'uname', Array)
#6 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\widgets\ActiveField.php(404): yii\helpers\BaseHtml::activeTextInput(Object(app\modules\entry\models\Entry), 'uname', Array)
#7 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\widgets\ActiveField.php(204): yii\widgets\ActiveField->textInput()
#8 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\widgets\ActiveField.php(176): yii\widgets\ActiveField->render()
#9 D:\Xampp\htdocs\basic\modules\entry\views\entry\index.php(15): yii\widgets\ActiveField->__toString()
#10 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\View.php(336): require('D:\Xampp\htdocs...')
#11 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\View.php(254): yii\base\View->renderPhpFile('D:\Xampp\htdocs...', Array)
#12 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\View.php(156): yii\base\View->renderFile('D:\Xampp\htdocs...', Array, Object(app\modules\entry\controllers\EntryController))
#13 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Controller.php(384): yii\base\View->render('index', Array, Object(app\modules\entry\controllers\EntryController))
#14 D:\Xampp\htdocs\basic\modules\entry\controllers\EntryController.php(33): yii\base\Controller->render('index', Array)
#15 [internal function]: app\modules\entry\controllers\EntryController->actionIndex()
#16 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#17 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#18 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('', Array)
#19 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('entry', Array)
#20 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#21 D:\Xampp\htdocs\basic\web\index.php(12): yii\base\Application->run()
#22 {main} in D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\ErrorHandler.php:317
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(256, 'Exception (Inva...', 'D:\Xampp\htdocs...', 317, Array)
#1 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\ErrorHandler.php(317): trigger_error('Exception (Inva...', 256)
#2 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\widgets\ActiveField.php(178): yii\base\ErrorHandler::convertExceptionToError(Object(yii\base\InvalidConfigException))
#3 D:\Xampp\htdocs\basic\modules\entry\views\entry\index.php(15): yii\widgets\ActiveField->__toString()
#4 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\View.php(336): require('D:\Xampp\htdocs...')
#5 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\View.php(254): yii\base\View->renderPhpFile('D:\Xampp\htdocs...', Array)
#6 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\View.php(156): yii\base\View->renderFile('D:\Xampp\htdocs...', Array, Object(app\modules\entry\controllers\EntryController))
#7 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Controller.php(384): yii\base\View->render('index', Array, Object(app\modules\entry\controllers\EntryController))
#8 D:\Xampp\htdocs\basic\modules\entry\controllers\EntryController.php(33): yii\base\Controller->render('index', Array)
#9 [internal function]: app\modules\entry\controllers\EntryController->actionIndex()
#10 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#11 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#12 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('', Array)
#13 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('entry', Array)
#14 D:\Xampp\htdocs\basic\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#15 D:\Xampp\htdocs\basic\web\index.php(12): yii\base\Application->run()
#16 {main}

http://www.yiiframework.com/doc-2.0/guide-db-active-record.html#db-connection

authors: SilverFire rezvania


text:
BC break: \yii\data\ActiveDataProvider throws yii\base\InvalidConfigException depending on array config keys order

What steps will reproduce the problem?
At any instance of \yii\data\ActiveDataProvider swap pagination and query in array.
Example:
Change from:
$dataProvider = new ActiveDataProvider([     'query' => $query,     'pagination' => [         'pageSizeLimit' => false,         'defaultPageSize' => 6,         'forcePageParam' => false,     ], ]);
to:
$dataProvider = new ActiveDataProvider([     'pagination' => [         'pageSizeLimit' => false,         'defaultPageSize' => 6,         'forcePageParam' => false,     ],     'query' => $query, ]);
What is the expected result?
Order of array keys doesn't matter, as if was in < 2.0.50
What do you get instead?
Invalid Configuration – yii\base\InvalidConfigException
The "query" property must be an instance of a class that implements the QueryInterface e.g. yii\db\Query or its subclasses.
in .../vendor/yiisoft/yii2/data/ActiveDataProvider.php at line 164
Additional info
Looks like prepareTotalCount()  is called from setPaginator. In older versions that wasn't case and fact that setPagination is called from Yii::configure() before query is set didn't cause problem.

Q
A

Yii version
2.0.50

PHP version
any

Operating system
any

Should be already fixed in master.

authors: MarkoNV samdark


text:
Bug when trying to set params for a console command

I get this error that says yii\console\Exception: Unknown option: --param1 in C:\lamp\www\klusster\vendor\yiisoft\yii2\console\Controller.php on line 88. This happens when i supply --param1 as a parameter to the console command.
The error is from the code below, I suspect "(!is_int($name)" is suppose to be "(is_int($name)". Which will imply that numbers are not allowed when setting the paramerers.
/**
     * Runs an action with the specified action ID and parameters.
     * If the action ID is empty, the method will use [[defaultAction]].
     * @param string $id the ID of the action to be executed.
     * @param array $params the parameters (name-value pairs) to be passed to the action.
     * @return integer the status of the action execution. 0 means normal, other values mean abnormal.
     * @throws InvalidRouteException if the requested action ID cannot be resolved into an action successfully.
     * @throws Exception if there are unknown options or missing arguments
     * @see createAction
     */
    public function runAction($id, $params = [])
    {
        if (!empty($params)) {
            // populate options here so that they are available in beforeAction().
            $options = $this->options($id);
            foreach ($params as $name => $value) {

                if (in_array($name, $options, true)) {
                    $default = $this->$name;
                    $this->$name = is_array($default) ? preg_split('/\s*,\s*/', $value) : $value;
                    unset($params[$name]);
                } elseif (!is_int($name)) {
                    throw new Exception(Yii::t('yii', 'Unknown option: --{name}', ['name' => $name]));
                }
            }
        }
        return parent::runAction($id, $params);
    }

What is your controller action signature?

public function actionBar($param1, $param2)

how exactly do you call the action?

See the docs: http://www.yiiframework.com/doc-2.0/guide-tutorial-console.html#arguments

When i use yii foo/bar --param1="test" --param2="testing" it fails but yii foo/bar --0="test" --1="testing" on the other hand works

the correct syntax would be ./yii foo/bar test testing.
The second syntax should fail though...

Okay, I get it now. Thank you!

Hi! I've some problem with console in yii2 advanced.
I tried to run console commands:
"php yii cron/test" or "./yii cron/test"
and after that I got the same error "Error: Unknown command cron/test".
I tried to search some information in the internet, but I not found anything.
I create my own console controller and test action by this link http://www.yiiframework.com/doc-2.0/guide-tutorial-console.html#create-command

authors: brainyl cebe klimov-paul portenko


text:
Small phpdoc fix in \yii\db\QueryTrait::emulateExecution() [skip ci]

Q
A

Is bugfix?
phpdoc one

New feature?
no

Breaks BC?
no

Tests pass?
-

Fixed issues
-

Merged. Thanks!

authors: MysteryDragon samdark


text:
fix aliases rendering

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#17133

We can now use both notations in aliases definition.
public function optionAliases()
{
    return array_merge([
        'n' => 'numMessages',
    ], parent::optionAliases());
}

or
public function optionAliases()
{
    return array_merge([
        'n' => 'num-messages',
    ], parent::optionAliases());
}

Should  add test for this case?

Won't hurt, yes.

I couldn't suppress console output by ob_start()/ob_get_contents() statements. That is why I introduced FakeHelpControllerWithoutOutput controller. Maybe it isn't an optimal solution.

Merged. Thank you!

authors: GHopperMSK samdark


text:
Add image for RU tutrorial

Add image for RU tutrorial

Doesn't look correct because it adds already existing translation.

authors: keltstr samdark


text:
sentinel no work on 1 master and two slaves

I use 1 master and two slaves and 3 sentinels  for each ardb server
but I found that this sentinels  not selete new master from 2 slaves when I shutdown master node
How Can I do?  Any one ,can help me?
ps: I get flow message when I shutdown master:

what about slaver of ardb?

Is the message from redis-sentinel?

For redis-sentinel compatible, ardb only need to reply pub/sub   correctly, i'll test ardb with sentinel.
And waht's the sentinel version are u testing with?

this msssage get from redis-sentinel .
I use redis-cli login redis-sentinel and do : PSUBSCRIBE * .
about sentinel version:

thanks yous

i'll check latest redis-sentinel to reproduce this issue.

I use ardb version:

and before I upgrade to 0.9 version but there are many bugs about 0.9 ,and I have to run 0.8 version now.

i just tested latest ardb with latest redis-sentinel,  there is no any error.
0.8.6 is pretty old, it's not compatible with 0.9, and it's not been maintained any more.

yes I test 0.8.6 with v=3.1.103 ,It is bad
but v=3.0.1 of sentinel , is work right .so may been some uncompatible bwteen  0.8.6  of ardb and 3.1.1 of  sentinel .
one or two mouths before, I used to 0.9.X of ardb in work . and there is not enough stability for my work.
so I return to old version . and I use 0.8.6 version on production environment
I hope ardb 0.9 can reach to enough  stability  for production asap
thanks your works.

repo: yinqiwen/ardb


text:
Mac OS app terminates when opening .sgf file

I built the Mac OS app from source without issues. App loads and plays games without problem but when I tried to open an sgf file, the app terminates unexpectedly. Also tried saving games in-app and encountered the same issue when re-opening them.
Is there a dependency that I may have missed out?
Thanks!

That is weird... Can you try opening the developer tools and see if the console shows any errors? Also, does the prebuilt binary exhibit this behaviour?

Apparently, the new macOS icon of Sabaki is causing this.

Thanks very much for looking into this! Starred for the great app and support 👍

repo: yishn/Sabaki


text:
How to convert a fairseq checkpoint to a huggingface checkpoint

Hi, thanks for this great job.
I have trained a mert model by your repo. But I can't use the fairseq checkpoint to infer. Could you provide some help？I see the demo of infer is based on huggingface. How can I convert a fairseq checkpoint to a huggingface checkpoint.

Hi, I've uploaded scripts for conversion. Please check with the scripts:
bash scripts/convert_HF_script.sh default mert config_mert_base [/absolute/path/to/a/fairseq/checkpoint.pt]

repo: yizhilll/MERT


text:
大佬，有办法查看自己的实物礼物的情况吗

就是一个小号中了实物但是忘记领了，要是能判断没有填地址然后自动提醒就好了，或者输入哪个数字代码可以查看实物奖品的情况吗？

用sqlite去查substance下的db。可以看到是否有中奖。

#176 算是一类问题

authors: pjy612 someash yjqiang


text:
这里mac环境，python3.8版本，运行失败

再确认一次 issue 题目
这里mac环境，python3.8版本，运行失败
问题描述

今天在mac上搭的新环境，但是无法运行，账号信息都如实填写。
但是运行就如图无法正常运行
最后确认

[☑] 我仔细看了requirements.tx，确认里面的模块我都安装并及时更新了
[☑ ] 我代码上次更新时间距今没有超过 2 个月以上
[ ☑] 我仔细阅读了 conf 里面的 sample 文件（包括user.sample.toml和ctrl.sample.toml），并发现如果发生了改动，及时更新了我的 toml 对应文件
[☑ ] 我仔细检查了 readme 最近更新情况，并查看了最近更新内容

ssl错误 可能python问题或者你把aiohttp的ssl验证关了试试


text:
Usage of console.log in lib.js

[ arguably ] Are you reporting a bug?
[ X ] Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/

Describe the bug
The main branch includes a console.log invocation in src/lib.js line 29
To Reproduce
Steps to reproduce the behavior:

Go to a website using y-prosemirror
Open console
See "testing what I wanted to test. lol Object"

Expected behavior
Not sure if this is a bug, but seems unusual to ship console logs. Raising this for discussion.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Information

Browser / Node.js [e.g. Chrome, Firefox, Node.js]
Yjs version and the versions of the y-* modules you are using [e.g. yjs v13.0.1, y-webrtc v1.2.1]. Use npm ls yjs to find out the exact version you are using.

Chrome
HEAD @ 7b7ea52
y-prosemirror@1.0.16
Additional context
N/A

Oh no.. thank you for reporting! Fixed and published.

authors: dmonad drdrwhite

repo: yjs/y-prosemirror


text:
🛑 AleWorld is down

In 14ffda3, AleWorld (https://www.ale.world) was down:

HTTP code: 502
Response time: 186 ms

Resolved: AleWorld is back up in 4c835e8.


text:
How to extract flow and frames

Great job!
However, I met a problem when replicating this.
" Furthermore, you need to extract frames and optical flow from the videos. You can use mmaction for this purpose."
Can you explain in detai how you used mmaction to extract frames and optical flow from the videos?

You can refer this extact_frames.sh

Thanks, but could you provide the exact script you guys used so that I can replicate your result in the paper truthfully?

I'm sorry, but I'm having difficulty finding the script. However, we didn't perform any special processing on the script; we simply extracted the images and optical flow based on the original dimensions of the video.

Fine, but what kind of method have you used to extract the optical flow? tvl1? And what about the bouding of flow distance,which 20 if you uesd the default setting of mmaction.Thanks

Yes, the optical flow uses TVL1, and all settings are the default settings of mmaction without any modifications.

000485.zip
Here is an example we extracted.

OK，Thank you!

authors: Alane-Henry ymhzyj

repo: ymhzyj/UMMAFormer


text:
Update nc to work on some non BSD systems.

Fixes #26
Fixes #31

@ymnk - It would be great if we could work to get this merged and release. Thanks!

@bvulaj I think this library is no longer maintained, I don't see the author @ymnk having responded to outstanding issues or any commit activity in a long time

Please merge this !

I've build a patches version.
You can find on gitlab https://gitlab.com/tristanlins/jsch-agent-proxy/-/packages/109518
Simply add the gitlab repository to your pom.xml
+    <repositories>
+        <repository>
+            <id>gitlab-maven</id>
+            <url>https://gitlab.com/api/v4/projects/17382956/packages/maven</url>
+        </repository>
+    </repositories>

And change the usocket-nc dependency version to 0.0.9-p1
     <dependencies>
         <dependency>
             <groupId>com.jcraft</groupId>
             <artifactId>jsch.agentproxy.usocket-nc</artifactId>
-            <version>0.0.9</version>
+            <version>0.0.9-p1</version>
         </dependency>
     </dependencies>

authors: bvulaj ecoupal ktham tristanlins

repo: ymnk/jsch-agent-proxy


text:
Copy non-python launch script in each integration

Changelog Description
Preparation for split of Photoshop, AfterEffects and Harmony integrations into their addon repositories which requires to not use global script and prelaunch hook.
Additional info
Each integration has own launch script and prelaunch hook which cares about the same logic, and removed the global script and prelaunch hook. Removed get_non_python_host_kwargs function from applications logic. Implemented new helper function is_using_ui_executable to determine if UI executable is used on windows.
Renamed constants in each of the host to have _ADDON_ROOT suffix instead of _HOST_DIR to match where they point (will point).
Testing notes:

[ ] Photoshop should start ok, when running from code, using ayon_console.exe or ayon.exe.
[ ] AfterEffects should start ok, when running from code, using ayon_console.exe or ayon.exe.
[ ] Harmonyshould start ok, when running from code, using ayon_console.exe or ayon.exe. (if we have a way how to test?)

And actually this https://community.ynput.io/t/dcc-communication-over-websocket-code-duplication/1328 is somehow connected to this PR. Could you please comment here (or there) reasoning/future plans?

authors: iLLiCiTiT kalisp

repo: ynput/ayon-core


text:
Fixing distribution of otioClip attribute to plates

Changelog Description
Vertical aligned shot resources are distributed correctly now.
Testing notes:

Create timeline in Hiero with vertically aligned shots in multiple tracks. Make sure media resources for each clip is different.
Rename tracks to hold some unique names
select shots which are vertically aligned
go to AYON menu and Create
enamble vertical sync
Select hero track
Hit Create and then Publish.
notice the integrated files and make sure plate version is having correct representation files.

Resolves #30

Sorry for this I realize this was my mistake. I have reported the fix for Resolve here: https://github.com/ynput/ayon-resolve/pull/41 and will ensure it works properly in Flame as well.

repo: ynput/ayon-hiero


text:
Implement system for using pinning file suport on the resolver

Is there an existing issue for this?

[X] I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?
After this Ayon_Usd_Resolver_Pinning_File_Suport is implemented, we need to build a mechanism to set needed information and utilise the feature
How would you imagine the implementation of the feature?
It would need to be a function or set of functions that will set the correct env variables before startup. (could be in the pre-startup hock)
this system needs to be aware of what type of system it is running and if it should be enabled.
Are there any labels you wish to add?

[X] I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:
No response
Additional context:
No response
TODO

[x] implement a function to generate a pinning file
[x] implement a function to write a pinning file
[ ] implement a startup system to load the resolver with the pinning file

moved and split into separate issues

repo: ynput/ayon-usd


text:
Suggestion: Use an object for each error, rather than a string

It'd be useful to be able to do read the error messages programatically. In my app, I'd like to show some errors to the user, and to store others internally for later.
At the moment, this would involve parsing the strings for each error and working out what they refer to.
What do you think about using an instance of a class for each type of error, with a hash of properties (page number, ppi, and so on) that are relevant? The error string can be a method on each of the Error instances, making it possible to [].map(&:message) to get an array of error messages as string, like as before.
I'm happy to help with implementing this, but I just want to check whether you're happy with this approach.
Thanks,
Tom

Similar functionality is now available on master. If more fine tuning is needed, let's co-ordinate with smaller focused issues.

authors: tomtaylor yob

repo: yob/pdf-preflight


text:
Support xcconfig

Motivation
Auto apply xcconfig configurations like this.

Current Problems
I notice documentations do mention about xcconfig but looks like it's not working as expected.

Setting configFiles does not affect anything. (Bug? or maybe my spec is wrong)
There is no way to set base xcconfigs for PBXProject.
xcconfigs not being added to project

Proposal
So this is my proposal.

Support baseConfiguration for PBXProj
Rename target's configFiles with baseConfigurations for consistency.
(Optional) Rename configs to configurations since it looks like xcconfig and is misleading.

name: MyProject
configurations:
  Debug:
    baseConfiguration: configs/Debug.xcconfig
  OTA:
    baseConfiguration: configs/OTA.xcconfig
  Release:
    baseConfiguration: configs/Release.xcconfig
targets:
  MyApp:
    type: application
    platform: iOS
    sources: Sources/MyApp
    settings:
      PRODUCT_BUNDLE_IDENTIFIER: jp.toshi0383.hello
    baseConfigurations:
      Debug: configs/MyApp-Debug.xcconfig
      OTA: configs/MyApp-OTA.xcconfig
      Release: configs/MyApp-Release.xcconfig

If you guys feel happy with this outline, I can start working on a PR. 💪

Hi @toshi0383, thanks for the suggestions!
Yeah, you're right there's no way to specify a project's xcconfig file. Setting configFiles on a target should be working though. Is it not?
In terms of adding them to the project, I'd like to keep defining configurations and applying xcconfig files in seperate dictionaries. While it's not hugely documented at the moment the include feature is highly used by myself and others, and seperating them makes the feature work better. Also it's nice to keep consistency between a project and a target in how things are defined.
About the renaming, I agree maybe configs to configurations would be better. I'd like to keep configFiles though, but would be open to configurationFiles. In either case, both the project and target properties should match.
Obviously both of these are breaking changes, so would need a major version bump, or still read the old values.
Feel free to get a PR up and going! 👍

Yeah, you're right there's no way to specify a project's xcconfig file. Setting configFiles on a target should be working though. Is it not?

Yeah maybe my spec is wrong. Would you mind sharing a working example spec for me?

In terms of adding them to the project, I'd like to keep defining configurations and applying xcconfig files in seperate dictionaries.

Could you share outline spec? I don't see the whole picture yet, since I haven't used include feature.
It's XcodeGen specific feature, right?
By the way I think include is also a bit misleading, because the name conflicts with xcconfig's #include feature.

I agree maybe configs to configurations would be better.

Alright. I will fix this maybe in different PR.

I'd like to keep configFiles though, but would be open to configurationFiles. In either case, both the project and target properties should match.

Great! I will take configurationFiles, because it's better suited to the Cocoa API naming conventions.

Obviously both of these are breaking changes, so would need a major version bump, or still read the old values.

Sure, I am going to at first deprecate it and add warning message when people use the old values.
[warning] configFile is deprecated. Use configurationFiles instead.

By the way I think include is also a bit misleading, because the name conflicts with xcconfig's #include feature.

Don't worry about this on this thread.
I might submit a new issue to ask about include feature. 😉

Could you share outline spec? I don't see the whole picture yet, since I haven't used include feature.

So this is what I came up with. What do you think?
name: MyProject
configurations:
  Debug: debug
  OTA: release
  Release: release
configurationFiles:
  Debug: configs/MyApp-Debug.xcconfig
  OTA: configs/MyApp-OTA.xcconfig
  Release: configs/MyApp-Release.xcconfig
targets:
  MyApp:
    type: application
    platform: iOS
    sources: Sources/MyApp
    settings:
      PRODUCT_BUNDLE_IDENTIFIER: jp.toshi0383.hello
    configurationFiles:
      Debug: configs/MyApp-Debug.xcconfig
      OTA: configs/MyApp-OTA.xcconfig
      Release: configs/MyApp-Release.xcconfig

🚀

repo: yonaskolb/XcodeGen


text:
Enhancement: copyFiles buildPhase using Products

First thing first, let me show you concept:

Note that this is just a concept and is not a valid syntax

targets:
    Sample Application:
        type: application
        platform: macOS
        sources:
              target: Helper
              optional: true
              buildPhase:
                  copyFiles:
                      destination: wrapper
                      subpath: $(CONTENTS_FOLDER_PATH)/Library/LoginItems
    Helper:
        type: application
        platform: macOS

Here I'm creating Sample Application which is the main application target, and the helper application Helper. Helper application will be used to toggle Launch on Login feature which is seen in many applications. To make it work, a helper application must be included in the main app bundle, in this case it's:
Sample Application.app/Contents/Library/LoginItems/Helper.app.

This is the latest and valid way to achieve the feature as of today.
Reference: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html

Back to xcodegen, if I'm correct, this is not possible as of v2.18.0 (Please correct me if I'm missing something).
The above is just an example to explain the usefulness if it's possible. And this is not specific to the LoginItem thing, there may be other cases that can use this approach, I guess.
Thus, "copyFiles buildPhase using Products". (I'm not sure if sources is the suitable location to put them, this is just a concept)
What do you think?

I'd love to do something similar in my app where I want to have a helper CLI embedded in my app package, I'm just not sure how to do it yet. If this is possible with XcodeGen as it is today I'd love to learn it. To my mind having this be in the sources object feels really weird because it's not part of the sources of my target. I was looking more for a specific copyFiles object separate from the sources object.

I would like to reference files from the product directory in my build phases as well. 👍
My current workaround for login items contains a post-build shell script, but there is probably a better solution.
LOGIN_ITEMS_DIR="$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.app/Contents/Library/LoginItems"
rm -rf "$LOGIN_ITEMS_DIR"
mkdir -p "$LOGIN_ITEMS_DIR"
cp -a "$BUILT_PRODUCTS_DIR/Helper.app" "$LOGIN_ITEMS_DIR"

I'm using post-script to workaround this too.
However I've been thinking that I've had mischosen the repo to open this issue as XcodeGen relies on tuist/XcodeProj to parse project files.
Did some research before and if I remember correctly, XcodeProj doesn't support treating a product as a file to use it to like, very this issue's situation.

I've gotten this working by doing 2 things: 1) add embed: false to the app's dependency on the CLI, and 2) this build phase:
    postBuildScripts:
      - script: "ditto \"${SCRIPT_INPUT_FILE_0}\" \"${SCRIPT_OUTPUT_FILE_0}\""
        name: Copy CLI Helper
        inputFiles:
          - ${BUILT_PRODUCTS_DIR}/bindlewriter
        outputFiles:
          - ${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}/Contents/Helpers/bindlewriter

Where in this case bindlewriter is the name of the CLI product that's being embedded inside of my app's bundle at Contents/Helpers.

That's elegant! I like it.
What I've reached in the end is far more verbose:
    dependencies: # This assures you the app will be copied into Resources dir
      - target: TARGET NAME OF THE HELPER APP

    postBuildScripts:
      - script: |
          set -Ceux
          HELPER_PRODUCT_NAME="TARGET NAME OF THE HELPER APP"
          CONTENTS_PATH="${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}"
          RESOURCES_DIR="${CONTENTS_PATH}/Resources"
          LOGIN_ITEMS_DIR="${CONTENTS_PATH}/Library/LoginItems"
          ORIGIN_HELPER_PATH="${RESOURCES_DIR}/${HELPER_PRODUCT_NAME}.app"

          [[ -d $LOGIN_ITEMS_DIR ]] && rm -rfv "$LOGIN_ITEMS_DIR"
          mkdir -p "$LOGIN_ITEMS_DIR"
          mv -v "$ORIGIN_HELPER_PATH" "$LOGIN_ITEMS_DIR"

          [[ $(ls -A "$RESOURCES_DIR") ]] || rm -rfv "${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources"
        name: Move Helper.app to LoginItems

Then, create two main targets: One with the dependency and the script above, and the other without any dependency (for debugging).
The benefit of this is you don't have to manually build helper app because it is a dependency.

Yeah I really just mimicked how XcodeGen does other copy files stages and adopted that for my own need! :joy:

Hope this helps the future:
dependencies:
  - target: LanchAtLoginHelper
    embed: true
    codeSign: false
    copy:
      destination: wrapper
      subpath: Contents/Library/LoginItems

authors: FelixII aerobounce imWildCat jsorge


text:
Loading spinner as long as README file is loaded

I've added a loading spinner feature, that's shown as long as the README coming from the API is being loaded. This way, I believe, users get a richer experience using the website and know an object is loading, as opposed to before that.

Hi,
I disposed the use of dangerouslySetInnerHTML, which can lead to arbitrary HTML being passed into the component and potentially cause XSS. Instead, I added html-react-parser and used parse() in order to turn the incoming HTML to valid JSX.

repo: yonatanmgr/opensource-il-site


text:
Feat/error notification

What this PR does / why we need it:
The currently implemented error exceptions don't have a detailed reason for the error, so users can't figure out why the error occurred. To solve this problem, I've added a detailed reason for each error exception and JWT AuthGuard. I've also modified the snackbar menu on the frontend to output the detailed reason.
Before modification

After modification

Which issue(s) this PR fixes:

Fixes #196
Special notes for your reviewer:

You can check if the JWT token does not exist or expires.
Added detailed error reasons to the exception that exists in the services.
It would be nice to add error branches in the future to provide more detailed error handling.

Does this PR introduce a user-facing change?:

Users can see why the error occurred.

Additional documentation:

Checklist:

[ ] Added relevant tests or not required
[ ] Didn't break anything

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you asking, @devleejb
A1)
I didn't want to lose the value of the message, so I didn't overwrite it. But I found that if we put the string at the objectOrError, the value of the message moved to the error, and the string value was saved in the message. I think this is better than the old way. Thanks for the advice!!
A2)
We don't have to. Totally my mistake. Thanks for letting me know!

repo: yorkie-team/codepair


text:
update for choo v5

cc/ @juliangruber whoooop

v4.0.0-1

repo: yoshuawuyts/choo-log


text:
adding pre-hook

run static code checker for now

This issue was solved with #8
557fa8eed24e1eeba13f21d603be5d4ec0a35327


text:
拍照问题

大佬好，使用input标签，设置accept="image/*"，只能拉起选择照片，那拍照怎么拉起来？还是说拉不起来，只能写webview和原生的交互来实现？？？

我试了几个拉起拍照的代码也都不行。
事实上，不论是拉起照片还是相机都应该使用和原生的交互来实现，原生可以解决很多兼容性和App隐私合规的问题。

谢谢大佬回复

authors: androidxu youlookwhat

repo: youlookwhat/ByWebView


text:
How to handle dropout rng_key in model

Hi,
Thanks for this nice work.  Is there any efficient way to use different dropout rng key for each device in data parallelism if a model has a dropout layer?
Thanks!

I think in most cases you won't need to manually use different dropout keys. Instead, you could just have one dropout RNG key as replicated and pass it to the layer, as if you are doing it on the single device. Since all arrays in JAX are global, this makes sure devices holding different parts of a layer sample different dropout masks.

In data parallelism, we often replicate a model on multiple devices, and split a global batch into several sub-batches for model training. If the model has dropout layer, I think it will be better to use different dropout rng key for each device?

In JAX, shardings specifies how tensors are computed and stored across device, but not what the result of computation should be. Therefore, the nice thing about JAX is that the correctness of computation result is independent of the sharding used. In this case, imagine you are running a large batch on a single device, and you only need one RNG key. That RNG key will generate different masks for different examples in the batch. Now once you specify a data parallel sharding, the results would be the same as running on a single device, except stored and computed on multiple devices.

authors: YunxiTang young-geng

repo: young-geng/scalax


text:
fix and regression tests for #379

Potential fix for #379.  Maybe the regression tests are overkill...

Sounds good for me. Thanks for your contribution !

authors: jpic smcoll

repo: yourlabs/django-autocomplete-light


text:
[BUG]: Guiding user to register before Login

This issue is about when user is on login page  and he is trying to login  but he has not register yet. Then, guide the user on login page he has to register first then  login.  And also changing the submit button  text by login or signin.

@youtanimstar I would like to work on this issue please assign it to me.

@youtanimstar I would like to work on this issue please assign it to me.

Sure, please proceed @AnujRathour
Happy Coding..!!

authors: AnujRathour youtanimstar

repo: youtanimstar/music-hub


text:
Remove size definition in image name

There is one related PR #37 , please review that first.

If we put @<size> at the end of the image name, Docker won't recognize
it, and Docker will save <image-name>@<size> as the volume name.
However, this image is actually the same one as <image-name>, without
suffix. We should make Docker treating them as the same image, instead
of two different ones. This is important because Docker caches the
volume info, the volume has been referenced by which container, by
image name.

see the code of setNamed(v volume.Volume, ref string) in
github.com/docker/docker/volume/store/store.go

After this change, when creating images at docker run, plugin will statically
use the default value. When creating images by docker volume create,
user can pass size in opts to declare a customized value.

You can already use docker volume create with a size option instead of using the name@size syntax, nothing is forcing you to use this syntax, so I think this is moot.
If you require that feature of docker volume, then you should always create your images first using docker volume create and the correct options.  The existing code already allows a default size by not specifying any @size decorator if you wanted to autocreate on docker run.

@porcupie Maybe we should prohibit doing that wrong action.

Oh... I miss the tests.

authors: ohmystack porcupie

repo: yp-engineering/rbd-docker-plugin


text:
minor UI enhancment

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] i18n translation has been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ..., provide screenshots if necessary)

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

When user clicks on the high-risk item, can you make the high-risk item highlighted, instead of filtering it?

Btw this map is really impressive😍

One last thing, you may need to also rebase the date-picker into your branch, for mobile (not much space), perhaps a small button with a calendar logo next to the multiple select component can do?

repo: yshing/warsinhk


text:
Somewhat more elaborate means to detect compatible Python version(s)

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 requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[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

Provide a description that is worded well enough to be understood
The script file yt-dlp.sh makes pretty basic assumptions about the current Python installation.
However on some platforms, such as Cygwin, this will fail because cygwin caches executables differently, and also tends to be somewhat behind most platforms including, but not limited to, Linux.
Since this is an extremely minor change, intended to make yt-dlp usable rightaway by ln -sfving to $PATH, i'm posing this as a request.
I think that other non-Linux platforms might benefit from this as well.
I've written it in such a way that it is trivial to extend to check for further versions
Here is the modified version of yt-dlp.sh:
#!/bin/bash

pyexe=python

## yt-dlp requires >=3.9
checkthesepythons=(
  python3.9
  python3.10
)

for item in "${checkthesepythons[@]}"; do
  if which "$item" >/dev/null; then
    pyexe="$item"
    break
  fi
done

if [[ "$pyexe" == "python" ]]; then
  pyver="$("$pyexe" --version | cut -d' ' -f2-)"
  if [[ "$pyver" =~ *3.* ]]; then
    echo "*** could not find python3.{9,*} - this may not work!"
  fi
fi

exec "$pyexe" -Werror -Xdev "$(dirname "$(realpath "$0")")/yt_dlp/__main__.py" "$@"

Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
No response

This would add a bash dependency, though. It's more portable if we keep it POSIX sh

It's a script intended only for developers anyways. They should be able to get their Python versions sorted. Some maintainers even want to remove this script entirely

Anyone who should be running the script should be capable of setting PYTHON so as to find the desired Python executable, if python3 is not on the PATH.
The Windows version yt-dlp.cmd expects the Python command to be py but could be made equivalent, s-t like:
@echo off
if [%PYTHON%]==[] set PYTHON=python3
%PYTHON% -bb -Werror -Xdev "%~dp0yt_dlp\__main__.py" %*

authors: apfeltee bashonly dirkf

repo: yt-dlp/yt-dlp

license: Unlicense


text:
Openload doesn't work

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.07.02
[x] 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]   (Do all seem to be incomplete) I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl --verbose https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.02
[debug] Python version 2.7.15+ (CPython) - Linux-4.15.0-38-generic-x86_64-with-LinuxMint-19-tara
[debug] exe versions: avconv 3.4.6, avprobe 3.4.6, ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1
[debug] Proxy map: {}
[Openload] _NJqDjE4GGM: Downloading embed webpage
[Openload] _NJqDjE4GGM: Executing JS on webpage
ERROR: Unable to extract stream URL; 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/openload.py", line 429, in _real_extract
    'stream URL')
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract stream URL; 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 extracted the used URL from another Side.
Using the URL i get to the Video directly on openLoad.
On May 6th it still worked this way.

Any Idea where the Problem could be?
The error still is there on my PC.
Only thing I changed since last time it worked is that I updated my OS from LM 18.3 to LM 19

This problem exists for others too. I've got Ubuntu 18, and exactly the same problem. (my issue was also closed as "can't reproduce" too.)

@dstftw could it be a problem regarding only Ubuntu based operating Systems?
Which OS hace you used for trying to reproduce this problem

@dstftw  Problem seems to be connected with Ubuntu version of user. I've checked problem on several machines with fresh installs of youtube-dl with following results:
Ubuntu 18: does not work (checked two times, once on fresh install of Ubuntu with only phantomjs and youtube-dl installed)
Mint 18: works perfectly (please note, that Mint 18 is based on Ubuntu 16, while Mint 19 which @Jan-NiklasB uses is based on Ubuntu 18 and does not work)
These results strongly suggest, that something on Ubuntu 18 creates conflict with youtube-dl on openload.

This has nothing to do with OS as OP clearly states it worked before. Most likely your are just banned.

@dstftw  Geez. OP clearly states: "I updated my OS from LM 18.3 to LM 19".
Also, half of test was done on one machine: Linux Mint (LM) 18 was working, and then i've used Live version of Ubuntu 18, installed phantomjs and downloaded fresh youtube-dl, and it was not working, so it is no ban.
I will say this again: OP had system based on Ubuntu 16, and youtube-dl was working. Then he updated system to the one based on Ubuntu 18 and it broke.
I've checked this lead, and got results showing, that everything is ok on Ubuntu 16, but "just does not work" on Ubuntu 18.
This problem is easily reproducible: just stick Ubuntu 18 Live USB to the comp, and try to use youtube-dl to download something from openload - You will get the same errors as us.

$ uname -a && youtube-dl -v 'https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv'
Linux ubuntu 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.06.27
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.18.0-15-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: phantomjs 2.1.1
[debug] Proxy map: {}
[Openload] _NJqDjE4GGM: Downloading embed webpage
[Openload] _NJqDjE4GGM: Executing JS on webpage
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on u'https://oload.site/stream/_NJqDjE4GGM~1562954300~2a02:587::~vgrHJCE8?mime=true'
[download] Destination: Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv.mp4-_NJqDjE4GGM.mp4
[download]   1.8% of 218.17MiB at  4.06MiB/s ETA 00:52^C
ERROR: Interrupted by user

Can you play the video in the browser?

Yes, there is no problem with playing video on the browser.
youtube-dl is installed by directly downloading.
$ uname -a & youtube-dl --verbose https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv
[1] 8128
Linux navita 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.02
[debug] Python version 2.7.15+ (CPython) - Linux-4.15.0-54-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1
[debug] Proxy map: {}
[Openload] _NJqDjE4GGM: Downloading embed webpage
[Openload] _NJqDjE4GGM: Executing JS on webpage
ERROR: Unable to extract stream URL; 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 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/openload.py", line 429, in _real_extract
    'stream URL')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract stream URL; 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.

Well, as mentioned by @tmczar and @bitraid youtube-dl was installed by download and updated by command -U to the newest available version.
The link works perfectly in Firefox but isn't downloadable in yt-dl
This is the output with the exactly same command as used by @bitraid:
uname -a && youtube-dl -v 'https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv' Linux Kein-PC 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-v', u'https://oload.site/embed/_NJqDjE4GGM/Futurama.S06E16.Ghost.in.the.Machines.720p.BluRay.DD5.1.x264-CtrlHD.mkv'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2019.07.02 [debug] Python version 2.7.15+ (CPython) - Linux-4.15.0-38-generic-x86_64-with-LinuxMint-19-tara [debug] exe versions: avconv 3.4.6, avprobe 3.4.6, ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1 [debug] Proxy map: {} [Openload] _NJqDjE4GGM: Downloading embed webpage [Openload] _NJqDjE4GGM: Executing JS on webpage ERROR: Unable to extract stream URL; 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info     ie_result = ie.extract(url)   File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract     ie_result = self._real_extract(url)   File "/usr/bin/youtube-dl/youtube_dl/extractor/openload.py", line 429, in _real_extract     'stream URL')   File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex     raise RegexNotFoundError('Unable to extract %s' % _name) RegexNotFoundError: Unable to extract stream URL; 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.

authors: Jan-NiklasB bitraid dstftw tmczar

repo: ytdl-org/youtube-dl


text:
No longer downloads unlisted videos when downloading from channel link

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2019.11.22
[x] 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

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE
I recall the software used to download all the unlisted videos of a channel if the channel link was parsed to youtube-dl. Now it only counts the publicly listed videos in the download list.
Unlisted videos can still be downloaded with their individual links, but youtube-dl no longer has the ability to find unlisted videos.

Why was this tagged as 'incomplete' @dstftw?


text:
Youtube-dl not starting - Reporting missing lazy_extractors

Checklist

[ ] I'm reporting a broken site support issue
[X ] I've verified that I'm running youtube-dl version 2020.12.14
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] 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

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/__init__.py", line 4, in <module>
    from .lazy_extractors import *
ModuleNotFoundError: No module named 'youtube_dl.extractor.lazy_extractors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 6, in <module>
    from youtube_dl import main
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/__init__.py", line 43, in <module>
    from .extractor import gen_extractors, list_extractors
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/__init__.py", line 9, in <module>
    from .extractors import *
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/extractors.py", line 45, in <module>
    from .anvato import AnvatoIE
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/anvato.py", line 12, in <module>
    from .anvato_token_generator import NFLTokenGenerator
ModuleNotFoundError: No module named 'youtube_dl.extractor.anvato_token_generator'

Description

WRITE DESCRIPTION HERE

Broke with b34c9551aae2609c4ac3ee53cc7ce40e8f14d586
Release 2020.12.14 is not affected, just git packaged versions.


text:
nzherald.co.nz

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2021.02.22
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://www.nzherald.co.nz/sport/americas-cup-2021-beyond-the-cup-tracks-team-new-zealand-amid-top-speed-rumours/E4GRJHXVOAP4KWZTW53YDNNPPA/
Single video: https://www.nzherald.co.nz/nz/politics/covid-19-coronavirus-one-final-papatoetoe-high-student-to-be-found-as-1000-kmart-shoppers-deemed-close-contacts-told-to-isolate/CHFLKC3BI2VA3DCUMZT73SPXGA/

Description

Both example videos play OK on Firefox, but youtube-dl gives an "Unsupported URL" error.

Here's another:
Single video: https://www.nzherald.co.nz/nz/truck-driver-captured-cutting-off-motorist-on-state-highway-1-in-canterbury/FIHNJB7PLLPHWQPK4S7ZBDUC4I/

Here's another:
Single video: https://www.nzherald.co.nz/travel/pencarrow-coastal-trail/HDVTPJEPP46HJ2UEMK4EGD2DFI/


text:
Can't download Youtube-video

I tried to download this video (normally as mp3) but it wont work...
Idk what to do...
It says something like "Unable to extract" and "No video formats found"
Heres my log:
youtube-dl --verbose -F https://www.youtube.com/watch?v=CAZjj9ekF1w                                                                                1 ⨯
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-F', 'https://www.youtube.com/watch?v=CAZjj9ekF1w']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.10
[debug] Python version 3.9.2 (CPython) - Linux-5.9.0-kali1-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.2-0, ffprobe 4.3.2-0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] CAZjj9ekF1w: Downloading webpage
[youtube] CAZjj9ekF1w: Downloading API JSON
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1632, in _real_extract
self._sort_formats(formats)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1367, in _sort_formats
raise ExtractorError('No video formats found')
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; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

You can try upgrading YouTube-dl, I also had similar issues and all the times an upgrade fixed them.
Most of the times, the packages provided from package managers are a little behind the latest version of YouTube-dl.
You can use the official installation guide to install the latest version but first remove it from your package manager.
https://github.com/ytdl-org/youtube-dl#installation

You can try upgrading YouTube-dl, I also had similar issues and all the times an upgrade fixed them.
Most of the times, the packages provided from package managers are a little behind the latest version of YouTube-dl.
You can use the official installation guide to install the latest version but first remove it from your package manager.
https://github.com/ytdl-org/youtube-dl#installation

Dont helped, but i downloaded the release executble (for linux) and it worked fine ;)
Thank you anyway...
If you have the same issue on linux: download the file "youtube-dl" at thr releases and use this
(in terminal ./youtube-dl; in the recent folder)

authors: doEggi nikoskoutr