sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: app_localizations not usable in workspaces
Labels: framework,a: internationalization,has reproducible steps,team-tool,found in release: 3.27,found in release: 3.28

### Steps to reproduce

1. Create a workspace with apps and libraries
2. Use app_localizations for translation in the app

### Actual results

Dart analyzer shows an error:

```
Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
```

`flutter analyze` and `flutter pub get` both show `` `generate: true` is not supported within workspaces.`` - this could be the root cause.

### Logs

<details open>
<summary>Logs</summary>

```console

Resolving dependencies in `<...>/app`... 
Downloading packages... 
  _fe_analyzer_shared 76.0.0 (77.0.0 available)
  analyzer 6.11.0 (7.0.0 available)
  archive 3.6.1 (4.0.1 available)
  async 2.11.0 (2.12.0 available)
  boolean_selector 2.1.1 (2.1.2 available)
  characters 1.3.0 (1.4.0 available)
  charcode 1.3.1 (1.4.0 available)
  clock 1.1.1 (1.1.2 available)
  collection 1.19.0 (1.19.1 available)
  dart_style 2.3.7 (3.0.0 available)
  fake_async 1.3.1 (1.3.2 available)
  file 7.0.0 (7.0.1 available)
  flutter_inappwebview 6.0.0 (6.1.5 available)
  intl 0.19.0 (0.20.1 available)
  io 1.0.4 (1.0.5 available)
  leak_tracker 10.0.7 (10.0.8 available)
  leak_tracker_flutter_testing 3.0.8 (3.0.9 available)
  lints 5.0.0 (5.1.0 available)
  matcher 0.12.16+1 (0.12.17 available)
  material_color_utilities 0.11.1 (0.12.0 available)
  meta 1.15.0 (1.16.0 available)
  path 1.9.0 (1.9.1 available)
  platform 3.1.5 (3.1.6 available)
  process 5.0.2 (5.0.3 available)
  pub_semver 2.1.4 (2.1.5 available)
  pub_updater 0.4.0 (0.5.0 available)
  source_span 1.10.0 (1.10.1 available)
  string_scanner 1.3.0 (1.4.0 available)
  test 1.25.8 (1.25.12 available)
  test_api 0.7.3 (0.7.4 available)
  test_core 0.6.5 (0.6.8 available)
  toml 0.15.0 (0.16.0 available)
  vm_service 14.3.0 (15.0.0 available)
  win32_registry 1.1.5 (2.0.1 available)
  wolt_modal_sheet 0.5.0 (0.9.4 available)
Got dependencies in `<...>/app`!
35 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
`generate: true` is not supported within workspaces.

```

</details>


### Flutter Doctor output

<details open>
<summary>Doctor output</summary>

```console

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.0, on macOS 15.2 24C101 darwin-arm64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.3)
[✓] VS Code (version 1.96.0)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

```

</details>
Repository: react
Issue: [Compiler Bug]: Ref values may not be accessed during render when using `mergeRefs`
Labels: Type: Bug,Status: Unconfirmed,Component: Optimizing Compiler

### What kind of issue is this?

- [ ] React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
- [ ] babel-plugin-react-compiler (build issue installing or using the Babel plugin)
- [X] eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
- [ ] react-compiler-healthcheck (build issue installing or using the healthcheck script)

### Link to repro

