sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Google maps plugin spams the logs
Labels: platform-android,p: maps,package,has reproducible steps,P3,found in release: 1.22,found in release: 1.26,found in release: 2.0,found in release: 2.3,team-android,triaged-android

## Steps to Reproduce

Add the google maps plugin and create a widget according to the tutorial.

**Expected results:** <!-- what did you want to see? -->
No log mesages, Or logmessages that are relevant to the library user

**Actual results:** <!-- what did you see? -->

```
D/EGL_emulation( 4990): eglMakeCurrent: 0xe736f380: ver 2 0 (tinfo 0xdbc284a0)
D/EGL_emulation( 4990): eglMakeCurrent: 0xe7301560: ver 1 0 (tinfo 0xc4630550)
D/HostConnection( 4990): HostConnection::get() New Host Connection established 0xdbc3de60, tid 5143
D/HostConnection( 4990): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2 
W/sseltrackingap( 4990): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/sseltrackingap( 4990): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/sseltrackingap( 4990): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->



<details>
<summary>flutter doctor -v</summary>

```bash
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Linux, locale en_US.UTF-8)
    • Flutter version 1.12.13+hotfix.9 at /home/.../flutter
    • Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/.../Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /home/.../android-studio-ide-192.6308749-linux/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Android Studio (version 3.6)
    • Android Studio at /home/.../android-studio-ide-192.6308749-linux/android-studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

</details>
```
</details>
Repository: godot
Issue: It's possible to create double 2D polygon points
Labels: discussion,topic:editor

**Godot version:**
3.2.1

**Issue description:**
This is related to #36024, but it's a bit different. Basically, 2D polygon editor allows you to create double points, i.e. you can double click somewhere and it will create two points at the same spot. IMO this should not be allowed, I mean having consecutive points at the same position. It might be useful only for non-consecutive points.

The reason I'm bringing this up is that it's easy to accidentally double click a point, which sometimes causes convex decomposition error, making the polygon unusable. There's no way to tell which point is doubled, so you need to go through all of them and check for wrong numbering.

This probably only happens with grid snap enabled, normally there's low chance of this happening (but you can still create two _very close_ points).

(also not sure how to label this, as it technically might not be a "true" bug)
Repository: PowerToys
Issue: [peek/preview pane]  support epub 
Labels: Idea-New PowerToy,Product-File Explorer

# Summary of the new feature/enhancement

It would be great to get a **previsualization**, at least the the cover page, of **epub** files in the **File Explorer** PowerToys / peek
Repository: flutter
Issue: Slow initial build time due to "skipping target" inefficient hashFiles computation.
Labels: tool,c: performance,P2,team-tool,triaged-tool

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please tell us exactly how to reproduce the problem you are running into. -->

1. flutter create p1
2. cd p1
3. flutter run -d linux
OR flutter run -d windows
OR (I guess mac, anything else)

I won't include logs, just the first lines of "flutter doctor -v"

[✓] Flutter (Channel master, v1.18.0-6.0.pre.82, on Linux, locale en_US.UTF-8)
    • Flutter version 1.18.0-6.0.pre.82 at /home/malkia/p/flutter/flutter
    • Framework revision f35b673f2b (20 hours ago), 2020-04-19 02:45:01 +0530
    • Engine revision a5e0b2f2f2
    • Dart version 2.9.0 (build 2.9.0-1.0.dev 5b19445d9c)

I've dig a little, and found out that calling, "flutter run -d linux" (or possibly other platforms) maybe slow due to the "skipping target" step:
  https://github.com/flutter/flutter/blob/cb8bafb38df02f63edaea76e0dc7a74380f47ce8/packages/flutter_tools/lib/src/build_system/build_system.dart#L684
calling computeChanges() here:
  https://github.com/flutter/flutter/blob/cb8bafb38df02f63edaea76e0dc7a74380f47ce8/packages/flutter_tools/lib/src/build_system/build_system.dart#L907
 calling later hashFIles()
https://github.com/flutter/flutter/blob/cb8bafb38df02f63edaea76e0dc7a74380f47ce8/packages/flutter_tools/lib/src/build_system/build_system.dart#L981

calling _hashFile(), which (function just down below):

final Digest digest = md5.convert(await file.readAsBytes());

I believe this is the cause of slowdown, and have put some more findings here:
https://www.reddit.com/r/FlutterDev/comments/g31c2e/what_are_the_common_problems_you_are_facing_while/fnw96ku/?context=3
Repository: rust
Issue: `unused_parens` should lint superfluous parentheses on the LHS of an assignment
Labels: A-lints,T-compiler,C-bug,L-unused_parens

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
#[deny(unused_parens)]

fn main() {
    let mut a = 5;
    (((((a))))) = 6;
}
```

