sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: LUCI has introduced a new field in ScheduleBuildRequest that will be required in the future
Labels: team-infra,P2,triaged-infra,:hourglass_flowing_sand:

https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builds_service.proto#456

```proto
// ...
//
// If schedule a build with parent, this field should be YES or NO.
// But UNSET is also accepted for now, and it has the same effect as YES.
// TODO(crbug.com/1031205): after the parent tracking feature is stable,
// require this field to be set when scheduling a build with parent.
Trinary can_outlive_parent = 21;
```

We should start setting this field. The LUCI team has said there is no concrete timeline to start rejecting UNSET.
Repository: godot
Issue: OpenXRExtensionWrapperExtension: Avoid use of multiple inheritance with data members
Labels: bug,discussion,topic:gdextension,topic:xr

### Godot version

v4.0.beta7

### System information

All

### Issue description

I'm concerned about the use of Multiple Inheritance with `class OpenXRExtensionWrapperExtension : public Object, OpenXRExtensionWrapper` given that `OpenXRExtensionWrapper` has member variables

one of the principles I've usually followed is to avoid MI in c++ unless all but the first parent have no members
In this case, `OpenXRExtensionWrapper` defines
```
        OpenXRAPI *openxr_api = nullptr;
        HashMap<String, bool *> request_extensions;
```
it's such a small amount of data that I think these belong in each of the child classes, and those should be the ones to implement the `get_request_extensions()` function and the constructor
That way, `OpenXRExtensionWrapper` can be a class with only virtual functions. perhaps `get_request_extensions()` can be declared pure virtual so implementers are forced to store the `request_extensions`

_Originally posted by @lyuma in https://github.com/godotengine/godot/issues/68259#issuecomment-1340171456_

### Steps to reproduce

Code quality issue. Look for classes which have multiple inheritance (`class.*:.*,`)

### Minimal reproduction project

N/A
Repository: stable-diffusion-webui
Issue: Runtime error AND AttributeError: 'NoneType' object has no attribute 'sd_model_hash' ...Also 'process_text'
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

I was prompting in Anything V3, but tried to change it to another model, but then I got the following message:

![Error 1 runtime error](https://user-images.githubusercontent.com/119369714/206076599-3432dc00-a824-4dee-9d8e-fdd6c1536883.jpg)

Then I reloaded the WebUi and it already loaded the model I was trying to use. But in the next prompt, I've got the error:
![Error 2 Sd_Model](https://user-images.githubusercontent.com/119369714/206076863-e0c1e50f-cbda-4187-9acb-7cecda8fd929.jpg)

Then, I can't change to any model or generat images at all:
![Error 3 Every model](https://user-images.githubusercontent.com/119369714/206076953-c1fa8841-1a81-4f72-b1f0-bce78decbeab.jpg)


### Steps to reproduce the problem

1. Go to Stable Diffusion Checkpoint
2. Try to change model
3. ...


### What should have happened?

It should have changed between models

### Commit where the problem happens

It says Commit hash: <none>

### What platforms do you use to access UI ?

Windows

### What browsers do you use to access the UI ?

Brave

### Command Line Arguments

```Shell
@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--no-half-vae --api

call webui.bat
```


### Additional information, context and logs

_No response_
Repository: go
Issue: go/analysis: latent bug in unitchecker fact registration 
Labels: NeedsFix,Analysis

While reading code in unitchecker I noticed that the algorithm for Fact registration appears to be backwards (my bad), as noted by the TODO comment which I added in CL 443099. This issue is a reminder to fix it.

```
	// Register fact types with gob.
	// In VetxOnly mode, analyzers are only for their facts,
	// so we can skip any analysis that neither produces facts
	// nor depends on any analysis that produces facts.
	//
	// TODO(adonovan): fix: the command (and logic!) here are backwards.
	// It should say "...nor is required by any...".
	//
	// Also build a map to hold working state and result.
	type action struct {
		once        sync.Once
		result      interface{}
		err         error
		usesFacts   bool // (transitively uses)
		diagnostics []analysis.Diagnostic
	}
	actions := make(map[*analysis.Analyzer]*action)
	var registerFacts func(a *analysis.Analyzer) bool
	registerFacts = func(a *analysis.Analyzer) bool {
		act, ok := actions[a]
		if !ok {
			act = new(action)
			var usesFacts bool
			for _, f := range a.FactTypes {
				usesFacts = true
				gob.Register(f)
			}
			for _, req := range a.Requires {
				if registerFacts(req) {
					usesFacts = true
				}
			}
			act.usesFacts = usesFacts
			actions[a] = act
		}
		return act.usesFacts
	}
```
Repository: vscode
Issue: [Accessibility] - Screen reader announces invisible "indeterminate progress indicator" for quick pick list
Labels: bug,accessibility,quick-pick

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.73.1
- OS Version: macOS Ventura 13.0.1

Steps to Reproduce:


1. Navigate to an action in an extension that uses a Quick Pick List dialog box, for example "Select Display Language", Or the command palette
2. Use tab to try and navigate to the items in the quick pick list
3. Screen reader announces "indeterminate progress indicator" at the bottom of the quick input box for an invisible element.


https://user-images.githubusercontent.com/1532417/206094275-80a89019-53b0-47b5-85c5-462f1000a0fd.mp4
Repository: godot
Issue: Missing type causes UNSAFE_PROPERTY_ACCESS
Labels: bug,topic:gdscript

### Godot version

v3.5.1.stable.official [6fed1ffa3]

### System information

macOS

### Issue description

accessing an existing property of an object instance or an autoload singleton causes the UNSAFE_PROPERTY_ACCESS warning, if the appropriate warning is enabled.

### Steps to reproduce

- enable `gdscript/warnings/unsafe_property_access` in project settings
- define class or singleton with property but no type annotation
- access that property from another script

`Helper.gd` (autoload):
```gdscript
extends Node

const PROPERTY_A: String = "hello"
var PROPERTY_B: HelperClass = HelperClass.new("hello")
var PROPERTY_C = HelperClass.new("world")
var PROPERTY_D = 42

class HelperClass:
	var _foo

	var PROPERTY_E = 42

	func _init(foo):
		_foo = foo

	func do_something():
		return _foo
```

Spatial.gd (attached script):
```gdscript
extends Spatial

func _ready():
	var _test_a = Helper.PROPERTY_A  # OK
	var  test_b = Helper.PROPERTY_B  # OK
	var  test_c = Helper.PROPERTY_C  # UNSAFE_PROPERTY_ACCESS
	var _test_d = Helper.PROPERTY_D  # UNSAFE_PROPERTY_ACCESS
	var _test_e = Helper.HelperClass.new("test").PROPERTY_E  # UNSAFE_PROPERTY_ACCESS

	print(test_b.do_something())
	print(test_c.do_something())
```

### Minimal reproduction project

[bug_unsafe_property.zip](https://github.com/godotengine/godot/files/10173005/bug_unsafe_property.zip)
Repository: material-ui
Issue: [RFC] Joy UI with material icons
Labels: new feature,package: icons,package: joy-ui,RFC

### What's the problem? 🤔

To use material icons with Joy UI i must install @mui/material
```
The @mui/icons-material package depends on @mui/material, which requires Emotion packages. If you don't use Material UI in your project yet, install the icons package with: npm install @mui/icons-material @mui/material @emotion/styled @emotion/react.
```
But the whole purpose of using Joy UI for me is to not use @mui/material, so just to use the icons now i have 2 libraries with the same component:
<img width="435" alt="image" src="https://user-images.githubusercontent.com/48021917/206100293-f2f9d050-04fc-474b-9a49-63ae8a7b9635.png">

Is this the right way to use material icons with Joy UI or should there be another solution?


### What are the requirements? ❓

_No response_

### What are our options? 💡

_No response_

### Proposed solution 🟢

(maybe make material icons not depend on @mui/material)

### Resources and benchmarks 🔗

_No response_
Repository: opencv
Issue: TF: Can't create layer "model_1/reshape_1/Shape" of type "Shape"
Labels: bug,category: dnn

### System Information

OpenCV => 4.2.0
Operating System / Platform => Windows 10 64 bit
Compiler => Visual Studio 2017
TensorFlow 2.2.0

### Detailed description

I have trained a segnet using tf.keras. Then I exported the model as frozen graph *.pb file, and tried to load the network using cv::dnn::readNetFromTensorflow(). When I run the app the following error occurs:
OpenCV(4.2.0) Error: Unspecified error (Can't create layer "model_1/reshape_1/Shape" of type "Shape") in cv::dnn::dnn4_v20191202::LayerData::getLayerInstance, file C:\build\master_winpack-build-win64-vc15\opencv\modules\dnn\src\dnn.cpp, line 562.

### Steps to reproduce

```
def _segnet(n_classes, encoder, input_height=416, input_width=416, encoder_level=3):

    img_input, levels = encoder(input_height=input_height, input_width=input_width)

    feat = levels[encoder_level]
    o = segnet_decoder(feat, n_classes, n_up=3)

    n_up = 3
    o = ZeroPadding2D((1, 1))(feat)
    o = Conv2D(512, (3, 3), padding='valid')(o)
    o = BatchNormalization()(o)

    o = UpSampling2D((2, 2))(o)
    o = ZeroPadding2D((1, 1))(o)
    o = Conv2D(256, (3, 3), padding='valid')(o)
    o = BatchNormalization()(o)

    for _ in range(n_up - 2):
        o = UpSampling2D((2, 2))(o)
        o = ZeroPadding2D((1, 1))(o)
        o = Conv2D(128, (3, 3), padding='valid')(o)
        o = BatchNormalization()(o)

    o = UpSampling2D((2, 2))(o)
    o = ZeroPadding2D((1, 1))(o)
    o = Conv2D(64, (3, 3), padding='valid')(o)
    o = BatchNormalization()(o)

    o = UpSampling2D((2, 2))(o)
    o = ZeroPadding2D((1, 1))(o)
    o = Conv2D(16, (3, 3), padding='valid',name='output_16')(o)
    o = BatchNormalization()(o)

    o = Conv2D(n_classes, (3, 3), padding='same',name='output_2')(o)
    
    o = Reshape((int(input_height) * int(input_width ), n_classes))(o)
    o = Softmax()(o)
    model = Model(img_input, o)

    return model
```

### Issue submission checklist

- [X] I report the issue, it's not a question
- [ ] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: pytorch
Issue: [JIT] INTERNAL ASSERT FAILED `torch.add` with boolean primitive constant
Labels: oncall: jit

### 🐛 Describe the bug

```python
import torch

def fn(x):  # Error ~ bool primitive
    return torch.add(x, 1)

traced = torch.jit.trace(fn, (torch.zeros((), dtype=torch.int),))

def fn(x):  # Error ~ bool primitive
    return torch.add(x, False)

# eager: OK
torch.add(torch.zeros((), dtype=torch.bool), True)
# jit trace
traced = torch.jit.trace(fn, (torch.zeros((), dtype=torch.bool),))
```

Similar to https://github.com/pytorch/pytorch/issues/90366 but for `torch.add`.

### Versions

<details><summary><b>Env </b> <i>[click to expand]</i></summary>
<div>

```python
"""
Collecting environment information...
PyTorch version: 1.14.0.dev20221202+cu117
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.1 LTS (x86_64)
GCC version: (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Clang version: Could not collect
CMake version: version 3.25.0
Libc version: glibc-2.35

Python version: 3.9.12 (main, Apr  5 2022, 06:56:58)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 11.6.124
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: 
GPU 0: NVIDIA GeForce RTX 3090
GPU 1: NVIDIA GeForce RTX 3090
GPU 2: NVIDIA GeForce RTX 3090

Nvidia driver version: 515.86.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.4.1
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.23.3
[pip3] onnx2torch==1.5.3
[pip3] torch==1.14.0.dev20221202+cu117
[pip3] torchaudio==0.14.0.dev20221203+cu117
[pip3] torchtriton==2.0.0+0d7e753227
[pip3] torchvision==0.15.0.dev20221203+cpu
[conda] numpy                     1.23.3                   pypi_0    pypi
[conda] onnx2torch                1.5.3                    pypi_0    pypi
[conda] torch                     1.14.0.dev20221202+cu117          pypi_0    pypi
[conda] torchaudio                0.14.0.dev20221203+cu117          pypi_0    pypi
[conda] torchtriton               2.0.0+0d7e753227          pypi_0    pypi
[conda] torchvision               0.15.0.dev20221203+cpu          pypi_0    pypi
"""
```

</div>
</details>

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: PowerToys
Issue: Manage Text Extractor languages via Powertoys settings
Labels: Idea-Enhancement,Help Wanted,Product-Settings,Product-Text Extractor

### Description of the new feature / enhancement

On the Text Extractor settings page, it may be useful to be able to manage installed OCR packages.
I imagine a list of installed languages, each with the button to remove that language, and a button for install another language from a list of supported languages

### Scenario when this would be used?

Instead of managing OCR packages installed via Powershell, manage them from some menus in Powertoys settings

### Supporting information

The OCR Packages can be managed only via Powershell, searching the commands in Microsoft Docs, without a friendly menu where select the language you want to install. Having this kind of menu may be useful
Repository: pytorch
Issue: "Reached a code path in Module.get_extra_state() that should never be called."
Labels: needs reproduction,oncall: jit,triaged

### 🐛 Describe the bug

I got the run time error mentioned in the title when calling `get_extra_state` on a `RecursiveScriptModule` created from an `nn.Dropout` module.
I was just playing around so don't know if it even makes sense, but since the error specifically told me to report it I thought I should.
If nothing else, this error should probably be changed.

Image of entire error stack: 
![image](https://user-images.githubusercontent.com/20074572/206148420-032e8035-2921-4839-bb86-ee58b1419c73.png)



### Versions

Collecting environment information...
PyTorch version: 1.13.0
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 10 Pro
GCC version: (tdm64-1) 9.2.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.19044-SP0
Is CUDA available: True
CUDA runtime version: 11.7.99
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 2060
Nvidia driver version: 516.94
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\cudnn_ops_train64_8.dll
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.23.3
[pip3] torch==1.13.0
[pip3] torchaudio==0.13.0
[pip3] torchvision==0.14.0
[conda] blas                      1.0                         mkl
[conda] mkl                       2021.4.0           haa95532_640
[conda] mkl-service               2.4.0           py310h2bbff1b_0
[conda] mkl_fft                   1.3.1           py310ha0764ea_0
[conda] mkl_random                1.2.2           py310h4ed8f06_0
[conda] numpy                     1.23.3          py310h60c9a35_0
[conda] numpy-base                1.23.3          py310h04254f7_0
[conda] pytorch                   1.13.0          py3.10_cuda11.7_cudnn8_0    pytorch
[conda] pytorch-cuda              11.7                 h67b0de4_0    pytorch
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] torchaudio                0.13.0                   pypi_0    pypi
[conda] torchvision               0.14.0                   pypi_0    pypi

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are
Repository: pytorch
Issue: torch.utils.tensorboard import fails if a new protobuf > 3.20 is installed (bug in tensorboard/tensorflow but better guard against it)
Labels: oncall: visualization

### 🐛 Describe the bug

With a new version of protobuf 4.21.8, `import torch.utils.tensorboard` unconditionally imports `tensorboard.compat` / `tensorboard.compat.event_pb2`, etc which were generated with an old `protoc` (and friends which isn't happy given). Pytorch version 1.10 is quite antique, but probably the tensorboard writer code hasn't changed in a while.

This also affects pytorch lightning and all other dependent packages, such as nemo.

Sorry for an image stack trace  - a friend stumbled on this bug, not myself.

I'd prefer that `import torch.utils.tensorboard` succeeded, but only creating `SummaryWriter` instance would fail in case of dependency issues (with protobuf / tensorboard etc). Also, it might be good if it just worked with newer protobuf, maybe a non-compat tensorboard functionality could be used or explicitly some good protobuf version could be checked.

![photo_2022-12-07_14-27-00](https://user-images.githubusercontent.com/1041752/206147822-96eff842-cbe7-41a5-b67c-0e774c8d5bac.jpg)

### Versions

pytorch-lightning                 1.6.3
torch                             1.10.1
protobuf 4.21.8
tensorboard                       2.8.0
Repository: next.js
Issue: Not able to load SVG files if i am using them in external module.
Labels: bug

### Verify canary release

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

### Provide environment information

 Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000
    Binaries:
      Node: 18.8.0
      npm: 3.10.10
      Yarn: 1.22.18
      pnpm: N/A
    Relevant packages:
      next: 13.0.6
      eslint-config-next: 13.0.6
      react: 18.2.0
      react-dom: 18.2.0

### Which area(s) of Next.js are affected? (leave empty if unsure)

_No response_

### Link to the code that reproduces this issue

can not create the link

### To Reproduce

Create a Github react typescript repo.
Create a component and use a svg image in that.

Create another project with next js and include that repo using github url.
So whenever you will try to use that component which is developed using svg component Next will throw error at build time.



### Describe the Bug

I am including  an external GitHub design system library in my code.
I am using it by adding that library in package json with GitHub url.
So design system library is using SVG files internally. Whenever i am using that component it is throwing the bellow error.

`Module parse failed: Unexpected token (7:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import  { Cross }  from '../../assets/svg';`

### Expected Behavior

It should not throw the error.

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

chrome

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

_No response_
Repository: tauri
Issue: [bug] decorations: false causes rendering slowdown
Labels: type: bug,status: needs triage

### Describe the bug

On Windows,  set "decorations": false. At this time, when I clicked the Windows taskbar to display the hidden application, the resize event would be triggered, causing my webpage to keep rendering, which was very slow。This is not an issue when decorations is set true

### Reproduction

_No response_

### Expected behavior

_No response_

### Platform and versions

Environment
  › OS: Windows 10.0.19045 X64
  › Webview2: 107.0.1418.62
  › MSVC: 
      - Visual Studio Enterprise 2019
      - Visual Studio ���ɹ��� 2022   
  › Node.js: 18.12.1
  › npm: 8.19.2
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.65.0
  › cargo: 1.65.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc 

Packages
  › @tauri-apps/cli [NPM]: 1.2.1
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.1,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.6,
  › wry [RUST]: 0.22.6,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:2800/
  › framework: Vue.js (Vue CLI)
  › bundler: Webpack

App directory structure
  ├─ .git
  ├─ .idea
  ├─ .vscode
  ├─ dist
  ├─ node_modules
  ├─ public
  ├─ src
  └─ src-tauri

### Stack trace

_No response_

### Additional context

_No response_
Repository: go
Issue: x/pkgsite: how to improve the poor usability of the documentation "Index" section
Labels: NeedsDecision,pkgsite

For larger packages the doc generated "Index" section is most unhelpful.
See for example, the [Go FLTK bindings](https://pkg.go.dev/github.com/pwiecz/go-fltk).

There are two separate ways this could be improved:

1. For types with methods, show, e.g., "`▶` type BmpImage" with _no_ methods, unless the user clicks the triangle in which case it becomes "▼ type BmpImage" with all the methods shown (as now).

2. When there are more than some threshold number of functions (or methods) — say 7, where the first word is the same (e.g., func Draw(), func DrawArc(...), ..., func DrawYxLine3(...)), use the same technique as decribed above in 1.

These changes would make navigation much easier.