https://playground.react.dev/#N4Igzg9grgTgxgUxALhAgHgBwjALgAgBMEAzAQygBsCSoA7OXASwjvwFkBPAQU0wAoAlPmAAdNvhgJcsNgB5CTAG4A+ABIJKlCPgDqOSoTkB6RaoDc4gL7jxx4-lxkA1gjYkYEALb4AFrlxMMGR7AHMmXF8oACMAOjhvYwB3CAArXARnLzJU4y8EGFCEAFopEjBjaO1ovLImOmMweGN64nRY3DBxWgZmVnx8woQAJVIwOQAVFX5xfHxYhfrMKFxR8uR8flGyRli1yZV8AB98emISeoRCQQBtAF1xQQ3t3f2p4-wX3D3SAGEyLTRHbOA4iWb4BJ0MA0JjUApXACSdGWqzG+AAvPglis1mBYhc4TB+AAhCAQSgIMh0QSWOjgpgkTYEjJSQhIlG42IUuihSL4OSYgCMwjEEjmkOh+AuMGhawxUthLMRyJxYxuAAY7rTwXMpDIYO4mDLUYyjic6FRKLS5jY6RI9bIpfRGCw2IMioRcfwyiKdVKcJsJQRsSb8BBGcz4WyVSawL6xXMsYz+LhOJgEOGsTG5ejc-gAOQ9F2sfPxxPlrMc0je0g0v02-CaMAIJObENrMsVub8dukfBkMCfSm7dgrMhVEakADy0VSCEYkw+Fq0KkE8VgUjoBExZWtFdt5YP+CstNt3WdfTY7AKRTWv282Doblw+hgznqoX4wEkfasG2-ZTPMO3z7GoEzsAAMgAIsoACiFL5FuhxWJ2QZEMoOanM2az8MulB1nacz2PgmADmAH6OL4LZlIOKRvoO0ScPgSQwGQfAUZECA+PU-ZOr0rrgg6Br8mYP4kOiwDupO5Svu+PL8EIGKHDcZQADToUoax3IIVgqGUjgINCJhmCop62HQRaXgMN7SWAskfgcMwSEUsYbIp6KHFswE-CQoInGcpCXNc9yPGC9rSI6UlegssQuV6ggEWeFkXq6HA2XeD6sM+xKeK4dBfmJx7-mJQE7CBpByGBkEwUo8Fcc+yGoawkpmJhUDYdWeEEeCxGYJ4E4+FRUiCRFwkKMoYkSVFYw1iQ6mtbWun6RkRmmMopnWOIIBWEAA

### Repro steps

I was previously getting an error saying, "Ref values (the current property) may not be accessed during render." However, passing a function to access the refs seems to work as a solution since there is no eslint error now.

In the repro, wrapping the refs in a function return doesn't change any functionality so I'm finding this issue to be a little odd.

The error doesn't always appear with every component. I couldn't find a reason why.

This seems to be similar to https://github.com/facebook/react/issues/31290

### How often does this bug happen?

Sometimes

### What version of React are you using?

19.0.0

### What version of React Compiler are you using?

19.0.0-beta-37ed2a7-20241206
Repository: vscode
Issue: Flicker of many color decorations when deleting
Labels: bug,editor-color-picker

1. Open the 1.96 release notes
2. Select from line 16 to the end of the file
3. Delete, and start typing
4. There will be a flicker of many color decorations

