sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Can't download from tv2ostjylland.dk
Labels: broken-IE

## Checklist

- [x] I'm reporting a broken site support
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [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', 'https://www.tv2ostjylland.dk/nyhedsudsendelser?clip=326b07d8-b4fc-4e4e-be3a-c807ba5832e9']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.2 (CPython) - Linux-5.10.0-18-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.4-0, ffprobe 4.3.4-0
[debug] Proxy map: {}
[TV2DK] nyhedsudsendelser: Downloading webpage
ERROR: Unable to extract kaltura id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/grove/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/grove/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/grove/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/grove/bin/youtube-dl/youtube_dl/extractor/tv2dk.py", line 93, in _real_extract
    kaltura_id = self._search_regex(
  File "/home/grove/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract kaltura id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
```

## Description

I tried to download 'https://www.tv2ostjylland.dk/nyhedsudsendelser?clip=326b07d8-b4fc-4e4e-be3a-c807ba5832e9' ((a part of) a news broadcast in danish), it didn't work, and youtube-dl said to report it, so I'm doing so.

When I clicked the "New issue" button on the github page that I was redirected to from the link youtube-dl had outputted, I was asked to choose between 6 categories, as I've succesfully used this version of youtube-dl many times to download from other sites, I guess that the issue is related to the support of this particular site, and hope I've chosen the right category by that. If not you can move this issue or close it as you see fit.
Repository: rust
Issue: Suggest type annotation when creating array of slices.
Labels: A-diagnostics,T-compiler

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur.
-->

Given the following code: <!-- Please provide a link to play.rust-lang.org -->

```rust
let output = [
            &1u8.to_le_bytes(), 
            &1u16.to_le_bytes()
        ];
```

The current output is:

```
error[E0308]: mismatched types
  --> src\example.rs:28:13
   |
28 |             &1u16.to_le_bytes()
   |             ^^^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 1 element, found one with 2 elements

For more information about this error, try `rustc --explain E0308`.
```

<!-- The following is not always necessary. -->
Ideally the output should look like:

```
A message that suggests a way around the problem would be nice. It could hint at providing a type for the variable. 
```

<!--
If the problem is not self-explanatory, please provide a rationale for the
change.
-->

<!--
If dramatically different output is caused by small changes, consider also
adding them here.

If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions. The output might also be
different depending on the Edition.
-->

By annotating the variable with the correct type, everything compiles without a problem:

```Rust
let output: [&[u8]; 2] = [
            &1u8.to_le_bytes(), 
            &1u16.to_le_bytes()
        ];
```

 It would be nice, if the compiler could suggest this change to the code.
Repository: vscode
Issue: Color completion not previewing colors when non-hex variables are present
Labels: feature-request,suggest

This issue is related to #166197 but diferent. That issue is for color completion only showing for hex variables and not for other types like RGB, RGBA, or string.

This one is for color completion not previewing colors **at all**, including for hex variables, under certain conditions.

## Issue Description

When non-hex variables are present, the color square and color code *sometimes* don't show up in the autocomplete suggestions.

Example code is here https://github.com/allan2/vs-code-css-color-issue
Tested on VS Code October 2022 with extensions disabled.


## Issue in detail

![color-completion-1-bug](https://user-images.githubusercontent.com/6740989/201490507-d27c1cc7-8383-4278-bb87-1e1e293bf2dd.gif)

This bug occurs when there are variables of mixed sources, such as hex **and** RGB. Notice how the color square and color code are present in the beginning when `$` is typed, but missing in the end when we type `$`. (Note that there is also an autocompletion that occurs when the colon is typed, more on that later)

![color-completion-2-backspace-resets](https://user-images.githubusercontent.com/6740989/201490691-2f9a9701-767c-4b58-9168-77154f7c38a3.gif)

Backspacing resets the list so that the squares are displayed again.

![color-completion-3-copy-paste](https://user-images.githubusercontent.com/6740989/201490701-14ccc095-223d-4ef1-98c8-3174ee8b87af.gif)

I noticed this when copying and pasting `color: `. This suggests that the autocompletion on colon insertion is also related to this bug.

![color-completion-4-hex-only](https://user-images.githubusercontent.com/6740989/201490716-d704a41f-d859-4877-ba0b-01ec514a84e6.gif)

No bug when variables are hex-only.

## Additional comments

This issue is about what happens when the variable is completed. The last character typed would be `$`.
![step3](https://user-images.githubusercontent.com/6740989/201491460-a1635392-71ef-4a50-890b-d821e9e36067.png)

But could it be more useful earlier? After typing the property `color`, this is what happens:

A colon is inputted. The result:
![step1](https://user-images.githubusercontent.com/6740989/201491402-8bd3a770-dc59-43b8-9458-99bc5d1787c2.png)
A lot is shown, and this makes sense to do so.

A space is inputted. The result:
![step2](https://user-images.githubusercontent.com/6740989/201491412-34d585a8-ca08-43dd-a573-248f150f0446.png)

Could I suggest that variables also be shown in this list? And that the `$` would filter to the list of variables?
Repository: next.js
Issue: transpilePackages feature doesn't work with CSS modules in shared local packages
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

1. run `yarn` to install dependencies and link packages
2. `yarn run dev` to run the application

### What browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_

### Describe the Bug

I want to create monorepo application with multiple NextJS apps and one shared packages for core components and functionality.

The basic set up of `create-turbo` seems to be enough and I see that NextJS app uses `transpilePackages` experimental feature.

However, when I use CSS modules inside shared packages the NextJS gives me following error 

> CSS Modules cannot be imported from within node_modules.
> Read more: https://nextjs.org/docs/messages/css-modules-npm 

![image](https://user-images.githubusercontent.com/12465135/201493861-5a110167-4896-4707-b47b-7199263578f2.png)



## NOTE

Should note that when I use [`next-transpile-modules`](https://www.npmjs.com/package/next-transpile-modules) it works just fine with scss and css modules. The problem rises when I switch to new native `transpilePackage` feature in next.config.js.

### Expected Behavior

I expect to run CSS modules with new native `transpilePackages` configuration. 

### Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster

https://github.com/Cartman720/transpile-packages-scss-bug

### To Reproduce

Just run `yarn run dev` and visit the main page, you'll see the bug from the above screenshot.

In `next.config.js` you can switch to `next-transpile-modules` to ensure that following packages transpiles correctly as supposed.

![image](https://user-images.githubusercontent.com/12465135/201494060-61a2ebe7-27a5-46a6-b37f-dc3a2215dc8e.png)
Repository: rust
Issue: For E0401, mention item definition being the problem
Labels: A-diagnostics,T-compiler

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur.
-->

Given the following code: <!-- Please provide a link to play.rust-lang.org -->

```rust
fn foo<T>() {
    const SIZE: usize = core::mem::size_of::<T>();
}
```

The current output is:

```
error[E0401]: can't use generic parameters from outer function
 --> src/lib.rs:2:46
  |
1 | fn foo<T>() {
  |        - type parameter from outer function
2 |     const SIZE: usize = core::mem::size_of::<T>();
  |                                              ^ use of generic parameter from outer function
```

<!-- The following is not always necessary. -->
Ideally the output should look like:

```
error[E0401]: item definitions can't use generic parameters from outer function
 --> src/lib.rs:2:46
  |
1 | fn foo<T>() {
  |        - type parameter from outer function
2 |     const SIZE: usize = core::mem::size_of::<T>();
  |                                              ^ use of generic parameter from outer function
  = help: items can't use generic parameters from outer scope, where items are:
  = help: statics, consts, type definitions, etc. // should this list be included?
```

<!--
If the problem is not self-explanatory, please provide a rationale for the
change.
-->

I didn't fully understood why there are places you can't use generic parameters inside a function. When someone mentioned that the issue is that items act as if they are defined outside (with only their name being scoped), I understood (I think) that these "places" are exactly item definitions.

<!--
If dramatically different output is caused by small changes, consider also
adding them here.

If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions. The output might also be
different depending on the Edition.
-->
Repository: PowerToys
Issue: Adding folders to prioritize for PowerToys Run
Labels: Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

Giving you the option to add specific folders which will be prioritized to for example make it easier to use search to browse video/image folders or shortcuts. Most of the files I'm looking for don't show up at all.

### Scenario when this would be used?

Work, specifically video editing / General purpose

### Supporting information

_No response_
Repository: rust
Issue: "computing type of ...::{opaque#0}" query cycle in `async fn` w/ auto trait obligations.
Labels: T-compiler,A-impl-trait,C-bug,A-auto-traits

I tried this code using GATs and the async feature

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8856ef117840a1d3b4be93441c2b36b1

I expected it to compile. For reference, the same code implemented using manual `.then` future chaining compiles as shown here:

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8cd834a4ff4d4b969d6ba1de9db91fee

Note that the above are built with nightly 1.67, but the same error occurs on stable 1.65.

Tagging @jackh726 as suggested by @jyn514 

Note that GATs are an amazing feature that I'm incredibly grateful to you for implementing, and also that I'm not surprised that my extremely galaxy brained Haskell shenanigans hit some edge case.

---

**EDIT**(@eddyb): changed title as per https://github.com/rust-lang/rust/issues/104343#issuecomment-1312653689 - this does not seem to involve GATs at all, just the unfortunate interaction of `async fn`'s `-> impl Future` desugaring + the "leaky" auto trait semantics of `-> impl Trait`.
Repository: stable-diffusion-webui
Issue: [Bug]: MacOS - No module named 'torchsde'
Labels: asking-for-help-with-local-system-issues,platform:mac


Disregard for now. 
After brew update/upgrade/doctor 
and a 2nd attempt down instructions list, the install did not crash at the same place. 


-----
### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

would not install. received this error

  File "/Users/brentchildress/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/sampling.py", line 7, in <module>
    import torchsde
ModuleNotFoundError: No module named 'torchsde'



### Steps to reproduce the problem

Automatic installation (Mac Silicon) 

First, you need to install the required dependencies using [Homebrew](https://brew.sh/).

brew install cmake protobuf rust python git wget

The script can be downloaded from [here](https://github.com/dylancl/stable-diffusion-webui-mps/blob/master/setup_mac.sh), or follow the instructions below.

Open Terminal.app
Run the following commands:
$ cd ~/Documents/
$ curl https://raw.githubusercontent.com/dylancl/stable-diffusion-webui-mps/master/setup_mac.sh -o setup_mac.sh
$ chmod +x setup_mac.sh
$ ./setup_mac.sh
Follow the instructions in the terminal window.



*** during instructions, setup fails with error above. 
>>DURING INSTALL , SELECTED NO TO THE IS MODEL PRESENT QUESTION. 



### What should have happened?

install should have completed successfully. 

### Commit where the problem happens

98947d173e3f1667eba29c904f681047dea9de90

### What platforms do you use to access UI ?

MacOS

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

_No response_

### Additional information, context and logs

_No response_
Repository: rust
Issue: Incorrect/Confusing cross-linking in docs for miette crate
Labels: T-rustdoc,C-enhancement,A-cross-crate-reexports

On docs.rs, looks like there is some mistake in the source links in the miette docs. You can try it yourself:
- https://docs.rs/miette/latest/miette/struct.Error.html (which is currently https://docs.rs/miette/5.4.1/miette/struct.Error.html)

Or see the screen recording below:

https://user-images.githubusercontent.com/7187503/201502553-0a45c222-84a2-4e05-aba6-c7e14eab517d.mov

I would expect that clicking on 'Source' for a definition shown as pub struct miette::Error would take me to a declaration with 'pub struct Error'.

Miette does have many different crate features, I'm wondering if this problem is because of that.
Repository: next.js
Issue: Parameter on `AppType` is used incorrectly
Labels: good first issue,TypeScript

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

<details><summary>environment information</summary>

```
sandbox@sse-sandbox-xhvisb:/sandbox$ yarn next info
yarn run v1.22.19
$ /sandbox/node_modules/.bin/next info

    Operating System:
      Platform: linux
      Arch: x64
      Version: #58~20.04.1-Ubuntu SMP Tue Jun 14 11:29:12 UTC 2022
    Binaries:
      Node: 14.19.3
      npm: 6.14.17
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.0.3-canary.4
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0

warn  - Latest canary version not detected, detected: "13.0.3-canary.4", newest: "13.0.3".
        Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
        Read more - https://nextjs.org/docs/messages/opening-an-issue
Done in 0.84s.
```

Note: warning at the end seems to be because I'm using `next@canary` (as instructed) but `canary` version is older than latest official release. My issue is present in either version.

</details>

### Describe the Bug

Prop types defined by the parameter on `AppType` are incorrectly applied to MyApp's `props.pageProps` instead of MyApp's `props`.

### Expected Behavior

Expected TS types to correctly reflect runtime types.

### Link to reproduction

https://codesandbox.io/s/polished-tree-xhvisb?file=/pages/_app.tsx

### To Reproduce

1. Open the link to reproduction
2. Observe code on left (with TS errors) and the produced page on right.

There's a TS error on line 13, complaining `Property 'foo' does not exist on type 'AppPropsType<any, MyInitialProps>'`, even though `props.foo` **does** exist at runtime.

Also, there's no TS error on line 14, even though `props.pageProps.foo` does **not** exist at runtime.

![image](https://user-images.githubusercontent.com/3198597/201504268-f7a6c8eb-3d5d-4684-8ec3-806cbb5eecf4.png)
Repository: godot
Issue: 3.5 File open dialog in editor doesn't recognize folders
Labels: bug,topic:editor

### Godot version

3.5.1

### System information

Windows 10

### Issue description

On the script tab, in the editor, go to File Open. The file dialog that appears doesn't show/recognize folders. Selecting All files will show a thumbnail of the folder but appearantly not recognized as a proper folder.

### Steps to reproduce

Create a new basic project. Goto Script, File Open. Step up one directory. The project's folder should be visible here but is missing. Select All Files. Now a thumbnail appears but it can't be opened.
![GodotFileOpen](https://user-images.githubusercontent.com/52129590/201507393-971c8565-9bf2-4844-b206-e95140cd3d6d.png)


### Minimal reproduction project

_No response_
Repository: godot
Issue: Creating GridMaps from secondary thread throws octant_update errors
Labels: bug,topic:core

### Godot version

v4.0.beta4.official [e6751549c]

### System information

Windows Server 2022, Vulcan

### Issue description

Creating a GridMap from a secondary thread throws errors and eventually causes a crash. This issue is in Godot 4, so I don't think that it's related to [42917](https://github.com/godotengine/godot/issues/42917)

The GridMap is not a child of the scene tree when its contents are being modified. The following error is emitted while calling `gridmap.set_cell_item`

```
E 0:00:02:0592   _octant_update: Condition "!cell_map.has(E)" is true. Continuing.
  <C++ Source>   modules/gridmap/grid_map.cpp:610 @ _octant_update()
```

Additionally, the game will randomly crash at times.

### Steps to reproduce

Start a secondary thread. From the secondary thread, create a GridMap. Do not add as a child of the scene yet.
Call `set_cell_item()` multiple times to populate the GridMap.
Errors will randomly appear, and the game might crash.

Using Reproduction Project:
Pressing the "Start" button will cause errors to show up in the debugging output
Pressing the "Start" button multiple times in will eventually cause the game to crash.

### Minimal reproduction project

[GridMap.zip](https://github.com/godotengine/godot/files/9996577/GridMap.zip)
Repository: stable-diffusion-webui
Issue: [Feature Request]: Analyze PC Specs
Labels: enhancement

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Right now, people can install Web UI without being able to meet the minimum requirements or even run it. It would be excellent if there were a way to either read the user's specs and warn them if their computer is too low-spec to adequately run AI generation, or to at least easily produce a file of their machine specs for easy reference for more technically inclined users.

This is particularly notable for people on Linux/Mac OS, and people with AMD cards, or people with functional RTX cards that have extremely low VRAM.

### Proposed workflow

When launching WebUI, before asking to install anything at all, it should show the user's PC specs, specifically their GPU, CPU, and RAM. It should at a minimum tell them what their VRAM is and whether they have to use --lowvram, --medvram, or --highvram.

Once the installation finishes, it should also output a simple text file in the root directory called PCSpecs.txt that the user can drag and drop onto discord for assistance.

If the first step is not doable, at a minimum the second step, a .txt of their specs, would be great to have.

Thanks.

### Additional information

_No response_