text:
AbortError: The user aborted a request.

I want to fetch data using GET request:
 curl http://localhost:5000/v2/_catalog
{"repositories":["centos","golang"]}

the struct:
#[derive(Deserialize, Debug, Clone)]
pub struct RegistryCatalog {
    pub repositories: Vec<String>,
}

GET request when first render:
    fn rendered(&mut self, first_render: bool) {
        if first_render {
            ConsoleService::info("view app");
            let request = Request::get("http://localhost:5000/v2/_catalog")
                .body(Nothing)
                .expect("could not build request.");
            let callback = self.link.callback(
                |response: Response<Json<Result<RegistryCatalog, anyhow::Error>>>| {
                    let Json(data) = response.into_body();
                    ConsoleService::info(&format!("info {:?}", data));
                    Msg::GetRegistryCatelog(data)
                },
            );
            let task = FetchService::fetch(request, callback).expect("failed to start request");
        }
    }

But I got AbortError:

request header:
Request URL: http://localhost:5000/v2/_catalog
Referrer Policy: strict-origin-when-cross-origin
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cache-Control: no-cache
Connection: keep-alive
Host: localhost:5000
Origin: http://127.0.0.1:8080
Pragma: no-cache
Referer: http://127.0.0.1:8080/
sec-ch-ua: "Chromium";v="92", " Not A;Brand";v="99", "Google Chrome";v="92"
sec-ch-ua-mobile: ?0
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Please see #1438

It's worked~

repo: yewstack/yew


text:
【发送无反应】The request times out

已连接同一Wi-Fi
配置文件已修改
bonjour 是在Apple Developer SDK下的

不知道怎么处理，望大佬解答
是需要重新下吗【直接删除软件包吗】

bonjour旧版的才可以，新版不知道为什么用不了，试试卸载安装release压缩包里面的版本

另外试试把主机名改成pc的IP地址看看能不能用，能用的话就是bonjour版本的问题

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
clearvoid causing rendering client crash 1.19.2

https://paste.atlauncher.com/view/f9a7fe9a-d181-403e-b808-b50067a3e278
it was fixed the moment i removed the mod

I also found earilier that the way of patching of breaking because the gl fragment for the dark sky is removed. The game crashed when I tried to turn on shaders.
I'll try to fix this soon.

I tried another way to remove the black void and released version 1.3.0. Please try it, and close the issue if the problem is solved.

Seems to work now, thanks for fixing it! I'll let you know if anything comes up.


text:
oracle_db

Added connectivity to Oracle db with "cx_Oracle" library.
Now it's possible to query the database (with or without limit), searching for columns and tables.
On my Oracle server, it takes a lot of time to reverse-engineer the DB/Schemas, because I have thousands of tables. Maybe it could be a good idea to query the db's metadata with direct SQL rather then reverse-engineer it at every connection.

This was closed but never merged. Will need a new PR?

source: gharchive/pull-request

authors: azimut genfri

license_source: bigquery


text:
request: mapping in geom_* and stat_*

The geom_ and stat_ functions should support specific mapping arguments.
For example, I don't see how I can make a plot that shows color-coded points as well as a single regression or trend line (stat_smooth) (rather than one for each color).

I face the same restrictions. Making the data= parameter work would also help. Currently it seems impossible to overlay multiple plots.

I made myself a workaround:
Added this definition to geom.py:
    def _update_data(self, data, _aes):
        if 'mapping' in self.params:
            _aes = self.params['mapping']
        if 'data' in self.params:
            data = self.params['data']
        return (data, _aes)

and then at the beginning of def plot(self, ax, data, _aes): for geometry of choice (in my case geom_line.py):
(data, _aes) = self._update_data(data, _aes)

I have no idea what that might break or not, because I didn't really understand some of the code:
For example why in in def _get_plot_args(self, data, _aes): the data is first put into mpl_params just to be removed from it again later

This just might work. I will run the tests and see what happens!
@schmeing can you submit a PR?

Did break the aes evaluations like 'x+1'
Pushed a fix

merged and on master

released in 0.11

authors: davidswelt glamp schmeing

repo: yhat/ggplot


text:
Can the code of InterHand be made public?

Hello!
Can you share the relevant code of InterHand? For example, yaml file  and dataloader.
Thank you!
Best wishes!

@endoplasmic1357 can we release this part?

Duplicate of #14

authors: yihui-he zqq-judy

repo: yihui-he/epipolar-transformers


text:
Remove FactoryInterface

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Fixed issues
#101

Adopt PR: https://github.com/yiisoft/widget/pull/35
Tests pass in demo and DI.

👍

authors: samdark vjik

repo: yiisoft/factory


text:
MapTest usage of CustomData

Usage of CustomData attribute to fill data in MapTest makes it harder to read compared to passing data array directly. Would it make sense to do it in a simple way?

Usage CustomData:

Open MapClass
View data in CustomData attribute
View mapping in Map attribute
Open MapTest
View compared value

In any case, we need data from Map attribute.
Usage CustomData:

Open MapClass
View data in CustomData attribute
View mapping in Map attribute
Open MapTest
View compared value

Usage simple way:

Open MapTest
View data in create() method
Open MapClass
View mapping in Map attribute
Open MapTest
View compared value

Seems, usage CustomData is a bit easier... In simple way we should make more jumps beetwen files.

The problem is that it is not how it is done in real code. It is very unlikely that someone will assign values with something like CustomData.

repo: yiisoft/hydrator


text:
Separate package

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Tests pass?
✔

Fixed issues
https://github.com/yiisoft/rbac/issues/12

👍

authors: romkatsu samdark

repo: yiisoft/rbac-php


text:
Cleanup and add docblocks to source classes

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
-

👍

authors: devanych samdark

repo: yiisoft/user


text:
Fix generate dropdown menu

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Ok, let's see what your code outputs (example taken from NavTest::testNavIcon)
        $html = NavBar::widget()
            ->brandLabel('My Project')
            ->brandImage('yii-logo.jpg')
            ->brandUrl('/')
            ->options(['class' => 'is-black', 'data-sticky' => '', 'data-sticky-shadow' => ''])
            ->itemsOptions(['class' => 'navbar-end'])
            ->begin();

        $html .= Nav::widget()
            ->items([
                [
                    'label' => 'Setting Account',
                    'url' => '/setting/account',
                    'icon' => 'fas fa-user-cog',
                    'iconOptions' => ['class' => 'icon'],
                ],
                [
                    'label' => 'Profile',
                    'url' => '/profile',
                    'icon' => 'fas fa-users',
                    'iconOptions' => ['class' => 'icon'],
                ],
                [
                    'label' => 'Admin' . Html::img(
                        '../../docs/images/icon-avatar.png',
                        ['class' => 'img-rounded', 'aria-expanded' => 'false']
                    ),
                    'items' => [
                        ['label' => 'Logout', 'url' => '/auth/logout'],
                    ],
                    'encode' => false,
                ],
            ])
            ->render();

        $html .= NavBar::end();
        echo $html;

My Project

Setting Account
Profile

Admin

Logout

That is wrong and has a  too many.

Ok, let's see what your code outputs (example taken from NavTest::testNavIcon)
        $html = NavBar::widget()
            ->brandLabel('My Project')
            ->brandImage('yii-logo.jpg')
            ->brandUrl('/')
            ->options(['class' => 'is-black', 'data-sticky' => '', 'data-sticky-shadow' => ''])
            ->itemsOptions(['class' => 'navbar-end'])
            ->begin();

        $html .= Nav::widget()
            ->items([
                [
                    'label' => 'Setting Account',
                    'url' => '/setting/account',
                    'icon' => 'fas fa-user-cog',
                    'iconOptions' => ['class' => 'icon'],
                ],
                [
                    'label' => 'Profile',
                    'url' => '/profile',
                    'icon' => 'fas fa-users',
                    'iconOptions' => ['class' => 'icon'],
                ],
                [
                    'label' => 'Admin' . Html::img(
                        '../../docs/images/icon-avatar.png',
                        ['class' => 'img-rounded', 'aria-expanded' => 'false']
                    ),
                    'items' => [
                        ['label' => 'Logout', 'url' => '/auth/logout'],
                    ],
                    'encode' => false,
                ],
            ])
            ->render();

        $html .= NavBar::end();
        echo $html;

My Project

Setting Account
Profile

Admin

Logout

That is wrong and has a  too many.

Or the smaller example from NavTest::testNavDropdownLinkDisabled
        echo Nav::widget()
            ->encodeLabels(true)
            ->items([
                [
                    'label' => 'Link disable',
                    'url' => '#',
                    'items' => [
                        ['label' => 'Level 1', 'url' => '#', 'disabled' => true],
                        ['label' => 'Level 2', 'url' => '#'],
                    ],
                ],
            ])
            ->render();

Link disable

Level 1
Level 2

Or the smaller example from NavTest::testNavDropdownLinkDisabled
        echo Nav::widget()
            ->encodeLabels(true)
            ->items([
                [
                    'label' => 'Link disable',
                    'url' => '#',
                    'items' => [
                        ['label' => 'Level 1', 'url' => '#', 'disabled' => true],
                        ['label' => 'Level 2', 'url' => '#'],
                    ],
                ],
            ])
            ->render();

Link disable

Level 1
Level 2

Or the smaller example from NavTest::testNavDropdownLinkDisabled

Fix, now code
Setting Account

	Admin

		Logout

Profile

Or the smaller example from NavTest::testNavDropdownLinkDisabled

Fix, now code
Setting Account

	Admin

		Logout

Profile

Yes, that is fixed.
According to the static tests, the only different this PR is making is adding 1 additional newline.

Yes, that is fixed.
According to the static tests, the only different this PR is making is adding 1 additional newline.

Thank you.

Thank you.

repo: yiisoft/yii-bulma


text:
Weird behavior of Yii::t() while using "plural" and "spellout" formats

Hello,
I'm trying to learn how to use different formats which is supported by Yii::t() but it looks like Yii::t() works for me not like it described in Yii2 docs. So please look at my screenshots.
To test how plural format works I have taken sample code from Russian Yii docs, but due to some mysterious reasons other part of this rule overrides one and few parts, so for numbers from 2 to 9 t() constantly returns a content from other part of the rule.
Also, when I want to convert some number with help of spellout format into it string representation but in Russan, t() always returns english representation, at the same time I've ru-RU value for language property of my web application.
From screenshots you can learn version of intl and php, and here is some other info:

