sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [NNC] Improve "UNSUPPORTED DTYPE" error messages 
Labels: oncall: jit,module: bootcamp,NNC

##  🚀  Feature

Throughout the NNC code base there are a number of `unsupported_dtype()` calls, which when run appear as:
> RuntimeError: UNSUPPORTED DTYPE

These errors are never supposed to be seen by the user, but it would nice to give better error messages for the developer experience. 

I think all of these could be migrated to `TORCH_INTERNAL_ASSERT(False, ...) ` - which would shows the file & line number that the error occurred, and prints out a string representation of all of the inputs. Ideally the unsupported type & expression type would get printed out as well. 

## To Reproduce

On master, change https://github.com/pytorch/pytorch/blob/master/test/test_jit_fuser_te.py#L228 to `with set_fusion_group_inlining(False):` to see the error message. Grep-ing around for `unsupported_dtype()` will show callsites.

cc @gmagogsfm
Repository: go
Issue: x/text/cmd/gotext: help output is non-existent
Labels: NeedsInvestigation

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.15.4 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/sethvargo/Library/Caches/go-build"
GOENV="/Users/sethvargo/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/sethvargo/Development/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/sethvargo/Development/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/sethvargo/.homebrew/Cellar/go/1.15.4/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/sethvargo/.homebrew/Cellar/go/1.15.4/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/sethvargo/Desktop/test/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/cs/jc9pj94x493gb8jr49ys7cnc00gy5b/T/go-build340116470=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

Ran `gotext help <subcommand>` 

### What did you expect to see?

Help output

### What did you see instead?

