sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Bug]: don't show inpaint pic
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 load a pic from PNG INFO TAB and click "send to inpaint" button. fail to display the pic.  it has error in console. 
![image](https://user-images.githubusercontent.com/5391541/236795672-ea2e5c27-470e-4799-bcf4-9d69eba61739.png)


### Steps to reproduce the problem

1. I load a pic from PNG INFO TAB
2. "send to inpaint" button
3.  it has error in console. 
![image](https://user-images.githubusercontent.com/5391541/236795672-ea2e5c27-470e-4799-bcf4-9d69eba61739.png)


### What should have happened?

the inpaint pic is visible

### Commit where the problem happens

5ab7f213bec2f816f9c5644becb32eb72c8ffb89

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

Windows

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

Google Chrome

### Command Line Arguments

```Shell
--xformers
```


### List of extensions

no  no  

### Console logs

```Shell
![image](https://user-images.githubusercontent.com/5391541/236795672-ea2e5c27-470e-4799-bcf4-9d69eba61739.png)

VM624:3 Uncaught (in promise) ReferenceError: recalculate_prompts_inpaint is not defined
    at Object.eval [as frontend_fn] (eval at <anonymous> (Blocks.svelte:67:25), <anonymous>:3:14)
    at ze (Blocks.svelte:284:6)
    at HTMLButtonElement.<anonymous> (Blocks.svelte:343:7)
    at index.mjs:1170:44
    at Array.forEach (<anonymous>)
    at HTMLButtonElement.Cn (index.mjs:1170:27)
    at HTMLButtonElement.f (Button.svelte:12:51)
    at index.mjs:1170:44
    at Array.forEach (<anonymous>)
    at HTMLButtonElement.Cn (index.mjs:1170:27)
eval @ VM624:3
ze @ Blocks.svelte:284
(anonymous) @ Blocks.svelte:343
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
f @ Button.svelte:12
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
v @ Button.svelte:11
Promise.then (async)
ze @ Blocks.svelte:289
(anonymous) @ Blocks.svelte:343
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
f @ Button.svelte:12
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
v @ Button.svelte:11
Show 8 more frames
127.0.0.1/:1 Error handling response: TypeError: Cannot read properties of undefined (reading 'isM3U8Video')
    at chrome-extension://ncennffkjdiamlpmcbajkmaiiiddgioo/js/xl-content.js:1:17996
127.0.0.1/:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
```


### Additional information

aaffffff
Repository: flutter
Issue: Icon tree shaking ignores IconData implementation getters
Labels: tool,a: build,has reproducible steps,P3,found in release: 3.7,found in release: 3.11,team-tool,triaged-tool

```dart
import 'package:flutter/material.dart';

enum MyIcons implements IconData {
  test(58332);

  const MyIcons(this.codePoint);

  @override
  final int codePoint;

  @override
  String get fontFamily => 'MaterialIcons';

  @override
  final String? fontPackage = null;

  @override
  final bool matchTextDirection = false;
}

void main() {
  runApp(
    MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          leading: const Icon(MyIcons.test),
        ),
      ),
    ),
  );
}
```

Given the code above in a fresh `flutter create` project, run the `flutter build apk`. You'll see fail:

```
➜  icon_shaking flutter build apk

💪 Building with sound null safety 💪

Target aot_android_asset_bundle failed: IconTreeShakerException: Invalid ConstFinder result. Expected "fontPackage" to be a String, "fontFamily" to be a String, and "codePoint" to be an int, got: {codePoint: 58332, fontPackage: null, matchTextDirection: false, index: 0, _name: test}.

To disable icon tree shaking, pass --no-tree-shake-icons to the requested flutter build command


FAILURE: Build failed with an exception.

* Where:
Script '/Users/albert/fvm/versions/3.7.12/packages/flutter_tools/gradle/flutter.gradle' line: 1157

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/Users/albert/fvm/versions/3.7.12/bin/flutter'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 12s
Running Gradle task 'assembleRelease'...                           13.1s
Gradle task assembleRelease failed with exit code 1
```

This is because of the `fontFamily` getter. If I'd replace the getter with a normal field (`final fontFamily = 'MaterialIcons';`) then it works correctly.

The same problem happens with `codePoint` and `fontPackage`.

Of course, the `MaterialIcons` font is used here just as an example. In our project we use a custom icon font and provide the `IconData` with such enum.


Here's the source of the thrown exception: 
https://github.com/flutter/flutter/blob/9b230d239a6c09231af5f819a3a0f28aa620d39a/packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart#L322-L325

```
flutter --version
Flutter 3.7.12 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 4d9e56e694 (3 weeks ago) • 2023-04-17 21:47:46 -0400
Engine • revision 1a65d409c7
Tools • Dart 2.19.6 • DevTools 2.20.1
```
Repository: rust
Issue: Possible Regression: Error: the current crate is indistinguishable from one of its dependencies
Labels: T-compiler,C-bug,E-needs-bisection

I'm attempting to compile a crate which depends on `inline_python`.

The crate is compiled in the context of this docker file:

```
# syntax=docker/dockerfile:1
FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime

ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# Install dependencies
RUN apt-get update && \
    apt-get install -y curl unzip sudo build-essential libssl-dev pkg-config git && \
    rm -rf /var/lib/apt/lists/*

# Install Rust & Cargo
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly && \
    echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc && \
    . ~/.bashrc && \
    rustup update


# Update PATH to include Cargo
ENV PATH="/root/.cargo/bin:$PATH"

WORKDIR /app
COPY ./app /app

RUN cd /app && cargo clean
RUN rm -rf ~/.cargo/registry/

# Fetch and build in separate steps, so that the fetch step can be cached
RUN cd /app && cargo fetch
RUN cd /app && cargo build
...
```

This fails on the `cargo build` step with the following error:

```
#28 280.5    Compiling inline-python v0.10.0
#28 280.6 <jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
#28 280.6 <jemalloc>: (This is the expected behaviour if you are running under QEMU)
#28 280.9 error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `inline_python_macros` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
#28 280.9    --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/inline-python-0.10.0/src/lib.rs:138:9
#28 280.9     |
#28 280.9 138 | pub use inline_python_macros::python;
#28 280.9     |         ^^^^^^^^^^^^^^^^^^^^
#28 280.9 
#28 281.5 For more information about this error, try `rustc --explain E0519`.
#28 281.5 error: could not compile `inline-python` (lib) due to previous error
#28 281.5 warning: build failed, waiting for other jobs to finish...
#28 ERROR: executor failed running [/bin/sh -c cd /app/sd_worker && cargo build]: exit code: 101
------
 > [20/21] RUN cd /app && cargo build:
------
executor failed running [/bin/sh -c cd /app && cargo build]: exit code: 101
```

This docker-file previously built successfully, a few days ago, and all that changed was the base image.

The relevant dependency looks like this:

```
[dependencies]
inline-python = "0.10"
```

I believe it might be a regression in nightly, since nothing should have changed which would make this suddenly start failing.
Repository: next.js
Issue: Error: Should have a queue. This is likely a bug in React. Please file an issue.
Labels: bug

### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Home
Binaries:
  Node: 16.13.2
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant packages:
  next: 13.4.2-canary.0
  eslint-config-next: 13.2.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 4.9.5
```


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

_No response_

### Link to the code that reproduces this issue

https://github.com/ony3000/1to30/tree/error-reporting

### To Reproduce

1. Start the development server for the repository link entered above and connect to http://localhost:17030/
2. Click ![Screenshot 2023-05-01 at 17 07 31](https://user-images.githubusercontent.com/8164191/235426944-3f6bccff-97ce-49c2-9d39-ecd235bde346.JPG) button.
3. Open `src/hooks/useGameContent.ts` in the code editor, uncomment line 17 and save.

### Describe the Bug

![Screenshot 2023-05-01 at 16 38 38](https://user-images.githubusercontent.com/8164191/235427767-723079bb-5491-437e-82a4-b736b33c126a.JPG)

### Expected Behavior

Hot module replacement without errors.

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

Chrome 112.0.5615.138

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

Vercel
Repository: TypeScript
Issue: Type Guards are no longer working correctly all the time
Labels: Possible Improvement

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->
Type Guard

### 🕗 Version & Regression Information

<!-- When did you start seeing this bug occur?
TS 5.0.4, it still worked in 4.9.5

"Bugs" that have existed in TS for a long time are very likely to be FAQs; refer to
  https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs

If possible, please try testing the nightly version of TS to see if it's already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly

Note: The TypeScript Playground can be used to try older versions of TypeScript.

Please keep and fill in the line that best applies:
-->
- This changed between versions 4.9.5 and 5.0.4

### ⏯ Playground Link

<!--
  A link to a TypeScript Playground "Share" link which shows this behavior

  The TypeScript Workbench can be used for more complex setups, try
  https://www.typescriptlang.org/dev/bug-workbench/

  As a last resort, you can link to a repo, but these will be slower for us to investigate.
-->
[A simple example](https://www.typescriptlang.org/play?#code/CYUwxgNghgTiAEkoGdnwGIHtMB4DKALgK4BmJ8IAHgSAHbBoBG2EIUtAfPAN4BQ88ZMTIAueIVLkqNemgIwiCAPyD5AS1oBzeGKEwN2gD7wi9ECQ0hgAbn7w1yAEptgATwAUASjEEAFg-s0LFx5RS5eAF9eUCQ4RExaIXhKMWCcZkxWdg5bNRJ3SgA6B2coNy9PHjtKXgB6WoA9FQBaeMSCZNTsdJY2TkigA)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
declare class Foo<Stuff extends boolean> {
  stuff: Stuff extends true ? string : string | undefined;
  isReady(): this is Foo<true> 
}
declare const x: Foo<boolean>;
if(x.isReady()) {
  x
//^? - const x: Foo<boolean>
// Should be Foo<true>
}
```

### 🙁 Actual behavior

The Type Guard didn't change the type, which is unintuitive behavior.

### 🙂 Expected behavior

The method should act as a type guard and change the type
Repository: storybook
Issue: [Bug]: BigInt cannot be serialized as property
Labels: bug,block: source

### Describe the bug

When using the addons panel components are not working using BigInt as property values. Below is the stack.

```
TypeError: Do not know how to serialize a BigInt
    at JSON.stringify (<anonymous>)
    at generateAttributeSource (config.mjs:36:12621)
    at config.mjs:36:12296
    at Array.map (<anonymous>)
    at generateAttributesSource (config.mjs:36:12287)
    at generateComponentSource (config.mjs:37:754)
    at config.mjs:41:143
    at Array.map (<anonymous>)
    at generateSource (config.mjs:41:131)
    at sourceDecorator (config.mjs:43:1050)
e
```

### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_
Repository: opencv
Issue: For non-planar calibration rigs the initial intrinsic matrix must be specified
Labels: bug,category: calib3d,needs investigation

### System Information

OpenCV version: 4.7.0

### Detailed description

My calibration procedure with planar surfaces works [see here](
https://github.com/bashtavenko/cpp_exp/blob/4b9b0399755d53d7ed5722db2c0ae307c0dd8f91/opencv_hello/calibration/calibration_test.cc#L30). Note that supply the image and object points myself.

However when I am trying to calibrate with 3D cube, I have

```
OpenCV(4.7.0) Error: Bad argument (For non-planar calibration rigs the initial intrinsic matrix must be specified) in cvCalibrateCamera2Internal, file third_party/OpenCV/public/modules/calib3d/src/calibration.cpp, line 1576
```

Even though I supply the required flag, I still get

```
OpenCV(4.7.0) Error: Bad argument (CALIB_USE_INTRINSIC_GUESS flag is set, but the camera matrix is not 3x3) in prepareCameraMatrix, file third_party/OpenCV/public/modules/calib3d/src/calibration.cpp, line 3497
```

Should calibration for 3D rigs work? 

### Steps to reproduce

1. Clone https://github.com/bashtavenko/cpp_exp.git 
2. Modify [this test](
https://github.com/bashtavenko/cpp_exp/blob/4b9b0399755d53d7ed5722db2c0ae307c0dd8f91/opencv_hello/calibration/calibration_test.cc#L30) by adding 

```
std::vector<cv::Point2i> image_points = {
      cv::Point2i(139, 275), cv::Point2i(322, 226), cv::Point2i(203, 206),
      cv::Point2i(34, 229),  cv::Point2i(318, 392), cv::Point2i(142, 473),
      cv::Point2i(31, 399)};
  std::vector<cv::Point3f> object_points = {
      cv::Point3f(0., 0., 0.),     cv::Point3f(225., 0., 0.),
      cv::Point3f(225., 175., 0.), cv::Point3f(0., 175., 0.),
      cv::Point3f(225., 0., 175.), cv::Point3f(0., 0., 175.),
      cv::Point3f(175., 0., 175.)};
  absl::StatusOr<CalibrationConfig> result =
      Calibrate(cv::Size(640, 480), image_points, object_points);
```




### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [ ] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: TypeScript
Issue: Nested inference fails if function is called inline
Labels: Possible Improvement

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->

Nested inference, function call 

### 🕗 Version & Regression Information

<!-- When did you start seeing this bug occur?

"Bugs" that have existed in TS for a long time are very likely to be FAQs; refer to
  https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs

If possible, please try testing the nightly version of TS to see if it's already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly

Note: The TypeScript Playground can be used to try older versions of TypeScript.

Please keep and fill in the line that best applies:
-->
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about nested function call inference

### ⏯ Playground Link

<!--
  A link to a TypeScript Playground "Share" link which shows this behavior

  The TypeScript Workbench can be used for more complex setups, try
  https://www.typescriptlang.org/dev/bug-workbench/

  As a last resort, you can link to a repo, but these will be slower for us to investigate.
-->
[With libraries](https://tsplay.dev/Nr8JVW)
[Minimal reproduction](https://tsplay.dev/N5A1VN)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
type NoInfer<T> = [T][T extends any ? 0 : never]

type ErrorFn = (error: unknown) => void

declare const genericFn: <T>(args: {
  parser: (p: unknown, errorFn: ErrorFn) => T
  handler: (data: { body: NoInfer<T> }) => unknown
}) => T

declare const createParser: <T>(arg: T) => (p: unknown, errorFn: ErrorFn) => NoInfer<T>;

genericFn({
  parser: createParser(1 as const),
  handler: ({ body: _ }) => {
    //         ^?
    // unknown, should be 1
  }
})
```

### 🙁 Actual behavior

Handler body is not inferred, becomes default of `unknown.`

### 🙂 Expected behavior

Handler body should be inferred from parser, and be `1`.
Repository: storybook
Issue: [Feature Request]: Rendering Angular Components that use content projection
Labels: feature request,angular,needs triage

### Is your feature request related to a problem? Please describe

I did a writeup here:

https://stackoverflow.com/questions/76201727/rendering-components-that-use-content-projection-html-inner-content

### Describe the solution you'd like

It would be nice if we could include the markup for the component with the rendering story.  It allows us to include `args` or properties, but AFAIK there's no way to include inner content ...

### Describe alternatives you've considered

It's possible to write a proxy for the component that is rendering the story, but then the documentation would be generated for the properties on the proxy and not directly for the component properties ...

### Are you able to assist to bring the feature to reality?

no

### Additional context

_No response_
Repository: flutter
Issue: [camerax] Improve documentation on `cameraId` parameter
Labels: platform-android,d: api docs,p: camera,package,P3,team-android,triaged-android

Many of the Flutter camera platform interface methods take in a `cameraId` parameter that is meant to reference the camera currently in use. In the Android implementation of this interface, this ID references the Flutter surface texture used to display a live preview. Because of this, the `cameraId` parameter often goes unused.

This issue serves as a reminder to update documentation in the `android_camera_camerax` implementation of the Flutter camera platform interface to be clear about what the `cameraId` references and whether or not it used for each method that it is a parameter.
Repository: go
Issue: runtime: fatal error: timer data corruption
Labels: NeedsFix,compiler/runtime

```
#!watchflakes
post <- pkg == "runtime" && log ~ `fatal error: timer data corruption|fatal error: runtimer: bad p`
```

Existing failure from https://github.com/golang/go/issues/55308#issuecomment-1536774114: https://build.golang.org/log/83ab44e57523849b0c1ce7a9c63644943c54fbfd

```
fatal error: timer data corruption

runtime stack:
runtime.throw({0xa4296a?, 0x0?})
	/workdir/go/src/runtime/panic.go:1077 +0x5c fp=0x7f531fffeb78 sp=0x7f531fffeb48 pc=0x47169c
runtime.badTimer()
	/workdir/go/src/runtime/time.go:1143 +0x1f fp=0x7f531fffeb98 sp=0x7f531fffeb78 pc=0x495b3f
runtime.siftdownTimer({0xc0001ca100, 0x10, 0x0?}, 0x0)
	/workdir/go/src/runtime/time.go:1102 +0x65 fp=0x7f531fffebc0 sp=0x7f531fffeb98 pc=0x495945
runtime.dodeltimer0(0xc000038500)
	/workdir/go/src/runtime/time.go:426 +0xe6 fp=0x7f531fffebf0 sp=0x7f531fffebc0 pc=0x4940c6
runtime.runtimer(0xc000038500, 0x1c9cea19f9)
	/workdir/go/src/runtime/time.go:813 +0x177 fp=0x7f531fffec20 sp=0x7f531fffebf0 pc=0x494f57
runtime.checkTimers(0xc000038500, 0x7a?)
	/workdir/go/src/runtime/proc.go:3475 +0x11b fp=0x7f531fffec68 sp=0x7f531fffec20 pc=0x47a9bb
runtime.stealWork(0xc000036000?)
	/workdir/go/src/runtime/proc.go:3087 +0x1b2 fp=0x7f531fffece8 sp=0x7f531fffec68 pc=0x479d32
runtime.findRunnable()
	/workdir/go/src/runtime/proc.go:2796 +0x32a fp=0x7f531fffedf0 sp=0x7f531fffece8 pc=0x47920a
runtime.schedule()
	/workdir/go/src/runtime/proc.go:3376 +0xb1 fp=0x7f531fffee28 sp=0x7f531fffedf0 pc=0x47a6f1
runtime.goexit0(0xc000505a00)
	/workdir/go/src/runtime/proc.go:3703 +0x266 fp=0x7f531fffee68 sp=0x7f531fffee28 pc=0x47b606
runtime.mcall()
	/workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7f531fffee80 sp=0x7f531fffee68 pc=0x4af98e
```
Repository: tensorflow
Issue: Pybind11 Exception
Labels: stat:awaiting tensorflower,type:build/install,type:support,subtype:windows,TF 2.12

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Support

### Have you reproduced the bug with TF nightly?

No

### Source

source

### Tensorflow Version

tf 2.9, 2.7, 2.6, 2.5, 2.4, 2.3

### Custom Code

No

### OS Platform and Distribution

Windows 10

### Mobile device

_No response_

### Python version

3.7, 3.8

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

10.1, 11.2 and coresponding CuDNN

### GPU model and memory

3090, 1650

### Current Behaviour?

Running TensorFlow custom code or sample code provided the TensorFlow website creates exceptions when looking at the dump file from C++ side. 

I used procdump.exe to see the exceptions in Windows 10 as follows: 
Open a separate CMD.exe and run: ``` procdump -e 2 -l -f "" <PID of the process python running tensorflow code>```

sample code used:

```
from time import sleep
import tensorflow as tf

def fn_raw(inputs):
      return inputs*2

while True:
  fn = tf.function(fn_raw)
  r = fn(2)
  print(r)
  sleep(1)
```

sample code tested from the TensorFLow website is located at https://colab.research.google.com/github/tensorflow/docs/blob/master/site/en/tutorials/quickstart/beginner.ipynb

exceptions are seen at inference time (after the training period)

hundreds of exceptions, as follows, are dumped:

``` Exception: [E06D7363.?AVerror_already_set@pybind11@@]```

I tested TnesorFlow GPU and CPU with several versions of TensorFlow 2.x
According to Pybind11 documentation page, https://pybind11.readthedocs.io/en/stable/advanced/exceptions.html, this shows an issue with the Python code which is captured on C++ side.

PS: The code runs with no issues and completes the task. However, these exceptions are concerning.

### Standalone code to reproduce the issue

```shell
from time import sleep
import tensorflow as tf

def fn_raw(inputs):
      return inputs*2

while True:
  fn = tf.function(fn_raw)
  r = fn(2)
  print(r)
  sleep(1)
```
```


### Relevant log output

```shell
Exception: [E06D7363.?AVerror_already_set@pybind11@@]```
```
</details>