I expected to see this happen: the compiler should reject this because there are unused parentheses on the left-hand side of the assignment.

Instead, this happened: the code compiled without errors.

### Meta
This bug exists on current stable, beta and nightly.
Repository: go
Issue: x/tools/gopls: show unimported completions for symbol names
Labels: FeatureRequest,gopls,Tools

See the original discussion on https://github.com/microsoft/vscode-go/issues/1846.

/cc @heschik @muirdm
Repository: youtube-dl
Issue: The option to download all video files to a central location, then have youtube-dl automatically create  folders for playlists, and create shortcuts of the videos from the main folder and place them in the playlist folders.
Labels: request


https://www.youtube.com/user/ForgottenWeapons/playlists

Say you want to archive that channel.

That channel has a 

Semi Auto pistol video play list

&

Beretta firearm video play list

Those two play lists would have some of the same videos located in both play lists.

Rather than to duplicate say a 2gb file for 2 or more play lists, youtube-DL could download one file in the main folder, then create a shortcut in each of the playlists that the video is found to be in.
Repository: godot
Issue: Press Enter on Remove will start the engine
Labels: bug,topic:editor,usability

**Godot version:**
3.2.2 beta 1
**OS/device including version:**
Ubuntu 19.10
**Issue description:**
If you click remove project from start GUI, it will start the engine instead of removing the project
![removebug](https://user-images.githubusercontent.com/58845030/79696345-82b43a00-8252-11ea-922b-33e67fb576fc.gif)

**Steps to reproduce:**

* Open the engine
* On project selection, select a project
* Click remove
* Instead of clicking to remove , press ENTER

**Minimal reproduction project:**
N/A
Repository: youtube-dl
Issue: [Feature request] Add a possibility to use ffmpeg (instead of AtomicParsey) to embed thumbnail in downloaded video
Labels: request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Search the bugtracker for similar feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a feature request
- [x] I've verified that I'm running youtube-dl version **2020.03.24**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

Hi,

Since version 4, `ffmpeg` is able to embed thumbnail in mp4 files : See https://www.ffmpeg.org/ffmpeg.html#Main-options and : https://stackoverflow.com/q/54717175/5649639

I cannot build/find `AtomicParsley` for SailfishOS, can you please add the possibility to use `ffmpeg` (instead of `AtomicParsley`) to embed thumbnail in downloaded video ?

Thanks a lot to your team for your great amount of work for this great tool I use everyday (along with `mpv`:-) )
Repository: godot
Issue: PopupMenu doesn't focus first item after gettting focus
Labels: enhancement,topic:gui

**Godot version:**
3.2.2 Beta1 / 3.2.1
**OS/device including version:**
Windows 10
**Issue description:**
PopupMenu doesn't allow to set focused item and doesn't focus first item after getting focus
**Steps to reproduce:**
1. Create PopupMenu
2. Call GrabFocus() on it or focus it via keyboard (for example if it's under current control you'd have to press down arrow twice instead of just once).
Repository: youtube-dl
Issue: Please add support for Docubay.com
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.03.24**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.docubay.com/last-shop-standing/

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

This is a great on line indie documentaries source, so I believe it is going to  be great adding support for this site as well. Thank you.
Repository: pytorch
Issue: jit.script leads to RuntimeError: attribute lookup is not defined on python value of type in some cases
Labels: triage review,oncall: jit,triaged,small

## 🐛 Bug

<!-- A clear and concise description of what the bug is. -->