Nothing
Repository: vscode
Issue: Provide an error code for "User did not consent to login" error
Labels: feature-request,api-proposal,authentication

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
It would be useful to be able to detect the "User did not consent to login" error thrown by `authentication.getSession` when a user doesn't authorize github through VS Code.  Right now the error just returns a string, so the only way to verify it's this error is by comparing the strings which won't work if the string changes or for other languages.
![image](https://user-images.githubusercontent.com/5290572/99020471-90dde680-2513-11eb-929f-b55e105f6311.png)
Repository: flutter
Issue: [webview_flutter] MissingPluginException(No implementation found for method evaluateJavascript(), clearCache() and reload()
Labels: c: crash,platform-android,p: webview,package,a: release,P3,team-android,triaged-android

I've been getting this since using the webview_flutter plugin. I got thousands of this errors reported on Crashlytics. Unfortunately the stacktrace is very limited. I hope this gets resolved soon.

<details>
  <summary>Firebase Crashlytics Logs</summary>
 
```
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
MissingPluginException(No implementation found for method reload on channel plugins.flutter.io/webview_1)
MethodChannel._invokeMethod (MethodChannel.java:157)
```

```
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
MissingPluginException(No implementation found for method evaluateJavascript on channel plugins.flutter.io/webview_0)
MethodChannel._invokeMethod (MethodChannel.java:157)
```

```
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
MissingPluginException(No implementation found for method clearCache on channel plugins.flutter.io/webview_1)
MethodChannel._invokeMethod (MethodChannel.java:157)
WebViewController.clearCache (WebViewController.java:673)
```
</details>
Repository: opencv
Issue: Can't rotate 3D array with #channels > 4
Labels: feature,category: core

##### System information (version)
- OpenCV => 4.4.0
- Numpy => 1.19.1
- Operating System => Windows 64 Bit
- Conda Version => 4.8.2


##### Detailed description
Hi,
I have a simple 3D numpy array that represents an image: first axis is height, second is width, third is number of channels. When numbers of channels is >4 cv2.rotate won't work. Any help would be appreciated. 
Thank you.

##### Steps to reproduce

```.python
import numpy as np
import cv2

array= np.random.randn(100,200,5).astype(np.uint8)
rotated = cv2.rotate(src=array, rotateCode=cv2.ROTATE_90_CLOCKWISE)
```

```python
cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-6sxsq0tp\opencv\modules\core\src\matrix_operations.cpp:538: 
error: (-215:Assertion failed) func != 0 in function 'cv::transpose'
```
Repository: youtube-dl
Issue: Add Youvi.ru support
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.11.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.11.17**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://youvi.ru/post/f70hh4oGgIl


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Youvi is a new social video service from "ЖЮ", the largest Russian entertainment Telegram channel.

Youvi helps to follow your friends' interests, share and find new videos by topics. It has been launched in May 2020 as beta and reached 300 000 monthly users in September.
Repository: flutter
Issue: VideoPlayer plugin needs RepaintBoundary
Labels: p: video_player,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

We experienced problems with the performance of VideoPlayer in one customer app, due to the lack of a repaint boundary. 

VideoPlayer should include RepaintBoundary through an on optional named parameter that is set to true, just like ListView does. There it's called `bool addRepaintBoundaries = true`.

/cc @ferhatb
Repository: flutter
Issue: Local engine builds should use Fuchsia's goma rbe
Labels: team,engine,P2,team-engine,triaged-engine

This requires downloading different goma binaries than the ones present in depot_tools.

@godofredoc Could you add a link here to any relevant docs that we should follow.
Repository: pytorch
Issue: [JIT] Saving and Loading JIT Model Does Not Preserve __dir__
Labels: oncall: jit,days

## 🐛 Bug

`dir()` on newly - scripted module works correctly, but breaks after serialization.

```
import torch

class Test(torch.nn.Module):
    @torch.jit.export
    def other(self):
        return torch.tensor([22])
    
    def forward(self):
        return torch.tensor([20])

s = torch.jit.script(Test())
torch.jit.save(s, 'test')
s2 = torch.jit.load('test')

print("other" in dir(s)) # True
print("other" in dir(s2)) # False
s2.other # doesn't error
```

cc @gmagogsfm

Related: https://github.com/pytorch/pytorch/issues/46549
Repository: vscode
Issue: Allow an output to go into full-screen mode
Labels: feature-request,webview,electron,notebook-output

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

Some jupyter notebook renderers support opening output in full screen, we will explore what that means in VS Code environment.
Repository: storybook
Issue: Module not found: Error: Can't resolve mdx file
Labels: question / support,addon: docs,mdx

I got this error
```
ERROR in ./stories/components/atomic/Button.stories.tsx
Module not found: Error: Can't resolve './Button.stories.mdx' in '/Users/user/Desktop/plasma/order-seller-fe-npay/packages/common/components/stories/components/atomic'
 @ ./stories/components/atomic/Button.stories.tsx 110:43-74
 @ ./stories sync ^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^\/]*?\.stories\.(tsx|mdx))$
 @ ./.storybook/generated-stories-entry.js
 @ multi /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/core/dist/server/common/polyfills.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/storybook-init-framework-entry.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/addon-docs/dist/frameworks/common/config.js-generated-other-entry.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/addon-docs/dist/frameworks/react/config.js-generated-other-entry.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/addon-actions/dist/preset/addDecorator.js-generated-other-entry.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/addon-actions/dist/preset/addArgs.js-generated-other-entry.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/addon-links/dist/preset/addDecorator.js-generated-other-entry.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/@storybook/addon-knobs/dist/preset/addDecorator.js-generated-other-entry.js ./.storybook/preview.js-generated-config-entry.js ./.storybook/generated-stories-entry.js /Users/user/Desktop/plasma/order-seller-fe-npay/node_modules/webpack-hot-middleware/client.js?reload=true&quiet=false&noInfo=undefined
```

With

Button.stories.tsx
```tsx
import Button from '../../../atomic/Button';;
import mdx from './Button.stories.mdx';
import React from 'react';

export default {
  title: 'components/atomic/Button',
  component: Button,
  parameters: {
    docs: {
      page: mdx
    } 
  }
};

export const basic = (props) => {
  return <Button {...props}>TEST</Button>;
};
basic.story = { 
  name: 'Basic'
};
```

Button.stories.mdx
```mdx
import { Meta, Story } from '@storybook/addon-docs/blocks';
import * as stories from './Button.stories.tsx';

<Meta title="components/atomic/Button" />

# Button

I can define a story with the function imported from CSF:
testetsetsektjksledjflksjkl

<Story story={stories.basic} />

And I can also embed arbitrary markdown & JSX in this file.
```

How can I add `Button.stories.mdx` file as docs.

I declared mdx at `global.d.ts`
```tsx
declare module '*.mdx' {
  const content: string;
  export default content;
}
```
Repository: godot
Issue: Low speed RigidBody overlaps StaticBody then bounces back when collision happens even with CCD enabled and 0 bounce
Labels: bug,confirmed,topic:physics

**Godot version:**
v3.2.3.stable.official

**OS/device including version:**
Device: Macbook Pro 2016
OS: macOS Big Sur 11.0.1

**Issue description:**
Yes, I've searched a lot but none of them works.

**1️⃣ Given a scenario**: In 3D world, there's a `StaticBody` as ground, a `RigidBody` with Capsule `CollisionShape` as player.

**2️⃣ Action**: Player falls freely to the ground from a low height.

**3️⃣ Result**: As the title says, player can detect collision and stopped as wanted. But if we look close, the player overlays with the ground (also called tunnelling?), then bounces back, even through the `Bounce` property of player and ground all set to 0!

**4️⃣ Try to solve**: I've tried these steps:
1. Enable CCD.
not working :(
2. Switch physics engine from Bullet to GodotPhysics, and increase physics FPS from 60 to 90.
Hmmm seems better, but still some glitches when I stare at the screen...(forgive my perfectionism). Besides I don't think  is a better way to solve this kind problem.

**5️⃣ Wanted**: when bounce is 0 and collision happens, player should stop immediately, no overlaps, no bounce, it should stand still, right here waiting for you :)

Please help me, thank you all.

**Minimal reproduction project:**
The minimal project contains 3 objects: Ground(`StaticBody`), Player 1(`KinematicBody`), Player 2(`RigidBody`).
Player 1 works right, Player 2 overlaps and bounces back which is not wanted.

[Basic3D.zip](https://github.com/godotengine/godot/files/5550946/Basic3D.zip)
Repository: godot
Issue: Improve error message when attempting to access an object property whose name starts with a number using dot syntax
Labels: enhancement,topic:gdscript,usability

**Godot version:**
3.2.3 stable and 3.2.4 beta 1

**OS/device including version:**
Windows 10

**Issue description:**
(Actually, I'm not sure if this is a bug or intended behavior, considering variable names can't begin with a number)

Godot will let you create a dictionary with string keys beginning with numbers without complaint.
These keys will even show up as autocomplete results, but trying to access the associated value will give a confusing error.
(In this case, it says the line needs to end with a colon, even though it already does.)

**Steps to reproduce:**
Create a `String` key with a number as the first character.
![DictKeyBeginningWithStringNumber](https://user-images.githubusercontent.com/60025044/99354220-aaf92b00-286b-11eb-8be7-76195e016589.png)

**The error-producing code:**
```gdscript
const Directions := {
	"2D": [Vector2.LEFT, Vector2.RIGHT, Vector2.UP, Vector2.DOWN],
	"3D": [Vector3.LEFT, Vector3.RIGHT, Vector3.UP, Vector3.DOWN],
}

func _ready():
	for __2D_direction in Directions.2D:
		print(__2D_direction)
```

**Minimal reproduction project:**
[DictKeyBeginningWithStringNumber.zip](https://github.com/godotengine/godot/files/5551648/DictKeyBeginningWithStringNumber.zip)
Repository: pytorch
Issue: Microsoft C++ exception: torch::jit::ErrorReport at memory location 0x0000001C0C3BBB40.
Labels: oncall: jit

Hi,
I try to work with torchvision detection models in c++ to be able to do that I obtain TorchScript models via torch.jit.script of fasterrcnn_resnet50_fpn and retinanet_resnet50_fpn but while I trying to load scripted models in C++ I get "Microsoft C++ exception: torch::jit::ErrorReport at memory location 0x0000001C0C3BBB40." exception which is very uninformative. I use latest versions of both torch, torchvision and libtorch. I wonder if there is anyone try same operations and succeeded if so any recommendation is appreciated. Thanks 


cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @peterjc123 @mszhanyi @skyline75489 @nbcsm @gmagogsfm
Repository: pytorch
Issue: CPU Tensor with Python MP Freezing in Docker Container
Labels: module: multiprocessing,triaged,module: docker

## 🐛 Bug

This seems so basic that I'm pretty baffled at where the issue could be coming from. 

- Main process A creates a tensor
- Main process A spawns process B
- Process B creates a tensor

After Process B creates a tensor, it will freeze. No exception, no error, just frozen. If Process A doesn't create a tensor, this isn't an issue. If Process B creates a tensor through `torch.empty(...)` this is actually fine, until you use `fill_(...)` on that tensor, which will also cause freezing.

## To Reproduce

```python
import os
import torch
import multiprocessing as mp

def process_b_target():
    print(f"{os.getpid()}: In Process B, creating tensor.")
    local_tensor_b = torch.zeros(3, 500, 500)
    print(f"{os.getpid()}: In Process B, created tensor.")


def a():
    b = mp.Process(group=None, target=process_b_target, args=())
    local_tensor_a = torch.zeros(3, 500, 500)

    print(f"{os.getpid()}: Process A starting B.")
    b.start()
    b.join()


if __name__ == '__main__':
    a()
```

<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->

## Expected behavior

The tensor in process C should be created with no problem. 

## Environment

PyTorch version: 1.7.0
Is debug build: True
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.5 LTS (x86_64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect

Python version: 3.6 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: GeForce GTX 1650
Nvidia driver version: 455.32.00
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.18.3
[pip3] torch==1.7.0
[pip3] torchvision==0.8.1
[conda] Could not collect

 - Any other relevant information:
Note: Also tested with torch/torchvision 1.3.0/0.3.0

## Additional context

Behavior is produced in a docker container. `docker version` output below: 

Client: Docker Engine - Community
 Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46d9d
 Built:             Wed Sep 16 17:02:36 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.13
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       4484c46d9d
  Built:            Wed Sep 16 17:01:06 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.7
  GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
 nvidia:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
Repository: go
Issue: x/pkgsite: slightly confusing "There are no [...] in this package" placeholders
Labels: NeedsInvestigation,pkgsite,UX,pkgsite/dochtml

Look at https://pkg.go.dev/github.com/multiformats/go-multicodec@master, for example. Its API just exposes an enum-like integer type, with some constants of that type, and a method on the type.

All in all, the package has a few dozen exported constants, and one exported function - a method on the type.

However, the API reads like:

```
Constants
There are no constants in this package.

Variables
There are no variables in this package.

Functions
There are no functions in this package.

Types
type Code
[...]
```

"There are no constants in this package" feels incorrect to me, just like "no functions". It's made worse by how I read the page in order - first I'm told there are no constants, which confuses me greatly as this package exposes lots of them. Only later do I find them under the "Types" section.

Godoc has none of those problems; as it does not use sections, it just jumps straight to `type Code`: https://godoc.org/github.com/multiformats/go-multicodec

Perhaps what I'm proposing is to omit the sections entirely, if just one section has any content. Or to omit sections which are empty, because the "There are no XXX in this package" message can be misleading.
Repository: go
Issue: x/pkgsite: search in page is made less useful by hidden content
Labels: NeedsInvestigation,pkgsite,UX,pkgsite/search

Steps to reproduce the good godoc.org behavior:

1) Go to https://godoc.org/github.com/dgraph-io/badger
2) Press Ctrl-F (or whichever "search in page" shortcut)
3) Type "NewIterator"
4) Get taken straight to "func (txn *Txn) NewIterator(opt IteratorOptions) *Iterator", its first occurrence - in the index

Now, on pkgsite:

1) Go to https://pkg.go.dev/github.com/dgraph-io/badger/v2@v2.2007.2
2) Press Ctrl-F (or whichever "search in page" shortcut)
3) Type "NewIterator"
4) The first result is about a quarter of the page in, but I don't see a match. Weird. Press enter again for the next match.
5) Still an invisible/hidden match. I have to press enter a few more times to get taken to the index, the visible result I want.

