sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: SyntaxError: Unexpected token T in JSON at position 0 WHile building the website
Labels: bug

### Verify canary release

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

### Provide environment information

```bash
Hi , im trying to build my website and i get this error, i tried a lot of thing but nothing were helpful :
```


### 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/AnasAitzouinet/my-eco

### To Reproduce

info  - Collecting page data .SyntaxError: Unexpected token T in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseJSONFromBytes (node:internal/deps/undici/undici:6498:19)
    at successSteps (node:internal/deps/undici/undici:6472:27)
    at node:internal/deps/undici/undici:1145:60
    at node:internal/process/task_queues:140:7
    at AsyncResource.runInAsyncScope (node:async_hooks:204:9)
    at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

> Build error occurred
Error: Failed to collect page data for /Product/[id]
    at C:\Users\anasa\OneDrive\Documents\Git\Garboz\my-eco\node_modules\next\dist\build\utils.js:1055:15
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'Error'
 

### Describe the Bug

im just tryin the website by next build and i get this error even thought i did alot of fixes but nothing worked

### Expected Behavior

trying to build it 

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

_No response_

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

_No response_
Repository: godot
Issue: SoftBody3D does not work correctly with rigidbody3d
Labels: bug,confirmed,topic:physics,topic:3d

### Godot version

4.0.1-stable

### System information

Windows 11

### Issue description

SoftBody3D has no collision with rigidbody3d. With staticbody3d, the same SoftBody3D works...

### Steps to reproduce

In the attachment there is an example of a scene where you can see what is wrong

### Minimal reproduction project