Apache version - 2.4.7
OS - Kubuntu 14.04
Platform - x86_64

var_dump(INTL_ICU_DATA_VERSION)

Here is a result of var_dump: string '56.1' (length=4)

var_dump(Yii::$app->sourceLanguage)

source language is default **en-US **

Okay, so here is your problem.
You compose the message in Russian (кошка, кошки, кошек), but as the source language is English, Yii tries to find translation of your message from English to Russian. If fails to do it, so falls back to English and uses your message with Russian words as an English one.
Set Yii::$app->souceLanguage to ru-RU and all will work as expected

Ok, thank you @SilverFire, your solution works fine, but I thought the formatting (plural, spellout) was applied to translated string. So how can I use spellout for some number in arbitrary translation language? Do I need to specify translations for each digit in desired language?

Of course no. It's built in ICU. Are you still experiencing problems with spellout after you applyed the proposed solution?

If I set my Yii::$app->sourceLanguage to ru-RU everything works fine, I receive my number spelled in Russian. But I can't figure out how to make it to spell my number in another languge, which for instance was selected by user to translate a website to. I've noticed Yii spelled a number only in current Yii::$app->sourceLanguage with no respect of a value of Yii::$app->language, I've tried de-DE, zh-CN and en-US.
So let's assume I've the following source code I want to be spelled in a current website language
<?= Yii::t('app', '{n, spellout}', ['n' => 2015]); ?>

If my Yii::$app->sourceLanguage is ru-RU then 2015 spelled in Russian correctly, and let's say some English-speaking user select English in my website language selector, and this cause a changing of Yii::$app->language value to en-US. Now the user expect to see the number spelled in selected language, but the number remains spelled in Russian.
I hope this explanation quite clear, I feel I'm missing something simple in mechanism of Yii translation, but I can't realize this.
Thank you for your help.

@dajnz you should have translation for the language you're going to use.

authors: SilverFire dajnz samdark


text:
CheckBoxList: To save the selection of multiple items in array

Add on actionUpdate
To save the selection of multiple items in array generated by CheckBoxList, add the option to see if an array and handle it accordingly
Example:
$data=Yii::$app->request->post();
if (!empty($data)) {
$data['User']['attribute']=implode(",", $data['User']['attribute']);
}
if ($model->load($data) && $model->save()) {
Change in BaseHtml Class
public static function checkboxList($name, $selection = null, $items = [], $options = [])
{
...
lin: 819
$checked = $selection !== null &&
(!is_array($selection) && !strcmp($value, $selection)
|| is_array($selection) && in_array($value, $selection));
with:
    $checked = $selection !== null &&
        (!is_array($selection) && !strcmp($value, $selection)
            || is_array($selection) && in_array($value, $selection))
                                || strpos($selection,$value) !== false;

To facilitate the show of multiple items selects in CheckBoxList at view.
Regards.
domingo.aab@gmail,com
Domingo
Write
Preview

Comments are parsed with GitHub Flavored Markdown
Attach images by dragging & dropping or selecting them.

i am trying to do a resturent food order scenario
where customer can select food items through checkboxlist that comes from food_items database table.
now each customers selection should be stored in a customer_food_selection database table (customer_id,food_id(that are selected)).
what i need to do so that the customer can store his choice by checking from the checkboxlist so that he/she can update his choices later also.

@jgrasta please use the forum to ask questions, github is used as a bug/feature tracking system.

authors: cebe daab jgrasta


text:
GridView игнорирует заголовки полей, если таблица пуста.

Если в выводимой таблице есть содержимое, то заголовки столбцов берутся из массива, который возвращает Model::attributeLabels(), но если таблица выводится пустой (одна строка "Ничего не найдено."), то в заголовки столбцов попадают просто имена полей из БД, т.е. значение из Model::attributeLabels() просто игнорируется.

Есть идеи, как это поправить:

Could't reproduce. Is i18n component properly configured and language files placed in right directories?

Also failed to reproduce. @m00nk, could you show code from the view?

I have the same issue. It's pretty easy to reproduce. I'm using ArrayDataProvider with array of models. When array is empty, attributeLabels method is not used, because it's not even possible for GridView to know which model to use.

@flowip for ArrayDataProvider that's understandable. Original issue seems to be about ActiveDataProvider.

Maybe, @m00nk didn't mention that. I myself have to create empty model object, get labels from it and pass labels to view.

@m00nk ?

Yes, I use ArrayDataProvider and GridView.
echo \yii\grid\GridView::widget([
	'layout' => '{items}{pager}',
	'dataProvider' => new \yii\data\ArrayDataProvider([
		'allModels' => SitemapNode::find()-> /* ... */ ->all(),
		'pagination' => ['pageSize' => 20]
	]),

	'columns' => [

		[
			'class' => \yii\grid\CheckboxColumn::className(),
			'checkboxOptions' => function ($model, $key, $index, $column)
			{ return ['value' => $model->id, 'class' => 'node_checkbox'];	},
		],

		'id',

		[
			'attribute' => 'title',
			'format' => 'raw',
			'contentOptions' => ['class' => 'column_title'],
			'value' => function ($model)
			{
				/** @var $model SitemapNode */
				return
					$model->menu_title
					.Html::a(
						'',
						['edit', 'id' => $model->id],
						['title' => Yii::t('moduleBlog', 'Редактировать страницу')]
					);
			}
		],

		[
			'attribute' => 'alias',
			'format' => 'raw',
			'value' => function ($model)
			{
				/** @var $model SitemapNode */
				return
					Html::a($model->alias, $model->getPageUrl(), ['title' => Yii::t('moduleBlog', 'Открыть страницу в новом окне'), 'target' => '_blank']);
			}
		],
/* ... */
	],
]);

I have written a fairly elegant solution for that problem (if you are using a Model cast to an array and a filterModel).
`<?php
namespace app\base;
use yii\base\Model;
use yii\data\ArrayDataProvider;
class DataColumn extends \yii\grid\DataColumn
{
/**
* @inheritdoc
*/
protected function renderHeaderCellContent()
{
$filterModel = $this->grid->filterModel;
if (
$this->label === null
&& $this->grid->dataProvider instanceof ArrayDataProvider
&& !$this->grid->dataProvider->getModels()
&& $filterModel instanceof Model
) {
$this->label = $filterModel->getAttributeLabel($this->attribute);
}
return parent::renderHeaderCellContent();
}
}`
Then it's enough to add
'dataColumnClass' => 'hrd\base\DataColumn',
to your GridView configuration.

@artur-ciesielski looks good :)

authors: SilverFire artur-ciesielski flowip jeicd m00nk samdark


text:
Pre-training stage1 BLIP2 or your work

First of all, thanks for sharing great work!
I try reproduce your work and BLIP2 for 4M dataset in 8 A100 gpus (40GB)
But, It takes 15 hours for a single epoch in stage1 for both BLIP2 (LAVIS) and your work.
Could you give some advice for accelerating this? In your paper, only takes 66 hours for whole 10 epochs.

I trained BLIP2 on eight RTX-A6000 and eight A100-80G. Training time is manageable. I can only provide some guesses in resolving your issues:

image size: storing images using 256x256 or 384 x 384 on disk. Large size image will make IO an issue.
Using SSD over HD to store your dataset.
Make sure you freeze ViT and not using gradient checkpointing, through the configuration files. You can also check my configuration here. Each epoch or mine is about 4.5 hrs.
I fit 128 images in a single RTX-A6000 GPU (total batch size 8x 128), you should have a similar number in A100-40G. My empirical study shows that A100 can fit more images than A6000, in the same amount of VRAM.

I have not really done anything special in adapting LAVIS code. I also strictly follow the pytorch version suggested.

If you're running 2 servers with 4 GPUs each, communication could also be a bottleneck. As baseline, training with 4 GPUs could also give OK models.

Thanks for fast reply! I think the main reason would be the image size. I used the original size images on disk.
Moreover, I also wonder that your CC3M and SBU captions are constructed from BLIP 129M? or 14M?

No, for this paper, the captions for CC3M and SBU are original. I follow this.

Thanks! Actually, when we tried ALBEF, and BLIP models to reproduce (not LAVIS), their training speed is decent for our setup. (which uses the same original sized dataset). Therefore, I'm afraid the image size would not be the main reason of slow BLIP2
I think I need to check the software version

Could you share the software version ? (CUDA, pytorch) ?

CUDA 11, and I tried both pytorch 1.8 and pytorch 2.0

Thanks for your help!

authors: jaeseokbyun yiren-jian

repo: yiren-jian/BLIText


text:
I'm sorry I'm asking this question here

Can you send your cso2 .lo file editor again? I really need it, please

My email is 3433796750@qq.com

cso2.lo ? what's that ?

Is a game's file

The file is encrypted, but decompiled is a lua file

All I need now is his decompiler, and LoveBeforT released a repository and he later deleted it, but I need it so much now that I can only ask him

Can I trouble you to contact him? Thanks

repo: yitter/IdGenerator


text:
🛑 KeepShare is down

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

HTTP code: 0
Response time: 0 ms

Resolved: KeepShare is back up in f9a02b6 after 17 minutes.


text:
Nuke: Explicit Thumbnail workflow

Changelog Description
Nuke made a shift from using its own plugin to a global one for thumbnail creation. This was because it had to handle several thumbnail workflows for baking intermediate data streams. To manage this, the global plugin had to be upgraded. Now, each baking stream can set a unique tag 'need_thumbnail'. This tag is used to mark representations that need a thumbnail.
Additional info

adding colorspaceData into Nuke baking reviewable intermediate representations.
implementing need_thumbnail representation tag workflow
improving flow of explicitly marked representations for publish_on_farm. Ftrack is not creating assetVersion during submiting job to farm anymore. And metadata.json is not having the tag in its representations. This is now better separating the processing of representations which are on the farm and those which suppose to go to farm.
removing Nuke Extract Thumbnail plugin and its settings and Ayon server settings
nuke deadline submitter was having redundant code for including all OPENPYPE_* environment variables and this was causing jobs submitted from code fail since jobs were expecting .zip builded version in appdata. This was caused by inclusion of OPENPYPE_VERSION variable in job.

Testing notes:

In nuke project which is having configured multiple baking intermediate file streams. One with baked Input Process nodes and second without.
Publish locally or on farm and result should be the same.
Ftrack should have two  assetVersion created and both with the same thumbnail.
The set of thumbnails should be the same in Ftrack weather form local publishing or farm publishing.

@jakubjezek001 It also works as expected in ftrack

repo: ynput/OpenPype


text:
Collection should not be required as a string.

As of right now, collection is required to be a string and is looked up via window
https://github.com/yogiben/meteor-autoform-file/blob/master/lib/client/autoform-file.coffee#L68
We should be able to pass a FS.Collection object or the FS.Collection name, like in cfs:autoform. This is especially helpful when collections do not appear on the global namespace.

Yes, I agree that should be implemented.

authors: RobertLowe yogiben

repo: yogiben/meteor-autoform-file

license: mit


text:
安装了image-size运行依然报错

安装了image-size之后运行bot依然有报错

大佬救救

我没接触过nodejs和这个项目源码，仅说一下我解决的方式
试试在yunzai的安装目录执行你之前用的安装命令，或者用yarn安装(yarn需要额外下载)
yarn add image-size
如果还是不行可以试着改一下Character.js中的代码，没试过，不保证能用。
import换成这样的(来自官方文档)
const sizeOf = require('image-size')
我使用npm安装之后没有缺失包的问题了，但出现了另一个错误，重新装一下依赖就可以
pnpm install -P
如果仍没有解决，就等作者回复吧~

 安装了image-size之后运行bot依然有报错  大佬救救

依赖缺失，在yunzai根目录下执行npm install image-size 安装即可
看你的截图是在~目录下执行的而不是yunzai

authors: ShiinaRinne marvinli001 yoimiya-kokomi

repo: yoimiya-kokomi/miao-plugin


text:
Add isChromeOS os-util

issue: https://github.com/yola/ws-editor/issues/4297
env: https://editor.hto-ya.env.yola.net/
How to test

Go to editor

Expected result

if OS is ChromeOS:

in the header you should see !!!!!CHROME OS!!!!! label (just for test purposes)

if OS is NOT ChromeOS:

in the header you should see !!!!!OTHER OS!!!!! label (just for test purposes)

:sparkles: No lint errors found. :sparkles:

:sparkles: No lint errors found. :sparkles:

:sparkles: No lint errors found. :sparkles:

Let's update README.md

:sparkles: No lint errors found. :sparkles:

authors: chobitV sereezha snitch

repo: yola/yola-bowser


text:
feature request: output the free size of a block device

Please excuse me if I'm wrong, but I was not able to find a way to output the bytes / blocks that are free on a given volume (also not how many are used, how many are there all together).
It would be great to have these statistics to figure out when care should be taken to clean the file system (or add another disk).
Thanks for providing this excellent library :)

