text:
Failed to resolve : com.github.ybq:Android-SpinKit:1.1.0

I tried minSdkVersion 14/21/25 in module:app build.gradle, but I got same error

You need to add JitPack to the list of repositories in Project level build.gradle file.

Yes, this works. You can close this issue.

no use. @taesiri

@taesiri can you show how?

@deyilmaz I have the same problem. I added the dependency and maven as specify as here https://github.com/ybq/Android-SpinKit#gradle-dependency . But i found that My Gradle is Offline, what i mean is, in android studio Settings->Gradle "Offline work" is cecked. I uncheked it and try to sync and it works.
@deyilmaz or any one who has same problem plz make sure that your gradle is not offline.
Sorry for my broken English......

I think if you set Android-SpinKit version to 1.2.0 would solve the problem!

@HamedNN76  set Android-SpinKit version to 1.2.0
this works for me thankyou

@HamedNN76 This also fixed my sync error. TYVM

In my case, I resolved by disabling the antivirus

In my case, I resolved by disabling the antivirus

authors: HamedNN76 KingDr KostyaBakay Laxusgee Ravi879 Scoured deyilmaz l7info liveapppro taesiri

repo: ybq/Android-SpinKit


text:
Add yearn finance newsletter #45

done :) thanks!

i fixed the extra space. thanks!

source: gharchive/pull-request

repo: yearn/yearn-comms

license: MIT

license_type: permissive

license_source: github-api


text:
Unify rand interface

Resolves https://github.com/yebai/Turing.jl/issues/123

@xukai92 It is probably better to have a few additional tests that can check randrn and VarInfo, for example

try to override existing entries in VarInfo should return warning or error. (In the case of error, we can add an additional parameter forceOverride to randrn, and only allow overriding when forceOverride is set to true).

Test whether values stored in VarInfo are identical with original copies.

randrn() itself doesn't overwrite the content of VarInfo. It only either add a new entry or replay an existing one.

The function HMC uses to change the values in VarInfo during its steps is setval(). I've added a overwrite parameter to setval(), with its default value being false.
I think give warnings to each overwriting operation is not good as HMC overwrites values in VarInfo quite frequently.

I tried adding warning to each overwriting operation and there are too many warnings.
I ended up giving warning messages to setval() when users use it without setting overwrite to be true.

I don't get the second bullet point.
I can fix #129 in this PR. Will do it soon.
I believe I put the wrong test for the Gaussian model in benchmark. I've update it.

I don't get the second bullet point: "Test whether values stored in VarInfo are identical with original copies."

Can we add the following test

# Create a variable and store it in vi
vn  = ... # some variable name
x = randrc(vi, dist, vn, spl)

# Then, test whether vi[vn] == x;

Ideally, we should test univariate, vector variate, and matrix variate distributions.

Can we merge this PR?

Seems that benchmarking is still broken: https://travis-ci.org/yebai/Turing.jl/jobs/217986302

I see. As we abandon the use original Julia type. We cannot get :y now but only Symbol("y[1]")  and Symbol("y[2]"). I will fix it now.

license: mit

license_source: bigquery


text:
crash

logs
what should I do

Based off the log, I'd recommend trying the 1.1.1-1.20.4 version on 1.20.4, perhaps something with the 1.20.1 version doesn't work that I was unaware of.

source: gharchive/issue

repo: yeelp/MCCE


text:
publish precompiled version to npm

this module is used in frontend applications (for example via react-element-to-jsx-string)
since babel/webpack normaly ignore node_modules it would be really helpful if this package could just provide es5 code.

No. Reasoning: https://github.com/sindresorhus/file-type/issues/70

authors: Xiphe sindresorhus

repo: yeoman/stringify-object


text:
Remove path underflow as not planned

for reference: https://github.com/yescallop/fluent-uri-rs/issues/17

@yescallop Any news for this one?

repo: yescallop/fluent-uri-rs


text:
Out of order definitions

This PR allows you to define items in a natural order, instead of requiring item references to be defined first.

Looking good! Would it be possible to move the module order stuff into elaboration? Maybe it could go into a private submodule, maybe elaboration::item_order or something? This would then be called in elab_module. That means we we have less mixing of elaboration related stuff in with the top-level surface module, which is more just related to defining the AST, and means that the driver does not have to interact with it either.

Still having a go at trying to understand how the algorithm works – sorry for my slowness!

Still having a go at trying to understand how the algorithm works – sorry for my slowness!

Hmm perhaps I should add a comment documenting the approach

Basically it's:

For each item recurse into all the terms it contains and note the dependencies (that aren't local names).
Then do a depth first traversal of an item's dependencies and their dependencies pushing the indexes of items as we hit leaves in order to produce a list of item indexes describing the order in which they should be elaborated.

At the same time keep a stack of names in the traversal so that we can detect when we've re-entered a name that we're in the process of visiting and report a cycle.

Pushed an update to move the code into a sub-module. That was a good suggestion, thank you.

authors: brendanzab wezm

repo: yeslogic/fathom


text:
Nested component creation is unergonomic

Description
Yew requires children vnodes to be moved into a FnOnce closure. This move happens behind the scenes and results in confusing compiler error messages.
Example 1:
fn view(&self) -> Html {
    let on_hover = &self.link.callback(Msg::Hover);

    html! {
        <List on_hover=on_hover>
            <ListItem name="item" on_hover=on_hover />
        </List>
    }
}

Results in the following error because on_hover is referenced in a closure internally
48 |       let on_hover = &self.link.callback(Msg::Hover);
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
49 |
50 | /     html! {
51 | |         <List on_hover=on_hover>
52 | |             <ListItem name="item" on_hover=on_hover />
53 | |         </List>
54 | |     }
   | |_____- cast requires that borrow lasts for `'static`
55 |   }
   |   - temporary value is freed at the end of this statement

Example 2:
fn view(&self) -> Html {
    html! {
        <Container>
            {
                let on_hover = self.link.callback(Msg::Hover);
                html! {
                    <List on_hover=on_hover>
                        <ListItem name="item" on_hover=on_hover />
                    </List>
                }
            }
        </Container>
    }
}

Results in the following error because it's not allowed to reference &self inside a FnOnce closure:
error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements
  --> nested_list/src/lib.rs:50:5
   |