[temp.zip](https://github.com/godotengine/godot/files/11074932/temp.zip)
Repository: deno
Issue: startTls on server-side
Labels: suggestion,ext/http

I'm trying to make an ESTMP server, that supports the `STARTTLS` command. However, this requires me to upgrade the connection, both on the client and the server to `TLS`. On the client, this is done without too much trouble, via the `Deno.startTls` function. However, calling this upon a server to client connection causes this error in the client, when the client tries to perform a TLS handshake:

```
Received a ClientHello handshake message while expecting [ServerHello, HelloRetryRequest]
Sending fatal alert UnexpectedMessage
```

This leads me to believe that `Deno.startTls` only performs a midway client-side TLS handshake. I would love it if an equivalent server-side `startTls` function was implemented, because right now I'm forced to reimplement the whole TLS protocol, or not include STARTTLS as a command in my SMTP server, none of which are real options.
Repository: puppeteer
Issue: Bring back coverage for certain configurations (MacOS/headful)
Labels: feature,confirmed

In https://github.com/puppeteer/puppeteer/pull/9913 we removed the following combinations from the test matrix:

```
- os: macos-latest
   suite: chrome-headful
  - os: macos-latest
    suite: firefox-headful
 - os: macos-latest
    suite: firefox-headless
```

Those combinations were taking more time than other, sometimes taking 25-30 minutes to finished. We should re-enable them once they start taking 15 min or less due to optimisations or better hardware.
Repository: pytorch
Issue: transposed 2d copy bfloat16 support
Labels: triaged,intel

              @zhuhaozhe BTW, transposed 2d copy only supports float currently. Will you add bfloat16 support later?

_Originally posted by @jgong5 in https://github.com/pytorch/pytorch/issues/97147#issuecomment-1484523680_
            

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
Repository: PowerToys
Issue: Missing apps from PowerToys Run
Labels: Issue-Bug,Priority-3,Run-Results (Programs)

### Microsoft PowerToys version

0.68.1

### Installation method

Chocolatey

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Starting PowerToys Run, normally or in "as admin", and try to type LibreOffice (for example, not the only one missing).

### ✔️ Expected Behavior

Programs plugin to find LibreOffice installed.

### ❌ Actual Behavior

The closest match will be the ".lnk" file found by the Search plugin.

### Other Software

_No response_
Repository: vscode
Issue: Cannot move a directory to its parent with the same name
Labels: bug,file-explorer,windows

<!-- ⚠️⚠️ 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.76.0 (Commit: 92da9481c0904c6adfe372c12da3b7748d74bdcb)
- OS Version: Windows_NT x64 10.0.19045

Steps to Reproduce:

1. Consider the following project structure, where there is a nested directory with the same name of its parent ("folder/folder"). This is quite common when unzipping some archives.
2. The user wants to move "folder/folder" up, so that "folder/folder/\*.txt" will become "folder/\*.txt".
3. The operation fails with an error: "Unable to move/copy '...\example\folder\folder' into '...\example\folder' since a file would replace the folder it is contained in."

![image](https://user-images.githubusercontent.com/6646473/227878632-cda193ba-21bd-4960-b975-9b235fa4092b.png)
![image](https://user-images.githubusercontent.com/6646473/227878698-0e35c86f-19d3-4e66-a022-97ef26167c99.png)

I consider this behavior as a bug because this operation is supported in Windows Explorer. In Windows Explorer, it is possible to Ctrl+X on "example\folder\folder" and Ctrl+V on "example" to move the directory out of its parent.
Repository: PowerToys
Issue: [PT Run] Indexer plugin: Add localization of path and file name
Labels: Idea-Enhancement,Help Wanted,Product-PowerToys Run,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

For the program plugin we added localization now.

For the indexer plugin I tried this too in the PR #23665. But the implementation I used don't work as expected. The indexed data are translated in the language the OS was installed. (See this comment: https://github.com/microsoft/PowerToys/pull/23665#issuecomment-1429738982)

The localization feature should have the following features:
- Search in englisch and OS locale.
- Show the file names in OS locale.
- Show the file paths in OS locale.



### Scenario when this would be used?

The explorer shows the translated names of the folders.

### Supporting information

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]:  draggable accordion menus to manage orders,  also a drop-down menu to put infrequent apps for both accordion and tabs please....  everyone is using these two spaces, it is getting crowded and disorganized.
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 ?

[Feature Request]:  
draggable accordion menus to manage orders, 
also a drop-down menu to put infrequent apps for both accordion and tabs please.... 
everyone is using these two spaces, it is getting crowded and disorganized.

### Proposed workflow

omg

### Additional information

omg
Repository: material-ui
Issue: Need an effective way to customize several sticky columns
Labels: component: table,enhancement,customization: css

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

If I wish to stick several columns to the left, current solution would be like:

`<TableCell style={{ position: 'sticky', left: 0, zIndex: 1 }}>Sticky1</TableCell>`
`<TableCell style={{ position: 'sticky', left: 100px, zIndex: 1 }}>Sticky2</TableCell>`
`<TableCell style={{ position: 'sticky', left: 200px, zIndex: 1 }}>Sticky3</TableCell>`

However, for columns using relative widths like "10%", it is not a good idea to make their sticky position fixed by some pixels, under difference screen resolutions.

Could there be any way to support this functionality, without specifying fixed distance to the left?

### Examples 🌈

I can imagine something like below, yet better design would be expected.

`<TableCell sticky="left">Sticky1</TableCell>
`

### Motivation 🔦

_No response_
Repository: PowerToys
Issue: 个性化设置windows全局字体功能
Labels: Needs-Triage

### Description of the new feature / enhancement

windows现在不提供用户修改系统显示字体，
能不能出个功能修改系统字体呢？

### Scenario when this would be used?

windows11，window10.

### Supporting information

https://github.com/Tatsu-syo/noMeiryoUI
这个程序能在 Windows 8.1/10/11 上设置系统字体设置。
Repository: pytorch
Issue: How do I get the original object wrapped by the torch.fx.proxy class？
Labels: triaged,oncall: fx

I want quant the swin transformers. This model need get some shape of tensors in the forward function, but the args is a proxy object, How do I get the original object(It is the window tensor below) wrapped by the Proxy class？Thanks.

## Issue description

Provide a short description.

## Code example
![image](https://user-images.githubusercontent.com/49281157/227918528-3db1ef62-0c41-483e-953e-f1c468224a5b.png)
![image](https://user-images.githubusercontent.com/49281157/227918593-0d700138-2112-472d-a575-b34ad48e4965.png)





## Traceback
**the windows is a tensor wrapped by the proxy, Is there some method to get the original tensor or its shape?**

![image](https://user-images.githubusercontent.com/49281157/227918682-1576ab9d-0dc7-445f-a32f-0f3372850a17.png)


## System Info

Versions of relevant libraries:
[pip3] numpy==1.23.3
[pip3] torch==1.12.0+cu116
[pip3] torchaudio==0.12.0+cu116
[pip3] torchvision==0.13.0+cu116
[conda] blas                      1.0                         mkl    defaults
[conda] cudatoolkit               11.3.1               h2bc3f7f_2    defaults
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] mkl                       2021.4.0           h06a4308_640    defaults
[conda] mkl-service               2.4.0            py38h7f8727e_0    defaults
[conda] mkl_fft                   1.3.1            py38hd3c417c_0    defaults
[conda] mkl_random                1.2.2            py38h51133e4_0    defaults
[conda] numpy                     1.23.3           py38h14f4228_0    defaults
[conda] numpy-base                1.23.3           py38h31eccc5_0    defaults
[conda] pytorch                   1.13.0              py3.8_cpu_0    pytorch
[conda] pytorch-mutex             1.0                         cpu    pytorch
[conda] torch                     1.12.0+cu116              <pip>
[conda] torchaudio                0.12.0+cu116              <pip>
[conda] torchaudio                0.13.0                 py38_cpu    pytorch
[conda] torchvision               0.14.0                 py38_cpu    pytorch
[conda] torchvision               0.13.0+cu116              <pip>

cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv
Repository: go
Issue: x/tools/txtar: Parse does not cope with CR-LF line endings
Labels: help wanted,NeedsFix,Tools

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version devel go1.21-a4d5fbc3a4 Thu Feb 9 21:14:00 2023 +0000 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/rogpeppe/.cache/go-build"
GOENV="/home/rogpeppe/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/rogpeppe/src/go/pkg/mod"
GONOPROXY="github.com/cue-unity"
GONOSUMDB="github.com/cue-unity"
GOOS="linux"
GOPATH="/home/rogpeppe/src/go"
GOPRIVATE="github.com/cue-unity"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/rogpeppe/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/rogpeppe/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="devel go1.21-a4d5fbc3a4 Thu Feb 9 21:14:00 2023 +0000"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1790663412=/tmp/go-build -gno-record-gcc-switches"

</pre></details>

### What did you do?


Ran this testscript test:

```
exec go mod tidy
exec go run main.go
cmp stdout expect-stdout
-- go.mod --
module m

go 1.20

require golang.org/x/tools v0.7.0
-- main.go --

package main

import (
	"fmt"

	"golang.org/x/tools/txtar"
)

func main() {
	ar := txtar.Parse([]byte("comment\r\n-- file --\r\ndata\r\n"))
	fmt.Printf("comment: %q\n", ar.Comment)
	for _, f := range ar.Files {
		fmt.Printf("file %q: %q\n", f.Name, f.Data)
	}
}
-- expect-stdout --
comment: "comment\r\n"
file: "file": "data\r\n"
```


### What did you expect to see?

A passing test.

### What did you see instead?

```
> exec go mod tidy
> exec go run main.go
[stdout]
comment: "comment\r\n-- file --\r\ndata\r\n"
> cmp stdout expect-stdout
--- stdout
+++ expect-stdout
@@ -1,1 +0,0 @@
-comment: "comment\r\n-- file --\r\ndata\r\n"
@@ -0,0 +1,2 @@
+comment: "comment\r\n"
+file: "file": "data\r\n"

FAIL: /tmp/testscript86563551/x.txtar/script.txtar:3: stdout and expect-stdout differ
```

The logic inside the `txtar` package does not properly recognise CR-LF files.
It's an open question whether the logic should normalize `\r\n` to `\n`.
Repository: rust
Issue: unexpected behavior of `pub(in other_module)`
Labels: A-diagnostics,T-compiler,D-confusing

```rust
mod parent {
    mod this {
        pub(in super::sibling) fn foo() {}
    }
    
    mod sibling {
        fn bar() {
            super::this::foo();
        }
    }
}
```
results in
```
error[E0433]: failed to resolve: could not find `sibling` in `super`
 --> src/lib.rs:3:23
  |
3 |         pub(in super::sibling) fn foo() {}
  |                       ^^^^^^^ could not find `sibling` in `super`
```
this error feels very weird :thinking: 

I see the following possible fixes here:

- this is a bug with name resolution and should compile
- the `in super::sibling` error should be changed to explain what's going on here and why that doesn't work

found via https://github.com/rust-lang/rust/pull/109511#discussion_r1149136457

cc @petrochenkov in case you know more about what's going on here.
Repository: neovim
Issue: checkhealth: fold "OK" (successful) sections by default
Labels: enhancement,plugin,runtime

### Problem

With more neovim modules and plugins using checkhealth popping up, `:checkhealth` is starting to feel like reading CI logs with the amount of information that is presented to the user.

### Proposed solution

Automatically fold modules/sections that have passed their tests, but not for failed tests. This way the user will be shown the most important parts they need to know and fix, while also being able to inspect the information from the passing tests.
Repository: next.js
Issue: nested dynamic routes 
Labels: bug,Navigation

### Verify canary release

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

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:35 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T8103
    Binaries:
      Node: 18.13.0
      npm: 8.19.3
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 12.1.0
      react: 17.0.2
      react-dom: 17.0.2
```


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

Routing (next/router, next/navigation, next/link)

### Link to the code that reproduces this issue

https://github.com/hanikoussa/posts-nextjs.git

### To Reproduce

build and start the project: 

yarn build && yarn start



### Describe the Bug

nested dynamic routes are not adding the slash:

Error: You cannot define a route with the same specificity as a optional catch-all route ("/product/[id]" and "/product/[id][[...vary]]").
keeping in mind that the structure is:
product:File, it includes [id]: File, it includes [[...vary]].js 

the intended result is "/product/[id]/[[...vary]]" i believe the "/" is missing.

I tried next v13 and gave same input

### Expected Behavior

the intended result is "/product/[id]/[[...vary]]" i believe the "/" is missing.

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

_No response_

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

_No response_
Repository: excalidraw
Issue: behavior of changing the default shape style(s)
Labels: discussion

Right now, we remember the last style (stroke or bg color, sloppiness, font size, ...) after you change it so that drawing new shapes will use those defaults.

I don't think we should remove this behavior, but we _may_ tweak it:

1. **change defaults only if you change style while you have a tool selected**, not when changing styles existing shape(s) on canvas.

    If you create shapes of certain style and then want to change one or two shapes' style, it currently changes the default. This is often undesirable.

2. also **change defaults when copying style**.

    Right now, copying a style from an existing shape (shift-alt-c) does not change the defaults. This makes it if you want to start creating shapes with specific style you used before — you need to change all the properties manually.
    
    At the same time, if you just want to copy/paste a style from one element to another without changing the defaults, this change would be undesirable.

In both cases, arguments could be made in both directions. We need to make a call on what we think makes more sense for most people for most cases.

At the same time, having different behavior for different types of actions may make the app look inconsistent or buggy, and the behavior unintuitive.
Repository: node
Issue: Button to choose module type is missing
Labels: doc

API documentation used to have a button which allowed one to choose between CJS and EMS modules.  It is gone.
Repository: pytorch
Issue: [FSDP] test model.eval() + keep_low_precision_grads
Labels: oncall: distributed,triaged

### 🚀 The feature, motivation and pitch

Need to test that keep_low_precision_grads in mixed_precision is nullified in model.eval() mode.

### Alternatives

_No response_

### Additional context

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu
Repository: godot
Issue: Static function "duplicate" on custom classes extending Object cause "Parser Error: Class ___ hides a global script class
Labels: discussion,topic:gdscript

### Godot version

4.0.1

### System information

Windows 11 and Linux (Steam Deck)

### Issue description

Creating a static function in a custom class extending Object or RefCounted will cause Parser Error:

```
Parser Error: Class "ClassName" hides a global script class
0 - gdscript://(random numbers).gd:2 - at function:
```

Object nor RefCounted does not have "duplicate" methods according to documentation.
Making a regular (non-static) method works and does not produce any error when called.

It's only when the static function is called that the Parser error appears.

And yes, I could jsut make the function non-static and probably a better way to do  a custom 'duplicate' function but I think this might still be considered a bug. I'm also using 'duplicate' with parameters if anyone is wondering why the sample below is just empty param signature.

### Steps to reproduce

Create a class extending Object or RefCounted (with a class_name) and create a static function called 'duplicate' that does whatever

Ex:
```
extends RefCounted
class_name BadClass


static func duplicate(): # doesn't matter if there are parameters, will still cause error
	print("you ain't gettin here")
```

call it from somewhere

```
func _ready():
	BadClass.duplicate()
```

### Minimal reproduction project

n/a
Repository: go
Issue:  net/http: clarify relationship of RoundTripper to Client
Labels: Documentation,NeedsInvestigation

The docs for http.RoundTripper say

```go
// RoundTrip executes a single HTTP transaction, returning
// a Response for the provided Request.
//
// RoundTrip should not attempt to interpret the response. In
// particular, RoundTrip must return err == nil if it obtained
// a response, regardless of the response's HTTP status code.
// A non-nil err should be reserved for failure to obtain a
// response. Similarly, RoundTrip should not attempt to
// handle higher-level protocol details such as redirects,
// authentication, or cookies.
```

But Google itself publishes an [OAuth RoundTripper](https://pkg.go.dev/golang.org/x/oauth2#Transport.RoundTrip) that handles authentication via multiple requests, so I don't think this actually reflects current best practices.

The docs for http.Client say, "A Client is higher-level than a RoundTripper (such as Transport) and additionally handles HTTP details such as cookies and redirects." But it's not "such as". It _just is_ cookies and redirects. That's all that Client adds over the RoundTripper now, and I don't think there are any plans to add anything else.

I think the documentation should be clarified to explain that a RoundTripper can do more or less whatever it wants (as long as it doesn't modify a Request or return an error for a valid response), but Client will handle the cookie jar and redirects.

I think the solution is to simplify the docs like this:

> RoundTrip executes an HTTP transaction, returning a Response for the provided Request.
>
> RoundTrip should [NB: not "must"] return err == nil if it obtained a response, regardless of the response's HTTP status code. A non-nil err should be reserved for failure to obtain a response. Similarly, RoundTrip should not attempt to handle redirects and cookies.


> A Client is higher-level than a RoundTripper (such as Transport) and additionally handles cookies and redirects.

CC: @neild @bradfitz