![Image](https://github.com/user-attachments/assets/5e9892b8-7079-468e-85e1-83c0ff5a3cdf)
Repository: vscode
Issue: vscode settings.json improvement
Labels: feature-request,settings-editor,json-sorting

Although the configuration of VSCode can be synchronized, I feel that if there are too many configuration items, the configuration file will become too messy. Can we add the nodes of each plugin in the JSON file for classification, so that the configuration file can be easily viewed? Currently, I manually add comments and organize them. If there are any modifications to the configuration, it will become chaotic again


![Image](https://github.com/user-attachments/assets/97da1355-4c06-430c-bea8-328803770fb1)


![Image](https://github.com/user-attachments/assets/d4d23328-b612-43d6-9ace-ae9ad050964e)
Repository: stable-diffusion-webui
Issue: [Bug]: AttributeError: 'NoneType' object has no attribute 'startswith'
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

run: python webui.py --api --ckpt ../AWPainting_v1.0.safetensors  --port 7861
when  self.sha256 = hashes.sha256_from_cache(self.filename, f"checkpoint/{name}")
error: AttributeError: 'NoneType' object has no attribute 'startswith'

### Steps to reproduce the problem

1、 python webui.py --api --ckpt ../AWPainting_v1.0.safetensors  --port 7861

### What should have happened?

No error reported

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

_No response_

### Sysinfo

1、 python webui.py --api --ckpt ../AWPainting_v1.0.safetensors  --port 7861

### Console logs

```Shell
Traceback (most recent call last):
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/webui.py", line 152, in <module>
    webui()
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/webui.py", line 49, in webui
    initialize.initialize()
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/modules/initialize.py", line 75, in initialize
    initialize_rest(reload_script_modules=False)
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/modules/initialize.py", line 103, in initialize_rest
    sd_models.list_models()
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/modules/sd_models.py", line 158, in list_models
    checkpoint_info = CheckpointInfo(cmd_ckpt)
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/modules/sd_models.py", line 84, in __init__
    self.sha256 = hashes.sha256_from_cache(self.filename, f"checkpoint/{name}")
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/modules/hashes.py", line 23, in sha256_from_cache
    hashes = cache("hashes-addnet") if use_addnet_hash else cache("hashes")
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/modules/cache.py", line 76, in cache
    cache_obj = make_cache(subsection)
  File "/home/jovyan/work/suny/deepfake/stable-diffusion-webui/modules/cache.py", line 25, in make_cache
    return diskcache.Cache(
  File "/opt/conda/envs/sdwebui_v2/lib/python3.10/site-packages/diskcache/core.py", line 456, in __init__
    sql = self._sql_retry
  File "/opt/conda/envs/sdwebui_v2/lib/python3.10/site-packages/diskcache/core.py", line 652, in _sql_retry
    sql = self._sql
  File "/opt/conda/envs/sdwebui_v2/lib/python3.10/site-packages/diskcache/core.py", line 648, in _sql
    return self._con.execute
  File "/opt/conda/envs/sdwebui_v2/lib/python3.10/site-packages/diskcache/core.py", line 641, in _con
    if key.startswith('sqlite_'):
AttributeError: 'NoneType' object has no attribute 'startswith'
```


### Additional information

_No response_
Repository: pytorch
Issue: Failed to build Pytorch in Alpine Linux based image
Labels: oncall: distributed,module: build,triaged

### 🐛 Describe the bug

In Alpine Linux, I try to install pre-release versions of the PyTorch and torchvision libraries from the PyTorch nightly builds repository for CPU via pip install command:
pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
and it bumps into error as mentioned in this [issue](https://github.com/pytorch/pytorch/issues/71381)

Hence, I'm trying to build pytorch library from source code in alpine linux image but i have met into error: #24 2952.7 FAILED: bin/torch_shm_manager

Detail logs are attached in the attachment.
[pytorch_error_log.txt](https://github.com/user-attachments/files/18109219/pytorch_error_log.txt)

Need some advice and support here. Thank you.

### Versions

Steps I have used in my Dockerfile using alpine based linux image：

FROM python:3.10-alpine3.18 AS build
# Install pytorch from src code
RUN echo "|--> Install PyTorch" \
&& pip install pyyaml typing_extensions \ 
&& git clone --recursive https://github.com/pytorch/pytorch \                                         && cd pytorch 
                                                                                                                                                                                      ENV BUILD_CAFFE2=OFF \                                                                                    BUILD_TEST=OFF \                                                                                      BUILD_DISTRIBUTED=OFF \                                                                               USE_QNNPACK=OFF \                                                                                     USE_PYTORCH_QNNPACK=OFF \                                                                             USE_NUMPY=OFF \                                                                                       USE_CUDA=OFF \                                                                                        USE_ROCM=OFF \                                                                                        USE_MKLDNN=OFF \                                                                                      USE_NUMA=OFF            

RUN cd pytorch  \
&& python3 ./torch/utils/collect_env.py \  
&& CXXFLAGS='-Wno-maybe-uninitialized -Wno-uninitialized -Wno-free-nonheap-object -Wno-nonnull' CFLAGS='-Wno-maybe-uninitialized -Wno-uninitialized -Wno-free-nonheap-object -Wno-nonnull' USE_ROCM=0 TORCH_CUDA_ARCH_LIST=8.9 PATH="$CUDA_DIR/bin:$PATH" python setup.py install                                                                                                                                              

cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @malfet @seemethere
Repository: vscode
Issue: VS Code Speech not detecting any voice
Labels: bug,freeze-slow-crash-leak,workbench-voice

<!-- ⚠️⚠️ 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
YES, No advice available on the internet has resolved the issue so far.

<!-- 🪓 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: 
- OS Version: 
Version: 1.97.0-insider
Commit: 6a5c8cf95aa814b5cb92de617096144b1f45af2d
Date: 2024-12-12T05:04:17.220Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.8.0-50-generic
Exact Linux distro: Ubuntu 24.04.1 LTS

### Summary of Tests and Findings

#### Steps to Reproduce:

1. Verified microphone functionality:
   - Microphone works as expected in other applications.
   - Tested using `pactl` and `parecord` to confirm audio input is functioning properly.
2. Reinstalled **VS Code** and **VS Code Insiders** from scratch.
3. Installed the required VS Code extension for speech-to-text functionality.
4. When pressing **Alt+Ctrl+V**, the microphone icon appears, indicating that the session starts successfully. However, speech is not transcribed to text.
5. Examined the speech log:
   ```
   2024-12-12 11:37:33.892 [trace] [vscode-speech-0] starting speech-to-text session 
   (language: en-US, model: Microsoft Speech Recognizer en-US FP Model V9, 
   path: /home/d/.vscode-insiders/extensions/ms-vscode.vscode-speech-0.12.1-linux-x64/assets/stt)
   ```
6. Examined  renedring.log after starting vscode speech by pressing ctrl+alt+v 

```
[error] Extension host (LocalProcess pid: 32490) terminated unexpectedly. The following extensions were running: vscode.github-authentication, vscode.emmet, vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, ms-vscode.vscode-speech
[info] Automatically restarting the extension host.

```
### Related Issue

The issue appears to align with a previously **Closed** GitHub issue #207290  where users reported similar behavior:  
- The speech-to-text extension starts but does not transcribe audio input despite showing no visible errors or crashes.  

---
Repository: vscode
Issue: Emmet Balance for JSON and YAML
Labels: feature-request,json,emmet,under-discussion

<!-- ⚠️⚠️ 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. -->
Hey, 
I really like the Emmet Balance (inward/outward) function for HTML, however it does not seem to work for JSON or YAML files. 
Could the functionality of the Emmet Balance feature be expanded to support such filetypes? 
If not, is there another way to achive something similar for JSON and YAML files?
Repository: TypeScript
Issue: `click` event's interface should be changed to `PointerEvent`
Labels: Bug,Help Wanted,Domain: lib.d.ts

### ⚙ Compilation target

esnext

### ⚙ Library

-

### Missing / Incorrect Definition

In the `GlobalEventHandlersEventMap` interface the field `"click": MouseEvent` should be changed to `"click": PointerEvent`

### Sample Code

```TypeScript
-
```

### Documentation Link

https://w3c.github.io/uievents/#event-type-click
Repository: next.js
Issue: route seems to be cached despite the force-dynamic and the use of cookies
Labels: Navigation,Pages Router

### Link to the code that reproduces this issue

https://github.com/gaudiauj/nextJsRedirectBug/tree/next14

### To Reproduce

1. start the application npm run dev
2. go to the /login page and click on the login button.
3. click on the logout button. 
4. click on the /login again.
5. click on the logout again.

=> you can see that you have been redirect to the /login page but the customer cookies did not get deleted because the api/logout routes did not get called. 

### Current vs. Expected behavior

The api/logout routes doesn't get call the second time despite using cookies and having a `export const dynamic = 'force-dynamic';` I expect the route to be called every time ! By redirecting directly, the cookies never get deleted and therefore the user is never really disconnected. 

How do i make sure the routes is properly called ? 

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.6.0: Wed Jul 31 20:53:05 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T8112
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 20.11.1
  npm: 10.2.4
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.20 // An outdated version detected (latest is 15.1.0), upgrade is highly recommended!
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.7.2
Next.js Config:
  output: N/A
 ⚠ An outdated version detected (latest is 15.1.0), upgrade is highly recommended!
   Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
   Read more - https://nextjs.org/docs/messages/opening-an-issue
```


### Which area(s) are affected? (Select all that apply)

Not sure, Navigation

### Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local), Other (Deployed)

### Additional context

I tested the same repo with next 15.1 => https://github.com/gaudiauj/nextJsRedirectBug/tree/next15 And it work the way it is expected.
Repository: bitcoin
Issue: build: broken CMake *flags output
Labels: Build system

Seen in CI runs, i.e https://cirrus-ci.com/task/5616358949388288?logs=configure#L309:
```bash
C++ compiler flags .................... -O2 -g -std=c++20 -fPIC -fdebug-prefix-map=/tmp/cirrus-ci-build/bitcoin-core/src=. -fmacro-prefix-map=/tmp/cirrus-ci-build/bitcoin-core/src=. -Werror $<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:SHELL:-Xcompiler -pthread> $<$<AND:$<NOT:$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>>,$<NOT:$<COMPILE_LANGUAGE:Swift>>>:-pthread> -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety
```

`-Werror $<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:SHELL:-Xcompiler -pthread> $<$<AND:$<NOT:$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>>,$<NOT:$<COMPILE_LANGUAGE:Swift>>>:-pthread> -Wall` 

Haven't checked if there is a (silent) effect on the build, but in any case, this output is broken.
Repository: react
Issue: [DevTools Bug] Cannot add node "1" because a node with that id is already in the Store.
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

Expo Go & Google Chrome

### Repro steps

Android Bundled 589ms node_modules\expo-router\entry.js (1 module)
 (NOBRIDGE) LOG  Bridgeless mode is enabled     
 INFO 
 💡 JavaScript logs will be removed from Metro in React Native 0.77! Please use React Native DevTools as your default tool. Tip: Type j in the terminal to open (requires Google Chrome or Microsoft Edge).
 (NOBRIDGE) WARN  Route "./Colors.ts" is missing the required default export. Ensure a React component is exported as default. [Component Stack]
 (NOBRIDGE) WARN  Route "./TabBarIcon.tsx" is missing the required default export. Ensure a React component is exported as default. [Component Stack]
 (NOBRIDGE) WARN  Route "./useThemeColor.ts" is missing the required default export. Ensure a React component is exported as default. [Component Stack]

### How often does this bug happen?

Every time

### DevTools package (automated)

react-devtools-core

### DevTools version (automated)

5.2.0-1717ab0171

### Error message (automated)

Cannot add node "1" because a node with that id is already in the Store.

### Error call stack (automated)

```text
at http://10.251.14.176:8081/_expo/react-devtools/standalone.js:2:1011371
    at f.emit (http://10.251.14.176:8081/_expo/react-devtools/standalone.js:2:984358)
    at http://10.251.14.176:8081/_expo/react-devtools/standalone.js:2:985900
    at http://10.251.14.176:8081/_expo/react-devtools/standalone.js:2:1359186
    at Array.forEach (<anonymous>)
    at U_.e.onmessage (http://10.251.14.176:8081/_expo/react-devtools/standalone.js:2:1359169)
```


### Error component stack (automated)

_No response_

### GitHub query string (automated)

```text
https://api.github.com/search/issues?q=Cannot add node  because a node with that id is already in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
```