I agree that this would be useful - currently the only way to know the disk is full is to try to write things and see them fail for lack of space.
Free bytes is tricky in LittleFS, but free blocks are fairly easy to report on. Unfortunately there are potentially surprising results there too, like two previously-unused blocks being potentially necessary for a very small file write.
Would answers to the following questions be useful? Both are based on the number of free blocks, but try to handle some FS-specific structure knowledge for the user.

"What's the largest file I can currently write without running out of space?"
"How many more directories can I make without running out of space?"

Currently, getting the number of free blocks would require a full filesystem traversal each time. This does have to be determined at mount time anyway and I think it can be subsequently kept updated by the block allocator, but I need to think on it a bit more.
This general idea seems like something users of any block-based kv would want to know about, so I wonder whether it'd be better put in RO or RW of Mirage-kv, but the semantics there are even more confusing.

I'd be fine with an approximation: the number of used blocks, and free blocks. If the API is only in bytes, then multiply that with the block size. I don't think we need accurate numbers of how many bytes will fit onto the disk. ;)

authors: hannesm yomimono

repo: yomimono/chamelon

license: ISC


text:
You have no permission to get the file.

안녕하세요.
yona에 생성된 이슈에 댓글 입력 시 이미지를 첨부하였는데요
파일 첨부시 사용한 제 계정에서는 정상적으로 보이나,
다른 계정에서는 아래와 같이 메시지가 나와서요.
"You have no permission to get the file."
설정 파일을 봐도 파일 권한 부분을 못찾겠는데요.
어떻게 처리하면 될까요?
도움 부탁드립니다.

이런 경우는 해당 파일이 첨부된 이슈나 이슈가 속한 프로젝트에 대한 접근 권한을 다른 계정이 가지고 있지 않기 때문입니다.

해당 프로젝트를 공개로 변경하거나
해당 프로젝트에 파일 공유 대상 사용자를 멤버로 추가하거나
해당 이슈를 특정 사용자에게 공유하기로 공유하거나

중에서 선택하시면 다른 특정 계정 사용자도 해당 파일에 대한 접근권한이 가능해집니다.

안녕하세요. 답변 주셔서 감사합니다.
위와 같은 메시지가 발생할 때,
해당 프로젝트에 대해 전원 멤버로 속해있고 및 관리자 권한을 가지고 있는
상태에서 나온 메시지 입니다.
별도로 추가할 사항이 있을까요?

그런경우 해당 첨부파일이 해당 프로젝트에서 올린 것이 아니라 다른 private 에서 올린 파일을 링크만 가져와서 본문에 추가한 경우일 수 있습니다.
본문의 첨부파일 목록에 해당 파일이 존재하는지 확인 한 번 해주시겠어요?
예)

authors: bethleekor doortts

repo: yona-projects/yona


text:
Improve Counter interface

Description:
CounterType as a numeric enum may confuse users.
To address this, I suggest inputting the type as a string. And how about making the long type the default?
Also, we need to update the yorkie document to reflect these changes to the interface. https://yorkie.dev/docs/js-sdk#counter

as-is

  // yorkie-js-sdk
  export enum CounterType {
    IntegerCnt,
    LongCnt,
  }

  // counter example
  root.counter = new yorkie.Counter(0, 0); // IntegerCnt(0), initial value

to-be

  // yorkie-js-sdk
  export type CounterType = 'int' | 'long'

  // counter example
  root.counter = new yorkie.Counter(0, 'int'); // type as 'int' or 'long'
  root.counter = new yorkie.Counter(0); // Default is `long`

Why:
Users can use the counter type explicitly.

@chacha912 Thanks for your reporting.
I wonder why numeric enums are confusing. If we provide API like the one below, users don't have to use numbers to represent the type.
root.counter = new yorkie.Counter(100, yorkie.LongType);
root.counter = new yorkie.Counter(10, yorkie.IntType);

It sounds good. It will not be confusing if yorkie exports the type.

repo: yorkie-team/yorkie-js-sdk


text:
🛑 Sitio Web Rexmas is down

In 32adb17, Sitio Web Rexmas (https://rexmas.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sitio Web Rexmas is back up in e4a5c14 after 13 minutes.

repo: yorkijr/rexmas-uptime


text:
feat: hotkey for copying PWD to clipboard

A simple PR addressing #256

Thank you!

repo: yorukot/superfile


text:
the clang compiler does not support '-march=native'

I'm using a Macbook Air with an Apple M1 chip. I don't know anything about clang so I can't debug this on my own. Annoy installs fine with pip but I need it in a ruby project, not python. Thanks for your effort in making the gem.
Installing annoy-rb 0.4.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/airrr/.rvm/gems/ruby-2.6.8/gems/annoy-rb-0.4.0/ext/annoy
/Users/airrr/.rvm/rubies/ruby-2.6.8/bin/ruby -I
/Users/airrr/.rvm/rubies/ruby-2.6.8/lib/ruby/site_ruby/2.6.0 -r ./siteconf20211125-29838-nx1av.rb
extconf.rb
checking for -lstdc++... yes
creating Makefile
current directory: /Users/airrr/.rvm/gems/ruby-2.6.8/gems/annoy-rb-0.4.0/ext/annoy
make "DESTDIR=" clean
current directory: /Users/airrr/.rvm/gems/ruby-2.6.8/gems/annoy-rb-0.4.0/ext/annoy
make "DESTDIR="
compiling annoyext.cpp
clang: error: the clang compiler does not support '-march=native'
make: *** [annoyext.o] Error 1

@jefflyne I have released the annoy-rb without the optimization options as version 0.5.0: https://github.com/yoshoku/annoy.rb/blob/main/CHANGELOG.md#050

authors: jefflyne yoshoku


text:
Buenas a la hora de crear un link de pago me sale este error en el servidor

Error del servidor:
\node_modules@yosle\tropipayjs\index.js:48
return new TropipayJSException(errorMessage, axiosResponse.status, axiosResponse.data.error);
^
TropipayJSException [Error]: Invalid Parameter
at handleExceptions (D:\Proyectos\Proyectos_VSC\Node.js\server-baraife\node_modules@yosle\tropipayjs\index.js:48:28)
at PaymentCard.create (D:\Proyectos\Proyectos_VSC\Node.js\server-baraife\node_modules@yosle\tropipayjs\index.js:234:19)    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 400,
error: {
type: 'VALIDATION_ERROR',
code: 'INVALID_PARAM',
message: 'Invalid Parameter',
details: [ [Object] ],
i18n: 'Parámetros inválidos'
}
}