Another way to look at it is that the search on godoc.org results in 6 matches, but the same search results in 10 matches on pkgsite. The first four matches are hidden, which make up for the difference with godoc.org.

Can we get rid of those four hidden matches altogether? Especially since they somehow match before the index, which is very close to the top.
Repository: vscode
Issue: [json] no IntelliSense when all-optional branch matches
Labels: feature-request,json

E.g. with 3 branches in a `"oneOf"`:

```json
{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"oneOf": [
		{
			"type": "object",
			"properties": {
				"dockerFile": {
					"type": "string"
				}
			},
			"required": [
				"dockerFile"
			],
			"additionalProperties": false
		},
		{
			"type": "object",
			"properties": {
				"image": {
					"type": "string"
				}
			},
			"required": [
				"image"
			],
			"additionalProperties": false
		},
		{
			"type": "object",
			"properties": {
			},
			"additionalProperties": false
		}
	]
}
```

`"dockerFile"` or `"image"` are allowed but not both at the same time. The real-life schema has several optional properties and also more required properties.

I don't get proposals for `"dockerFile"` or `"image"` in an empty object:

![image](https://user-images.githubusercontent.com/9205389/99375396-fa6b4580-28c3-11eb-9370-ad06b0786f5c.png)

Removing the third (here empty) branch makes it show `"dockerFile"` and `"image"` proposals.