``torch.jit.script`` sometimes leads to ``RuntimeError: attribute lookup is not defined on python value of type [some python object name]``.

Not sure is this a bug or I am misusing jit.script since I know very little of jit in pytorch. Anyway, please see the reproduce demo below.

## To Reproduce

```python
# backend.py
import torch
class bk:
    def __init__(self):
        pass
    def trace(self, a):
        return torch.trace(a)

bkd = bk()
```

```python
# test1.py
import backend
import torch

@torch.jit.script
def f(a):
    return backend.bkd.trace(a)
```

```python
# test2.py
import backend
import torch

@torch.jit.script
def f(a):
    return backend.bk().trace(a)
```

``python3 test2.py`` gives no error while ``python3 test1.py`` will raise
```
RuntimeError: 
attribute lookup is not defined on python value of type 'bk':
  File "", line 6
@torch.jit.script
def f(a):
    return backend.bkd.trace(a)
           ~~~~~~~~~~~~~~~~~ <--- HERE
```

If this is due to my misunderstanding of pytorch.jit, please give me some suggestions on how to fix test1.py instead of claim new ``bk`` object within ``f``.

<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## Environment

Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```

 - PyTorch Version (e.g., 1.0): 1.4.0
 - OS (e.g., Linux): macOS10.14.4
 - How you installed PyTorch (`conda`, `pip`, source): pip
 - Build command you used (if compiling from source):
 - Python version: 3.6
 - CUDA/cuDNN version:
 - GPU models and configuration:
 - Any other relevant information:

## Additional context

<!-- Add any other context about the problem here. -->


cc @suo
Repository: excalidraw
Issue: Feature Request: Allow basic prototyping functionality
Labels: enhancement,discussion

Based on [this Tweet](https://twitter.com/Vjeux/status/1248116161830506497).

Maybe this is out-of-scope for excalidraw, but it would be nice if:
1. It could support basic prototyping functionality (like adding click handlers, transition to a new "screen", and so on).
2. It could support creating a shared library of components programmatically (e.g. in order to share stuff like custom buttons).
Repository: pytorch
Issue: Problem with c10/utils/variant.h
Labels: module: cpp,triaged

## 🐛 Bug

Hi

I've encountered a problem with the code in "c10/utils/variant.h" while trying to build a C++ application.
I've created a simple test program to explain the problem. 
The code I’m trying to build is the following one

```cpp
//Include standard libraries
#include <iostream>

//Define namespace data
//This can be included for example by another header file
namespace data
{
}

//Include torch library
#include <torch/torch.h>

int main(int argc, char* argv[])
{
  std::cout << torch::randn({3, 3}) << std::endl;
  return 0;
}
```

The CMakeLists.txt is

```
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(test_variant)

find_package(Torch REQUIRED)