Error del servidor: \node_modules@yosle\tropipayjs\index.js:48 return new TropipayJSException(errorMessage, axiosResponse.status, axiosResponse.data.error); ^ TropipayJSException [Error]: Invalid Parameter at handleExceptions (D:\Proyectos\Proyectos_VSC\Node.js\server-baraife\node_modules@yosle\tropipayjs\index.js:48:28) at PaymentCard.create (D:\Proyectos\Proyectos_VSC\Node.js\server-baraife\node_modules@yosle\tropipayjs\index.js:234:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 400, error: { type: 'VALIDATION_ERROR', code: 'INVALID_PARAM', message: 'Invalid Parameter', details: [ [Object] ], i18n: 'Parámetros inválidos' } }
payload link:
amount: 20 client: {name: "Bryan", lastName: "Espinosa", address: "Calle 4 entre linea y calzada", phone: "58505864",…} address: "Calle 4 entre linea y calzada" countryId: 1 countryIso: "CU" email: "bryanlenier@gmail.com" lastName: "Espinosa" name: "Bryan" phone: "58505864" termsAndConditions: "true" concept: "Baraife" currency: "EUR" description: "Son 20 productos" directPayment: true expirationDays: 1 favorite: false lang: "es" reasonId: 6 reference: "pago-2024-04-24-20" serviceDate: "2024-04-24" singleUse: true urlFailed: "https://webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e" urlNotification: "https://webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e" urlSuccess: "https://webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e"
Verificacion:
reference: Joi.string().required().min(1), concept: Joi.string().required().min(1), favorite: Joi.boolean().required(), description: Joi.string().required().min(1), amount: Joi.number().required().min(11), currency: Joi.string().required().min(1), singleUse: Joi.boolean().required(), reasonId: Joi.number().required().min(0), expirationDays: Joi.number().required().min(0), lang: Joi.string().required().min(1).uppercase(), urlSuccess: Joi.string().min(1), urlFailed: Joi.string().min(1), urlNotification: Joi.string().min(1), serviceDate: Joi.string().min(1), client: Joi.object({ name: Joi.string().required().min(1), lastName: Joi.string().required().min(1), address: Joi.string().required().min(1), phone: Joi.string().required().min(1), email: Joi.string().email().required(), countryId: Joi.number().required().min(1), countryIso: Joi.string().required().min(2).uppercase(), termsAndConditions: Joi.string().required().min(1), }), directPayment: Joi.boolean().required(), paymentMethods: Joi.array().items(Joi.string()), imageBase: Joi.string().base64().allow(""),

Ya lo arregle era amount era muy poco

Primeramente gracias por crear el issue, así todos nos beneficiamos, por favor edita el mensaje anterior para asegurarte que no hay ninguna información personal suya. En este caso la respuesta de tropipay es  el error code invalid parameter lo cual no es muy útil para los efectos. Revisaré como podemos mejorar esto para una mejor gestión de errores

Buenas se puede mejorar este error
{
"error": "Invalid Parameter"
}
{
"payload": {
"reference": "pago",
"concept": "baraife",
"favorite": "false",
"amount": "2000",
"currency": "EUR",
"description": "Son productos",
"singleUse": "true",
"reasonId": 10,
"expirationDays": 1,
"lang": "es",
"urlSuccess": "https: //webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e",
"urlFailed": "https: //webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e",
"urlNotification": "https: //webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e",
"serviceDate": "10",
"directPayment": "true"
}
}

repo: yosle/tropipayjs


text:
Project Feedback!

<img alt="+1" title="+1" src="/images/emoji/unicode/1f44d.png"}" style="vertical-align:middle" width="20" height="20" /> Congrats on completing the third project!
I have provided a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.

👍 Congrats on completing the fourth project!
I have provided a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.
/cc @codepathreview


text:
ureport图片加载问题

为了您的问题能得到及时准确解答，请认真填写下面各个选项，感谢您的配合。

当前使用的UReport的具体版本号：2.2.9

遇到的问题描述：图片加载设置宽度不设置高度加载还是原图宽高

涉及到的异常信息（完整异常信息）：

相关截图：

在web-inf项目放入一个静态图片，只放到根目录下，用/图片名称访问不到，放到resouces用classpath的路径也试了，还是不行，求解

当前UReport版本：2.2.9
遇到的问题描述：在web-inf项目放入一个静态图片，只放到根目录下，用/图片名称访问不到，放到resouces用classpath的路径也试了，还是不行，求解
相关截图：

当前UReport版本：2.2.9
遇到的问题描述：在web-inf项目放入一个静态图片，只放到根目录下，用/图片名称访问不到，放到resouces用classpath的路径也试了，还是不行，求解
相关截图：

要使用ImageProvider，具体见文件介绍 。

repo: youseries/ureport


text:
是否支持权限控制

为了您的问题能得到及时准确解答，请认真填写下面各个选项，感谢您的配合。

当前使用的URule的具体版本号：urule-pro 2.1.3

遇到的问题详细描述：目前没有输入用户名,密码直接进入了urule操作平台,项目是否支持通过用户名，密码登陆urule,并以此用户名设定相关的权限控制，若支持，如何操作

涉及到的异常信息（完整异常信息）：

非异常

相关截图：

无截图

看文档，可以扩展

urule只是一款规则引擎，需要嵌入到我们自己的应用当中，比如我们自己的应用里有登录之类功能，这样利用 http://www.bstek.com/resources/doc/15zhi-shi-ku-quan-xian-pei-zhi.html 中介绍的内容很容易实现相关资源的权限控制。

authors: 1635594911 shaoyn youseries

repo: youseries/urule


text:
Treat mysql err 1264 similar to 1062, so it does not count as service…

… error.
@alainjobart @sougou

@aaijazi

