sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Unable to initialize OneNote plugin – Interface not registered
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage

### Microsoft PowerToys version

0.79.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Just a plain startup on a PC where Office in installed by Software Center (SCCM).

File Desktop\PowerToysReport_2024-03-12-09-05-10.zip\PowerToys Run\Logs\0.79.0.0\2024-03-12.txt
contains the following message:

```
[2024-03-12 09:03:37.3325] [ERROR] [C:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::239]
-------------------------- Begin exception --------------------------
Message: Fail to Init plugin: OneNote

Exception full name  : System.InvalidCastException
Exception message    : Unable to cast COM object of type 'Microsoft.Office.Interop.OneNote.ApplicationClass' to interface type 'Microsoft.Office.Interop.OneNote.IApplication'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{452AC71A-B655-4967-A208-A4CC39DD7949}' failed due to the following error: Interface not registered (0x80040155).
Exception stack trace:
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   at Microsoft.Office.Interop.OneNote.ApplicationClass.GetHierarchy(String bstrStartNodeID, HierarchyScope hsScope, String& pbstrHierarchyXmlOut, XMLSchema xsSchema)
   at ScipBe.Common.Office.OneNote.OneNoteProvider.<>c.<get_PageItems>b__3_0(Application oneNote)
   at ScipBe.Common.Office.OneNote.OneNoteProvider.CallOneNoteSafely[T](Func`2 action)
   at ScipBe.Common.Office.OneNote.OneNoteProvider.get_PageItems()
   at Microsoft.PowerToys.Run.Plugin.OneNote.Main.Init(PluginInitContext context)
   at Wox.Plugin.PluginPair.InitPlugin(IPublicAPI api)
Exception source     : System.Private.CoreLib
Exception target site: IntPtr GetCOMIPFromRCW(System.Object, IntPtr, IntPtr ByRef, Boolean ByRef)
Exception HResult    : -2147467262
-------------------------- End exception --------------------------
```


### ✔️ Expected Behavior

Start without error msgbox.

### ❌ Actual Behavior

Error msgbox is shown, saying 
```
---------------------------
Fail to initialize plugins
---------------------------
Fail to initialize plugins
---------------------------
OK   
---------------------------
```
followed by another one saying
```
---------------------------
PowerToys Run - Plugin Loading Error
---------------------------
Fail to load plugin: OneNote