add_executable(test_variant main.cpp)
target_link_libraries(test_variant "${TORCH_LIBRARIES}")
set_property(TARGET test_variant PROPERTY CXX_STANDARD 14)
```

I’ve added an empty “data” namespace to better explain the problem.
When I build the example I get a lot of errors like

```
~/test_variant/libtorch/include/c10/util/variant.h:2519:7: error: invalid use of ‘void’
       AUTO_RETURN(v && holds_alternative<I>(*v)
```

I’ve looked inside the file and it seems that the problem is the statement (line 1165 c10/utils/variant.h)

```
AUTO_REFREF_RETURN(recursive_union::get_alt(
              data(lib::forward<V>(v)), in_place_index_t<I>{}))
```

Where “data” is incorrectly detected as the namespace I’ve added before the <torch/torch.h> inclusion.
I think it should refer to the “data” function which can be found in the same file at line 1743 (I tried to change its name and indeed the error is solved).
Could this be an issue or it’s something I’m doing wrong in my code?

Thank you very much for your help

## Environment

 - PyTorch Version (e.g., 1.0): LibTorch 1.4.0
 - OS (e.g., Linux): Ubuntu 16.04 (default compiler)
 - How you installed PyTorch (`conda`, `pip`, source): pre-built libraries
 - Build command you used (if compiling from source): N/A
 - Python version: N/A
 - CUDA/cuDNN version: N/A
 - GPU models and configuration: N/A
 - Any other relevant information: cpu mode only 

cc @yf225
Repository: pytorch
Issue: jit trace failed due to "failed to differentiate `prim::ListConstruct`"
Labels: oncall: jit,triaged

## 🐛 Bug

Failed to generate grad graph by using jit trace, error as following:

RuntimeError: failed to differentiate `prim::ListConstruct`

Could you help to check it please?

## To Reproduce
<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
```
import torch
import torch.nn as nn
import torch.nn.functional as F

class Net(nn.Module):
    def __init__(self):
        super(Net, self).__init__()

    def forward(self, x):
        x = F.relu(x)
        z = torch.cat([x, x])
        return torch.sigmoid(z)

n = Net()
example_forward_input = torch.rand([2,3], requires_grad=True)

model_script = torch.jit.trace(n, example_forward_input)
lowered_graph,_ = torch._C._jit_pass_lower_graph(model_script.graph, model_script._c)
grad = torch._C._jit_differentiate(lowered_graph)
```
## Expected behavior

generate grad graph.

## Environment

Please copy and paste the output from our
Collecting environment information...
PyTorch version: 1.4.0a0+59402f5
Is debug build: No
CUDA used to build PyTorch: None

OS: CentOS Linux 7 (Core)
GCC version: (GCC) 7.2.1 20170829 (Red Hat 7.2.1-1)
CMake version: version 3.14.0

Python version: 3.6
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA

Versions of relevant libraries:
[pip] numpy==1.16.3
[pip] numpydoc==0.7.0
[pip] torch==1.4.0a0+59402f5
[pip] torchviz==0.0.1

[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```

 - PyTorch Version (e.g., 1.0):
 - OS (e.g., Linux):
 - How you installed PyTorch (`conda`, `pip`, source):
 - Build command you used (if compiling from source):
 - Python version:
 - CUDA/cuDNN version:
 - GPU models and configuration:
 - Any other relevant information:

## Additional context

<!-- Add any other context about the problem here. -->


cc @suo
Repository: rust
Issue: Poor error message when using crate in macro_rules
Labels: A-diagnostics,A-resolve,A-macros,T-compiler,D-terse

Hello,

I wrote a macro and I forget using `$crate`, I wrote `crate` instead. The macro works fine in my lib but when I use it in another crate (or in examples code), I have a compilation error (it’s normal) but the error message doesn’t help me to find the problem.

I tried this code:

```rust
#[macro_export]
macro_rules! a_macro {
    () => {
        crate::Foo {}
    };
}

pub struct Foo {}

#[cfg(test)]
mod test {
    #[test]
    fn bar() {
        crate::a_macro!();
    }
}
```

```rust
fn main() {
    test::a_macro!();
}
```

I expected to see this happen: a message teeling me to use `$crate` instead of `crate` (or maybe a warning teeling it’s not a good idea using `crate` in a exported macro).

Instead, this happened:

```
error[E0422]: cannot find struct, variant or union type `Foo` in module `crate`
 --> examples/test.rs:2:5
  |
2 |     test::a_macro!();
  |     ^^^^^^^^^^^^^^^^^ not found in `crate`
  |
  = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
help: possible candidate is found in another module, you can import it into scope
  |
1 | use test::Foo;
  |
```

And if i use the crate name instead of `crate`, the example works but test doesn’t:

```
error[E0433]: failed to resolve: use of undeclared type or module `test`
  --> src/lib.rs:4:9
   |
4  |         test::Foo {}
   |         ^^^^ use of undeclared type or module `test`
...
14 |         crate::a_macro!();
   |         ------------------ in this macro invocation
```

### Meta


`rustc --version --verbose`:
```
rustc 1.42.0 (b8cedc004 2020-03-09)
binary: rustc
commit-hash: b8cedc00407a4c56a3bda1ed605c6fc166655447
commit-date: 2020-03-09
host: x86_64-unknown-linux-gnu
release: 1.42.0
LLVM version: 9.0
```