I will admit that I don't fully understand how we do compute things based on these counters.
Regardless, this LGTM for now, and we can discuss more in person (to see if there's any additional action we need to take on the VTGate side).

authors: aaijazi guoliang100 sougou

repo: youtube/vitess


text:
Problem with CsWin32 generated entry point function

In idl file, the entry point function is declared like this:
    [
        uuid(fefc1487-3c52-4ea1-a8eb-19cd7ec533e6),
        dllname("FabricClient.dll")
    ]
    module FabricClientModule {
        [entry("FabricCreateLocalClient")] HRESULT FabricCreateLocalClient(
            [in] REFIID iid,
            [out, retval] void ** fabricClient);
     }

The generated code is:
namespace Microsoft.ServiceFabric
{
    [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.18-beta+dc807e7787")]
    public static class PInvoke
    {
        public static HRESULT FabricCreateLocalClient(in Guid iid, out void* fabricClient);
        [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
        public static HRESULT FabricCreateLocalClient(Guid* iid, void** fabricClient);
    }
}

One can use the second (raw types) function like this (not sure if it is correct):
unsafe {
    var guid = typeof(IFabricQueryClient).GUID;
    var clientRaw = IntPtr.Zero;
    HRESULT hr = PInvoke.FabricCreateLocalClient(&guid, (void**)&clientRaw);

    Debug.Assert(hr.Succeeded);

    var cc = Marshal.PtrToStructure<IFabricQueryClient>(clientRaw);
    Debug.Assert(cc != null);
};

But it is unclear how to use the first with out void*.
The other problem is that the dll cannot be loaded:
> dotnet run --project .\src\examples\examples.csproj
Unhandled exception. System.DllNotFoundException: Unable to load DLL 'FabricClient' or one of its dependencies: The specified module could not be found. (0x8007007E)
   at Microsoft.ServiceFabric.PInvoke.FabricCreateLocalClient(Guid* iid, Void** fabricClient)
   at Program.<Main>$(String[] args) in D:\code\cs\service-fabric-cs\src\examples\Program.cs:line 29

Service Fabric dlls are in system path, but in directory C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code. Maybe the DefaultDllImportSearchPaths should be customized.
Maybe related to https://github.com/microsoft/CsWin32/issues/968

@AArnott @riverar for CsWin32 help again. Thanks.

Interesting. We touched close to this in https://github.com/microsoft/CsWin32/issues/617, but it was a different use case and the fix won't help here. Can you file a new issue against CsWin32?

Following the suggestion in https://github.com/microsoft/CsWin32/issues/1029 to use LoadLibrary directly, the dll is loaded and used by PInvoke.

authors: AArnott youyuanwu

repo: youyuanwu/service-fabric-cs


text:
Some action needed to update the vulnerable ansi-regex package

Requested Update
A vulnerability was discovered in the ansi-regex package a few days ago.
GitHub Advisory Database: https://github.com/advisories/GHSA-93q8-gq69-wqmw
This package is an indirect dependency in the tree:
es-check@^6.0.0
  > caporal@^1.4.0
    > tabtab@^2.2.2
      > inquirer@^1.0.2
        > chalk@^1.0.0
          > strip-ansi@^3.0.0
            > ansi-regex@^2.0.0
          > has-ansi@^2.0.0
            > ansi-regex@^2.0.0

So this vulnerable dependency came from the caporal package. But unfortunately looks like caporal is no longer supported for a long time - the last commit was in June 2020, and there is no activity in Issues and PRs.
Do you see any option for solving this security-related problem? Perhaps caporal can be replaced with some other package?
Why Is This Update Needed?
Because there is a vulnerability in the indirect dependency ansi-regex@^2.0.0
Are There Examples Of This Requested Update Elsewhere?
No

Read about references issues here. Provide paragraph text responses to each header.

After a closer inspection, it seems that the vulnerability is not in the renamed package @caporal/core@^2.0.0. Perhaps it is worth at least upgrading to this version?

Unfortunately, this vulnerability is still not fixed in Caporal 2.
es-check@6.1.0
  > "@caporal/core@^2.0.2"
    > tabtab@^3.0.2
      > inquirer@^6.0.0
        > string-width@^2.1.0
          > strip-ansi@^4.0.0
            > ansi-regex@^3.0.0
        > strip-ansi@^5.1.0
          > ansi-regex@^4.1.0
    > table@5.4.6
      > string-width@^3.0.0
        > strip-ansi@^5.1.0
          > ansi-regex@^4.1.0
    > lodash@4.17.15

Since Caporal has not been updated since last year, I think it makes sense to rewrite the code from caporal to commander. They have similar syntax, and it looks like Caporal was inspired by the Commander.js.

Maybe we can reach out to @mattallty about an update first?

The https://github.com/mattallty/Caporal.js project seems to no longer receive updates. The last commit of the repo is over a year ago (see https://github.com/mattallty/Caporal.js/commit/540bd8199d6dea1a61df0adb228ad72f05b9221c). Also almost half a year an issue (https://github.com/mattallty/Caporal.js/issues/212) and a PR (https://github.com/mattallty/Caporal.js/pull/210) are open about upgrading lodash - both not yet merged or addressed. Looking at the contribution graph on https://github.com/mattallty I can see 3 contributions on GitHub in 2021 - the last being in March this year.
Given that I think https://github.com/mattallty/Caporal.js is currently no longer actively maintained.

Not speaking for Matthias but speaking for myself, sometimes it takes a bit to get to issues. 🙃
Switching the cli tool could be fun.
I'd prefer the update to be non-breaking.
Thoughts @StudioMaX @apepper ?

As an alternative, you can fork Caporal and update packages/fix the vulnerability in it. But in my opinion, this only postpones the solution of the problem itself, since if Caporal is actually no longer supported, then sooner or later, you will have to switch to another CLI package.

I'd prefer the update to be non-breaking.

That would be nice. But at least after a brief look at switching to https://www.npmjs.com/package/commander I noticed that the --not option will most likely look different with commander. Currently the es-check docs write this:
--not=folderName1,folderName2 An array of file/folder names or globs that you would like to ignore. Defaults to `[]`.

The closes similarity I found in commander was this: https://github.com/tj/commander.js/#variadic-option

FYI: There is some movement in https://github.com/mattallty/Caporal.js/pull/210#issuecomment-967351398, but it did not (yet) make it to https://www.npmjs.com/package/@caporal/core.

Yeah, a vulnerability in lodash was fixed there, but the rest were not.

Npm's "overrides" is now available. I created a pull-request to fix the warning for npm - https://github.com/yowainwright/es-check/pull/155.

I ported from Caporal to Commander in #159. The --not issue was easy to solve by adding a string option-argument and splitting it on commas (not sure if that’s the optimal UI, but it’s compatible).

authors: StudioMaX andersk apepper yowainwright

repo: yowainwright/es-check


text:
赞一个！有QQ群吗？

跟vuejs一样比较容易入门，兼容IE6-8还是很有必要的，有QQ群或是别的方式交流吗？有些问题想请教

QQ 群不易于沉淀问题，就在这提 issue 吧，方便后人查，你觉得呢

@hyingreborn 232021930

authors: hyingreborn musicode

repo: yoxjs/yox


text:
Is retaining alpha channel poissible?

Looking to retain the alpha transparancy of my source image, if that means the output is in a string of png formats that's ok, is this possible?

You should use range,  not rangle

That has fixed it but it dosent retain alpha transaparancy on the png which is a shame, I'll stick with ffmpeg for splitting as it's 20x faster than whatever TPSMM just tried to do & use a background remover AI.

authors: LeoLovechest instant-high

repo: yoyo-nb/Thin-Plate-Spline-Motion-Model


text:
Implement directory listing as per #1

Implement directory listing instead of showing hardcoded index.html as requested by https://github.com/ysugimoto/go-static-server/issues/1.
I'm also using http.DetectContentType for setting response Content-Type header.

I have tested it by hand, it seems to work good, thanks !

authors: albandewilde jarmo

repo: ysugimoto/go-static-server


text:
[youtube:tab] Unable to recognize playlist

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
USA
Provide a description that is worded well enough to be understood
I want to download a playlist on YouTube, but it tells me that it cannot recognize the playlist. The playlist has been set to public and I have also used cookies
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: ['-F', '--cookies-from-browser', 'chrome', 'https://www.youtube.com/watch?v=QyYSMpCUrEs&list=TLPQMjgwNjIwMjQC9Rpm6seRQg', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.05.27 from yt-dlp/yt-dlp [12b248ce6] (debian*)
[debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.0-15-amd64-x86_64-with-glibc2.36 (OpenSSL 3.0.11 19 Sep 2023, glibc 2.36)
[debug] exe versions: ffmpeg 5.1.4-0 (setts), ffprobe 5.1.4-0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, pyxattr-0.8.1, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.40.1, urllib3-2.2.1, websockets-11.0.3
[debug] Proxy map: {'no': 'localhost,127.0.0.0/8,::1,*.edu.cn', 'https': 'http://127.0.0.1:7890', 'http': 'http://127.0.0.1:7890', 'all': 'socks5://127.0.0.1:7890'}
Extracting cookies from chrome
[debug] Extracting cookies from: "/home/minecraft/.config/google-chrome/Default/Cookies"
[Cookies] Loading cookie      0/  2087[debug] detected desktop environment: GNOME
[debug] Chosen keyring: GNOMEKEYRING
Extracted 2035 cookies from chrome
[debug] cookie version breakdown: {'v10': 0, 'v11': 2069, 'other': 0, 'unencrypted': 18}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1820 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.05.27 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.05.27 from yt-dlp/yt-dlp)
[youtube:tab] Extracting URL: https://www.youtube.com/watch?v=QyYSMpCUrEs&list=TLPQMjgwNjIwMjQC9Rpm6seRQg
[youtube:tab] Downloading playlist TLPQMjgwNjIwMjQC9Rpm6seRQg - add --no-playlist to download just the video QyYSMpCUrEs
[youtube:tab] TLPQMjgwNjIwMjQC9Rpm6seRQg: Downloading webpage
WARNING: [youtube:tab] Unable to recognize playlist. Downloading just video QyYSMpCUrEs
[youtube] Extracting URL: https://www.youtube.com/watch?v=QyYSMpCUrEs
[youtube] QyYSMpCUrEs: Downloading webpage
[debug] [youtube] Extracted SAPISID cookie
[youtube] QyYSMpCUrEs: Downloading ios player API JSON
[debug] [youtube] Extracting signature function js_5b22937f_105
[debug] Loading youtube-sigfuncs.js_5b22937f_105 from cache
[debug] Loading youtube-nsig.5b22937f from cache
[debug] [youtube] Decrypted nsig 2OO0IqCn2IwQeEG- => gv28cU7pG0MEqw
[debug] Loading youtube-nsig.5b22937f from cache
[debug] [youtube] Decrypted nsig 8ofh6y4IgcAK2pZ0 => Qf9e5nFcIjIG-Q
[debug] [youtube] Extracting signature function js_5b22937f_101
[debug] Loading youtube-sigfuncs.js_5b22937f_101 from cache
[youtube] QyYSMpCUrEs: Downloading m3u8 information
[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, size, br, asr, vext, aext, hasaud, id
[info] Available formats for QyYSMpCUrEs:

The playlist you linked does not exist.
That looks like a temporary playlist Id, likely your YouTube queue rather than the actual playlist

repo: yt-dlp/yt-dlp

license: Unlicense


text:
yt-dlp reports "Malformed storyboard" when attempting to download a YT URL

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
I attempted to download the URL https://www.youtube.com/watch?v=A_fMN9kFm14. yt-dlp responded with the following:
[youtube] A_fMN9kFm14: Downloading webpage
[youtube] A_fMN9kFm14: Downloading android player API JSON
WARNING: [youtube] Malformed storyboard 0: 72#54#100#10#10#0#storyboard_high; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
ERROR: unknown url type: '/sb/A_fMN9kFm14/storyboard_low.jpg&sigh='
Verbose log
[debug] Command-line config: ['https://www.youtube.com/watch?v=A_fMN9kFm14', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8] (zip)
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Optional libraries: secretstorage, sqlite
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=A_fMN9kFm14
[youtube] A_fMN9kFm14: Downloading webpage
[youtube] A_fMN9kFm14: Downloading android player API JSON
WARNING: [youtube] Malformed storyboard 0: 72#54#100#10#10#0#storyboard_high; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
ERROR: unknown url type: '/sb/A_fMN9kFm14/storyboard_low.jpg&sigh='
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1353, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1437, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1489, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2446, in process_video_result
    format['http_headers'] = self._calc_headers(full_format_info)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2203, in _calc_headers
    cookies = self._calc_cookies(info_dict)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2215, in _calc_cookies
    pr = sanitized_Request(info_dict['url'])
  File "/usr/local/bin/yt-dlp/yt_dlp/utils.py", line 687, in sanitized_Request
    return compat_urllib_request.Request(url, *args, **kwargs)
  File "/usr/lib/python3.8/urllib/request.py", line 328, in __init__
    self.full_url = url
  File "/usr/lib/python3.8/urllib/request.py", line 354, in full_url
    self._parse()
  File "/usr/lib/python3.8/urllib/request.py", line 383, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/sb/A_fMN9kFm14/storyboard_low.jpg&sigh='

Looks like a bug YouTube's side - the storyboard appears to be broken on YouTube as well. However, this should not be fatal in yt-dlp.

technical observations for devs:
In this case the base_url extracted appears to be a relative url. There is no sigh= param.
On YouTube, it adds www.youtube.com which gives  https://www.youtube.com/sb/A_fMN9kFm14/storyboard_low.jpg. This doesn't work and returns a channel page (HTML) :laughing:

authors: BozRetro coletdjnz


text:
Version number on PyPI is different from version number on Github

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 bug unrelated to a specific 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

Provide a description that is worded well enough to be understood
The current yt-dlp version number in Github is 2024.04.09: https://github.com/yt-dlp/yt-dlp/releases
But the current yt-dlp version number in PyPI is 2024.4.9: https://pypi.org/project/yt-dlp/
To my mind, this difference might qualify as a bug in the build/release process.
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
-

The correct version number is 2024.04.09 in conformance with datever, however PyPI normalizes those leading zeros away in conformance with the version specifier spec. Since we want to keep XXXX.XX.XX as the format there is not much we can do, and this shouldnt be considered a bug.
FYI, python -m pip install "yt-dlp==2024.04.09" for example works bc those versions are the same, but pypi normalizes it for display

Thanks for explaining, @Grub4K.


text:
Very fast downloading for VOD, slow download for streams

Checklist

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

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', '95', '-g', '--hls-prefer-native', 'https://youtu.be/L4Cr_S_SXK4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.28
[debug] Python version 3.7.3 (CPython) - Linux-5.0.0-31-generic-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6
[debug] Proxy map: {}

Description

Livestream downloading is very very slow - 1.9 FPS . VOD downloading is still very fast
ffmpeg -i $(youtube-dl -f 95 -g --hls-prefer-native https://youtu.be/L4Cr_S_SXK4) -c:v h264_nvenc -strict experimental -t 00:02:00 -f mpegts udp://localhost:8888

Address this to ffmpeg support.

Address this to ffmpeg support.

I should have mentioned that this issue still persists without using FFMPEG
youtube-dl -v -f 95 https://youtu.be/L4Cr_S_SXK4
VOD downloading is very fast.

authors: Samuel-Nathanson dstftw

repo: ytdl-org/youtube-dl


text:
Dailymotion downloads are broken

Checklist

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

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-C', u'https://www.dailymotion.com/video/x78i894', u'https://www.dailymotion.com/video/x78i895', u'https://www.dailymotion.com/video/x78i896', u'https://www.dailymotion.com/video/x76sh2m', u'https://www.dailymotion.com/video/x76sh2n', u'https://www.dailymotion.com/video/x76kq3k', u'https://www.dailymotion.com/video/x76kq3l', u'https://www.dailymotion.com/video/x76kq3m', u'https://www.dailymotion.com/video/x76fq7d', u'https://www.dailymotion.com/video/x76fq7e', u'https://www.dailymotion.com/video/x76fq7c', u'https://www.dailymotion.com/video/x7647mz', u'https://www.dailymotion.com/video/x7647mx', u'https://www.dailymotion.com/video/x7647my', u'https://www.dailymotion.com/video/x75lwfl', u'https://www.dailymotion.com/video/x75lwfk', u'https://www.dailymotion.com/video/x75lwfj', u'https://www.dailymotion.com/video/x756oxf', u'https://www.dailymotion.com/video/x756oxe', u'https://www.dailymotion.com/video/x756oxg', u'https://www.dailymotion.com/video/x74vw7q', u'https://www.dailymotion.com/video/x74vw7r', u'https://www.dailymotion.com/video/x74vw7p', u'https://www.dailymotion.com/video/x74o6ld', u'https://www.dailymotion.com/video/x74o6lf', u'https://www.dailymotion.com/video/x74o6le', u'https://www.dailymotion.com/video/x74i8l8', u'https://www.dailymotion.com/video/x74i8l9', u'https://www.dailymotion.com/video/x74i8la', u'https://www.dailymotion.com/video/x74e0lu', u'https://www.dailymotion.com/video/x74e0lv', u'https://www.dailymotion.com/video/x745hdd', u'https://www.dailymotion.com/video/x745hde', u'https://www.dailymotion.com/video/x745hdc', u'https://www.dailymotion.com/video/x73s2ks', u'https://www.dailymotion.com/video/x73s2kr', u'https://www.dailymotion.com/video/x73s2kt', u'https://www.dailymotion.com/video/x73if9j', u'https://www.dailymotion.com/video/x73if9i', u'https://www.dailymotion.com/video/x73if9h', u'https://www.dailymotion.com/video/x73f6wu', u'https://www.dailymotion.com/video/x73f6wv', u'https://www.dailymotion.com/video/x72opih', u'https://www.dailymotion.com/video/x72opig', u'https://www.dailymotion.com/video/x72opif', u'https://www.dailymotion.com/video/x72mbr9', u'https://www.dailymotion.com/video/x72mbr7', u'https://www.dailymotion.com/video/x72mbr8', u'https://www.dailymotion.com/video/x72k17b', u'https://www.dailymotion.com/video/x72k17a', u'https://www.dailymotion.com/video/x72k179', u'https://www.dailymotion.com/video/x72h97v', u'https://www.dailymotion.com/video/x72h97x', u'https://www.dailymotion.com/video/x72h97w', u'https://www.dailymotion.com/video/x72esw2', u'https://www.dailymotion.com/video/x72esw0', u'https://www.dailymotion.com/video/x72esw1', u'https://www.dailymotion.com/video/x722hg3', u'https://www.dailymotion.com/video/x722hg5', u'https://www.dailymotion.com/video/x722hg4']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.24
[debug] Python version 2.7.16 (CPython) - Linux-5.0.0-29-generic-x86_64-with-Ubuntu-19.04-disco
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Public IP address: 2003:d3:ff12:4334:74f0:c8ee:efe7:673f
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2018, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/dailymotion.py", line 235, in _real_extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/dailymotion.py", line 50, in _call_api
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/dailymotion.py", line 31, in _get_dailymotion_cookies
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 2831, in _get_cookies
  File "/usr/lib/python2.7/Cookie.py", line 583, in __init__
    if input: self.load(input)
  File "/usr/lib/python2.7/Cookie.py", line 643, in load
    for k, v in rawdata.items():
AttributeError: 'unicode' object has no attribute 'items'

Description

When I'm trying to download videos from dailymotion it throws the upper mentioned error but if I try to download videos from youtube it works. This error is only happening since I've updated to 2020.01.24 (I don't know which version I was running before).

@dstftw Please when the Dailymotion will be fixed? we need it really

authors: TaktakTaktouk dckjnls


text:
Vimeo: Unable to download subtitle for "es"

Checklist

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

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--all-subs', '--skip-download', 'https://vimeo.com/399911700']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.7.4 (CPython) - Darwin-19.3.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.2.2, ffprobe 4.2.2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[vimeo] 399911700: Downloading webpage
[vimeo] 399911700: Extracting information
[vimeo] 399911700: Downloading JSON metadata
[vimeo] 399911700: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 403: Forbidden
[vimeo] 399911700: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 399911700: Downloading fastly_skyfire m3u8 information
[vimeo] 399911700: Downloading akfire_interconnect_quic MPD information
[vimeo] 399911700: Downloading fastly_skyfire MPD information
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: Objectified-399911700.en.vtt
[info] Writing video subtitles to: Objectified-399911700.es.vtt
WARNING: Unable to download subtitle for "es": 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 you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[info] Writing video subtitles to: Objectified-399911700.fr.vtt
[info] Writing video subtitles to: Objectified-399911700.pt-BR.vtt

Description

Note: this video is expected to only be live until March 31st.
The documentary Objectified is currently being shown on Vimeo: https://vimeo.com/399911700
I wanted to download the subtitles, so I ran the command shown in the log. It worked for three of the four subtitle languages, but the Spanish subtitles got a 404.

Nevermind; the subtitle itself is broken on Vimeo despite initially appearing to work.


text:
Youtube ERROR: unable to download video data: HTTP Error 403: Forbidden

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

Verbose log
youtube-dl -v -f 18 "https://www.youtube.com/watch?v=5S5zfXao-h0"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'18', u'https://www.youtube.com/watch?v=5S5zfXao-h0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-6-amd64-x86_64-with-debian-10.3
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 5S5zfXao-h0: Downloading webpage
[youtube] {18} signature length 102, html5 player vflset
[youtube] {137} signature length 102, html5 player vflset
[youtube] {248} signature length 106, html5 player vflset
[youtube] {299} signature length 106, html5 player vflset
[youtube] {303} signature length 102, html5 player vflset
[youtube] {136} signature length 106, html5 player vflset
[youtube] {247} signature length 106, html5 player vflset
[youtube] {298} signature length 102, html5 player vflset
[youtube] {302} signature length 106, html5 player vflset
[youtube] {135} signature length 106, html5 player vflset
[youtube] {244} signature length 106, html5 player vflset
[youtube] {134} signature length 102, html5 player vflset
[youtube] {243} signature length 106, html5 player vflset
[youtube] {133} signature length 102, html5 player vflset
[youtube] {242} signature length 106, html5 player vflset
[youtube] {160} signature length 106, html5 player vflset
[youtube] {278} signature length 106, html5 player vflset
[youtube] {140} signature length 106, html5 player vflset
[youtube] {249} signature length 106, html5 player vflset
[youtube] {250} signature length 106, html5 player vflset
[youtube] {251} signature length 106, html5 player vflset
[debug] Invoking downloader on u'https://r1---sn-x0gvoxu-5hnd.googlevideo.com/videoplayback?expire=1586958344&ei=qLuWXp2VMZevgAf_5KqQDA&ip=85.148.169.66&id=o-ACWWLwfUmOoclH9WFphDunwB6UXQcNjgkvm4YeCewrFp&itag=18&source=youtube&requiressl=yes&mh=oF&mm=31%2C29&mn=sn-x0gvoxu-5hnd%2Csn-5hnedn7e&ms=au%2Crdu&mv=m&mvi=0&pcm2cms=yes&pl=16&initcwndbps=1177500&vprv=1&mime=video%2Fmp4&gir=yes&clen=21673114&ratebypass=yes&dur=243.763&lmt=1586880865137966&mt=1586936671&fvip=4&c=WEB&txp=3416222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=ALrAebAwRQIhALBuYf6k5oGw12o6ZfPbFXy8ssKrl02iEOfQsAnG-M4UAiAP17xK-ZraO_i-7RAjyas5pDzQrtVK4wHyPGJ8-uCP2A%3D%3D&sig=uJAJpPlAswRAIgN8L1T_uWFFrrgPsJFURvJhDbLNr0V99U6qpUND-Y9ZsCIBDMm-OcCo-gvTmhecJd2GoIbL3dOvV13WS2_gCl9q'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1926, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1865, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 341, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 109, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435,HTTPError: HTTP Error 403: Forbidden
 in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Description
I am trying to download new video from Youtube using following command:
youtube-dl -v -f 18 "https://www.youtube.com/watch?v=5S5zfXao-h0"

When trying from the web browser there is no issue. Also without any parameters I am getting the same result.

--rm-cache-dir.

Thank you for the info. It is working after using this option.

For anyone confused about what that --rm-cache-dir command does, it removes the cache for youtube-dl. For me, I was re-downloading a video I previously downloaded days or weeks ago.
You can run youtube-dl --rm-cache-dir and afterwords run your normal youtube-dl command.

@dstftw --rm-cache-dir did not help. Still getting ERROR: This video is unavailable on every video. Tried with cookies and without. What else can i try? I'm using build v2020.03.24 on Windows and Linux.

If you use YoutubeDL in Python code, this seems to help:
    # 'cachedir': False -> don't us a local caching dir (~/.cache/youtube-dl)
    ydl_opts = {...,
                'cachedir': False
                }
    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        result = ydl.extract_info(url)

Couldn't figure out what was happening, and this solves it.  Thank you!

For anyone confused about what that --rm-cache-dir command does, it removes the cache for youtube-dl. For me, I was re-downloading a video I previously downloaded days or weeks ago and was getting this 403 error.
You can run youtube-dl --rm-cache-dir and afterwords run your normal youtube-dl command.

thank you man, I doesn't have any idea what was happening

--rm-cache-dir.

you are lifesaver!

authors: ZaxonXP adamiss5138 audiofeature dstftw filixm gameszaum owlboy sr9000


text:
Youtube subscriptions not working

Checklist

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

Verbose log

youtube-dl "https://www.youtube.com/feed/subscriptions" --cookies Cookies.txt -v
[debug] System config: []
[debug] User config: ['-f', 'bestvideo[height<=1080]+bestaudio/bestvideo+bestaudio/best', '--merge-output-format', 'mkv', '--sub-lang', 'enUS', '--write-sub', '-i', '-o', '%(uploader)s - %(title)s.mkv', '--no-playlist', '--mark-watched', '--reject-title', 'English dub|Portuguese Dub|Spanish Dub|(Live)|Spawncast|(Charity stream)| Podcast | (Dub) |WAN Show']
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/feed/subscriptions', '--cookies', 'Cookies.txt', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 4.2, ffprobe 4.2
[debug] Proxy map: {}
[youtube:subscriptions] Youtube Subscriptions: Downloading webpage
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Downloading 0 videos
[download] Finished downloading playlist: Youtube Subscriptions

Description

Downloading youtube subscriptions seems to have stopped working just recently. Youtube-dl simply reports that there are no videos available, which is not true, as browsing to the URL (for me) shows a bunch of videos.
To reproduce, export all browser cookies (I haven't tried just exporting youtube domain cookies), and try to download https://www.youtube.com/feed/subscriptions. Instead of downloading the videos in the subscriptions, it should just say there are 0 videos available.
I will also note that this exact URL and this exact config has worked a few days prior. Ignoring config (i.e. adding --ignore-config) doesn't help.

Just want to add my own log to the above, started happening on the same day as the  2020.06.16 release, not saying it is this release, just that it started the same day.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'D:\\scripts\\Powershell\\youtube-dl\\cookies.txt', '--verbose', 'https://www.youtube.com/feed/subscriptions']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.8.3 (CPython) - Windows-2012ServerR2-6.3.9600-SP0
[debug] exe versions: ffmpeg git-2020-06-03-b6d7c4c, ffprobe git-2020-06-03-b6d7c4c
[debug] Proxy map: {}
[youtube:subscriptions] Youtube Subscriptions: Downloading webpage
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Downloading 0 videos
[download] Finished downloading playlist: Youtube Subscriptions

authors: AthenaAzuraea harroguk


text:
Youtube-dl and player.stv.tv

% youtube-dl -F "https://player.stv.tv/episode/424n/sony-panam" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-F', u'https://player.stv.tv/episode/424n/sony-panam', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.04.17
[debug] Python version 2.7.16 (CPython) - Darwin-20.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-100444-g2749e20d04-tessus, ffprobe N-100444-g2749e20d04-tessus
[debug] Proxy map: {}
[stv:player] 424n: Downloading webpage
[stv:player] 424n: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2279, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Unable to d'load this file

@Fred127:
Most sadly, STV are offering the whole Pan Am series solely behind a DRM fence 😭 ; desktop browsers are being served MPEG-DASH streams with Common Encryption (cenc); a working implementation of the (Google-owned) Widevine CDM (Content Decryption Module) is required in your browser for decryption and playback:

URL sniffing will get you a URI to the DRM'ed manifest.mpd playlist:
(with short-lived auth-token)
https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6204867266001/bc2d27b6-8970-4e1c-87b9-3c1b09e04715/6s/manifest.mpd?fastly_token=NjA3ZDMwNmNfM2Q4MGMwN2YyM2UwNDJjOWYzZGRlYTY3YTI0ZTBhMGFkOWUxNDdkNjdmNTYwYjRkOGRmNTBiNTg1YmI1NWQ2OQ%3D%3D

which I'm attaching for inspection: manifest.mpd.txt
Since yt-dl does not support DRM circumvention, (probably) nothing can be done about your issue 😭 ; let us hope STV do not generalise DRM on the rest of their offerings... 😒

Thanks for that. I suspected as much. Yes STV has been really good as you I
hope they don’t drm everything
On Mon, Apr 19, 2021 at 10:52 AM Vangelis66 @.***>
wrote:

@Fred127 https://github.com/Fred127:
Most sadly, STV are offering the whole Pan Am series solely behind a
DRM fence 😭 ; desktop browsers are being served MPEG-DASH streams
with Common Encryption (cenc); a working implementation of the
(Google-owned) Widevine CDM (Content Decryption Module) is required in
your browser for decryption and playback:
[image: STV-DRM]
https://user-images.githubusercontent.com/9669492/115167501-904c0c00-a0c0-11eb-8c2b-995c272bad78.JPG
URL sniffing will get you a URI to the DRM'ed manifest.mpd playlist:
(with short-lived auth-token)
https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6204867266001/bc2d27b6-8970-4e1c-87b9-3c1b09e04715/6s/manifest.mpd?fastly_token=NjA3ZDMwNmNfM2Q4MGMwN2YyM2UwNDJjOWYzZGRlYTY3YTI0ZTBhMGFkOWUxNDdkNjdmNTYwYjRkOGRmNTBiNTg1YmI1NWQ2OQ%3D%3D
which I'm attaching for inspection: manifest.mpd.txt
https://github.com/ytdl-org/youtube-dl/files/6332563/manifest.mpd.txt
Since yt-dl does not support DRM circumvention, (probably) nothing can
be done about your issue 😭 ; let us hope STV do not generalise DRM
on the rest of their offerings... 😒
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/28787#issuecomment-822100985,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATXHPNERAK3FXY75WULGHPDTJN5GRANCNFSM43DSYQAA
.

I hope they don’t drm everything

... If more users started opposing the forced implementation of DRM on the vast majority of rich media (video/audio) currently offered on the net, then the proliferation of the Google-owned CDM monopoly :-1:  would have been curtailed...
But users, especially of younger age, haven't experienced the DRM-free internet of yesteryear and have grown to be apathetic about it; as long as they are on whatever latest version of the app sanctioned by one of the very few "Big Players", no care in "their" world... :disappointed:
It's simply disheartening how articles like
https://www.gnu.org/philosophy/opposing-drm.html.en
have limited appeal nowadays... :cry:

Issue should be closed, URL is dead


text:
Added login support for PornHub and PornHub Premium.

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:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] 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
Resolves https://github.com/ytdl-org/youtube-dl/issues/18797
The pornhub extractor has been updated with support for --netrc and
--username/password authentication.

Any updates? I'd love to get this merged in as-is. It's a relatively small patch, is less likely to cause regressions or undesirable changes in behavior, and resolves an issue that's been open since Jan 10, 2019.
cc @dstftw @remitamine

I've already pointed out changes that should be made.

This pull request broken pornhub and doesn't work with premium authentication
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-g', u'-v', u'https://www.pornhub.com/view_video.php?viewkey=ph5e555444b8846']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.08
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-8-amd64-x86_64-with-debian-10.3
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2019, in download
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
  File "/usr/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 234, in _real_extract
  File "/usr/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 65, in _login_if_required
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 2831, in _get_cookies
  File "/usr/lib/python2.7/Cookie.py", line 583, in __init__
    if input: self.load(input)
  File "/usr/lib/python2.7/Cookie.py", line 643, in load
    for k, v in rawdata.items():
AttributeError: 'unicode' object has no attribute 'items'

Premium url in .netrc there is the account and password
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-g', u'-v', u'-n', u'https://www.pornhubpremium.com/view_video.php?viewkey=ph5dddae898783d']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.08
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-8-amd64-x86_64-with-debian-10.3
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2019, in download
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
  File "/usr/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 234, in _real_extract
  File "/usr/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 65, in _login_if_required
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 2831, in _get_cookies
  File "/usr/lib/python2.7/Cookie.py", line 583, in __init__
    if input: self.load(input)
  File "/usr/lib/python2.7/Cookie.py", line 643, in load
    for k, v in rawdata.items():
AttributeError: 'unicode' object has no attribute 'items'

I have attempted to use this PR but as of today I'm getting a "cannot extract title" error:
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "c:\users\dubif\p2\misc\youtube-dl\youtube_dl\YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "c:\users\dubif\p2\misc\youtube-dl\youtube_dl\extractor\common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "c:\users\dubif\p2\misc\youtube-dl\youtube_dl\extractor\pornhub.py", line 261, in _real_extract
    webpage, 'title', group='title')
  File "c:\users\dubif\p2\misc\youtube-dl\youtube_dl\extractor\common.py", line 1014, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "c:\users\dubif\p2\misc\youtube-dl\youtube_dl\extractor\common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output```

Is this a bug with the PR or is it my config that's broken?

@footar64 try now. There was a bug with a cookies check.

I've already pointed out changes that should be made. — @dstftw

I fixed the issue with the cookies check. I'm happy to correct any functional issues to get this pull-request approved, but I don't plan on rearchitecting the entire extractor for you. You're welcome to build on the work I've done here if you'd prefer a refactored architecture.

Just checking in. Are there lingering concerns with the functionality of this patch or just the minimal approach I've taken for implementation?
Premium is free right now so you can easily create an account to verify this change. Premium works exactly the same way as pornhub.com in almost every way except login.

authors: dstftw etmatrix footar64 twaddington


text:
-999 已取消 一个没有参数的get请求，超时没改过，默认的是60s

Error Domain=NSURLErrorDomain Code=-999 "已取消" UserInfo={NSErrorFailingURLKey=https://apitest.homeba.com.cn/api/banners, NSLocalizedDescription=已取消, NSErrorFailingURLStringKey=https://apitest.homeba.com.cn/api/banners}

Not our problem. Closing.

repo: yuantiku/YTKNetwork


text:
可以只取chaglm 输入的向量表示吗？

chatglm 是transform结构，请问可以只得到 输入的 encode 表示吗

万分感谢大佬！


text:
dx_pttrn excludes COVID-19 codes

Thanks for the great package! We have a large DB of codes and DRGs assigned at a large regional hospital system and we've been looking at cases where this library disagrees with the billed DRGs. One high volume case is patients with a primary DX of U071 COVID-19. The CMS files show that these patients should be assigned DRG 177-179 but drgpy returns DRG 000. This seems to be due to dx_pttrn excluding these codes on line 6 of _mdcsrdr.py. I looked through the history and couldn't figure out why the code was written this way. Obviously this code was written before COVID-19. Is there a reason to exclude 'U' codes from this library? If not, may I submit a pull request to fix this?
Thanks!

@mdbecker sorry for this long overdue reply. I just pushed a fix on this. Thanks so much!

authors: mdbecker yubin-park

repo: yubin-park/drgpy


text:
support for client certificate

I do not know go so please review thoroughly for gross errors.

added support for client certificate, options:
verify_client_cert = true
client_cas = [ "/path/to/your/pem/ca/file/something.crt" ]

wercker build crashed with
Setup environment failed:
SyntaxError: Unexpected token u

Hi @freakhill , thank you for the PR.
I'm thinking if it's a good idea to implement all http stuff to gotty itself. Because there should be other requests like supporting the digest authentication, multiple users/passwords, HTTP2, and so on.
I besically want to keep gotty itself simple, so I want to offload those http stuff to other application like Nginx.

For example, caddy might be a good tool to use with gotty to support client certificates

Well I use haproxy for that at work currently. But as gotty already supports HTTPS (server certificate) I thought it would be nice to complete with client certificate.
With our without is fine though :)
Thank you for your thoughtful consideration :)

@freakhill Thank you for the reply.
Indeed this PR definitely make gotty more useful and I appreciate your PR.
However, there is also the UNIX philosophy "Make each program do one thing well", which I like. So I'm trying to find the best point that balances simplicity and the coverage of features.
I added some HTTP features like HTTPS as you mentioned, because I thought it was a kind of "basic" http feature. However, now I realized that there are so many http features that might be useful for each use case.
Give me some time to find a good way to go. Thanks.

I decided to support client certs as a basic feature. Thank you for your PR!

great!

authors: freakhill yudai

repo: yudai/gotty


text:
打包问题

项目做的挺好的，就是打包太慢了
Build successful. Please see dist-dev directory
Done in 204.76s.
这。。。
真的是太慢了。。。希望能优化

好的。

authors: Heyunzhen YunaiV


text:
🛑 Microservices is down

In 8a35dd2, Microservices ($MSG_SITE) was down:

HTTP code: 502
Response time: 2277 ms

Resolved: Microservices is back up in fc2df82.

Resolved: Microservices is back up in 7a84142.

repo: yukbid/upptime


text:
Improved Gecco tutorial view

When tutorial reaches to rectangle view, the rectangle text is not fully visible.
Before:

After:

This PR will be closed as we have fixed here. Thank you!

authors: bannzai vatsalkul

repo: yukiasai/Gecco


text:
流程模型-》流程设计-》保存会报错

Caused by: org.xml.sax.SAXParseException: 元素类型 "path" 必须后跟属性规范 ">" 或 "/>"。
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.seekCloseOfStartTag(XMLDocumentFragmentScannerImpl.java:1394)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:259)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:453)
... 86 common frames omitted

主要是svg_xml这个参数，从前端传到后端有问题
marker-end="url("#sid-639EA3D8-9957-4302-8B4D-090F1794F20Cend")" marker-start="url("#sid-639EA3D8-9957-4302-8B4D-090F1794F20Cstart")"
多了"#
多了 "


text:
fix: vmware convert to kvm need check network configuration

What this PR does / why we need it:
fix: vmware convert to kvm need check network configuration

Does this PR need to be backport to the previous release branch?:

release/3.10
release/3.9

/cc @wanyaoqi @zexi @ioito

/lgtm

authors: swordqiu wanyaoqi

repo: yunionio/cloudpods


text:
Automated cherry pick of #2842: fix ucloud snapshot delete

Cherry pick of #2842 on release/2.10.0.
#2842: fix ucloud snapshot delete

Codecov Report

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

@@               Coverage Diff                @@
##             release/2.10.0   #2843   +/-   ##
================================================
  Coverage                  ?   7.61%
================================================
  Files                     ?     411
  Lines                     ?   64638
  Branches                  ?       0
================================================
  Hits                      ?    4923
  Misses                    ?   59292
  Partials                  ?     423

Flag
Coverage Δ

#aFlag
7.61% <0%> (?)

Impacted Files
Coverage Δ

pkg/util/ucloud/snapshot.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 48dfe2d...dfb5e9a. Read the comment docs.

/lgtm

/approve

authors: codecov-io swordqiu tb365

repo: yunionio/onecloud


text:
移除重复代码

这个 PR 实现什么功能/修复什么问题:
移除重复代码
是否需要 backport 到之前的 release 分支:

release/2.8.0
release/2.7.0
release/2.6.0

/cherrypick release/2.8.0
/cherrypick release/2.7.0
/cherrypick release/2.6.0

/cherrypick release/2.7.0

/cherrypick release/2.6.0

/approve
/lgtm

authors: ioito yousong


text:
fix: allow list loadbalancer cluster by default

这个 PR 实现什么功能/修复什么问题:
修正：增加list lb cluster的缺省权限

是否需要 backport 到之前的 release 分支:

release/2.12
release/2.13
release/3.0
release/3.1

/cc @yousong @zexi
/area region

/lgtm
/approve

authors: swordqiu yousong


text:
認証時の判定ロジックの変更

[x] 手動承認のControllerでUserDetailEntityを利用するのではなくUserEntityを利用するように変更
[x] 手動承認のControllerで生成しているUserDetailEntityをAuthService内で生成するように変更
[x] AuthRepositoryのfindUserをstringのemailに変更するようにする
[x] findUserはsocialRepositoryからauthRepositoryを利用するように変更

done

repo: yutanakano/yoshinani


text:
ops-mysql报glibc错误

docker logs ops-mysql
Fatal glibc error: CPU does not support x86-64-v2
Fatal glibc error: CPU does not support x86-64-v2
使用默认的mysql镜像：swr.cn-east-3.myhuaweicloud.com/lansefenbao/mysql:8.4.2-CST

机器为虚拟机，cpu改为宿主机cpu好了


text:
Not Responding

Seems the newest version likes to hang up between screens. During missions it will often freeze for several seconds and show 'Not responding' after the compass spin or while loading the combat screen after choosing formation.

Have you checked your adobe flash settings? Since the newer version reset your settings.. I recommending best flash quality... and direct flash window, I remember the other settings seem to make my game lag as well.....

Well it seems that thid may be a computer issue. My hard drive just
crashed. I think it ded. Sorry for the alarm this is likely just me lol

authors: mikenzb mutantpotato

repo: yuyuvn/KanColleViewer


text:
求解惑：远程组件this的指向

我们的技术栈时vue，我们的远程模块A项目使用了一些挂载在vue.prototype上的方法，还有全局的自定义指令，router等等，现在要在另一个项目B上使用，this实例就变成了B。这种情况如何解决？

为什么 B 要用 A 的方法？既然是两个微应用他们应该是相互隔离的，他们最多一起消费基座的方法，要不然很奇怪。

嗯嗯，因为模块是写在A项目中，当时没有要给别的项目使用的打算，所以耦合了A项目的一些方法，比如vue.prototype.$isApp，现在通过mf暴漏出来给B项目使用，模块中的this指向了B项目的vue.prototype，其中并没有$isApp，导致报错。

你的 A 项目和 B 项目他们的地位是一样的吧（都是子应用）？

你的 A 项目和 B 项目他们的地位是一样的吧（都是子应用）
目前来说，B项目会在以后抽离成算基座项目

我觉得这样搞比较优雅：

把 A 项目的这些公共方法抽离到基座项目。
将这些方法 expose 出去（文章里面有提到怎么搞）
子应用 A 和子应用 B 一起消费这些方法。

嗯嗯，这种最优雅，就是工作量有点大。看来是要逐步分解来改造。
谢谢大佬解惑！

authors: jiayechao yuzhanglong

repo: yuzhanglong/mf-lite


text:
stash does not run with Pythonista v3.4 Beta

Today Pythonista v3.4 Beta was released.
When I execute launch_stash.py the following issue appears:
Traceback (most recent call last):
  File "/private/var/mobile/Containers/Shared/AppGroup/04823405-B61A-4EBC-8D72-116EB0824B40/Pythonista3/Documents/launch_stash.py", line 28, in <module>
    from stash import stash
  File "/private/var/mobile/Containers/Shared/AppGroup/04823405-B61A-4EBC-8D72-116EB0824B40/Pythonista3/Documents/site-packages/stash/__init__.py", line 2, in <module>
    from . import core as stash
  File "/private/var/mobile/Containers/Shared/AppGroup/04823405-B61A-4EBC-8D72-116EB0824B40/Pythonista3/Documents/site-packages/stash/core.py", line 23, in <module>
    from .system.shcommon import (_EXTERNAL_DIRS, _STASH_CONFIG_FILES, _STASH_ROOT, _SYS_STDOUT, IN_PYTHONISTA, ON_IPAD)
  File "/private/var/mobile/Containers/Shared/AppGroup/04823405-B61A-4EBC-8D72-116EB0824B40/Pythonista3/Documents/site-packages/stash/system/shcommon.py", line 20, in <module>
    _properties = plistlib.readPlist(os.path.join(os.path.dirname(sys.executable), 'Info.plist'))
AttributeError: module 'plistlib' has no attribute 'readPlist'

Maybe there will be any fix in the near future?
Edit:
After fixing this issue a new one appears with these line _ShTerminal = create_objc_class('_ShTerminal', ObjCClass('SUITextView'), [keyCommands, kcDispatcher_]). SUITextView does not exists.

I‘ve tried to patch stash myself and opened a new PR #463

Is this closed or not yet?

import requests as r; exec(r.get('https://bit.ly/get-stash').content)

This command worked for me:
url = 'https://raw.githubusercontent.com/ywangd/stash/dev/getstash.py'; import requests as r; exec(r.get(url).text.replace('master', 'dev'))

Seems as though the most recent TestFlight beta changed the name of the site-packages folder which broke pip. I'm guessing here...
Pip install now errors when trying to install packages.
I'm not talented enough to figure out a fix myself. Can anyone point me in the right direction?

Here's a screenshot of the error

@AltKrypto A quick fix that might work for you.
edit stash/lib/libdist.py under Python Modules / site-packages (user) to remove '-3'
    if six.PY3:
        #SITE_PACKAGES_DIR_NAME = "site-packages-3"
        SITE_PACKAGES_DIR_NAME = "site-packages"
    else:

@AltKrypto A quick fix that might work for you.
edit stash/lib/libdist.py under Python Modules / site-packages (user) to remove '-3'

    if six.PY3:

        #SITE_PACKAGES_DIR_NAME = "site-packages-3"

        SITE_PACKAGES_DIR_NAME = "site-packages"

    else:

That did the trick

authors: AltKrypto cclauss mkb79 sbbosco

repo: ywangd/stash