Please report the bug to https://aka.ms/powerToysReportBug. (For third-party plugins, please contact the plugin author.)
---------------------------
OK   
---------------------------
```

### Other Software

Microsoft® OneNote® for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20124) 32-bit
Repository: opencv
Issue: Disable Tests for Unsupported ONNX Models in Darknet
Labels: category: dnn,category: dnn (onnx),cleanup,OpenCV5

This issue is used to identify which onnx models can't be inferenced or need to be converted manually in [Darknet Removal](https://github.com/opencv/opencv/pull/24785). The related tests will be disabled temporarily until the following models can be supported. 

### yolov2-voc
- [ ] Resolved
- Source: not found
- Failure: Lack of `DetectionModel` class support.
- Framework: **Darknet**
- Test: `test_model.cpp -> Test_Model, DetectRegion`, `test_model.cpp -> Test_Model, DetectRegionWithNmsAcrossClasses`

### yolov3 (opset 10, 12)
- [ ] Resolved
- Source: https://github.com/onnx/models/tree/main/validated/vision/object_detection_segmentation/yolov3

- Failure:

  ```shell
  OpenCV(5.0.0-pre) Error: Unsupported format or combination of formats (Unsupported data type: BOOL) in getMatFromTensor, file /Users/wanli/Desktop/OpenCV_China/opencv/modules/dnn/src/onnx/onnx_graph_simplifier.cpp, line 1754
  ```

- Framework: **Darknet**

- Test: `perf_net.cpp -> DNNTestNetwork, YOLOv3`

- **Worked** manual conversion: https://drive.google.com/file/d/1A8nhelaiLNLoqbvkeaGBxsqKNACNmILe/view?usp=share_link

### yolov4 (opset 11)
- [ ] Resolved
- Source: https://github.com/onnx/models/tree/main/validated/vision/object_detection_segmentation/yolov4

- Failure: 

  ```shell
  OpenCV(5.0.0-pre) Error: Unspecified error (Number of input channels should be multiple of 3 but got 416) in getMemoryShapes, file /Users/wanli/Desktop/OpenCV_China/opencv/modules/dnn/src/layers/convolution_layer.cpp, line 351
  [ERROR:0@1.107] global net_impl.cpp:1148 getLayerShapesRecursively OPENCV/DNN: [Convolution]:(onnx_node!StatefulPartitionedCall/model/conv2d/Conv2D): getMemoryShapes() throws exception. inputs=1 outputs=0/1 blobs=2
  [ERROR:0@1.107] global net_impl.cpp:1151 getLayerShapesRecursively     input[0] = [ 1 416 3 416 ]
  [ERROR:0@1.107] global net_impl.cpp:1159 getLayerShapesRecursively     blobs[0] = CV_32FC1 [ 32 3 3 3 ]
  [ERROR:0@1.107] global net_impl.cpp:1159 getLayerShapesRecursively     blobs[1] = CV_32FC1 [ 32 ]
  [ERROR:0@1.107] global net_impl.cpp:1161 getLayerShapesRecursively Exception message: OpenCV(5.0.0-pre) /Users/wanli/Desktop/OpenCV_China/opencv/modules/dnn/src/layers/convolution_layer.cpp:351: error: (-2:Unspecified error) Number of input channels should be multiple of 3 but got 416 in function 'getMemoryShapes'
  ```

- Framework: **Darknet**

- Test: `perf_net.cpp -> DNNTestNetwork, YOLOv4`

- **Worked** manual conversion: https://drive.google.com/file/d/1BiDjtrVdKJAnnE6Owj0wEDELNRkwNADV/view?usp=share_link

### yolov4-tiny
- [ ] Resolved
- Source: not found
- Framework: **Darknet**
- Test: `perf_net.cpp -> DNNTestNetwork, YOLOv4_tiny`
- **Worked** manual conversion: https://drive.google.com/file/d/1BiDjtrVdKJAnnE6Owj0wEDELNRkwNADV/view?usp=share_link
Repository: PowerToys
Issue: [Screen Ruler] Add further measurements (circle, angle) and features (view angle correction, unit conversion)
Labels: Idea-Enhancement,Needs-Triage,Product-Screen Ruler

### Description of the new feature / enhancement

Please add further measurement methods:
Favored:
- Circle-Measurement
- Angle-Measurment

Optional:
- Add a view angle correction. For instance, the image below has a view angle of 60° -> Measured Height * sin(60°) = Real Height
- Add a conversion unit on base of the rule of 3 -> e.g.: 100µm = 390px. The measurement yields then also the length value next to the px-values

### Scenario when this would be used?

I'm using the MeasureTool to extract rough dimensions of scanning microscope images by the rule of 3.
<img src="https://github.com/microsoft/PowerToys/assets/89015665/3451ca5d-1bc3-4b64-90d6-8dbcf4a602ee" width="480" height="360" />

For width and height of my structures this works quite well. But as my structures are conical, it would be great being able to measure their angle. I use also a minimum enclosing circle to estimate the tip radius of that conus (on images wit higher magnification).

### Supporting information

Favored Features:
Circle and Angle-Measurement would be very helpful and, in my opinion, quite easy to implement.

Optional Features:
View angle correction and unit conversion (rule of 3) can easily done by a pocket calculator, but if you consider to implement these features too, it would be really nice if the MeasureTool remembers the last given settings and provide a "reset" button. A small dropdown-menu next to it, where I can store such settings as "profiles" with a custom name like "magnification x190 60°" may also be cool. But at least the MeasureTool should not be overloaded with too much settings.
Repository: storybook
Issue: [Bug]: Excluding .svg files code is not type safe
Labels: bug,documentation,typescript

### Describe the bug

If configured according to [this section of the documentation](https://storybook.js.org/docs/get-started/nextjs#custom-webpack-config), TypeScript error occurs at this point.
```ts
    const imageRule = config.module.rules.find((rule) => rule?.['test']?.test('.svg'));
    if (imageRule) {
      imageRule['exclude'] = /\.svg$/;
    }
```

Details of the error are as follows.
```
Element implicitly has an 'any' type because expression of type '"test"' can't be used to index type 'false | "" | 0 | RuleSetRule | "..."'.
  Property 'test' does not exist on type 'false | "" | 0 | RuleSetRule | "..."'.
```
```
Element implicitly has an 'any' type because expression of type '"exclude"' can't be used to index type 'RuleSetRule | "..."'.
  Property 'exclude' does not exist on type 'RuleSetRule | "..."'.