50 | /     html! {
51 | |         <Container>
52 | |             {
53 | |                 let on_hover = self.link.callback(Msg::Hover);
...  |
60 | |         </Container>
61 | |     }
   | |_____^
   |
note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 49:1...
  --> nested_list/src/lib.rs:47:1
   |
49 | / fn view(&self) -> Html {
50 | |     html! {
...  |
61 | |     }
62 | | }
   | |_^
   = note: ...so that the types are compatible:
           expected &Model
              found &Model
   = note: but, the lifetime must be valid for the static lifetime...
   = note: ...so that the expression is assignable:
           expected std::boxed::Box<(dyn std::ops::Fn() -> std::vec::Vec<yew::virtual_dom::vnode::VNode> + 'static)>
              found std::boxed::Box<dyn std::ops::Fn() -> std::vec::Vec<yew::virtual_dom::vnode::VNode>>
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

Proposed Solution
Uncertain at this point. It's a quick fix to simply require that virtual dom nodes are cloneable (and props too) such that children would represent an actual virtual dom tree which would be cloned for each render. Draft PR here: https://github.com/yewstack/yew/pull/786

Any known workarounds to this issue?

Have a similar problem but deals with String prop field.

Are you experiencing this issue when building on the PR?

@jstarry No on the contrary. The PR solves the issue. Thanks to the PR I also figured out how to do a workaround in the meantime by cloning but I would recommend for merging!

maybe we should use dodrio vdom?

authors: jstarry thienpow trivigy

repo: yewstack/yew


text:
VPN Unable to Set Up on API>=30

Apparently a change in Android API 30 has made accessing the bind syscall a seccomp violation. Trying to run the native go binary under Android panics with this error:
    Build version: 0.3.15
    Starting up...
I/GoLog: Starting switch
    Starting router
    Startup complete
I/GoLog: Starting multicast module
I/GoLog: Started multicast module
I/TetheringManager: registerTetheringEventCallback:org.westwork.idili
I/GoLog: TCP admin socket listening on 127.0.0.1:9001
W/.westwork.idili: type=1400 audit(0.0:332): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c154,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c154,c256,c512,c768 tclass=netlink_route_socket permissive=0 b/155595000 app=org.westwork.idili
W/.westwork.idili: type=1400 audit(0.0:333): avc: denied { read } for name="somaxconn" dev="proc" ino=306658 scontext=u:r:untrusted_app:s0:c154,c256,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0 app=org.westwork.idili
E/Go: panic: route ip+net: netlinkrib: permission denied
E/Go: goroutine 39 [running]:
    github.com/yggdrasil-network/yggdrasil-go/src/multicast.(*Multicast).getAllowedInterfaces(0x954a8644, 0x95602460)
    	/home/ross/go/src/github.com/yggdrasil-network/yggdrasil-go/src/multicast/multicast.go:194 +0x2c0
    github.com/yggdrasil-network/yggdrasil-go/src/multicast.(*Multicast)._updateInterfaces(0x954a8644)
    	/home/ross/go/src/github.com/yggdrasil-network/yggdrasil-go/src/multicast/multicast.go:160 +0x3c
    github.com/yggdrasil-network/yggdrasil-go/src/multicast.(*Multicast)._announce(0x954a8644)
    	/home/ross/go/src/github.com/yggdrasil-network/yggdrasil-go/src/multicast/multicast.go:229 +0x42
    github.com/Arceliar/phony.(*Inbox).run(0x954a8644)
    	/tmp/gomobile-work-019624322/pkg/mod/github.com/!arceliar/phony@v0.0.0-20191006174943-d0c68492aca0/actor.go:104 +0x87
    created by github.com/Arceliar/phony.(*Inbox).restart
    	/tmp/gomobile-work-019624322/pkg/mod/github.com/!arceliar/phony@v0.0.0-20191006174943-d0c68492aca0/actor.go:130 +0x39
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 12940 (.westwork.idili), pid 12905 (.westwork.idili)
I/Yggdrasil: Yggdrasil service started

Duplicates https://github.com/vikulin/yggdrasil-android/issues/5

Duplicates https://github.com/vikulin/yggdrasil-android/issues/5

fixed in v 1.7

authors: rschulman vikulin

repo: yggdrasil-network/yggdrasil-android


text:
pytorch version

I followed the instructions for installation.
It seems that environment.yml does not automatically help me install pytorch -- so after I activate the pytorch-all environment, I install manually with pip install pytorch (which is 1.4).
Then I got this error "pytorch_points/_ext/torch_batch_svd.cpp:18:75: error: ‘THCState_getCurrentBlasHandle’ was not declared in this scope".
I believe this could be caused by wrong version of pytorch. Any suggestions for solving this issue?
Thanks.

For pytorch 1.2 I got
pytorch_points/_ext/torch_batch_svd.cpp:59:33: error: expected primary-expression before ‘float’
const auto d_A = A.data_ptr();

Updated the installation instruction, now the environment is created from pytorch_points subfolder.
Also updated pytorch_points, which uses pytorch 1.4.0 and should have these compilation errors resolved.
commit https://github.com/yifita/deep_cage/commit/f012fdadbdb0306562e09f364d0f2af243624fb2

Thanks!

authors: hjwdzh yifita


text:
docker 为什么一直无法pull xiaogpt的镜像呢？

docker pull yihong0618/xiaogpt
Using default tag: latest
Trying to pull repository docker.io/yihong0618/xiaogpt ...
manifest for docker.io/yihong0618/xiaogpt:latest not found
设了国内镜像网站也没用。 去docker hub上去看都是在的，各种版本都有，也不存在网上说的没有 latest tag的问题，加版本号问题一样。
直接 docker search xiaogpt 也能看到是有的，但无论怎么pull都下不来，见鬼了。

试了下是没问题的。
本地 build 试试？

除了docker pull之外还有其他什么方式不？有没有直接从docker hub网站上http下载才转到目标机器上的办法？
本地build是啥意思，有相关方法介绍不？

docker pull docker.m.daocloud.io/yihong0618/xiaogpt 可以试下国内代理

docker pull docker.m.daocloud.io/yihong0618/xiaogpt 可以试下国内代理

docker pull docker.m.daocloud.io/yihong0618/xiaogpt
Using default tag: latest
Trying to pull repository docker.m.daocloud.io/yihong0618/xiaogpt ...
Pulling repository docker.m.daocloud.io/yihong0618/xiaogpt
Error: image yihong0618/xiaogpt:latest not found
唉，不行

拉取其他镜像正常吗？或者你换个tag

如果加上 --platform linux_amd64 呢？

谢谢楼上各位，我找了一下，真的有http方式下载然后转移的，方法如下：
yum  install skopeo
skopeo  copy docker://docker.io/yihong0618/xiaogpt docker-archive:/home/xiaogpt.tar
docker load -i xiaogpt.tar
docker image tag 6e671cabb047 yihong0618/xiaogpt:latest
现在我的docker正常了，但是总是无法启动。。。。。 提示是小米验证登录失败。。。奇怪。用户名和密码没错，在config文件中都指定了，也干脆 用 -e 参数传给 docker了。
快投降了。。。折腾好久。

Exception on login : {'qs': '%3Fsid%3Dmicoapi%26_json%3Dtrue', 'code': 70016, 'description': '登录验证失败', 'securityStatus': 0, '_sign': '58VY7HzpBxBcLsgTGFWDyJ7fEtw=', 'sid': 'micoapi', 'result': 'error', 'captchaUrl': None, 'callback': 'https://api2.mina.mi.com/sts', 'location': '', 'pwd': 0, 'child': 0, 'desc': '登录验证失败'}
Traceback (most recent call last):
File "/app/.venv/lib/python3.10/site-packages/miservice/miaccount.py", line 69, in login
raise Exception(resp)
Exception: {'qs': '%3Fsid%3Dmicoapi%26_json%3Dtrue', 'code': 70016, 'description': '登录验证失败', 'securityStatus': 0, '_sign': '58VY7HzpBxBcLsgTGFWDyJ7fEtw=', 'sid': 'micoapi', 'result': 'error', 'captchaUrl': None, 'callback': 'https://api2.mina.mi.com/sts', 'location': '', 'pwd': 0, 'child': 0, 'desc': '登录验证失败'}
Exception on login : {'qs': '%3Fsid%3Dmicoapi%26_json%3Dtrue', 'code': 70016, 'description': '登录验证失败', 'securityStatus': 0, '_sign': '58VY7HzpBxBcLsgTGFWDyJ7fEtw=', 'sid': 'micoapi', 'result': 'error', 'captchaUrl': None, 'callback': 'https://api2.mina.mi.com/sts', 'location': '', 'pwd': 0, 'child': 0, 'desc': '登录验证失败'}
Traceback (most recent call last):
File "/app/.venv/lib/python3.10/site-packages/miservice/miaccount.py", line 69, in login
raise Exception(resp)
Exception: {'qs': '%3Fsid%3Dmicoapi%26_json%3Dtrue', 'code': 70016, 'description': '登录验证失败', 'securityStatus': 0, '_sign': '58VY7HzpBxBcLsgTGFWDyJ7fEtw=', 'sid': 'micoapi', 'result': 'error', 'captchaUrl': None, 'callback': 'https://api2.mina.mi.com/sts', 'location': '', 'pwd': 0, 'child': 0, 'desc': '登录验证失败'}
Traceback (most recent call last):
File "/app/xiaogpt.py", line 5, in
main()
File "/app/xiaogpt/cli.py", line 136, in main
loop.run_until_complete(miboy.run_forever())
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/xiaogpt/xiaogpt.py", line 422, in run_forever
await self.init_all_data(session)
File "/app/xiaogpt/xiaogpt.py", line 109, in init_all_data
await self._init_data_hardware()
File "/app/xiaogpt/xiaogpt.py", line 131, in _init_data_hardware
hardware_data = await self.mina_service.device_list()
File "/app/.venv/lib/python3.10/site-packages/miservice/minaservice.py", line 27, in device_list
result = await self.mina_request("/admin/v2/device_list?master=" + str(master))
File "/app/.venv/lib/python3.10/site-packages/miservice/minaservice.py", line 22, in mina_request
return await self.account.mi_request(
File "/app/.venv/lib/python3.10/site-packages/miservice/miaccount.py", line 150, in mi_request
raise Exception(f"Error {url}: {resp}")

可能不能在阿里云或腾讯云和海外服务器运行，会被小米风控

可能不能在阿里云或腾讯云和海外服务器运行，会被小米风控

这是在我家，国内哈

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

你说的是哪个问题，是无法pull镜像，还是无法登陆小米服务器？如果是无法pull镜像，我上面有解决办法。如果是无法登陆小米服务器，你需要看你是否使用了魔法。不使用魔法是无法访问gpt的把？ 魔法设置看config文件的proxy参数。

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

你说的是哪个问题，是无法pull镜像，还是无法登陆小米服务器？如果是无法pull镜像，我上面有解决办法。如果是无法登陆小米服务器，你需要看你是否使用了魔法。不使用魔法是无法访问gpt的把？ 魔法设置看config文件的proxy参数。

谢谢，我问的是无法登录小米服务器的问题。我魔法改在路由器上了，所以没有设置proxy. 我本地直接跑python是可以正常运行的，但是docker部署一直就出现小米服务器登录失败问题....真是奇怪了

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

你说的是哪个问题，是无法pull镜像，还是无法登陆小米服务器？如果是无法pull镜像，我上面有解决办法。如果是无法登陆小米服务器，你需要看你是否使用了魔法。不使用魔法是无法访问gpt的把？ 魔法设置看config文件的proxy参数。

谢谢，我问的是无法登录小米服务器的问题。我魔法改在路由器上了，所以没有设置proxy. 我本地直接跑python是可以正常运行的，但是docker部署一直就出现小米服务器登录失败问题....真是奇怪了

你的docker跑在路由上吗？这样整个镜像也是加了魔法的，那就不行了。

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

你说的是哪个问题，是无法pull镜像，还是无法登陆小米服务器？如果是无法pull镜像，我上面有解决办法。如果是无法登陆小米服务器，你需要看你是否使用了魔法。不使用魔法是无法访问gpt的把？ 魔法设置看config文件的proxy参数。

谢谢，我问的是无法登录小米服务器的问题。我魔法改在路由器上了，所以没有设置proxy. 我本地直接跑python是可以正常运行的，但是docker部署一直就出现小米服务器登录失败问题....真是奇怪了

你的docker跑在路由上吗？这样整个镜像也是加了魔法的，那就不行了。

不在路由，我就在PC本机跑docker. 同一台机器，用python直接运行没问题，部署到本机的docker就一直小米登录失败

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

你说的是哪个问题，是无法pull镜像，还是无法登陆小米服务器？如果是无法pull镜像，我上面有解决办法。如果是无法登陆小米服务器，你需要看你是否使用了魔法。不使用魔法是无法访问gpt的把？ 魔法设置看config文件的proxy参数。

谢谢，我问的是无法登录小米服务器的问题。我魔法改在路由器上了，所以没有设置proxy. 我本地直接跑python是可以正常运行的，但是docker部署一直就出现小米服务器登录失败问题....真是奇怪了

你的docker跑在路由上吗？这样整个镜像也是加了魔法的，那就不行了。

不在路由，我就在PC本机跑docker. 同一台机器，用python直接运行没问题，部署到本机的docker就一直小米登录失败

路由的魔法规则排除小米服务器了吗

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

你说的是哪个问题，是无法pull镜像，还是无法登陆小米服务器？如果是无法pull镜像，我上面有解决办法。如果是无法登陆小米服务器，你需要看你是否使用了魔法。不使用魔法是无法访问gpt的把？ 魔法设置看config文件的proxy参数。

谢谢，我问的是无法登录小米服务器的问题。我魔法改在路由器上了，所以没有设置proxy. 我本地直接跑python是可以正常运行的，但是docker部署一直就出现小米服务器登录失败问题....真是奇怪了

你的docker跑在路由上吗？这样整个镜像也是加了魔法的，那就不行了。

不在路由，我就在PC本机跑docker. 同一台机器，用python直接运行没问题，部署到本机的docker就一直小米登录失败

或者进入exec进入镜像，在镜像里面连接需要魔法的网站，如果能联通，说明你整个镜像都处于魔法状态，需要检查本机及整个网络的魔法设置。

终于搞定了，原因是魔法不能加在整个docker镜像上，会导致无法登陆小米的服务器，魔法要设置在config文件中。

我碰到和你一样的问题，能帮忙说详细一下吗？什么叫魔法设置在config文件里？？？

你说的是哪个问题，是无法pull镜像，还是无法登陆小米服务器？如果是无法pull镜像，我上面有解决办法。如果是无法登陆小米服务器，你需要看你是否使用了魔法。不使用魔法是无法访问gpt的把？ 魔法设置看config文件的proxy参数。

谢谢，我问的是无法登录小米服务器的问题。我魔法改在路由器上了，所以没有设置proxy. 我本地直接跑python是可以正常运行的，但是docker部署一直就出现小米服务器登录失败问题....真是奇怪了

你的docker跑在路由上吗？这样整个镜像也是加了魔法的，那就不行了。

不在路由，我就在PC本机跑docker. 同一台机器，用python直接运行没问题，部署到本机的docker就一直小米登录失败

或者进入exec进入镜像，在镜像里面连接需要魔法的网站，如果能联通，说明你整个镜像都处于魔法状态，需要检查本机及整个网络的魔法设置。

不是魔法问题，我尝试了关闭魔法，但是仍然显示小米服务登陆失败。 另外一个神奇的现象是：我在本机的python 直接运行是成功的，而且就算我把小米账号，密码换成错误密码，再次跑程序仍然能够正常运行？？？难道小米账号服务器缓存了？？

authors: alexgang frostming kenwoodjw terryxuwen yihong0618


text:
请问已经申请了azure 的openai 的api，应该如何使用，求大佬指导

不止代码里面所说的deployment_id 是不是类似这种

和其它 azure 的方式一样，搜索怎么用 azure ChatGPT 就行

"openai_key": "717a569d35cxxxxxxxxx", // azure key   这个配置可以 亲测azure可行
"deployment_id": "xxxx-openai-chat",
"api_base":"https://xxxx-openai-chat.openai.azure.com/"

"openai_key": "717a569d35cxxxxxxxxx", // azure key   这个配置可以 亲测azure可行
"deployment_id": "xxxx-openai-chat",
"api_base":"https://xxxx-openai-chat.openai.azure.com/"

配置好了，但是报错，开的clash，也是7890端口，网络问题应该是解决了，但是一直报秘钥出错，新写的test是可以跑通的

"openai_key": "717a569d35cxxxxxxxxx", // azure key 这个配置可以 亲测azure可行 "deployment_id": "xxxx-openai-chat", "api_base":"https://xxxx-openai-chat.openai.azure.com/"
大佬看看我的问题

不行哎，我用官方的示例可以跑通，我也看了chatgptapi_bot.py的源码，没找出啥问题，运行报错Incorrect API key provided: bbbcb604********************7392. You can find your API key at
https://platform.openai.com/account/api-keys.说明网络应该没问题了，会不会是字符编码问题，您有啥思路没
---原始邮件---
发件人: @.>
发送时间: 2023年10月5日(周四) 上午9:41
收件人: @.>;
抄送: "Guangpeng @.@.>;
主题: Re: [yihong0618/xiaogpt] 请问已经申请了azure 的openai 的api，应该如何使用，求大佬指导 (Issue #320)
@xiaoch669 我把你的截图删了（你截图里暴露账号信息了）
你全局代理试试？按照楼上的回复
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

deployment_id 就是部署名称“xiaomi”

你的邮件我已经收到了，这是一个邮件回执


text:
Problem with level tree after editing or deleting comment

Hi all!
Thanks for your work with Yii2 Comments Extension. It really great!
Now I found one problem with level in comments tree.
I'm using default model and views.
Problem is, when I edited or delete comment with level > 1, after the action level of edited or deleted comment is upping. And it can be more then maxLevel, so with this case comment not showing.
I think, with that actions level should not up. Am i right?
You can see my short screen video, where I displaying a problem http://i.de-v.net/1504869692.webm
My module configuration is:
        'comment' => [
            'class' => 'yii2mod\comments\Module',
            'enableInlineEdit' => true,
            'controllerMap' => [
                'default' => [
                    'class' => 'yii2mod\comments\controllers\DefaultController'
                ]
            ]
        ],

Thanks for you answer!

Hi, I'll check your problem. Thanks for issue

I fixed it, please update this package to dev-master version and check it.


text:
priority to last matched AccessControl rule or use total of all matched rules

in child class we must make merge at end for child rules priority but it's broke other behaviors merge
	public function behaviors() {
		return ArrayHelper::merge([
			'access' => [
				'class' => AccessControl::className(),
				'rules' => [],
			],
		], parent::behaviors());
	}

parent rules can be common like /admin/ access, child can be more specific controller access for users who pass /admin/ access for example
	public function behaviors() {
		return ArrayHelper::merge(parent::behaviors(), [
			'access' => [
				'class' => AccessControl::className(),
				'rules' => [
					[
						'allow' => true,
						'matchCallback' => function() {
							return $is_admin;
                    	}
					],
				],
			],
		]);
	}

	public function behaviors() {
		return ArrayHelper::merge(parent::behaviors(), [
			'access' => [
				'class' => AccessControl::className(),
				'rules' => [
					[
						'allow' => false,
						'controllers' => ['admin/news'],
						'matchCallback' => function($rule, $action) {
                        	return $not_news_admin;
                    	}
					],
				],
			],
		]);
	}

in child class we must make merge at end for child rules priority

why do you need to do this? what about simple array_merge()? I do not really get the use case.

can you show example?

just replace ArrayHelper::merge( with array_merge(, this will not merge content of the behavior configs but will override them. But that may not be what you want.

Yep, i want extend parent behaviors if it need, not replace, so other behaviors need merge at end, AccessControl at beginning and it not extend parent rules :(

hmm... i think i can extend with second AccessControl with another behavior key, so parent and child filter be different and work together


text:
UrlValidator returns false for http://localhost

What steps will reproduce the problem?
use yii\validators\UrlValidator;

// returns false
(new UrlValidator)->validate('http://localhost');

What is the expected result?
true
What do you get instead?
false
Additional info

Q
A

Yii version
2.0.15.1

PHP version
7.4

Operating system
Linux Mint 19.3

See https://github.com/yiisoft/validator/issues/4

authors: germanow samdark


text:
ExistValidator does not work with EachValidator anymore

What steps will reproduce the problem?
Have AR model with:
public $prop = [];

public function rules(): array
{
    return [
        [['prop'], 'each', 'rule' => ['exist', 'targetAttribute' => 'id']],
    ];
}

What is the expected result?
prop validated.
What do you get instead?

Error : Call to undefined method yii\base\DynamicModel::find()

Additional info

Q
A

Yii version
2.0.35 & 2.0.36

PHP version
*

Operating system
*

The reason is introducing DynamicModel in EachValidator in #17944
You can make it work with adding 'targetClass' => static::class in the rule config but I guess there is no easy way to make it work with relations.
I went back to EachValidator from 2.0.34 and tried to find solution for it to work with typed properties without using DynamicModel but without success. The closest was the idea of adding third argument $value to Validator::validateAttribute() (and its children) but this would introduce BC break in all users' custom made validators.

I think that we can at least document it in UPGRADE. @bizley do you have some time to handle it?

Yes. Should it be in the upgrade section from 2.0.34 or from 2.0.36?

Yes.

So which one? :smiley:

from 2.0.34

authors: bizley samdark


text:
[Gii ] [PHP 8.1.9] error when generating model via GII

I tried to generate a model via Gii, an error occurred as shown in the picture, the database structure only has 2 fields, ID (int / AI) , Name (Varchar)

Q
A

Yii version
2.0.46

PHP version
8.1.9

Operating system
Windows 10

Database
Mariadb

Apache
2.4.47

Please check if the pull request https://github.com/yiisoft/yii2/pull/19539 fixes your issue.

sorry sir, still the same problem

wait, after choose Generate ActiveQuery [solved]

Looks like duplicate of https://github.com/yiisoft/yii2-gii/issues/505

Will be fixed in Gii.

authors: atmanegara rob006 samdark


text:
fix rbac issue #9775

Very small fix, change from "empty" to "is_null"

What's the purpose of your fix?

correct check - is_string && !empty

why? please elaborate about the problem, what are you doing and what is not working as you expect?

Here https://github.com/yiisoft/yii2/issues/9775 the user complained that he has the role name === 0 and the function getItem doesn't work. By the way, it won't be work also with any permissions with name === 0.

Ah, I see. 0 is weird role name.
@cebe do you think it should be fixed?

if we want to allow 0 as a role name I am quite sure this is not the only place that needs to be changed. not sure if we should allow it.

Personally I see no point allowing it.

authors: SilverFire cebe korvin0 samdark


text:
[PORTER]quay.io/cephcsi/cephcsi:v3.10.1

为了防止被滥用，目前仅仅支持一次同步一个镜像
Issues 必须带 porter label， 简单来说就是通过模板创建就没问题，别抖机灵自己瞎弄。
标题格式1 [PORTER]镜像名:tag 的格式， 例如[PORTER]k8s.gcr.io/federation-controller-manager-arm64:v1.3.1-beta.1,[PORTER]gcr.io/google-containers/federation-controller-manager-arm64:v1.3.1-beta.1
标题格式2 [PORTER]镜像名@digest 的格式， 例如[PORTER]k8s.gcr.io/federation-controller-manager-arm64@sha256:...,[PORTER]gcr.io/google-containers/federation-controller-manager-arm64@sha256:...
issues的内容无所谓，可以为空
可以参考 已搬运镜像集锦
注意:
>>>>>>>>本项目目前仅支持 gcr.io、k8s.gcr.io、registry.k8s.io、quay.io、ghcr.io 镜像<<<<<<<<

构建进展

转换完成

#原镜像
quay.io/cephcsi/cephcsi:v3.10.1
#转换后镜像
wuyingbo/quay.cephcsi.cephcsi:v3.10.1
#下载并重命名镜像
docker pull wuyingbo/quay.cephcsi.cephcsi:v3.10.1
docker tag  wuyingbo/quay.cephcsi.cephcsi:v3.10.1 quay.io/cephcsi/cephcsi:v3.10.1
docker images | grep $(echo quay.io/cephcsi/cephcsi:v3.10.1 |awk -F':' '{print $1}')


text:
🛑 KeepShare is down

In f52bbf2, KeepShare (https://keepshare.org/gv78k1oi/magnet%3A%3Fxt%3Durn%3Abtih%3AULRHXZU7IHGEIVKIXMRIGSRHSY26K7TF) was down:

HTTP code: 502
Response time: 391 ms

Resolved: KeepShare is back up in 02400c9 after 9 minutes.


text:
🛑 KeepShare is down

In e5206e2, KeepShare (https://keepshare.org/gv78k1oi/magnet%3A%3Fxt%3Durn%3Abtih%3AULRHXZU7IHGEIVKIXMRIGSRHSY26K7TF) was down:

HTTP code: 502
Response time: 491 ms

Resolved: KeepShare is back up in 2111d63 after 8 minutes.


text:
🛑 AleWorld is down

In 7e357d3, AleWorld (https://www.ale.world) was down:

HTTP code: 502
Response time: 443 ms

Resolved: AleWorld is back up in 18201c1.


text:
fix: update welcome email

https://trello.com/c/AALNB6TU/1564-update-copy-on-the-invite-email-template-must

any way you could test it?

We need to deploy it to prod, I think.

authors: ana-yldio peterstarling

repo: yldio/asap-hub


text:
Bug: Substance Painter - Publish Fails on "Collect Texture Set images"

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
When trying to publish texture set via Publisher it fails on collecting Texture set images.
Expected Behavior:
Publish should pass normally without errors.
Version
3.15.11-nightly.4
What platform you are running OpenPype on?
Windows
Steps To Reproduce:

Open any asset workfile with painted asset
Publish Texture Set
Error probably occurs.

Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
DEBUG: Exporting using preset: resource://starter_assets/PBR Metallic Roughness
INFO: Processing testMat/
INFO: Processing $mesh_$textureSet_BaseColor(_$colorSpace)(.$udim)
INFO: Looking for matching profile for: families: "texture" | hosts: "substancepainter" | tasks: "lookdev" | task_types: "Lookdev"
DEBUG: "texture" not found in "families": ['workfile']
DEBUG: "texture" not found in "families": ['render']
DEBUG: "texture" not found in "families": ['renderLayer', 'renderPass']
DEBUG: "texture" not found in "families": ['review', 'workfile']
DEBUG: "texture" not found in "families": ['render']
DEBUG: "texture" not found in "families": ['staticMesh']
DEBUG: "texture" not found in "families": ['skeletalMesh']
INFO: Profile selected: {'families': [], 'hosts': [], 'task_types': [], 'tasks': [], 'template': '{family}{variant}'}
Traceback (most recent call last):
  File "D:\REPO\OpenPype\.venv\lib\site-packages\pyblish\plugin.py", line 522, in __explicit_process
    runner(*args)
  File "D:\REPO\OpenPype\openpype\hosts\substancepainter\plugins\publish\collect_textureset_images.py", line 43, in process
    self.create_image_instance(instance, template, outputs,
  File "D:\REPO\OpenPype\openpype\hosts\substancepainter\plugins\publish\collect_textureset_images.py", line 117, in create_image_instance
    image_instance.data.update(copy.deepcopy(instance.data))
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 270, in _reconstruct
    state = deepcopy(state, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 230, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 270, in _reconstruct
    state = deepcopy(state, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 230, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 270, in _reconstruct
    state = deepcopy(state, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 230, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 296, in _reconstruct
    value = deepcopy(value, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 270, in _reconstruct
    state = deepcopy(state, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 230, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 270, in _reconstruct
    state = deepcopy(state, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 230, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\lib\copy.py", line 161, in deepcopy
    rv = reductor(4)
TypeError: cannot pickle 'PySide2.QtWidgets.QMenu' object

No response
Additional context:
No response
[cuID:OP-6231]

Thanks for the report.
I wonder what is adding a QMenu into the instance's data. I guess deepcopying becomes out of the question then.

authors: BigRoy LiborBatek

repo: ynput/OpenPype


text:
notification: initial proposal

The notification module is used to notify users something from some events(local + cloud).

Implemented both on YodaOSv7 and YodaOSv8.

authors: legendecas yorkie

repo: yodaos-project/yodart


text:
WHAM version conflicts with DPVO

When I run WHAM, it reminds me I haven't installed DPVO properly, then I try to install DPVO following the tutorial: https://github.com/princeton-vl/DPVO/tree/58338357611e7cf3563ed90f82168da7f8741d24  But, I found after I installed DPVO, the conda environment of WHAM changed, and I cannot run WHAM anymore, any suggestion?  I also found DPVO is using python 3.10, and WHAM is using python 3.9, is there any conflict here?

Currently, I have this error:
2024-06-15 21:10:17.769 | INFO     | main::209 - GPU name -> NVIDIA GeForce RTX 3080 Ti Laptop GPU
2024-06-15 21:10:17.769 | INFO     | main::210 - GPU feat -> CudaDeviceProperties(name='NVIDIA GeForce RTX 3080 Ti Laptop GPU', major=8, minor=6, total_memory=16125MB, multi_processor_count=58)
2024-06-15 21:10:18.809 | INFO     | lib.models:build_network:36 - => loaded checkpoint 'checkpoints/wham_vit_bedlam_w_3dpw.pth.tar'
load checkpoint from local path: /home/hanlin/WHAM/checkpoints/vitpose-h-multi-coco.pth
Load backbone weight: /home/hanlin/WHAM/checkpoints/hmr2a.ckpt
Traceback (most recent call last):
File "/home/hanlin/WHAM/demo.py", line 224, in
run(cfg,
File "/home/hanlin/WHAM/demo.py", line 65, in run
detector.track(img, fps, length)
File "/home/hanlin/WHAM/lib/models/preproc/detector.py", line 82, in track
bboxes = self.bbox_model.predict(
File "/home/hanlin/anaconda3/envs/wham/lib/python3.9/site-packages/ultralytics/engine/model.py", line 446, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/home/hanlin/anaconda3/envs/wham/lib/python3.9/site-packages/ultralytics/engine/predictor.py", line 303, in setup_model
self.model = AutoBackend(
File "/home/hanlin/anaconda3/envs/wham/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/hanlin/anaconda3/envs/wham/lib/python3.9/site-packages/ultralytics/nn/autobackend.py", line 144, in init
model = model.fuse(verbose=verbose)
File "/home/hanlin/anaconda3/envs/wham/lib/python3.9/site-packages/ultralytics/nn/tasks.py", line 184, in fuse
m.conv = fuse_conv_and_bn(m.conv, m.bn)  # update conv
File "/home/hanlin/anaconda3/envs/wham/lib/python3.9/site-packages/ultralytics/utils/torch_utils.py", line 205, in fuse_conv_and_bn
fusedconv.weight.copy(torch.mm(w_bn, w_conv).view(fusedconv.weight.shape))
RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)
I am using cuda 11.3, cudnn 8.2

runing unset LD_LIBRARY_PATH may be helpful

And how you solve the version conflicts? First install DPVO, and then modify the environments of WHAM?

How to solve the following code in the process of installation, thank you
Processing /content/WHAM/third-party/DPVO
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
/content/WHAM

authors: ChrisChenYh SoCool668 hanlinniu

repo: yohanshin/WHAM


text:
커밋 메일 내용이 확인 안돼요

안녕하세요. 궁금한 점이 있어서 문의 드립니다.
기존에는 커밋 메세지가 아래 같이 보였던 것 같은데요.
생각 없이 좀 지나서 확인해보니
New CommitsBranchesrefs/heads/Develop
의 형태로만 메일 내용이 보이고, 커밋 메세지가 안보이기 시작했습니다..
메일 내용의 HTML 소스코드 보기로 확인 하니, 몇몇 엘리먼트의 "" 닫기 문제라던지,
로 인하여, 뒤에 엘리먼트가 먹혀서(?) 표시가 안되는 것 같은데요.
구글 SMTP 를 사용하고 있습니다.
저도 소스코드로 살펴보고는 있는데, 현재 상황에서 문제가 어디인지는 아직 발견하지는 못했습니다..
한번 같이 공유해보고자 문의 드립니다 :)

다음 릴리즈에서 해결될 예정입니다.
https://repo.yona.io 에서 테스트 가능하시다면 한 번 부탁드릴게요.

v1.7에서 해결되었습니다. 업그레이드 후 동일 문제가 발생하면 알려주세요.

감사합니다 :+1:
확인해보고 답글 달도록 하겠습니다!

Failed to send a notification: models.NotificationMail$EventEmail@5aed1119 java.lang.UnsupportedOperationException         at models.resource.GlobalResource.getProject(GlobalResource.java:28)         at models.NotificationMail.getHtmlMessage(NotificationMail.java:615)         at models.NotificationMail.sendMail(NotificationMail.java:549)         at models.NotificationMail.sendNotification(NotificationMail.java:418)         at models.NotificationMail.access$100(NotificationMail.java:57)         at models.NotificationMail$1.sendMail(NotificationMail.java:149)         at models.NotificationMail$1.run(NotificationMail.java:112)         at akka.actor.LightArrayRevolverScheduler$$anon$2$$anon$1.run(Scheduler.scala:242)         at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)         at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)         at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)         at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)         at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)         at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
위와 같이 에러가 발생하며, 커밋 메세지 메일이 전송 되지 않습니다.
설정의 이메일 전송 기능으로, 메일을 전송하는 기능은 정상적으로 동작을 하네요..

@woobong
v1.8 에서 해당 부분 및 관련 부분들의 코드가 수정되었습니다.
테스트 한 번 부탁드려도 될까요?
https://repo.yona.io 도 v1.8.0으로 업그레이드 해 놓았습니다.

v1.8.1에도 동일 문제 발생시 다시 열어주세요.

authors: doortts woobong

repo: yona-projects/yona


text:
implement pathToIndex, indexToPath

What this PR does / why we need it?
Any background context you want to provide?
What are the relevant tickets?

Fixes #
Checklist

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

close this PR because of without going through index, path and treePos are interchangeable

repo: yorkie-team/yorkie-js-sdk


text:
Update docs for CodePair setup

What this PR does / why we need it?
This PR modifies the documentation to update the environment variable name from VITE_APP_YORKIE_RPC_ADDR to VITE_YORKIE_API_ADDR and reference the README for CodePair setup.
Any background context you want to provide?
What are the relevant tickets?

Fixes #
Checklist

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

Summary by CodeRabbit

Documentation

Updated setup instructions for the CodePair repository, emphasizing navigation to the frontend folder.
Clarified naming convention by changing VITE_APP_YORKIE_RPC_ADDR to VITE_YORKIE_API_ADDR.
Streamlined setup process by consolidating command instructions to refer to the README for further guidance.

@hackerwins @krapie
How about changing the example in the documentation from CodePair to other example?
CodePair involves more steps, like setting up a GitHub OAuth key and running a backend server, which makes it too complicated for testing the Yorkie cluster.

authors: devleejb xet-a


text:
remove default ._update

Every component should expose a ._update() method, and it's easy to miss if you say implement .update() by mistake.

Ya fair enough

authors: juliangruber yoshuawuyts

repo: yoshuawuyts/nanocomponent


text:
Fix bug add to structs

@yosida95 this PR fixes a bug in my previous commit. I prematurely implemented a change... "jenkins instead of Jenkins" that I will propose in a later PR. The additional changes are to add more to the existing build structs. Specifically, to allow you to inspect a build and when it is an upstream triggered build, get the relevant upstream information.

I reverted your previous PR #23 , so please do git rebase onto my master and meld all relative commits into single commit with suitable message?

Rebased on the upstream master!

Closing this, replaced with #26


text:
list(list(float64)<iv=None>)<iv=None> cannot be represented as a Numpy dtype

023-10-24 09:48:59.912303: I tensorflow/core/platform/profile_utils/cpu_utils.cc:114] CPU Frequency: 1697970000 Hz
predict ./assets/examples/single_view_image
0%|                                                                                | 0/1 [00:07<?, ?it/s]
Traceback (most recent call last):
File "/home/ty/0_server_code/li/01.3dface/demo.py", line 78, in
run_hrn(args)
File "/home/ty/0_server_code/li/01.3dface/demo.py", line 26, in run_hrn
output = reconstructor.predict(img, visualize=True, save_name=save_name, out_dir=out_dir)
File "/home/ty/0_server_code/li/01.3dface/models/hrn.py", line 243, in predict
output = self.predict_base(img)
File "/home/ty/0_server_code/li/01.3dface/models/hrn.py", line 153, in predict_base
landmarks = self.prepare_data(img, self.lm_sess, five_points=landmarks)
File "/home/ty/0_server_code/li/01.3dface/models/hrn.py", line 98, in prepare_data
landmark = lm_sess.get_landmarks_from_image(input_img)[0]
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/face_alignment/api.py", line 120, in get_landmarks_from_image
detected_faces = self.face_detector.detect_from_image(image.copy())
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/face_alignment/detection/sfd/sfd_detector.py", line 44, in detect_from_image
bboxlist = detect(self.face_detector, image, device=self.device)[0]
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/face_alignment/detection/sfd/detect.py", line 19, in detect
return batch_detect(net, img, device)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/face_alignment/detection/sfd/detect.py", line 45, in batch_detect
bboxlists = get_predictions(List(olist), batch_size)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/dispatcher.py", line 501, in _compile_for_args
raise e
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/dispatcher.py", line 434, in _compile_for_args
return_val = self.compile(tuple(argtypes))
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/dispatcher.py", line 979, in compile
cres = self._compiler.compile(args, return_type)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/dispatcher.py", line 141, in compile
status, retval = self._compile_cached(args, return_type)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/dispatcher.py", line 155, in _compile_cached
retval = self._compile_core(args, return_type)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/dispatcher.py", line 168, in _compile_core
cres = compiler.compile_extra(self.targetdescr.typing_context,
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler.py", line 686, in compile_extra
return pipeline.compile_extra(func)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler.py", line 428, in compile_extra
return self._compile_bytecode()
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler.py", line 492, in _compile_bytecode
return self._compile_core()
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler.py", line 471, in _compile_core
raise e
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler.py", line 462, in _compile_core
pm.run(self.state)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler_machinery.py", line 343, in run
raise patched_exception
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler_machinery.py", line 334, in run
self._runPass(idx, pass_inst, state)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
return func(*args, **kwargs)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler_machinery.py", line 289, in _runPass
mutated |= check(pss.run_pass, internal_state)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/compiler_machinery.py", line 262, in check
mangled = func(compiler_state)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/typed_passes.py", line 398, in run_pass
lower.create_cpython_wrapper(flags.release_gil)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/lowering.py", line 247, in create_cpython_wrapper
self.context.create_cpython_wrapper(self.library, self.fndesc,
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/cpu.py", line 183, in create_cpython_wrapper
builder.build()
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/callwrapper.py", line 123, in build
self.build_wrapper(api, builder, closure, args, kws)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/callwrapper.py", line 188, in build_wrapper
obj = api.from_native_return(retty, retval, env_manager)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/pythonapi.py", line 1402, in from_native_return
out = self.from_native_value(typ, val, env_manager)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/pythonapi.py", line 1416, in from_native_value
return impl(typ, val, c)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/core/boxing.py", line 399, in box_array
np_dtype = numpy_support.as_dtype(typ.dtype)
File "/home/ty/1_server_software/anaconda3/envs/3dface/lib/python3.9/site-packages/numba/np/numpy_support.py", line 156, in as_dtype
raise NotImplementedError("%r cannot be represented as a Numpy dtype"
NotImplementedError: Failed in nopython mode pipeline (step: native lowering)
list(list(float64)<iv=None>)<iv=None> cannot be represented as a Numpy dtype

Maybe numba's version is not right

Hi, you can try to change the versions of numba or numpy. FYI, I am using numba==0.53.1, numpy==1.18.5.

authors: liyanallen youngLBW

repo: youngLBW/HRN


text:
callerid: Move test suite out of the "callerid" package.

@guokeno0
Before this change, importing the "callerid" package resulted into
including the Go "testing" package as well because the testsuite uses
it.
One of the biggest downsides of an included "testing" package is that
all our binaries (which include "callerid") will also show the test.*
flags from the "testing" package in the usage output.
By moving the testsuite into a separate package, the dependency chain is
broken up and the usage output is cleaner now.
Note that I had to move the "callerid_test.go" into the new package as
well to avoid a cyclic dependency (callerid -> testsuite -> callerid).

LGTM

repo: youtube/vitess


text:
Ceph1

Implemented backup storage for Ceph (which is very much similar to Amazon S3).

This change is

I checked that your email address is approved under the Flipkart CLA, but the bot is still getting confused. I think it may be the quotes in your Author info. Those shouldn't be necessary.
You can compare in git log:
commit 31f60bc49dee0b562d1c5f5be56ee75072997621
Author: “raunak-agarwal-flipkart” <“raunak.agarwal@flipkart.com”>
Date:   Fri Apr 8 19:44:09 2016 +0530

    cephStorage

versus an example of mine:
commit de503edfc83a94d88d7cbf82bff330081ce81318
Author: Anthony Yeh <enisoc@google.com>
Date:   Thu Apr 7 18:52:37 2016 -0700

    jdbc: Fix VitessConnectionTest

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, 9 unresolved discussions, some commit checks failed.

examples/local/config.json, line 1 [r1] (raw file):
Can you rename this to ceph_backup_config.json so the purpose is clearer?

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 22 [r1] (raw file):
It seems like you're not really using this flag, since the bucket name gets overwritten by the config file.
I suggest to replace this flag with:
configFilePath = flag.String("ceph_backup_storage_config", "", "Path to JSON config file for ceph backup storage")

If you still need to keep bucket as a package-local variable, even though it's coming from the config file, you can make it a regular string instead of a flag:
var (
  configFilePath = flag.String(...)
  bucket string
)

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 66 [r1] (raw file):
This looks like a debug statement that should be removed.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 173 [r1] (raw file):
Does this actually work to remove objects recursively?

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 186 [r1] (raw file):
This comment can be removed since there's no call to client.Close() at all.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 199 [r1] (raw file):
As noted above, I suggest to create a -ceph_backup_storage_config flag, so this can turn into os.Open(*configFilePath).

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 202 [r1] (raw file):
After checking for error on Open(), it is typical to do:
defer configfile.Close()

This ensures the file will be closed regardless of which return path is eventually taken. Note that the json decoder doesn't close the file for you.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 205 [r1] (raw file):
typo: "parsing"
Usually we just let the err convert automatically to string when using it with the %v formatter, like this:
fmt.Errorf("... %v", err)

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 208 [r1] (raw file):
All the above parts that read the config file should be inside this if bs._client == nil { block, right?

Comments from Reviewable

Review status: all files reviewed at latest revision, 9 unresolved discussions, some commit checks failed.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 173 [r1] (raw file):
It is not able to delete objects recursively and I am talking to Minio guys for the same. Need to check more on this part.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 208 [r1] (raw file):
Need some more clarity, will look again in this part and do the changes.

Comments from Reviewable

Review status: all files reviewed at latest revision, 9 unresolved discussions, some commit checks failed.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 173 [r1] (raw file):
In the GCS plugin, we also need to implement recursive delete manually:
https://github.com/youtube/vitess/blob/master/go/vt/mysqlctl/gcsbackupstorage/gcs.go#L164

Comments from Reviewable

It looks like the minio client library your using can also work for S3. Can we rename the plugin from "ceph" to "minio" so it's more clear that this isn't only for ceph?

Hi Anthony
Minio client library can be used for S3 as well but S3 provides its own
S3-Go client. I believe using S3's Go client should be preferred to
interact with S3.
Ideally, S3's client should have been used as it provides the base
standards but due to authentication issues, I had to Minio-Go client to
interact with Ceph.
I was having trouble with deleting objects, will need to make some code
changes on my end for that. Once deletion functionality is complete, I'll
commit the code and then further look into S3 integration with both
Minio-Go and S3-Go clients.
~ Thanks and Regards
Raunak Kumar Agarwal
Ph. 9980125313
On Wed, Apr 13, 2016 at 4:37 AM, Anthony Yeh notifications@github.com
wrote:

It looks like the minio client library your using can also work for S3.
Can we rename the plugin from "ceph" to "minio" so it's more clear that
this isn't only for ceph?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/youtube/vitess/pull/1629#issuecomment-209143097

I see. That makes sense then. Thanks!

Review status: 4 of 7 files reviewed at latest revision, 9 unresolved discussions, some commit checks failed.

examples/local/ceph_backup_config.json, line 1 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/d88f6c49fcd8a32faf6dd66fc9f5105e44ff7649
https://github.com/youtube/vitess/blob/ceph1/go/vt/mysqlctl/cephbackupstorage/ceph.go#L25

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 22 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/7190584172d97638505710425986d40797aa7324

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 66 [r1] (raw file):
Done. Removed the mentioned statement.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 173 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/93dd8db97fbb06170bd67e218fa73c9d51622adc

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 186 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/d88f6c49fcd8a32faf6dd66fc9f5105e44ff7649

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 199 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/7190584172d97638505710425986d40797aa7324

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 202 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/d88f6c49fcd8a32faf6dd66fc9f5105e44ff7649

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 205 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/d88f6c49fcd8a32faf6dd66fc9f5105e44ff7649

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 208 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/d88f6c49fcd8a32faf6dd66fc9f5105e44ff7649

Comments from Reviewable

Reviewed 3 of 4 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 8 unresolved discussions.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 22 [r1] (raw file):
It looks like you're still not using bucket as a flag, since the value given on the command line is ignored and populated from the config file. I suggest replacing this with a simple package-local string variable rather than a flag:
var (
  configfilePath = ...
  bucket string
)

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 25 [r3] (raw file):
Flags are in a single global namespace, so by convention we use prefixes to indicate which package defines the flag. In this case, since the flag is defined in package cephbackupstorage, it should be named ceph_backup_storage_config by convention.
Also the flag description "take backup configuration for backup" sounds confusing to me. I suggest something like "Path to JSON config file for ceph backup storage".

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 181 [r3] (raw file):
Please add defer close(doneCh) after this line to make sure cleanup happens if we return with an error before completing the range loop.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 189 [r3] (raw file):
Usually we just loop over values rather than indexes, like this:
for _, obj := range arr {

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 191 [r3] (raw file):
I don't think it's a good idea to remove all objects concurrently. There can be hundreds of objects in a backup, and we don't want to flood the API all at once. Removing a backup is usually not a time-critical operation, so I don't think it needs to be optimized yet.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 195 [r3] (raw file):
We shouldn't use log.Fatal*() because it will crash the whole process just because a single operation failed. If you still want to keep this concurrent despite my comment above, the usual way to handle errors inside the goroutine is with concurrency.AllErrorRecorder. You can see a code example that uses it here:
https://github.com/youtube/vitess/blob/ee59df6568f2133151b3d40e022ced25428a4434/go/vt/discovery/healthcheck_wait.go#L66
With that said, I still prefer to make this not concurrent, unless you have a good reason it needs to be.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 223 [r3] (raw file):
This defer statement needs to go after the following if err != nil {} block. If the file failed to open, we should not call Close() on it.

go/vt/vtctl/backup.go, line 49 [r3] (raw file):
The defer should be moved up one line, directly after the err != nil block from GetBackupStorage.

Comments from Reviewable

Review status: 5 of 7 files reviewed at latest revision, 8 unresolved discussions.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 22 [r1] (raw file):
Done.
https://github.com/youtube/vitess/commit/3c53dc9d02e02429070855c9e52fbd5b6bb26aa6

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 25 [r3] (raw file):
Done.
https://github.com/youtube/vitess/commit/3c53dc9d02e02429070855c9e52fbd5b6bb26aa6

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 181 [r3] (raw file):
Done.https://github.com/youtube/vitess/commit/3c53dc9d02e02429070855c9e52fbd5b6bb26aa6

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 189 [r3] (raw file):
Done.
https://github.com/youtube/vitess/commit/3c53dc9d02e02429070855c9e52fbd5b6bb26aa6

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 191 [r3] (raw file):
Done.
https://github.com/youtube/vitess/commit/3c53dc9d02e02429070855c9e52fbd5b6bb26aa6

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 223 [r3] (raw file):
Done.
https://github.com/youtube/vitess/commit/3c53dc9d02e02429070855c9e52fbd5b6bb26aa6

go/vt/vtctl/backup.go, line 49 [r3] (raw file):
Done.
https://github.com/youtube/vitess/commit/3c53dc9d02e02429070855c9e52fbd5b6bb26aa6

Comments from Reviewable

Reviewed 2 of 2 files at r4.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

go/vt/mysqlctl/cephbackupstorage/ceph.go, line 25 [r3] (raw file):
Sorry I meant the flag string should be changed, not the variable name. Variables in Go don't conventionally use underscores.
Here's what I'm suggesting:
configFilePath = flag.String("ceph_backup_storage_config", "ceph_backup_config.json", "Path to JSON config file for ceph backup storage")

Comments from Reviewable

Reviewed 1 of 1 files at r5.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

authors: enisoc raunak-agarwal-flipkart


text:
Clean up docs.

I did a quick pass over docs reachable from vitess.io to remove or update anything that was obviously outdated.

@alainjobart

LGTM

authors: alainjobart enisoc


text:
Stream videos directly to mpv without slow ffmpeg (e.g. using native or aria2c)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hi, I want to stream youtube videos directly to mpv. Until now, I have just been using mpv's builtin support for yt-dlp, but the download speeds are very slow compared to --downloader aria2c or native. Therefore, I tried the naive
yt-dlp "$VIDEOLINK" -o - --downloader native | mpv -

and the video works perfectly (and downloads much faster), but there is no audio. Is this on purpose? The man page said something about only ffmpeg supporting multiple output streams (probably video and audio). But ffmpeg had the slow download speeds, so I am trying to avoid it for this purpose. Any help would be appreciated! Thanks!
Provide verbose output that clearly demonstrates the problem

[x] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[x] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[file] Reading from stdin...
[debug] Command-line config: ['https://www.youtube.com/watch?v=AaUl8VJ2dAc', '-o', '-', '-vU']
[debug] User config "/home/fritz/.config/yt-dlp/config": ['--downloader', 'native', '--downloader', 'dash,m3u8:aria2c', '--format', 'bestvideo[height<=?1080]+bestaudio/best', '--restrict-filenames']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] API
[debug] Python 3.10.8 (CPython 64bit) - Linux-6.0.2-arch1-1-x86_64-with-glibc2.36 (glibc 2.36)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2
[debug] Optional libraries: Cryptodome-3.12.0, brotlicffi-1.0.9.2, certifi-2022.09.24, mutagen-1.46.0, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=AaUl8VJ2dAc
[youtube] AaUl8VJ2dAc: Downloading webpage
[youtube] AaUl8VJ2dAc: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] AaUl8VJ2dAc: Downloading 1 format(s): 248+251
WARNING: You have requested downloading multiple formats to stdout using a downloader other than ffmpeg. The formats will be streamed one after the other
[debug] Invoking http downloader on "https://rr2---sn-hoxu-h0jz.googlevideo.com/videoplayback?expire=1666969295&ei=b5pbY8LcJtOFgAeolquYAg&ip=212.204.102.90&id=o-ANm0DDptGUO-o0EzLFk1nMnh1DayzwePqAv_LCb-IJe9&itag=248&source=youtube&requiressl=yes&mh=97&mm=31%2C29&mn=sn-hoxu-h0jz%2Csn-h0jeener&ms=au%2Crdu&mv=m&mvi=2&pl=19&pcm2=no&gcr=de&initcwndbps=1881250&spc=yR2vp2qqq1uhIGb4TdHDguFA11noDxg&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=71678816&dur=271.320&lmt=1666909189526236&mt=1666947199&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=6319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgcTWhfHd_6dnmn5SwxvOcBGax1q7kpJoNqd_RX1gnoNoCID_mmOum-rs8HmrB7zxDLrWDEHRmfrwa_v4BMhVvB2r8&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgDUiSFoOwLztBfRafRRgXwT3tsb2wvcPo48ESJXyIWgUCIQCFq6PVVRvD8zFuVv2yweECDMFP73UkxlL7vjghbCBFKg%3D%3D"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: -
[download]   0.1% of   68.36MiB at   13.00MiB/s ETA 00:05 (+) Video --vid=1 (*) (vp9 1920x1080 25.000fps)
[download]   2.9% of   68.36MiB at   18.84MiB/s ETA 00:03VO: [gpu] 1920x1080 yuv420p
[download] 100% of   68.36MiB in 00:00:01 at 55.64MiB/s
[debug] Invoking http downloader on "https://rr2---sn-hoxu-h0jz.googlevideo.com/videoplayback?expire=1666969295&ei=b5pbY8LcJtOFgAeolquYAg&ip=212.204.102.90&id=o-ANm0DDptGUO-o0EzLFk1nMnh1DayzwePqAv_LCb-IJe9&itag=251&source=youtube&requiressl=yes&mh=97&mm=31%2C29&mn=sn-hoxu-h0jz%2Csn-h0jeener&ms=au%2Crdu&mv=m&mvi=2&pl=19&pcm2=no&gcr=de&initcwndbps=1881250&spc=yR2vp2qqq1uhIGb4TdHDguFA11noDxg&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=4003199&dur=271.341&lmt=1666909234012544&mt=1666947199&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=6318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgU3MPZeolHrCDOEdqjOm4xEiDtJBroZT4V3HOcCTC_58CICJkuRmeRn50QrrYlQg5IHQiDf-Si-MaG1plUloYhnIA&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgDUiSFoOwLztBfRafRRgXwT3tsb2wvcPo48ESJXyIWgUCIQCFq6PVVRvD8zFuVv2yweECDMFP73UkxlL7vjghbCBFKg%3D%3D"
[download] Destination: -
V: 00:00:06 / 00:04:31 (2%) Cache: 265s/69MB

Exiting... (Quit)

Read the warning again on log:

You have requested downloading multiple formats to stdout using a downloader other than ffmpeg. The formats will be streamed one after the other

So far, it's streaming a video-only format and an audio-only format, in this order, because you refused ffmpeg.
Download the full video and play it. That's the "easiest" solution.

Ok, I thought there might be another way, that's why I asked. -f best sometimes only gives me 720p instead of 1080p, so that's not really an option. I guess I'll have to stick to ffmpeg for now then.

There are a few reasons why such a feature is not available:

We dont currently have the framework to download audio and video in parallel.
aria2c does not allow downloading to stdout afaik
Even if these issues were to be solved, we cannot mux the video+audio without ffmpeg. Implementing this is beyond our scope

authors: Lesmiscore fritzrehde pukkandan

repo: yt-dlp/yt-dlp

license: Unlicense


text:
[Site support request] PeerTube instance videos.lukesmith.xyz

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[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
[ ] I've read about sharing account credentials and am willing to share it if required

Region
Europe
Example URLs
https://videos.lukesmith.xyz/
Provide a description that is worded well enough to be understood
Hi,
When I try to download the latest videos from https://videos.lukesmith.xyz/, yt-dlp doesn't recognize it as a PeerTube instance:
>yt-dlp -vU --playlist-end 6 https://videos.lukesmith.xyz/
[debug] Command-line config: ['-vU', '--playlist-end', '6', 'https://videos.lukesmith.xyz/']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2022-02-10-git-b6bb6b9f22-full_build-www.gyan.dev (setts), ffprobe 2022-02-10-git-b6bb6b9f22-full_build-www.gyan.dev, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.11.16 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.11.16 from yt-dlp/yt-dlp)
[generic] Extracting URL: https://videos.lukesmith.xyz/
[generic] videos.lukesmith: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] videos.lukesmith: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://videos.lukesmith.xyz/
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1567, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1702, in __extract_info
  File "yt_dlp\extractor\common.py", line 715, in extract
  File "yt_dlp\extractor\generic.py", line 2578, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://videos.lukesmith.xyz/

However, if I try to download a specific video, then it works:
>yt-dlp -vU https://videos.lukesmith.xyz/w/cH3qvjkd4mZEJaRhdPQRtj
[debug] Command-line config: ['-vU', 'https://videos.lukesmith.xyz/w/cH3qvjkd4mZEJaRhdPQRtj']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2022-02-10-git-b6bb6b9f22-full_build-www.gyan.dev (setts), ffprobe 2022-02-10-git-b6bb6b9f22-full_build-www.gyan.dev, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.11.16 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.11.16 from yt-dlp/yt-dlp)
[generic] Extracting URL: https://videos.lukesmith.xyz/w/cH3qvjkd4mZEJaRhdPQRtj
[generic] cH3qvjkd4mZEJaRhdPQRtj: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] cH3qvjkd4mZEJaRhdPQRtj: Extracting information
[debug] Looking for embeds
[debug] Identified a PeerTube embed
[PeerTube] Extracting URL: peertube:videos.lukesmith.xyz:cH3qvjkd4mZEJaRhdPQRtj
[PeerTube] cH3qvjkd4mZEJaRhdPQRtj: Downloading video JSON
[PeerTube] cH3qvjkd4mZEJaRhdPQRtj: Downloading description JSON
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] cH3qvjkd4mZEJaRhdPQRtj: Downloading 1 format(s): 1080p-1
[debug] Invoking http downloader on "https://videos.lukesmith.xyz/static/streaming-playlists/hls/5ecf8343-cd24-4470-a048-f33741514e84/f37eea46-a41d-4296-8e97-944354a7d607-1080-fragmented.mp4"
[download] Resuming download at byte 523264
[debug] File locking is not supported. Proceeding without locking
[download] Destination: ＂How Do I Get a Good Tech Job？＂ [cH3qvjkd4mZEJaRhdPQRtj].mp4
[download]   0.3% of  345.44MiB at  751.32KiB/s ETA 07:49

It looks like when downloading a specific video, after trying the generic extractor, yt-dlp recognizes it as a PeerTube instance, and then switches to the proper extractor.
Could you please add Luke Smith's PeerTube instance, so it can be always properly detected?
Let me know if I can help to debug this somehow.
Thanks.
Provide verbose output that clearly demonstrates the problem

[X] 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
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
I've posted them in the first message.

I believe this URL is not being picked as a PeerTube playlist because it doesn't match the extractor URL pattern for a valid PeerTube Playlist:
    _TYPES = {
        'a': 'accounts',
        'c': 'video-channels',
        'w/p': 'video-playlists',
    }
    _VALID_URL = r'''(?x)
                        https?://(?P<host>%s)/(?P<type>(?:%s))/
                    (?P<id>[^/]+)
                    ''' % (PeerTubeIE._INSTANCES_RE, '|'.join(_TYPES.keys()))`

Using your URL as an example, valid PeerTube playlists would be URLs similar to this:
https://videos.lukesmith.xyz/a/...
https://videos.lukesmith.xyz/c/...
https://videos.lukesmith.xyz/w/p/...

untested workaround (once that gets added to to the instance list): https://videos.lukesmith.xyz/c/luke_channel/videos


text:
Chaturbate no longer downloads

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

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

Region
United States (East)
Provide a description that is worded well enough to be understood
ERROR: [Chaturbate] : Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
I get that on every page
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://chaturbate.com/<username>/']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.03.31.232706 from yt-dlp/yt-dlp-nightly-builds [86e3b8226] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.1-essentials_build-www.gyan.dev (setts), ffprobe 6.1-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1807 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.03.31.232706 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.03.31.232706 from yt-dlp/yt-dlp-nightly-builds)
[Chaturbate] Extracting URL: https://chaturbate.com/<username>/
[Chaturbate] <username>: Downloading webpage
ERROR: [Chaturbate] <username>: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "yt_dlp\extractor\common.py", line 734, in extract
  File "yt_dlp\extractor\chaturbate.py", line 39, in _real_extract
  File "yt_dlp\extractor\common.py", line 1176, in _download_webpage
  File "yt_dlp\extractor\common.py", line 1127, in download_content
  File "yt_dlp\extractor\common.py", line 954, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 903, in _request_webpage

  File "yt_dlp\extractor\common.py", line 890, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4131, in urlopen
  File "yt_dlp\networking\common.py", line 115, in send
  File "yt_dlp\networking\_helper.py", line 204, in wrapper
  File "yt_dlp\networking\common.py", line 335, in send
  File "yt_dlp\networking\_requests.py", line 350, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden

Wanted to add the script here works https://sleazyfork.org/en/scripts/441079-chaturbate-enhancer

Duplicate of #6546


text:
Add Spectrum Adobe MSO - Credit to Kevinoconnor7

Added Spectrum AP-mso, credit to Kevinoconnor7:
https://github.com/ytdl-org/youtube-dl/pull/26792
Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Spectrum Seems to have updated their AP-MSO, as it's been broken for quite sometime now.  Thanks to Kevinoconnor7's PR over at ytdl-org, this fixes the issue and once again allows users to login via their Spectrum account.

Since I have no way of testing this myself, please confirm that this has been tested to work

Since I have no way of testing this myself, please confirm that this has been tested to work
Edit: and fix the linter

I can PM you a login if you want, as you're way more experienced with YT-DLP than I.  Just let me know, and I'll send em over to whatever email you want.
I'll also post some of my own logs, of it working.

✦ ❯ yt-dlp --verbose --simulate https://www.usanetwork.com/law-and-order-special-victims-unit/video/guardians-and-gladiators/4261777                                [debug] User config file: /root/yt-dlp.conf
[debug] User config: ['--ap-mso', 'Spectrum', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '-N50', '-f', 'bv+ba/b', '--downloader-args', 'aria2c:-x 16 -s 16 -j 16 -k 5M']
[debug] Command-line config: ['--verbose', '--simulate', 'https://www.usanetwork.com/law-and-order-special-victims-unit/video/guardians-and-gladiators/4261777']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] yt-dlp version 2021.06.23 (zip)
[debug] Plugin Extractors: ['SamplePlugin']
[debug] Python version 3.9.2 (CPython 64bit) - Linux-5.10.0-kali9-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.2-0, ffprobe 4.3.2-0, phantomjs 1.9.7, rtmpdump 2.4
[debug] Proxy map: {}
[debug] [USANetwork] Extracting URL: https://www.usanetwork.com/law-and-order-special-victims-unit/video/guardians-and-gladiators/4261777
[USANetwork] 4261777: Downloading JSON metadata
[USANetwork] 4261777: Downloading JSON metadata
[USANetwork] 4261777: Downloading Provider Redirect Page
[USANetwork] 4261777: Downloading Provider Login Page
[USANetwork] 4261777: Downloading SAML Response
[USANetwork] 4261777: Confirming Login
[USANetwork] 4261777: Retrieving Session
[USANetwork] 4261777: Retrieving Authorization Token
[USANetwork] 4261777: Retrieving Media Token
[debug] [ThePlatform] Extracting URL: http://link.theplatform.com/s/NnzsPC/media/guid/***REDACTED_PRIVATE_AUTH_DATA***/
[ThePlatform] 4261777: Downloading SMIL data
[ThePlatform] 4261777: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[ThePlatform] 4261777: Downloading JSON metadata
[info] 4261777: Downloading 1 format(s): hls-4178

Verbose Log - Successfull Authentication For Spectrum:

Thats all that needed to be tested 👍

Since I have no way of testing this myself, please confirm that this has been tested to work
Edit: and fix the linter

Linter fixed, whitespace removed

authors: ohmybahgosh pukkandan


text:
Chew.TV site request

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.18. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2016.11.18

Before submitting an issue make sure you have:

[X ] At least skimmed through README and most notably FAQ and BUGS sections
[X ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[X ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
Can't see output because of both

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):
- Single video: https://www.youtube.com/watch?v=BaW_jenozKc
- Single video: https://youtu.be/BaW_jenozKc
- Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

So I am trying to use the player to play Chew.TV streams. And it seems to work for some and not all. For instance, If I use https://chew.tv/echobreaker/spin-chill Works fine. But, if I use https://chew.tv/millar/practice, the player freaks out, and refers it to a completely unrelated youtube link. If it could work with all Chew streams, that would be awesome.
---

### Description of your *issue*, suggested solution and other information

So I am trying to use the player to play Chew.TV streams. And it seems to work for some and not all. For instance, If I use https://chew.tv/echobreaker/spin-chill Works fine. But, if I use https://chew.tv/millar/practice, the player freaks out, and refers it to a completely unrelated youtube link. If it could work with all Chew streams, that would be awesome.

Explanation of your *issue* in arbitrary form goes here. Please make sure the [description is worded well enough to be understood](https://github.com/rg3/youtube-dl#is-the-description-of-the-issue-itself-sufficient). Provide as much context and examples as possible.
If work on your *issue* requires account credentials please provide them or explain how one can obtain them.

@TheChez14 The URL that doesn't work is no longer available. Could you please try to reproduce the error with the most recent youtube-dl version, and post the full output of "youtube-dl -v http://yoururl.com" here?

chew.tv is still not supported.
Example URLs:
https://chew.tv/frequencieslive/upgrade-mennis-speechless-trafik
https://chew.tv/deltanotch/12-hour-study-mix-life-to-study-by
Example output:
youtube-dl -F https://chew.tv/deltanotch/12-hour-study-mix-life-to-study-by
[generic] 12-hour-study-mix-life-to-study-by: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 12-hour-study-mix-life-to-study-by: Downloading webpage
[generic] 12-hour-study-mix-life-to-study-by: Extracting information
[generic] 12-hour-study-mix-life-to-study-by: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 12-hour-study-mix-life-to-study-by: Downloading webpage
[generic] 12-hour-study-mix-life-to-study-by: Extracting information
ERROR: Unsupported URL: https://chew.tv/embed/deltanotch/12-hour-study-mix-life-to-study-by

authors: Diazonium TheChez14 mpenkov

repo: ytdl-org/youtube-dl


text:
显示zsh: no matches found:

Last login: Fri Dec 27 23:20:56 on ttys000
xiaoqianmu@xiaoqianmudeMacBook-Pro ~ % youtube-dl https://www.youtube.com/watch?v=cm-w_7qjJnc
zsh: no matches found: https://www.youtube.com/watch?v=cm-w_7qjJnc

https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command

authors: QianMuXiao dstftw


text:
Can't download video Facebook

Please check Facebook plugin, I tried this link : https://www.facebook.com/xuongchuyensiaothuncantho/videos/868434430317437/ ( it's public video )
[root@ns571445 ~]# youtube-dl -J "https://www.facebook.com/xuongchuyensiaothuncantho/videos/868434430317437/"
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
ERROR: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.

It's public video but youtube-dl still show "This video is only available for registered users"

i had no issue downloading the video

For some country ( or IP server, I'm not sure ) Facebook force user to login before watch video. I fixed it by using proxy


text:
Limit max download option with embedded call

Checklist

[x]  I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

I'm using youtube-dl embedded in python and trying to put a limit on the number of downloads a request makes. There doesn't seem to be an option for it. I know there's --max-downloads NUMBER , but that can only be used through the command line, right? Is my best option to call it through a subprocess? I guess I could also use playliststart and playlistend, but that's not exactly what I'm looking for.
Thanks for any help.

The corresponding option is just max_downloads, as in self.params.get('max_downloads') where self is a YoutubeDL object, but it hasn't made it into the class documentation.

The corresponding option is just max_downloads, as in self.params.get('max_downloads') where self is a YoutubeDL object, but it hasn't made it into the class documentation.

Ah, thanks! Exactly what I was looking for.


text:
ERROR: Unable to download webpage: HTTP Error 404: Not Found https://www.udemy.com/

$ youtube-dl --verbose --cookies ./cookies.txt https://www.udemy.com/course-dashboard-redirect/?course_id=XXXXXX
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--cookies', './cookies.txt', 'https://www.udemy.com/course-dashboard-redirect/?course_id=XXXXXX']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.5 (CPython) - Linux-5.18.0-3-amd64-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 5.1-2, ffprobe 5.1-2, rtmpdump 2.4
[debug] Proxy map: {}
[udemy:course] course-dashboard-redirect: Downloading webpage
[udemy:course] XXXXXX: Downloading course curriculum
[download] Downloading playlist: XXXXXX
[udemy:course] playlist XXXXXX: Collected 30 video ids (downloading 30 of them)
[download] Downloading video 1 of 30
[udemy] 22604176: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure yo
u 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.
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)

please provide original URL

I suspect that the failing code is trying to construct a lesson URL like 'https://www.udemy.com/%s/learn/v4/t/lecture/%s' % (course_path, entry['id']), and that this format is no longer correct.
As well as the unredacted course URL, please provide the lesson URL for the first lesson.
You could also use --write-pages and post the zipped *.dump files (HTML and JSON sent by the site). This could however include data like your course username that you might prefer not to publish, so you should either redact the files or arrange another way to transfer the package.
Also this.

authors: 89z claytonq dirkf


text:
报Invalid status code的问题

使用AFNetworking发送请求时，可以通过，但使用YTKNetwork时，却报如下的错误 Error Domain=com.yuantiku.request.validation Code=-8 "Invalid status code" UserInfo={NSLocalizedDescription=Invalid status code}

https://github.com/yuantiku/YTKNetwork/blob/master/YTKNetwork/YTKNetworkAgent.m#L74

我后台如果返回数据的就是500错误怎么办?

重载 statusCodeValidator];

我也会发生这个问题啊，但是你给的链接，我没看懂怎么处理，求解释。

我也没有看懂啊....
别这么处理啊, 解释一下是什么意思啊

人家不是说了么，在YTKBaseRequest中有个方法- (BOOL)statusCodeValidator;。
自己实现的时候重载一下，因为父类的方法中有默认实现。自己在子类重载一下

repo: yuantiku/YTKNetwork


text:
SyntaxError: 'return' outside of function

I'm packaging a express application. I get
$ yackage --platform win32 --arch ia32 --app-dir /Users/loretoparisi/Documents/Projects/webapp/  build out

events.js:183
      throw er; // Unhandled 'error' event
      ^
SyntaxError: 'return' outside of function
    at JS_Parse_Error.get (eval at <anonymous> (/usr/local/lib/node_modules/yackage/node_modules/uglify-es/tools/node.js:21:1), <anonymous>:75:23)

Fixed with https://github.com/yue/yackage/commit/3947bce1bd4f8288ec4b6b864d7c34ac9c7dca5d in v0.1.2.

@zcbenz thanks! I have installed $ yackage -V v0.1.3, and I have tried to run again
$ yackage build out

events.js:183
      throw er; // Unhandled 'error' event
      ^
SyntaxError: Unterminated string constant
    at JS_Parse_Error.get (eval at <anonymous> (/usr/local/lib/node_modules/yackage/node_modules/uglify-es/tools/node.js:21:1), <anonymous>:75:23)

Normally I saw this error when using standard uglify (not the ES one) due to ECMA6 compatibility, but I can see that you are using uglify-es, so this should not be the problem.
I'm using $ uglifyjs -V uglify-es 3.3.9 and it works fine with my javascript files, so it should work with yackage as well I think.

It is probably from some dependencies used in your code, I'll add some debug information.

@zcbenz how can add more debugging info?

Yackage works by packing the app with npm pack first, it seems that the submodules are not included by your app's package.
See also https://github.com/yue/yackage#how-yackage-works.

@zcbenz ok it makes sense! How to package my submodules then within the app?

@zcbenz hello, I was able to fix the submodules path issues, using local submodules (file directive in the package.json file). Thanks for your help.

authors: loretoparisi zcbenz

repo: yue/yackage


text:
The sample won't work

The sample won't work due to the following code never called. if I move the startup code to separate lib,  the startup code is called but the UI/JSON page showing empty.
public void Configure(IWebJobsBuilder builder)
{
//Register the extension
builder.AddSwashBuckle(Assembly.GetExecutingAssembly());
    }

The startup code is not running so that's why
Cannot bind parameter 'swashBuckleClient' to type ISwashBuckleClient. Make sure the parameter Type is supported by the binding

Hi @liuxue2010
I want you to run Sample Code and provide environment information of the failed Functions.
SampleCode worked fine in my environment.

@liuxue2010
I found a solution for your problem. Can you try this in the startup class:
 public class SwashBuckleStartup : IWebJobsStartup
    {
        public void Configure(IWebJobsBuilder builder)
        {
            builder.AddSwashBuckle(Assembly.GetExecutingAssembly());
        }
    }

The sample won't even compile. The SwashbuckleStartup.cs is using the WebJobsStartup annotation, however the class is then inheriting from FunctionsStartup which forces overriding of the abstract Configure method which takes an IFunctionsHostBuilder. IFunctionsHostBuilder can not be used for the .AddSwashbuckle(Assembly) extension method as this has a dependency on the .AddExtension method which IFunctionsHostBuilder currently doesn't support.
[assembly: WebJobsStartup(typeof(SwashBuckleStartup))] namespace SampleFunction {     internal class SwashBuckleStartup : FunctionsStartup     {         public override void Configure(IFunctionsHostBuilder builder)         {             //Register the extension             builder.AddSwashBuckle(Assembly.GetExecutingAssembly());         }     } }
Do you have a feature to allow us to use FunctionsStartup as opposed to WebJobsStartup (preferable) or is the sample incorrectly implementing the FunctionsStartup?

To run the sample.
SwashbuckleStartup.cs
using System.Reflection;
using AzureFunctions.Extensions.Swashbuckle;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using SampleFunction;

[assembly: WebJobsStartup(typeof(SwashBuckleStartup))]
namespace SampleFunction
{
    internal class SwashBuckleStartup : IWebJobsStartup
    {
        public void Configure(IWebJobsBuilder builder)
        {
            // Register the extension
            builder.AddSwashBuckle(Assembly.GetExecutingAssembly());
        }
    }
}

If your startup class uses IFunctionsHostBuilder and was a FunctionsStartup assembly, this change seemed to work on my Startup class to get it to work:
public class Startup : IWebJobsStartup
    {

        public void Configure(IWebJobsBuilder builder)
        {
            builder.AddSwashBuckle(Assembly.GetExecutingAssembly());
            Configure(new FunctionsHostBuilder(builder.Services));
        }
        private static void Configure(IFunctionsHostBuilder builder)
        { // configure services here }
   }

internal class FunctionsHostBuilder : IFunctionsHostBuilder
    {
        public FunctionsHostBuilder(IServiceCollection services)
        {
            var serviceCollection = services;
            Services = serviceCollection ?? throw new ArgumentNullException(nameof (services));
        }

        public IServiceCollection Services { get; }
    }

authors: Beau Tabje grantwar liuxue2010 shelbaz yuka1984


text:
Add set_options method.

Add set_options method.

Added.
1cfed3ee43df76897902fb35c97ebd88043aa4ff

repo: yuki-kimoto/SPVM-Net-SSLeay


text:
[Feature Request] Support :Helptags from fzf.vim?

I find :Helptags a lot from fzf.vim very useful to search through the help doc. Can this be implemented with preview of the section related to the helptag?

I think that implementation is possible, but it will take some time because we need to create another mechanism.
Please wait for a few other high priority fixes.


text:
some dir/files missing

i came across with this error ;
building with Andriod Studio 1.3.2
failed to resolve : com.squareup.okhttp:okhttp:2.5.0-SNAPSHOT
failed to resolve : com.squareup.okhttp:okhttp-urlconnection:2.5.0-SNAPSHOT

okhttp is now at 2.5.0, so they do not publish 2.5.0-SNAPSHOT anymore.
Fixed in 0e8f5c0. Thanks!

authors: twelfthD yukuku

repo: yukuku/androidbible


text:
Automated cherry pick of #4299: hostman: different error message for different error reason

Cherry pick of #4299 on release/2.12.
#4299: hostman: different error message for different error reason

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@ea12386). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #4301   +/-   ##
==============================================
  Coverage                ?   6.85%
==============================================
  Files                   ?     501
  Lines                   ?   85117
  Branches                ?       0
==============================================
  Hits                    ?    5839
  Misses                  ?   78785
  Partials                ?     493

Flag
Coverage Δ

#aFlag
6.85% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/networks.go
0.56% <0%> (ø)

pkg/hostman/guestfs/fsdriver/linux.go
0% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/approve

authors: codecov-io wanyaoqi yousong

repo: yunionio/onecloud