```

### To Reproduce

https://stackblitz.com/edit/github-akhmer?file=.storybook%2Fpreview.ts

### System

```bash
System:
    OS: macOS 13.6.4
    CPU: (8) arm64 Apple M2
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.6.2 - /opt/homebrew/bin/node
    Yarn: 1.22.21 - /opt/homebrew/bin/yarn
    npm: 10.2.4 - /opt/homebrew/bin/npm <----- active
    pnpm: 8.15.4 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 122.0.6261.112
    Safari: 17.3.1
  npmPackages:
    @storybook/addon-essentials: ^8.0.0 => 8.0.0 
    @storybook/addon-interactions: ^8.0.0 => 8.0.0 
    @storybook/addon-links: ^8.0.0 => 8.0.0 
    @storybook/addon-onboarding: ^8.0.0 => 8.0.0 
    @storybook/blocks: ^8.0.0 => 8.0.0 
    @storybook/nextjs: ^8.0.0 => 8.0.0 
    @storybook/react: ^8.0.0 => 8.0.0 
    @storybook/test: ^8.0.0 => 8.0.0 
    eslint-plugin-storybook: ^0.8.0 => 0.8.0 
    storybook: ^8.0.0 => 8.0.0 
```

### Additional context

Do `npx create-next-app@latest`, do `npx storybook@latest init`, include `.storybook/*.ts` to tsconfig, then reproduce.
Repository: TypeScript
Issue: Declare method quick fix should ask for method visibility and return type
Labels: Suggestion,Awaiting More Feedback

### 🔍 Search Terms

declare method quick fix snippet mode

### ✅ Viability Checklist

- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of existing JavaScript code
- [X] This could be implemented without emitting different JS based on the types of the expressions
- [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

TS offers a quick fix to declare a method:

![recording_2024-03-11_at_12 49 44](https://github.com/microsoft/TypeScript/assets/900690/b5a6a978-bf5e-4f5c-8464-6324b8a84b0e)

As you can see, its quite involved to fix method visibility and return type later.

It would be great if I would be put into snippet mode with tab stops at method visibility and return type to quickly add these.

An example for what snippet mode can do:
![recording_2024-02-23_at_16 39 33](https://github.com/microsoft/TypeScript/assets/900690/893d772c-5038-4e95-8f33-48163f753c32)



### 📃 Motivating Example

Powerful method declare quick fix support in snippet mode.

### 💻 Use Cases

1. What do you want to use this for?

Quick fix add missing methods easily.

2. What shortcomings exist with current approaches?

You have to manually edit the method visibility and return type.

3. What workarounds are you using in the meantime?

None.
Repository: react-native
Issue: Animated.Event not working attached to onLayout with useNativeDriver enabled
Labels: Issue: Author Provided Repro,API: Animated,Newer Patch Available

### Description

Animated event with enabled useNativeDriver is not working when attached to onLayout on iOS.
No issue on Android.

### Steps to reproduce

https://snack.expo.dev/6IY1zZKolp6xDjCFMRObH


### React Native Version

0.73.0

### Affected Platforms

Runtime - iOS

### Output of `npx react-native info`

```text
NA
```


### Stacktrace or Logs

```text
NA
```


### Reproducer

https://snack.expo.dev/6IY1zZKolp6xDjCFMRObH

### Screenshots and Videos

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]:  Support for Transparency in img2img Operations
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 ?

The feature in question is the support for maintaining transparency when using the img2img functionality. As it currently stands, when a user inputs an image with transparent areas, the transparency is not preserved in the generated output. Instead, these areas are often filled with a default color (e.g., white or black), which can limit the usability of the output for various applications such as graphic design, game development, and web design, where transparency is a critical component.

### Proposed workflow

1. Go to Setting
2. Click img2img
3. Uncheck fill transparent parts of the input image with this color.


### Additional information

_No response_
Repository: ant-design
Issue: [Bug] Affix宽度未及时随内部元素更新
Labels: Inactive,improvement

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/ji-ben-antd-5-15-1-forked-2z7mgq?file=%2Fdemo.js%3A8%2C14)

### Steps to reproduce

鼠标在右侧区域向下滚动，触发左侧固钉状态后，点击折叠/展开按钮控制左侧区域宽度变化，右侧区域未按照flex="auto"的设定联动，antd v4没有这个问题

![demo](https://github.com/ant-design/ant-design/assets/49147660/6a737e92-3c28-4509-945b-0dc8d22f6290)


### What is expected?

像antd v4一样正常随子元素更新宽度

### What is actually happening?

未正常随子元素更新宽度

| Environment | Info |
| --- | --- |
| antd | 5.15.2 |
| React | ^18.0.0 |
| System | win11 |
| Browser | Chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: .OBJ .FBX and other popular 3D file formats in Preview Pane and Thumbnail icon Preview
Labels: Idea-Enhancement,Product-File Explorer,Needs-Triage

### Description of the new feature / enhancement

In line with seeing a preview and a thumbnail icon preview of an .stl file also seeing an .obj and a .fbx 3D file but also popular other 3D program formats like .blend (Blender), .max .3ds (Autodesk 3DStudio Max), .dae (Autodesk Collada), .abc (Allembic), .lwo (Lightwave), .lxo (Modo), .3dm (Rhino), .dxf .dwg (Autodesk Autocad), .sldprt .sldasm (Solidworks), .mb (Autodesk Maya), .igs .iges .ige (Iges), .ipt .iam (Autodesk Inventor), .rvt (Revit), .skp (Sketchup), .stp .step (Step), .c4d (Cinema 4D)

### Scenario when this would be used?

Quickly seeing what 3D files one deals with by seeing a visual representation of them in File Explorer rather then opening them in the according 3D program.

### Supporting information

_No response_
Repository: PowerToys
Issue: PowerToys Run %% Unit conversion import format e.g. 2ft3in in cm 'and' 2'3" in cm 
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

Is it possible to have as import format under the %% (unit conversion) in PowerToys Run also the format ...ft...in (e.g. 2ft3in) instead of only ...'..." (e.g. 2'3") as when importing in format '2ft3in in cm' only the 2ft is converted in cm. 
![Screenshot (1462)](https://github.com/microsoft/PowerToys/assets/46007070/0da0dccb-3abe-471f-b626-cab290afd5d4)
![Screenshot (1463)](https://github.com/microsoft/PowerToys/assets/46007070/19004337-5263-4dac-b7e3-97a17aa897a5)


### Scenario when this would be used?

Using input format ...ft...in is currently giving wrong results. One can adapt to the scientific input format but usually both are often used in conversion calculators.  

### Supporting information

_No response_
Repository: vscode
Issue: Display outdated comments differently in the Comments view
Labels: feature-request,api,api-proposal,comments

The Comments view doesn't currently know anything about whether a comment is outdated (a GitHub PR concept) and there's no way with the existing API to sufficiently show that a comment is outdated.

Related: https://github.com/microsoft/vscode-pull-request-github/issues/5760
Repository: tensorflow
Issue: tensorflow-macos still required for version 2.16.1
Labels: stat:awaiting tensorflower,type:build/install,subtype:macOS

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

2.16.1

### Custom code

No

### OS platform and distribution

macOS Sonoma 14.1.1

### Mobile device

_No response_

### Python version

3.10.13

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

According to the [release notes of Tensorflow 2.16.1](https://github.com/tensorflow/tensorflow/releases/tag/v2.16.1), 

> Apple Silicon users: If you previously installed TensorFlow using `pip install tensorflow-macos`, please update your installation method. Use` pip install tensorflow` from now on.

However, without installing `tensorflow-macos` I get the following error:

```
Fatal Python error: Illegal instruction
```

This error will get away after installing `tensorflow-macos`, which means Tensorflow 2.16.1 still requires the macos package to run on Apple Silicon machines. 


### Standalone code to reproduce the issue

```shell
pip install tensorflow==2.16.1

import tensorflow as tf
```


### Relevant log output

```shell
Fatal Python error: Illegal instruction
```
Repository: pytorch
Issue: index_copy change value when use_deterministic (true)
Labels: module: cuda,triaged,module: advanced indexing,module: boolean tensor,module: determinism

### 🐛 Describe the bug

Here is the code:

```
torch.use_deterministic_algorithms(True)  
input_a = torch.tensor([1,2,3,0,2,0], dtype=torch.uint8).cuda().view(torch.bool)  
input_b = torch.tensor([0,4,5,0], dtype=torch.uint8).cuda().view(torch.bool)  
index = torch.tensor([1,2,3,0], dtype=torch.long).cuda()  
output = input_a.index_copy(0,index,input_b)  
print(f"tensor_output: {output.view(torch.uint8)}")  
```
I've encountered an interesting behavior while using the index_copy function in PyTorch with non-standard boolean types. Specifically, when torch.use_deterministic_algorithms(True) is set, the function seems to cast non-zero source values (for instance, 200) to the value of 1 for uint8-typed booleans (which are not the standard bool type but mimic it within the uint8 range).

This behavior is not observed when using deterministic algorithms is set to False.
seeing the code found index_put has the same behaviour.

Question:

Is this behavior intentional? If so, under what circumstances would this deterministic characteristic be beneficial or necessary to use? I'm trying to understand if this is a feature or a bug, and how it might impact my code when working with non-standard boolean types.

Thank you for your attention to this matter. I'm looking forward to understanding the rationale behind this behavior and any potential workarounds if it's affecting my use case.

### Versions

from pytorch1.13 to pytorch 2.0 all has this behaviour

cc @ptrblck @mruberry @kurtamohler
Repository: flutter
Issue: Pages API is just Widget API in disguise
Labels: framework,f: routes,c: proposal,P3,team-framework,triaged-framework

### Use case

Pages API has seen difficulties of adoption, expansion and in general it feels kinda underperformant as an API. Pages API is complex and hard to use. For example, it is not straightforward how to declare a new page and I don't think it is a matter of documentation. See issues (https://github.com/flutter/flutter/issues/87352)

The only place where `Pages` are used, is in the `Navigator` widget. Flutter has achieved great things by making a very simple yet powerful assumption. Everything is a widget. However, this assumption is broken when we enter the Navigator widget. Instead of being a widget which uses other widgets, it is a widget which uses Pages?!?

Okay let's try to define a Page. What is a `Page`? A Page according to the [official documentation](https://api.flutter.dev/flutter/widgets/Page-class.html) is the configuration of a route. What is then a `Route`? A route is a mental model class representing an entry managed by the Navigator.

From my point of view, a page is a class which holds logic about routing, transitions to and from the physical screen and other stuff. So it is like a Widget with extra state about routing.


### Proposal

I would really like to see the Pages API being just that an animated widget that also updates the Routing information (which should be held elsewhere).

Just like [View](https://api.flutter.dev/flutter/widgets/View-class.html) is a widget. I would like for Navigator to accept a list of `Widget`s. `MaterialPage` would then just be a widget that has internal animations (aka an `ImplicitlyAnimatedWidget`), and `NoTransitionPage` would just be a simple widget without animations. Moreover, `PopupPage` where a barrier is used, could be a Stack with a filter widget on the background. This enables to define easily other types of "Pages" as well as implement complex Page capabilities.
Repository: three.js
Issue: FBX Loader: Blender export with rotation animation will result in error
Labels: Regression,Loaders

### Description

FBX loader does not load models exported from blender when the animation contains a rotation. Only translation works fine. Also export from other DCC (3ds Max) works.  Tested with Blender 3.6 and 3ds Max 2020 and r160

Orginial thread: https://discourse.threejs.org/t/blender-fbx-imported-in-threejs-error/62357

@Mugen87 tracked the issue: "it seems this is a regression in FBXLoader which was introduced in r159 by this PR: https://github.com/mrdoob/three.js/pull/27057 "


### Reproduction steps

1. Create a model with simple rotation animation in blender and export to fbx with animation and default settings (or download this example: https://discourse.threejs.org/uploads/short-url/1zwNloZNfCRb2L3vnYk7vt1xYnQ.fbx )
3. Drag`n drop it into threejs editor 
4. Error appears 

### Code

```js
three.module.js:42485 Uncaught (in promise) Error: THREE.KeyframeTrack: no keyframes in track named Cube.quaternion
    at new KeyframeTrack (three.module.js:42485:58)
    at new QuaternionKeyframeTrack (three.module.js:42993:1)
    at AnimationParser.generateRotationTrack (FBXLoader.js:2848:37)
    at AnimationParser.generateTracks (FBXLoader.js:2777:31)
    at FBXLoader.js:2748:34
    at Array.forEach (<anonymous>)
    at AnimationParser.addClip (FBXLoader.js:2746:17)
    at AnimationParser.parse (FBXLoader.js:2456:23)
    at FBXTreeParser.parseScene (FBXLoader.js:926:44)
    at FBXTreeParser.parse (FBXLoader.js:171:8)
```


### Live example

https://threejs.org/editor/
> simply dragn drop the fbx file to see the error

### Screenshots

_No response_

### Version

160

### Device

_No response_

### Browser

_No response_

### OS

_No response_