id
int64 393k
2.82B
| repo
stringclasses 68
values | title
stringlengths 1
936
| body
stringlengths 0
256k
β | labels
stringlengths 2
508
| priority
stringclasses 3
values | severity
stringclasses 3
values |
---|---|---|---|---|---|---|
615,272,832 |
PowerToys
|
[FancyZones] Zone activation using right click to drag
|
I know there is a "hold shift or any non-primary mouse while dragging" feature.
But could it be possible to just have Right click dragging to enable zones?
Thanks
|
Idea-Enhancement,FancyZones-Dragging&UI,Product-FancyZones
|
low
|
Major
|
615,288,428 |
pytorch
|
IndexError reports the wrong dimension when fancy indexing
|
## π Bug
When using fancing indexing (i.e. indexing one tensor via another tensor), such that the index tensor has indices that are large enough to cause an `IndexError`, then the dimension reported in the error message is always 0, regardless of what the problematic dimension actually is.
## To Reproduce
```python
import torch
x = torch.rand(3, 5)
i = torch.tensor([6])
x[:, i]
# IndexError: index 6 is out of bounds for dimension 0 with size 5
```
## Expected behavior
Should instead read "dimension 1" in the error message above.
## Environment
- PyTorch Version (e.g., 1.0): 1.5
- OS (e.g., Linux): Linux
- How you installed PyTorch (`conda`, `pip`, source): conda
- Python version: 3.7.7
## Additional context
Taking `i = torch.tensor(6)` in the above code example gives the correct error message. This only seems to occur when `i.ndimension() >= 1`.
|
module: error checking,triaged
|
low
|
Critical
|
615,295,573 |
TypeScript
|
Maps are not properly displayed on typescript playground
|
This issue isn't related to the typescript compiler but to the playground present on typescript.org, which, according to #2246 and #17677, implements an instance of monaco-editor. I've opened this issue in this repository instead of the monaco-editor one because it seems that the problem is caused by the extensions to monaco-editor that have been added to build the playground. Feel free to close this issue if I'm mistaken.
**TypeScript Version:** 3.8.3
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
`Map console.log playground`
**Expected behavior:**
The standard representation of the Map object `Map { 1 => 32 }` is printed on the `console.log` call.
**Actual behavior:**
An empty object `{}` is printed on the `console.log` call.
<!-- Did you find other bugs that looked similar? -->
**Related Issues:**
There's [an stackoverflow question](https://stackoverflow.com/questions/45571101/how-can-i-display-a-javascript-es6-map-object-in-console) from 2017 which complains about the same behaviour on a repl.it environment
**Code**
```ts
let m = new Map<number,number>()
m.set(1,32)
console.log(m)
```
<details><summary><b>Output</b></summary>
```ts
"use strict";
let m = new Map();
m.set(1, 32);
console.log(m);
```
</details>
<details><summary><b>Compiler Options</b></summary>
```json
{
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"strictBindCallApply": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"alwaysStrict": true,
"esModuleInterop": true,
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"moduleResolution": 2,
"target": "ES2017",
"jsx": "React",
"module": "ESNext"
}
}
```
</details>
**Playground Link:** [Provided](https://www.typescriptlang.org/play?#code/DYUwLgBAthC8EDsQHcIFkCGAHAPAgrlAEYgBOANAcWQHwAUAlAFBQB0AzuHQIzkDMAJmYBjAPYJ2o0K2CiA5nSgMgA)
|
Bug
|
low
|
Critical
|
615,314,170 |
flutter
|
Flutter engine crashes on Jelly Bean emulator (API 18)
|
A single test in g3 is failing to bring the application up on API 18 emulator. Engine crashes with:
```
05-09 21:15:36.291 1146 1146 I DEBUG : backtrace:
05-09 21:15:36.291 1146 1146 I DEBUG : #00 pc 01324eb9 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (flutter::Rasterizer::Setup(std::__ndk1::unique_ptr<flutter::Surface, std::__ndk1::default_delete<flutter::Surface> >)+217)
05-09 21:15:36.291 1146 1146 I DEBUG : #01 pc 0135295a /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (flutter::Shell::OnPlatformViewCreated(std::__ndk1::unique_ptr<flutter::Surface, std::__ndk1::default_delete<flutter::Surface> >)::$_8::operator()()+154)
05-09 21:15:36.291 1146 1146 I DEBUG : #02 pc 0134241c /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (_ZNK3fml8internal14CopyableLambdaIZN7flutter5Shell21OnPlatformViewCreatedENSt6__ndk110unique_ptrINS2_7SurfaceENS4_14default_deleteIS6_EEEEE3$_8EclIJEEEDaDpOT_+60)
05-09 21:15:36.291 1146 1146 I DEBUG : #03 pc 013859b9 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (_ZNSt6__ndk18__invokeIRN3fml8internal14CopyableLambdaIZN7flutter5Shell21OnPlatformViewCreatedENS_10unique_ptrINS4_7SurfaceENS_14default_deleteIS7_EEEEE3$_8EEJEEEDTclclsr3std6__ndk1E7forwardIT_Efp_Espclsr3std6__ndk1E7forwardIT0_Efp0_EEEOSE_DpOSF_+57)
05-09 21:15:36.291 1146 1146 I DEBUG : #04 pc 01385949 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (_ZNSt6__ndk128__invoke_void_return_wrapperIvE6__callIJRN3fml8internal14CopyableLambdaIZN7flutter5Shell21OnPlatformViewCreatedENS_10unique_ptrINS6_7SurfaceENS_14default_deleteIS9_EEEEE3$_8EEEEEvDpOT_+57)
05-09 21:15:36.291 1146 1146 I DEBUG : #05 pc 01385909 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (std::__ndk1::__function::__alloc_func<fml::internal::CopyableLambda<flutter::Shell::OnPlatformViewCreated(std::__ndk1::unique_ptr<flutter::Surface, std::__ndk1::default_delete<flutter::Surface> >)::$_8>, std::__ndk1::allocator<fml::internal::CopyableLambda<flutter::Shell::OnPlatformViewCreated(std::__ndk1::unique_ptr<flutter::Surface, std::__ndk1::default_de+57)
05-09 21:15:36.291 1146 1146 I DEBUG : #06 pc 0138456c /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (std::__ndk1::__function::__func<fml::internal::CopyableLambda<flutter::Shell::OnPlatformViewCreated(std::__ndk1::unique_ptr<flutter::Surface, std::__ndk1::default_delete<flutter::Surface> >)::$_8>, std::__ndk1::allocator<fml::internal::CopyableLambda<flutter::Shell::OnPlatformViewCreated(std::__ndk1::unique_ptr<flutter::Surface, std::__ndk1::default_delete<f+44)
05-09 21:15:36.291 1146 1146 I DEBUG : #07 pc 012fff49 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (std::__ndk1::__function::__value_func<void ()>::operator()() const+73)
05-09 21:15:36.291 1146 1146 I DEBUG : #08 pc 012fc219 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (std::__ndk1::function<void ()>::operator()() const+41)
05-09 21:15:36.291 1146 1146 I DEBUG : #09 pc 0179d123 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (fml::MessageLoopImpl::FlushTasks(fml::FlushType)+323)
05-09 21:15:36.291 1146 1146 I DEBUG : #10 pc 0179cf71 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (fml::MessageLoopImpl::RunExpiredTasksNow()+49)
05-09 21:15:36.291 1146 1146 I DEBUG : #11 pc 017b9662 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (fml::MessageLoopAndroid::OnEventFired()+98)
05-09 21:15:36.291 1146 1146 I DEBUG : #12 pc 017b9715 /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::operator()(int, int, void*) const+69)
05-09 21:15:36.291 1146 1146 I DEBUG : #13 pc 017b96be /data/app-lib/androidx.test.testapp.flutter.app-1/libflutter.so (fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::__invoke(int, int, void*)+78)
05-09 21:15:36.291 1146 1146 I DEBUG : #14 pc 00025be1 /system/lib/libutils.so (android::SimpleLooperCallback::handleEvent(int, int, void*)+33)
05-09 21:15:36.291 1146 1146 I DEBUG : #15 pc 00027dba /system/lib/libutils.so (android::Looper::pollInner(int)+890)
05-09 21:15:36.291 1146 1146 I DEBUG : #16 pc 00028123 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+51)
05-09 21:15:36.291 1146 1146 I DEBUG : #17 pc 0000ba3b /system/lib/libandroid.so (ALooper_pollOnce+107)
```
Commits in this roll are:
```
7eff0a8 Manual roll of engine 7e205b37e5...3953c3ccd1
e54bb9e Roll src/third_party/dart 4da5b40fb6dc..733153eb517c (23 commits)
35fa006 Roll src/third_party/skia 88d04cb51acf..3b2db26c59d6 (1 commits)
e9b2afe Roll fuchsia/sdk/core/linux-amd64 from RpHTv... to MhpFP...
34b0629 Roll fuchsia/sdk/core/mac-amd64 from jMJqf... to 1MVsE...
fe3f8df Roll src/third_party/skia 3b2db26c59d6..e3d1de7c5281 (4 commits)
807f191 Roll src/third_party/dart 733153eb517c..e86e4d61834a (6 commits)
d043923 Roll src/third_party/skia e3d1de7c5281..2871ab0727bf (1 commits)
ede658e [profiling] CPU Profiling support for iOS
bcdf991 Fixed ChildSceneLayer elevation issue on Fuchsia.
56fe6d2 Roll src/third_party/skia 2871ab0727bf..edea19858ccc (3 commits)
0dffdd5 Roll src/third_party/dart e86e4d61834a..ce62ad2e8b40 (13 commits)
88b9d42 Remove the global engine entry timestamp
5e7d6d0 Roll src/third_party/skia edea19858ccc..0066adefa97d (3 commits)
b582d77 Roll src/third_party/skia 0066adefa97d..c66cd987f7c0 (4 commits)
d3bde19 add docs to platformviewios (and some drive-by changes)
e5a7ca5 Handle leak of message handle when no engine present
15f72b8 Support EventChannel C++ plugin API for Linux/Windows
23cca32 Manual Roll of Dart 39e0e75fcf...ce62ad2e8b
716dbf0 Refactor GLFW embedding to support headless mode
5e361f5 Roll src/third_party/skia c66cd987f7c0..0dc207f836da (5 commits)
28d9985 Reland again "Remove layer integral offset snapping #17112"
e7ee47d [web] Implement matrix parameter for linear gradient
46a6d96 [SkParagraph] Copy text height behavior to the Skia paragraph style
403931f Add FlValue
9193d8f Roll src/third_party/skia 0dc207f836da..a14084ba1b41 (3 commits)
7e205b3 Roll src/fuchsia/sdk/mac from 1MVsE... to 4MCVP...
7bce4d9 Manual roll of engine 9b905d3f03...7e205b37e5
9b905d3 Manual roll of Dart 617bc54b71...39e0e75fcf
```
I am proceeding with the roll as this is not a blocker in google3. However, it is likely a TODAY issue if we are currently supporting API 18. I am not sure if we have upstream tests for this.
|
c: crash,platform-android,engine,P3,team-android,triaged-android
|
low
|
Critical
|
615,315,995 |
flutter
|
[tool_crash] ArgumentError: Invalid argument(s): Invalid type for "path": null
|
## Command
```
flutter create sample1
```
## Steps to Reproduce
1. ...
2. ...
3. ...
## Logs
ArgumentError: Invalid argument(s): Invalid type for "path": null
```
#0 FileSystem.getPath (package:file/src/interface/file_system.dart:162:7)
#1 LocalFileSystem.directory (package:file/src/backends/local/local_file_system.dart:25:41)
#2 ForwardingFileSystem.directory (package:file/src/forwarding/forwarding_file_system.dart:23:49)
#3 _templateImageDirectory (package:flutter_tools/src/template.dart:256:21)
<asynchronous suspension>
#4 Template.fromName (package:flutter_tools/src/template.dart:63:38)
#5 CreateCommand._renderTemplate (package:flutter_tools/src/commands/create.dart:629:46)
#6 CreateCommand._generateApp (package:flutter_tools/src/commands/create.dart:543:29)
#7 CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:380:37)
#8 _rootRunUnary (dart:async/zone.dart:1192:38)
#9 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#10 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#12 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#13 Future._completeWithValue (dart:async/future_impl.dart:526:5)
#14 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#15 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#16 FlutterProject.organizationNames (package:flutter_tools/src/project.dart)
#17 _rootRunUnary (dart:async/zone.dart:1192:38)
#18 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
```
```
[β] Flutter (Channel stable, v1.17.0, on Microsoft Windows [Version 6.3.9600], locale en-IN)
β’ Flutter version 1.17.0 at C:\flutter
β’ Framework revision e6b34c2b5c (7 days ago), 2020-05-02 11:39:18 -0700
β’ Engine revision 540786dd51
β’ Dart version 2.8.1
[β] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
β’ Android SDK at C:\Users\admin\AppData\Local\Android\sdk
β’ Platform android-R, build-tools 29.0.3
β’ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
β’ Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
β’ All Android licenses accepted.
[β] Android Studio (version 3.6)
β’ Android Studio at C:\Program Files\Android\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-b04)
[β] VS Code (version 1.45.0)
β’ VS Code at C:\Users\admin\AppData\Local\Programs\Microsoft VS Code
β’ Flutter extension version 3.10.1
[β] Connected device (1 available)
β’ Android SDK built for x86 β’ emulator-5554 β’ android-x86 β’ Android 7.0 (API 24) (emulator)
β’ No issues found!
```
## Flutter Application Metadata
No pubspec in working directory.
|
c: crash,tool,P2,team-tool,triaged-tool
|
low
|
Critical
|
615,316,780 |
flutter
|
Background Clipping in Dismissible
|
## Issue
Below is a partially dragged `Dismissible` widget.

As seen in the image, the background is clipped without regard for the rounded border of the card.
## Code to Reproduce
```dart
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
home: Center(
child: Dismissible(
key: UniqueKey(),
background: Container(
decoration: ShapeDecoration(
color: Colors.red,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
),
),
secondaryBackground: Container(
decoration: ShapeDecoration(
color: Colors.green,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
),
),
child: Card(
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
child: const Padding(
padding: EdgeInsets.all(8),
child: Text('Hello, world!'),
),
),
),
),
),
);
}
```
```
[β] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.3 19D76, locale en-SG)
β’ Flutter version 1.17.0 at /usr/local/Caskroom/flutter/1.2.1/flutter
β’ Framework revision e6b34c2b5c (9 days ago), 2020-05-02 11:39:18 -0700
β’ Engine revision 540786dd51
β’ Dart version 2.8.1
```
## Background
In https://stackoverflow.com/questions/57542470/how-to-fix-this-dismissible-widget-border, the accepted answer proposes a workaround:
```dart
Stack(
overflow: Overflow.clip,
children: <Widget>[
MyBackgroundWidget(), // instead of background
Dismissible(
child: MyForegroundWidget(),
// no background
)
],
);
```
This, however, is just a workaround and it does not work with `secondaryBackground`.
Currently, the code responsible in `lib/src/widgets/dismissible.dart` looks like this:
```dart
if (background != null) {
content = Stack(children: <Widget>[
if (!_moveAnimation.isDismissed)
Positioned.fill(
child: ClipRect(
clipper: _DismissibleClipper(
axis: _directionIsXAxis ? Axis.horizontal : Axis.vertical,
moveAnimation: _moveAnimation,
),
child: background,
),
),
content,
]);
}
```
Is there some way we can go about this other than with `ClipRect`?
|
framework,f: material design,a: quality,has reproducible steps,P2,found in release: 3.3,workaround available,found in release: 3.7,team-design,triaged-design
|
low
|
Critical
|
615,340,705 |
pytorch
|
missing dependency `protobuf` for caffe2
|
## π Bug
<!-- A clear and concise description of what the bug is. -->
```pytb
$> python -c "from caffe2.python import core"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\circleci\project\conda\lib\site-packages\caffe2\python\__init__.py", line 2, in <module>
from caffe2.proto import caffe2_pb2
File "C:\Users\circleci\project\conda\lib\site-packages\caffe2\proto\__init__.py", line 11, in <module>
from caffe2.proto import caffe2_pb2, metanet_pb2, torch_pb2
File "C:\Users\circleci\project\conda\lib\site-packages\caffe2\proto\caffe2_pb2.py", line 5, in <module>
from google.protobuf.internal import enum_type_wrapper
ModuleNotFoundError: No module named 'google'
```
Related test runs:
https://app.circleci.com/pipelines/github/peterjc123/pytorch_dll_load_smoketests/5/workflows/4acbc28f-a2c4-46c9-94a5-820697652370/jobs/11
https://app.circleci.com/pipelines/github/peterjc123/pytorch_dll_load_smoketests/5/workflows/4acbc28f-a2c4-46c9-94a5-820697652370/jobs/12
https://app.circleci.com/pipelines/github/peterjc123/pytorch_dll_load_smoketests/5/workflows/4acbc28f-a2c4-46c9-94a5-820697652370/jobs/13
## To Reproduce
Steps to reproduce the behavior:
1. `conda install -c pytorch-nightly pytorch torchvision` / `pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html`
2. `python -c "from caffe2.python import core"`
<!-- 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. -->
Import success.
## 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): master
- OS (e.g., Linux): Windows
- How you installed PyTorch (`conda`, `pip`, source): conda/pip
- Build command you used (if compiling from source):
- Python version: 3.6
- CUDA/cuDNN version: N/A
- GPU models and configuration: N/A
- Any other relevant information:
## Additional context
<!-- Add any other context about the problem here. -->
@ezyang @seemethere
cc @malfet
|
module: build,triaged
|
low
|
Critical
|
615,356,016 |
pytorch
|
RESOLVED: Disable zero-dim CUDA tensors interacting with CUDA tensors on other devices
|
Today in PyTorch the following program is valid:
```
import torch
a = torch.rand([], requires_grad=True, device='cuda:0')
b = torch.rand(10, requires_grad=True, device='cuda:1')
c = a * b
```
Even though `a` and `b` are on different devices they can be multiplied since `a` is a zero-dim tensor.
This seems to violate one of PyTorch's fundamental rules: no implicit device synchronization or data movement. As such, I propose we change our behavior to throw an error when a user attempts to do this, just like if they were trying to multiple non-zero dim CUDA tensors on different devices.
As an aside, this does not work properly in current PyTorch either, see https://github.com/pytorch/pytorch/issues/36722. The device the kernel multiply kernel launches on is determined by the first CUDA argument, `a`, so a kernel is launched on device 0 to interact with `b`, on device 1, and a copy of `a` made by TensorIterator that's also placed on device 1. On systems without p2p access enabled this will even throw a runtime error.
cc @ngimel @ezyang @SsnL @gchanan
|
module: bc-breaking,module: cuda,triaged,enhancement
|
low
|
Critical
|
615,356,726 |
neovim
|
Add option to diff swap file
|
NVIM v0.4.3
When a swap file for the file I open exists, I get offered a few actions. But the most sensible in uncertain cases is missing: Diffing the swapfile to the current file on disk. I was able to work around it with the following function, but I would expect this to be standard functionality:
```vim
command! DiffSwap call DiffAgainstFileOnDisk()
function! DiffAgainstFileOnDisk()
:diffthis
:vsp %
:diffthis
endfunction
```
When the swap prompt comes I then hit `r` and run `:DiffSwap`, which will initiate a vim diff of file on disk and swapfile.
|
enhancement
|
low
|
Major
|
615,366,400 |
vscode
|
Extension Development: ensure package.json contributions match the implementation
|
<!-- β οΈβ οΈ 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. -->
When developing extensions for VS Code, a lot of string keys are used. These keys are usually defined in the contribution section of a `package.json` and must match the keys used in the code to register the implementation. It is very easy to rename one part and forgetting the other.
# Example
*package.json*
```json
...
"activationEvents": [
"onCustomEditor:hediet.vscode-drawio"
],
"contributes": {
"customEditors": [
{
"viewType": "hediet.vscode-drawio",
...
},
],
}
```
*extension.ts*
```ts
vscode.window.registerCustomEditorProvider2(
"hediet.vscode-drawio",
new DrawioEditorProvider(server),
{
supportsMultipleEditorsPerDocument: false,
webviewOptions: { retainContextWhenHidden: true },
}
)
```
# Problem
All `hediet.vscode-drawio` strings have to match. This is also the case when declaring config properties. I managed multiple times now to rename one or two of them and forgetting about the others. This caused preventable bugs.
# Solution
It would be really great if this could be improved. I have two ideas for that:
1) Implementing lint rules that check that those keys align. This would include a check that all `viewType`s used in the code must be mentioned in the package.json.
2) Specifying all contributions with typescript and updating `package.json` automatically on each build.
The last idea could look like this:
*contributions.ts*
```ts
const myCustomEditorViewTypeId = new vscode.ViewTypeId("hediet.vscode-drawio");
const myConfigProperty = new vscode.ConfigProperty<string>("hediet.vscode-drawio.my-property", { type: "string" });
export const contributions = new vscode.Contributions({
customEditors: [{ viewTypeId: myCustomEditorViewTypeId }],
configurations: [{ property: myConfigProperty }]
});
```
# Discussion
I really like 2) since it would also enable type safe config properties, go to definition and other features provided by the great tooling around TypeScript.
However, I don't see good ways to automatically update/generate a package.json on each build.
What do you think?
|
feature-request,under-discussion,extensions-development
|
medium
|
Critical
|
615,372,168 |
rust
|
trait and struct functions conflicts resolving inconsistence
|
consider the first example:
```rust
pub struct Test;
impl Test {
pub fn say_hi(&self) {
println!("hi from struct");
}
}
impl TTest for Test {}
pub trait TTest {
fn say_hi(&mut self) {
println!("hi from trait");
}
}
fn main() {
let t = Test;
t.say_hi();
// hi from struct
}
```
This works fine, by default if we didn't use syntax like `TTest::say_hi(&t)` it uses struct's method.
consider the second example which didn't work as expected:
```rust
pub struct Test;
impl Test {
pub fn say_hi(&mut self) {
println!("hi from struct");
}
}
impl TTest for Test {}
pub trait TTest {
fn say_hi(&self) {
println!("hi from trait");
}
}
fn main() {
let mut t = Test;
t.say_hi();
// hi from trai
}
```
This won't work, it called trait's method and gave a warning `warning: variable does not need to be mutable
` while it should call just struct's method
|
C-enhancement,A-diagnostics,T-compiler,A-inference,A-suggestion-diagnostics
|
low
|
Major
|
615,382,458 |
pytorch
|
Loops are very slow compared to tensorflow
|
## π Bug
<!-- A clear and concise description of what the bug is. -->
Having loops in PyTorch are very expensive especially if the data of the last iteration is needed for the next one. TF is about 8 to 10 times as fast. This affects mainly CUDA execution but also the CPU performance is worse by a factor ~3.
## To Reproduce
PyTorch:
```python
import torch
print(torch.__version__) # My output: 1.4.0
torch.set_default_tensor_type('torch.cuda.FloatTensor')
def torch_loop_test():
x = torch.rand(50)
eps = torch.finfo(x.dtype).eps
for _ in range(100):
x_new = torch.rand(50)
alpha = x/(x_new + eps)
mask = alpha > torch.rand(1)
x = torch.where(mask, x_new, x)
return x
s0 = torch.cuda.Event(enable_timing=True)
s1 = torch.cuda.Event(enable_timing=True)
s0.record()
for _ in range(100):
torch_loop_test()
s1.record()
torch.cuda.synchronize()
print('Elapsed seconds:', s0.elapsed_time(s1)/1000) # My output: Elapsed seconds: 2.923428466796875
```
Tensorflow:
```python
import tensorflow as tf
tf.__version__ # My output: 2.2.0
@tf.function
def tf_loop_test():
x = tf.random.uniform((50,))
eps = 1e-6
for _ in range(100):
x_new = tf.random.uniform((50,))
alpha = x/(x_new + eps)
mask = alpha > tf.random.uniform((1,))
x = tf.where(mask, x_new, x)
return x
_ = tf_loop_test() # Compile the function
start = tf.timestamp()
with tf.device('/GPU:0'):
for _ in range(100):
tf_loop_test()
end = tf.timestamp()
print('Elapsed seconds:', (end - start).numpy()) # My output: Elapsed seconds: 0.3535001277923584
```
## Expected behavior
Performance equivalent to tensorflow would be desired.
## Environment
- PyTorch Version (e.g., 1.0): 1.4
- OS (e.g., Linux): Windows 10 64bit
- How you installed PyTorch (`conda`, `pip`, source): pip
- Python version: 3.7.6
- CUDA/cuDNN version: 10.1 update 2
- GPU models and configuration: RTX 207Γ
- Any other relevant information:
## Additional context
<!-- Add any other context about the problem here. -->
cc @suo
|
triage review,oncall: jit
|
low
|
Critical
|
615,405,535 |
tensorflow
|
Java Module support
|
**Describe the problem**
Applications using Java9+ benefit from libraries have Java Module (JPMS) support. This comes in two stages:
1. Ideally, add `module-info.java` to the library. Either publish a separate artifact for Java9+ or simply add `META-INF/versions/9/module-info.class` to support both versions simultaneously (multi-release jar)
2. If the library has split packages, you cannot add `module-info.java` yet in which case you can simply add `Automatic-Module-Name` to the manifest file and begin resolving the split package issue.
* Multi-release JARs
* https://openjdk.java.net/jeps/238
* https://blog.codefx.org/tools/multi-release-jars-multiple-java-versions/
|
stat:awaiting tensorflower,type:feature,type:build/install
|
low
|
Major
|
615,406,491 |
godot
|
Controls in viewport showing I-beam cursor and usable under blocking control
|
**Godot version:**
3.2.1
**OS/device including version:**
Ubuntu 20.04
**Issue description:**
Normally, if i have an edit under a panel it will not show caret... but if edit in viewport caret shows through?
A button too is clickable while in viewport under panel?
**Steps to reproduce:**
1. New scene, edit under panel. Notice that when run the mouse cursor does not change to caret while over the edit
2. New scene, edit in viewport under panel. notice that mouse cursor changes to caret while over edit and can use edit and buttons that are blocked by the control?
**Minimal reproduction project:**
https://github.com/rakkarage/TestViewport

|
topic:gui
|
low
|
Minor
|
615,410,136 |
rust
|
Make 'cargo bench' to output iteration counts and other statistics?
|
<!-- Thanks for filing a π feature request π! -->
**Describe the problem you are trying to solve**
<!-- A clear and concise description of the problem this feature request is trying to solve. -->
Display results of `cargo bench` currently doesn't give the user any info on
* How many times the benchmark was executed
* standard deviation of execution time among multiple executions
```bash
$ cargo bench
Compiling sandbox v0.1.0 (C:\Users\joe\rust\sandbox)
Finished bench [optimized] target(s) in 0.46s
Running target\release\deps\sandbox-6aee62f1bcca29c3.exe
running 1 test
test tests::bench_pow ... bench: 43 ns/iter (+/- 4)
test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured; 0 filtered out
```
**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->
I think `cargo bench` would be more helpful if it gave us info as below
* How many times the benchmark was executed
* standard deviation of execution time among multiple executions
**Notes**
<!-- Any additional context or information you feel may be relevant to the issue. -->
Is the time printed out from `cargo bench` the **mean** or the **median** ??
Thank you for taking a look π
|
T-libs-api,C-feature-request,A-libtest
|
low
|
Critical
|
615,410,596 |
flutter
|
Material DatePicker - contradicting dates should not throw an error
|
<!-- 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
-->
I realized when using the Material DatePicker there is a error when the initialDate is set before the firstDate.
While this makes sence from a logical view, it should not result in a crash report in my opinion.
## Use case
Imagine a user books a reservation for 1 May. The firstTime should alsways be set to date now, because you cannot make a reservation in the past.
Let's assume the reservation is never confirmed, so the user comes back a week later and wants to update the date to 1. June. Opening the datepicker should allow to show the previous selected date (1.May) even though he cannot select it anymore as it is in the past.
## Proposal
Instead crashing when showing the datepicker dialog, maybe return the error as a callback if the dates contradict each other when closing the dialog.
|
c: new feature,framework,f: material design,f: date/time picker,c: proposal,a: error message,P3,team-design,triaged-design
|
low
|
Critical
|
615,425,248 |
ant-design
|
expose currentDataSource of Table, update when dataSource/filters/sorters are changed by application
|
- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.
### What problem does this feature solve?
It allows to perform operations on filtered&sorted data, e.g. export data to file, calculate number of items in table, etc.
The problem is that `currentDataSource `that I receive via `onChange `is not updated when dataSource/filters/sorters are changed by application.
### What does the proposed API look like?
Event prop **`onCurrentDataSourceChanged`**, which should be fired after each calculation of `currentDataSource`, on any related change and initial.
If it is possible, please add it to both 3.* and 4.* versions of Ant Design.
<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
|
Inactive
|
high
|
Critical
|
615,438,805 |
pytorch
|
nn.Module Abstract Class attribute overrides Child.
|
## π Bug
I would like to define struts for a class of modules. I include attributes to make it clear that those should exist (purely syntactically). However, these attributes defined on the abstract class overrides the child's attribute with the same name. Is this what I should expect with a neural network module class? With vanilla python classes this does not happen.
## To Reproduce
this does not work with class attributes.
```python
import torch
from torch import nn as nn
from torch_utils import View, Ξ
class Metric(nn.Module):
latent_dim = None
embed = None
kernel = None
# child class
class Conv(Metric):
def __init__(self, input_dim, latent_dim):
super().__init__()
self.latent_dim = latent_dim
self.embed = nn.Sequential(
nn.Conv2d(input_dim, 32, kernel_size=4, stride=2),
nn.BatchNorm2d(32),
nn.ReLU(),
nn.Conv2d(32, 64, kernel_size=4, stride=2),
nn.BatchNorm2d(64),
nn.ReLU(),
nn.Conv2d(64, 64, kernel_size=4, stride=2),
nn.BatchNorm2d(64),
nn.ReLU(),
nn.Conv2d(64, 32, kernel_size=4, stride=2),
nn.BatchNorm2d(32),
nn.ReLU(),
View(128),
nn.Linear(128, latent_dim),
)
self.kernel = Ξ(lambda a, b: (a - b).norm(2, dim=-1))
def forward(self, x, x_prime):
return 'blah'
main__:
net = Conv(...)
print(net.embed)
```
gives 'None'.
## Expected behavior
I expect it to give `<Sequential Conv.embed of <__main__.Conv object at 0x10fd799b0>>`
|
triaged
|
low
|
Critical
|
615,460,489 |
terminal
|
Make the Windows menu ("alt spacebar") accessible without a mouse in wsl
|
<!--
π¨π¨π¨π¨π¨π¨π¨π¨π¨π¨
I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.
All good? Then proceed!
-->
# Description of the new feature/enhancement
Make alt+space or an alternative key combination access the Application context menu in a wsl console.
Edit: This is a feature request for "...the original Windows console host, ...", (which I assume is where the shortcuts are implemented), not the new terminal.
Edit2: In the windows console, ctrl+m activates the select/copy feature and ctrl+f the find menu (danish and english versions). These are only accessible through the "alt+space"-menu (rodent menu) in a WSL session . Adding an alternative to these in Windows Console for WSL would be a super deluxe bonus value productivity enhancement.
*Pressing alt+spacebar opens this menu on common windows apps:*

<!--
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->
In the good old Windows Console/Terminal, as well as most windows app you have access to the (I think it's called?) application context menu, through alt+space without using the mouse. In WSL this does not work. We've got the ctrl+shift+c/v shortcut workarounds to paste/copy. A similar shortcut workaround for alt+space would be much appreciated for those with rodent allergy.
# Proposed technical implementation details (optional)
```
<!--
A clear and concise description of what you want to happen.
-->
```
I have no idea how to implement it but I really would like a relief for my carpal tunnel syndrome :-)
|
Product-Conhost,Help Wanted,Area-UserInterface,Issue-Task
|
low
|
Critical
|
615,471,899 |
go
|
net/http: Client should scope cookie to Request.Host before Request.URL
|
<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.14.2 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="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build866802505=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
Created a `httptest.Server` with a handler that sets a cookie, then issued a request from a `http.Client` with a custom `Host` field.
https://play.golang.org/p/78mh9ZwYI_t
### What did you expect to see?
I expected to see the cookie scoped to the Host field.
### What did you see instead?
The cookie was scoped to httptest.Server.URL
---
I was seeing unexpected cookie behavior while testing and I believe this is the root of it:
https://github.com/golang/go/blob/57e32c4fbd4f20d567d1767dfc2d94bec828a8dc/src/net/http/client.go#L170-L186
Instead of the client always using `req.URL` for the cookie jar, I believe it should first look at `req.Host`, then `req.Header.Get("Host")`, and then finally `req.URL`.
I think this would be consistent with the behavior of Request.Write described on the Request struct:
https://github.com/golang/go/blob/57e32c4fbd4f20d567d1767dfc2d94bec828a8dc/src/net/http/request.go#L231-L235
|
NeedsInvestigation
|
low
|
Critical
|
615,502,383 |
youtube-dl
|
Support for axess.se
|
<!--
######################################################################
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.05.08. 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.05.08**
- [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.axess.se/tv/vodplayer.aspx?vod=9033
- Single video: https://www.axess.se/tv/vodplayer.aspx?vod=10352
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
The site is currently unsupported. I tried using "inspect element" to find movie link, but they split the videos into many small .ts files.
|
site-support-request
|
low
|
Critical
|
615,523,660 |
go
|
cmd/compile: Missed opportunity for post-inlining devirtualization
|
### What version of Go are you using (`go version`)?
<pre>
$ go version
1.14
</pre>
### Does this issue reproduce with the latest release?
Yes
### What operating system and processor architecture are you using (`go env`)?
amd64/linux
### What did you do?
When compiling the following code, there are missed opportunities for devirtualization: https://go.godbolt.org/z/7tPdJK
```go
package main
type funcTable interface {
Cmp(a interface{}, b interface{}) bool
MinMax(minVal interface{}, maxVal interface{}, val interface{}) (interface{}, interface{})
}
func Min(table funcTable, a interface{}, b interface{}) interface {} {
if table.Cmp(a, b) {
return a
} else {
return b
}
}
func Max(table funcTable, a interface{}, b interface{}) interface {} {
if table.Cmp(a, b) {
return b
} else {
return a
}
}
type int32FuncTable struct{}
func (_ int32FuncTable) Cmp(a interface{}, b interface{}) bool {
return a.(int32) < b.(int32)
}
func (table int32FuncTable) MinMax(minVal interface{}, maxVal interface{}, val interface{}) (interface{}, interface{}) {
return Min(table, minVal, val), Max(table, maxVal, val)
}
```
### What did you expect to see?
I expected that `in32FuncTable.MinMax` contains no indirect calls: `Min`/`Max` are inlined, and recursively `Cmp` is devirtualized and inlined.
### What did you see instead?
Virtual calls to `Cmp` are emitted in `int32FuncTable_MinMax_pc0`:
```asm
movq go.itab."".int32FuncTable,"".funcTable+24(SB), AX
// ....
call AX
```
|
Performance,NeedsInvestigation,compiler/runtime
|
low
|
Major
|
615,536,403 |
flutter
|
[linux] Implement memoryPressure message
|
The [`flutter/system`](https://api.flutter.dev/flutter/services/SystemChannels/system-constant.html) has a `memoryPressure` message. Implement this in the Linux shell by connecting it to [GMemoryMonitor](https://developer.gnome.org/gio/unstable/GMemoryMonitor.html).
|
c: new feature,engine,platform-linux,a: desktop,P3,team-linux,triaged-linux
|
low
|
Minor
|
615,556,225 |
rust
|
Asymmetric "overflow evaluating the requirement" error with associated type constraint
|
This code gives an error:
```rust
trait Foo {
type Bar;
}
trait Baz<T: ?Sized + Foo>: Foo<Bar = T::Bar> {}
trait Qux: Baz<Self> {}
```
```
error[E0275]: overflow evaluating the requirement `<Self as Foo>::Bar`
--> foo.rs:7:1
|
7 | trait Qux: Baz<Self> {}
| ^^^^^^^^^^^^^^^^^^^^^^^
```
Yet, moving the constraint to `T` instead of `Self` works fine:
```rust
trait Baz<T: ?Sized + Foo<Bar = <Self as Foo>::Bar>>: Foo {}
```
Since `T = Self` in the context of `Qux`, it's surprising this makes a difference.
### Meta
`rustc --version --verbose`:
```
rustc 1.45.0-nightly (7ebd87a7a 2020-05-08)
```
|
A-type-system,P-medium,A-associated-items,T-compiler,regression-from-stable-to-stable,C-bug,T-types
|
low
|
Critical
|
615,566,546 |
TypeScript
|
Config option to compile *and* embed code from an external project or folder
|
## Related to
#9875
## Search Terms
rootDirs
## Suggestion
Basically, `rootDirs` is *almost* what I want, but not quite. What I'm looking for is the ability to (1) take a TS file (or directory of TS files) that's outside my project, (2) pretend it's inside my project in a particular location, and (3) have the output reflect the pretend location instead of the actual location. External TS files should be compiled as if they were located at the pretend location (so they should obey the settings of the tsconfig nearest to their pretend location, not their actual location).
Potential configuration:
```json
{
"compilerOptions": {
"embedPaths": [
{ "src": "/some/path/outside/project", "dest": "some/path/inside/project" }
]
}
}
```
The main difference between this and `rootDirs` is that the compiler would perform this step:
> A build step will copy the files in src to the same directory in the output.
A small difference between this and `rootDirs` would be that the config would be an array of path src-dest pairs rather than a flat array.
## Use Cases
The primary use case for this is to enable code reuse without the need for taking on the complexities involved in solutions like custom NPM packages, git submodules, symlinks, etc.
While `rootDirs` could definitely be used to support this scenario in simple cases, where it's not hard to shuffle a few files around as a post-build step, it's non-trivial to tap into the build pipelines of tools like Create React App, Gatsby, etc.
## Examples
Actual location of folders and files (folders in **bold**):
- **common**
- business-logic.ts
- utility-functions.ts
- other-stuff.ts
- **back-end**
- index.ts
- tsconfig.json
- **front-end**
- index.ts
- tsconfig.json
Configuration:
```json
{
"compilerOptions": {
"embedPaths": [
{ "src": "../common/business-logic.ts", "dest": "/embedded/business-logic.ts" }
]
}
}
```
"Pretend" location of folders and files (folders in **bold**):
- **back-end**
- index.ts
- **embedded**
- business-logic.ts
- tsconfig.json
- **front-end**
- index.ts
- **embedded**
- business-logic.ts
- tsconfig.json
Desired output:
- **back-end-output**
- index.ts
- **embedded**
- business-logic.ts
- **front-end-output**
- index.ts
- **embedded**
- business-logic.ts
## Checklist
My suggestion meets these guidelines:
* [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, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Re: non goal 4...
> Provide an end-to-end build pipeline. Instead, make the system extensible so that external tools can use the compiler for more complex build workflows.
I wouldn't consider my proposal an "end-to-end" build pipeline. It's just a feature that outputs files in an easily specified hierarchy. One could easily argue that rootDirs does the same thing, except that the hierarchy it outputs is opinionated rather than flexible.
|
Suggestion,Awaiting More Feedback
|
low
|
Minor
|
615,577,403 |
TypeScript
|
[3.9.2] Regression - combination of mapped type, intersection and generic produces error under infer
|
<!-- π¨ STOP π¨ π¦π§π’π£ π¨ πΊπ»πΆπ· π¨
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!
Please help us by doing the following steps before logging an issue:
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ
Please fill in the *entire* template below.
-->
<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:** 3.9.2, 3.9.1-rc (works in 3.8.3)
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** infer, intersection, generic, mapped types
**Code**
```ts
type UnknownExtensions = Record<string, unknown>;
type IdentityMappedType<T> = {
[P in keyof T]: T[P];
};
type Structure<Extensions extends UnknownExtensions> =
IdentityMappedType<{ someBaseProperty: string } & Extensions>;
type InferStructureExtensions<TStructure extends Structure<UnknownExtensions>> =
TStructure extends Structure<infer U> ? U : never; // Error: Type 'U' does not satisfy the constraint 'Record<string, unknown>'.
// Without mapped
type Structure_WithoutMappedType<Extensions extends UnknownExtensions> =
{ someBaseProperty: string } & Extensions;
type InferStructureExtensions_WithoutMappedType<TStructure extends Structure<UnknownExtensions>> =
TStructure extends Structure_WithoutMappedType<infer U> ? U : never; // Ok
// Without generic intersection
type Structure_WithoutGenericIntersection<Extensions extends UnknownExtensions> =
IdentityMappedType<{ someBaseProperty: string }>;
type InferStructureExtensions_WithoutGenericIntersection<TStructure extends Structure<UnknownExtensions>> =
TStructure extends Structure_WithoutMappedType<infer U> ? U : never; // Ok
// Without concrete intersection
type Structure_WithoutConcreteIntersection<Extensions extends UnknownExtensions> =
IdentityMappedType<Extensions>;
type InferStructureExtensions_WithoutConcreteIntersection<TStructure extends Structure<UnknownExtensions>> =
TStructure extends Structure_WithoutMappedType<infer U> ? U : never; // Ok
// With less strict typing of the generic
type AnyExtensions = Record<string, any>;
type Structure_WithAnyExtensions<Extensions extends AnyExtensions> =
IdentityMappedType<Extensions>;
type InferStructureExtensions_WithAnyExtensions<TStructure extends Structure<AnyExtensions>> =
TStructure extends Structure_WithoutMappedType<infer U> ? U : never; // Ok
```
**Expected behavior:**
Should be able to `infer U`, given the code above.
**Actual behavior:**
An error is produced: "Error: Type 'U' does not satisfy the constraint 'Record<string, unknown>'."
Note, the example given outlines similar situations where no error is produced.
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> https://www.typescriptlang.org/play?ts=3.9.0-beta#code/C4TwDgpgBAqgdgazgewO5wKIA9gTgZwEtkCoBeKAJQgGNkAnAEwB59h7C4BzAGigFdEKdAD4A3ACgJoSFACSjPMEKgAsgEMwkRgBVwEZjpHkoAbwlQoAbQAKUTlAQQQyAGZQdAXQBcH258kAX0lpfSgAZXZ+GmB+egNsXAJiUggcPEZ8WCE0THTkknxjMgt5RThlNU1tPUhmUyh8ZABbCAAhdXwIG3pkSHpQXzYObihAqAAyKES8IkLxKRloOThXCHpI+mjY+JmCgkNN7bjoNKTMiKiYk+Z4JFy9uYIRYtKdI+v4qDOMrI+dgycNb0WDGAD8sCgvjgEAAbusxFAAPRI6b0Xr0Xy1aAAchgOKgjGQECyKGAjXUynwrhAUGAAAtoHQCOx1JxyTjqHQmKx2JxeAIcqIcQA6KQoqAAdRU9OQ-HJzWqEEYizC-xOAH1pQy5cANFpldjmI8UlkfnALndhHkkk8iiZSg0mq0Ol0en11oNGnzRuMpibCiElvJVut1bt8natTLdfqavpDlcAd98hdwwYrQ9I6aXuQ3umU+c-knNdrZfK44aE0D1qCoBCYFCoDD4fRERKAPIIcWosu6qBcPDrQg0ewVdZdGIpVWydPRnXygDiQ44NBWuHok+UJGN2cKhd+2Xu6ADzwdlgUShUIErugTTpa7U63V6-S9w35YwWoVkK2B6dPfB53LYBlxhVd1wnWhtzgRMtk+U5U2LeCAVuIUbVmHNXksd4Sy+c00zwiBgNjJU7zqGsQRgcFIWhOEEWRVEux7KUY3lKBmRoeJcDHDct2nH9oDnPt5QAYRILiIFwSDN2glJd1tU0DwtLJMxPPczwoUpLwqa9byNQDv2DP8wyIwCSLEiTuIgGT+J3XCUJOZTCMc+I0OPDD9iKbCPALAjkOOeILL1MijUousGybFsGM7bsJAlMsoAAGxJLIPxiOlwE-Nw6UZAcVxHGdoAAQTgEBAJMLkGBYD9uD4dQyqMtUiOA0ryo0-AFMw-d-KgNrDPPMoryqA1yISDqmt-UMNjMjrWrKwC4MCxCi0uVyDH6iafIc5bnIChDgv06tpoi2jm3ottGKgLsgA
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
|
Needs Investigation,Rescheduled
|
low
|
Critical
|
615,606,322 |
pytorch
|
Please help, building failing with MAGMA support
|
Hello,
I am very new to building pytorch, I managed to build it in CentOS 6.9 without MAGMA support and its my turn to build with MAGMA support. My build fails with somewhere in the middle of compiling 4638 objects. And, of course, I have no idea, why this fails.
Below is my build script, build summary output snippet, and output of the object failing to build.
build script:
```
module purge
module load python/3.8.2-2
#module load cuda/10.0
#module load cudnn/7.6.5
module load magma/2.5.3
module load gflags/2.2.2
module load glog/0.4.0
PKG_CONFIG_PATH="/data/apps/python/3.8.2-2/lib/pkgconfig:$PKG_CONFIG_PATH"
CUDA_HOME=/data/apps/cuda/10.0
CUDNN_LIB_DIR=/data/apps/cudnn/7.6.5/lib64
CUDNN_INCLUDE_DIR=/data/apps/cudnn/7.6.5/include
MAX_JOBS=48
#export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"
#export BLAS=openblas
#export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"
MAGMA_HOME=/data/apps/magma/2.5.3
#export MAGMA_INCLUDE_DIR=/data/apps/python/3.8.2-2/include
#export MAGMA_LIBRARIES=/data/apps/python/3.8.2-2/lib
#export USE_SYSTEM_LIBS=ON
USE_MKL=0
USE_MKLDNN=0
USE_MKLML=0
BUILD_TEST=0
CMAKE_BUILD_TYPE=Debug
USE_MKLDNN=0
USE_GFLAGS=1
USE_GLOG=1
export LD_LIBRARY_PATH="/data/apps/python/3.8.2-2/lib:$LD_LIBRARY_PATH"
export TORCH_CUDA_ARCH_LIST="5.0"
#export USE_GLOG=0
export CFLAFGS="-I/data/apps/glog/0.4.0/include $CFLAGS"
rm -rf /tmp/pytorch.log
make clean
python3 setup.py clean
git submodule update --init
python3 setup.py install | tee -a /tmp/pytorch.log
```
I installed the following packages in my python install:
`$ pip3 install ninja pyyaml setuptools cmake cffi numpy`
Attached is my build log file.
[pytorch.log](https://github.com/pytorch/pytorch/files/4607690/pytorch.log)
The error is mkl-dnn related, but I did turn off mkl-dnn support ( note in the above mentioned build script ). Not sure why this happens. I am using pytorch version 1.6.0.
Below is the snippet of the error from my terminal (also available in attached log file):
```
[2430/4638] Building CXX object third_party/ideep/mkl-dnn/src/cpu/CMakeFiles/dnnl_cpu.dir/rnn/ref_rnn.cpp.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
-- Building version 1.6.0a0+cb27067
cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/dfs2/app-sources/pytorch-apr24/pytorch/torch -DCMAKE_PREFIX_PATH=/data/apps/python/3.8.2-2/lib/python3.8/site-packages -DJAVA_HOME=/usr/java/latest -DNUMPY_INCLUDE_DIR=/data/apps/python/3.8.2-2/lib/python3.8/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/data/apps/python/3.8.2-2/bin/python3 -DPYTHON_INCLUDE_DIR=/data/apps/python/3.8.2-2/include/python3.8 -DPYTHON_LIBRARY=/data/apps/python/3.8.2-2/lib/libpython3.8.so.1.0 -DTORCH_BUILD_VERSION=1.6.0a0+cb27067 -DUSE_NUMPY=True /dfs2/app-sources/pytorch-apr24/pytorch
cmake --build . --target install --config Release -- -j 24
File "setup.py", line 740, in <module>
build_deps()
File "setup.py", line 316, in build_deps
build_caffe2(version=version,
File "/dfs2/app-sources/pytorch-apr24/pytorch/tools/build_pytorch_libs.py", line 62, in build_caffe2
cmake.build(my_env)
File "/dfs2/app-sources/pytorch-apr24/pytorch/tools/setup_helpers/cmake.py", line 340, in build
self.run(build_args, my_env)
File "/dfs2/app-sources/pytorch-apr24/pytorch/tools/setup_helpers/cmake.py", line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File "/data/apps/python/3.8.2-2/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '24']' returned non-zero exit status 1.
```
If don't include MAGMA support( I am using 2.5.3 ), build passes without issues. Can you please give me a hand with this?
thanks a lot.
cc @malfet
|
module: build,triaged
|
low
|
Critical
|
615,708,217 |
opencv
|
OpenCV improve documentation of CUDA
|
##### System information (version)
<!-- Example
- OpenCV => 4.3
- Operating System / Platform => Ubuntu 18.04
- Compiler => Visual Studio 2017
-->
- OpenCV => 4.3.0
- Operating System / Platform => Ubuntu 18.04
- Compiler => g++
##### Detailed description
OpenCV offers several CUDA enabled functions for accelerating computer vision. Unfortunately the documentation across the internet is wrong or mixed between multiple OpenCV versions (mixes between cv::cuda and cv::gpu).
It would be beneficial to add a simple tutorial on how to use OpenCV cuda functions, it could be similar to this [one](https://docs.opencv.org/master/db/df5/tutorial_linux_gcc_cmake.html).
It could be added to the contrib tutorials [lists](https://docs.opencv.org/master/d3/d81/tutorial_contrib_root.html). The main motivation of this issue is to refresh the documentation, such as [this](https://opencv.org/platforms/cuda/) which is for OpenCV 3.
##### Steps to reproduce
<!-- to add code example fence it with triple backticks and optional file extension
```.cpp
// C++ code example
```
or attach as .txt or .zip file
-->
- Define the functionalities we want to showcase in this brief tutorial. The code snippet could be very similar to this one:
```.cpp
#include <iostream>
#include <ctime>
#include <cmath>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/core/cuda.hpp>
#include <opencv2/cudaarithm.hpp>
#include <opencv2/cudaimgproc.hpp>
#define TestCUDA true
int main()
{
try
{
cv::String filename = "Oak_Tree.png";
cv::Mat srcHost = cv::imread(filename, cv::IMREAD_GRAYSCALE);
if(TestCUDA)
{
cv::cuda::GpuMat dst, src;
src.upload(srcHost);
cv::cuda::threshold(src, dst, 128.0, 255.0, cv::THRESH_BINARY);
cv::cuda::bilateralFilter(dst, dst, 3, 1, 1);
cv::Mat resultHost;
dst.download(resultHost);
cv::imshow("Result",resultHost);
cv::waitKey();
}
}
catch(const cv::Exception& ex)
{
std::cout << "Error: " << ex.what() << std::endl;
}
}
```
A CMakeLists.txt could be similar to this:
```.txt
cmake_minimum_required(VERSION 3.0)
project( opencvgpu )
find_package( OpenCV 4.3 REQUIRED)
find_package(CUDA REQUIRED)
include_directories( ${OpenCV_INCLUDE_DIRS} ${CUDA_INCLUDE_DIRS} )
add_executable( DisplayImage DisplayImage.cpp )
target_link_libraries( DisplayImage ${OpenCV_LIBS} ${CUDA_LIBRARIES} )
```
- Prepare the tutorial and describe the presented codes.
- Revise it for OpenCV approval.
- Upload it in the webpage.
##### Issue submission checklist
- [x] I report the issue, it's not a question
<!--
OpenCV team works with answers.opencv.org, Stack Overflow and other communities
to discuss problems. Tickets with question without real issue statement will be
closed.
-->
- [x] I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution
<!--
Places to check:
* OpenCV documentation: https://docs.opencv.org
* FAQ page: https://github.com/opencv/opencv/wiki/FAQ
* OpenCV forum: https://answers.opencv.org
* OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
* Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
-->
- [x] I updated to latest OpenCV version and the issue is still there
<!--
master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
OpenCV team supports only latest release for each branch.
The ticket is closed, if the problem is not reproduced with modern version.
-->
- [x] There is reproducer code and related data files: videos, images, onnx, etc
<!--
The best reproducer -- test case for OpenCV that we can add to the library.
Recommendations for media files and binary files:
* Try to reproduce the issue with images and videos in opencv_extra repository
to reduce attachment size
* Use PNG for images, if you report some CV related bug, but not image reader
issue
* Attach the image as archite to the ticket, if you report some reader issue.
Image hosting services compress images and it breaks the repro code.
* Provide ONNX file for some public model or ONNX file with with random weights,
if you report ONNX parsing or handling issue. Architecture details diagram
from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
-->
|
category: documentation,category: gpu/cuda (contrib)
|
low
|
Critical
|
615,728,036 |
opencv
|
Prelu from Tensorflow.keras (assert m.total() == outCn)
|
I built latest opencv c++ from source on windows_x64, (this include [PR #16983](https://github.com/opencv/opencv/commit/5da4bb7e8874b9082e7e9b03ce0649f96a860f76))
I am aware that opencv recently added the support of PRelu from tensorflow. and that is why I built from source.
I am trying a very simple model (that is written in python using tensorflow 1.15):
```
import tensorflow as tf
from tensorflow import keras
def build_model(net_input_dim=112):
inputs = keras.layers.Input((net_input_dim, net_input_dim, 3), name="input")
x = keras.layers.Conv2D(filters=1, kernel_size=3, strides=1, name="conv2d")(inputs)
x = keras.layers.PReLU(name="prelu")(x)
return keras.models.Model(inputs, x, name='small_net')
```
I freezed this model.
[opencv_issue.zip](https://github.com/opencv/opencv/files/4608688/opencv_issue.zip)
to call this freezed model from c++:
```
#include <opencv2/dnn.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
void main() {
int network_input_size = 112;
cv::dnn::Net net = cv::dnn::readNetFromTensorflow("model.pb");
cv::Mat input_image = cv::imread("any_colored_image.jpg", 1);
cv::Mat inputBlob = cv::dnn::blobFromImage(input_image, 1.0 / 255.0, cv::Size(network_input_size, network_input_size));
net.setInput(inputBlob);
cv::Mat out;
net.forward(out);
}
```
when **net.forward** is run. I am getting the following error:
(m.isContinuous() && m.type() == CV_32F && (int)m.total() == outCn) in cv::dnn::ConvolutionLayerImpl::forward, file "opencv-master\modules\dnn\src\layers\convolution_layer.cpp, line 1425
the failure is in the following line:
CV_Assert(m.isContinuous() && m.type() == CV_32F && (int)m.total() == outCn);
m.total() is the width x height = 1 x 12100, while outCn is 1 and that's why it's failing.
I already checked similar issue ([13384](https://github.com/opencv/opencv/issues/13384))
##### System information (version)
- OpenCV > 4.3 (master) - built from source
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2017
- Python 3.7
- tensorflow 1.15
to Freeze the model:
```
from tensorflow.keras import backend as K
def freeze_session(session, keep_var_names=None, output_names=None, clear_devices=True):
graph = session.graph
with graph.as_default():
freeze_var_names = list(set(v.op.name for v in tf.global_variables()).difference(keep_var_names or []))
output_names = output_names or []
output_names += [v.op.name for v in tf.global_variables()]
input_graph_def = graph.as_graph_def()
if clear_devices:
for node in input_graph_def.node:
node.device = ""
frozen_graph = tf.graph_util.convert_variables_to_constants(
session, input_graph_def, output_names, freeze_var_names)
return frozen_graph
model = build_model()
frozen_graph = freeze_session(K.get_session(),
output_names=[out.op.name for out in model.outputs])
tf.compat.v1.train.write_graph(frozen_graph, "D:/", "model.pb", as_text=False)
```
|
category: dnn
|
low
|
Critical
|
615,753,294 |
rust
|
Bootstrap fails to build when switching between submodule and subtree
|
When switching between git trees where one contains clippy as a submodule and one contains clippy in tree, x.py fails to initialize the submodule correctly in some cases, resulting in a failed build. For example:
```
git clone https://github.com/jethrogb/rust/ -b clippy-submodule
cd rust
./x.py help
git checkout -f clippy-tree
./x.py help
git checkout -f -
./x.py help
```
```
error: failed to read `/tmp/rust/src/tools/clippy/Cargo.toml`
Caused by:
No such file or directory (os error 2)
failed to run: /tmp/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /tmp/rust/src/bootstrap/Cargo.toml
```
Full output: [xpy-clippy.txt](https://github.com/rust-lang/rust/files/4608861/xpy-clippy.txt)
`/tmp/rust/src/tools/clippy/Cargo.toml` should be in the clippy submodule but it's not checked out correctly. If I do `git reset --hard` inside the submodule, it works fine.
related #63964
@rustbot modify labels +A-rustbuild
|
T-bootstrap,T-dev-tools,C-bug,A-contributor-roadblock
|
low
|
Critical
|
615,835,979 |
go
|
net: not possible to set TCP backlog parameter for listener
|
<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->
### What version of Go are you using (`go version`)?
<pre>
go version go1.14.2 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>
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/cppko/.cache/go-build"
GOENV="/home/cppko/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/cppko//Source/gocode"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/snap/go/current"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/snap/go/current/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build230275253=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
I'm crossbuilding from Linux to Windows (but that is not important here). When 500 clients connect simultaneously to my Go program (TCP server) it fails to accept them all because backlog queue gets filled. I process them as fast as possible. As a workaround, on Linux I fixed this by setting `net.core.somaxconn` kernel parameter. But on Windows server (at least on Microsoft Windows Server 2019 Datacenter) I didn't find similar OS based parameter/solution. For Windows I had to rebuild Go from source after changing net.maxListenerBacklog to return custom backlog value (for me SOMAXCONN_HINT(500)=-500 worked): https://github.com/golang/go/blob/master/src/net/sock_windows.go#L16. There are other workarounds probably but this was done just to verify if setting this parameter fixes the problem.
### What did you expect to see?
Some kind of way to set backlog parameter before listener starts to accept connections so that clients don't disconnect just because backlog is full in bursty scenarios.
### What did you see instead?
Clients disconnected when backlog was full (size is 200 on my system).
|
NeedsDecision
|
medium
|
Critical
|
615,853,299 |
youtube-dl
|
KUL university website Toledo (using Kaltura)
|
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.05.08**
- [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
- Single video:
- https://p.cygnus.cc.kuleuven.be/webapps/osv-kaltura-bb_bb60/jsp/iframeEmbedWrapper.jsp?url=..%2FLtiMashupPlayIframeWrapperResponsive%3FplayUrl%3D%2Fbrowseandembed%2Findex%2Fmedia%2Fentryid%2F1_nqkn36ju%2FshowDescription%2Ffalse%2FshowTitle%2Ffalse%2FshowTags%2Ffalse%2FshowDuration%2Ffalse%2FshowOwner%2Ffalse%2FshowUploadDate%2Ffalse%2FplayerSize%2F640x360%2FplayerSkin%2F43052182%2F&thumbnail=https://cfvod.kaltura.com/p/2375821/sp/237582100/thumbnail/entry_id/1_nqkn36ju/version/100041&title=Aula+A+Celestijnenlaan+200C+2020-05-07+17%3A46+%2834%3A06%29&course_id=_890376_1&content_id=_27078036_1&playerWidth=640&playerHeight=360
- https://p.cygnus.cc.kuleuven.be/webapps/osv-kaltura-bb_bb60/jsp/iframeEmbedWrapper.jsp?url=..%2FLtiMashupPlayIframeWrapperResponsive%3FplayUrl%3D%2Fbrowseandembed%2Findex%2Fmedia%2Fentryid%2F1_6rds1xsc%2FshowDescription%2Ffalse%2FshowTitle%2Ffalse%2FshowTags%2Ffalse%2FshowDuration%2Ffalse%2FshowOwner%2Ffalse%2FshowUploadDate%2Ffalse%2FplayerSize%2F640x360%2FplayerSkin%2F43052182%2F&thumbnail=https://cfvod.kaltura.com/p/2375821/sp/237582100/thumbnail/entry_id/1_6rds1xsc/version/100001&title=Aula+A+Celestijnenlaan+200C+2020-04-29+16%3A39+%2857%3A04%29&course_id=_890376_1&content_id=_27054366_1&playerWidth=640&playerHeight=360
- https://p.cygnus.cc.kuleuven.be/webapps/osv-kaltura-bb_bb60/LtiMashupPlayIframeWrapperResponsive?playUrl=/browseandembed/index/media/entryid/1_ed86vjjp/showDescription/false/showTitle/false/showTags/false/showDuration/false/showOwner/false/showUploadDate/false/playerSize/640x360/playerSkin/43052182/&course_id=_890561_1&content_id=_26987067_1
- Playlist:
- https://p.cygnus.cc.kuleuven.be/webapps/osv-kaltura-bb_bb60/jsp/courseGalleryLTI.jsp?url=/hosted/index/course-gallery&course_id=_890562_1&mode=view
- https://p.cygnus.cc.kuleuven.be/webapps/blackboard/content/listContent.jsp?course_id=_890376_1&content_id=_27078033_1
- https://p.cygnus.cc.kuleuven.be/webapps/blackboard/content/listContent.jsp?course_id=_890376_1&content_id=_27053518_1
- https://p.cygnus.cc.kuleuven.be/webapps/blackboard/content/listContent.jsp?course_id=_889619_1&content_id=_24727605_1
- https://p.cygnus.cc.kuleuven.be/webapps/blackboard/content/listContent.jsp?course_id=_890561_1&content_id=_26919476_1
## Description
The website uses account credentials that are given to every student. I cannot provide them because they are private, but they are of the form "r(some number)" and the password is chosen by the user. I use a netscape cookie file to authenticate.
I have tried to write an extractor, wrote a regex to match on the website title `r"https?://(?:.+?\.)?kuleuven\.be/.*"` but got stuck in writing the actual extraction function. While reading the source code of the pages I saw Kaltura is used. So I tried to make use of the Kaltura functions, but they do not seem to apply to the format of this page?
In one of the other issues it is mentioned that you can reference a Kaltura id directly. Where can I find this id?
|
site-support-request
|
low
|
Critical
|
615,862,147 |
PowerToys
|
no more "shortcut to" when you creat a shortcut.
|
no more "shortcut to" when you creat a shortcut.
would you please all all those windows xp's tweak UI function back.
they are very good.
and I miss them very muchοΌ







|
Idea-New PowerToy,Product-Tweak UI Design
|
low
|
Minor
|
615,865,081 |
material-ui
|
[Slider] Don't move on touch move in opposite direction
|
- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.
## Summary π‘
When a slider is on a device with touch screen, the touch move event for scrolling shouldn't overlap the drag movement of the slider.
Therefore, it will be nice, if the slider drag movement don't get fired, if there is a touch movement in the opposite direction of the slider.
## Examples π
Actual Behavior:

|
bug π,component: slider,ready to take
|
low
|
Major
|
615,871,315 |
material-ui
|
[core] Allow to customize tooltip attribute with Tooltip component
|
<!-- Provide a general summary of the feature in the Title above -->
<!--
Thank you very much for contributing to Material-UI by creating an issue! β€οΈ
To avoid duplicate issues we ask you to check off the following list.
-->
<!-- Checked checkbox should look like this: [x] -->
- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.
## Summary π‘
<!-- Describe how it should work. -->
In the image passing over the autocomlete on the x button or on the button to go down the title of the button appears.
It would be possible instead of using title to be able to enable the possibility of using the tooltip on it.
## Examples π
<!--
Provide a link to the Material design specification, other implementations,
or screenshots of the expected behavior.
-->
[autocomplete](https://material-ui.com/components/autocomplete/#sizes)

|
new feature,waiting for π,component: table,component: autocomplete,component: pickers
|
low
|
Major
|
615,894,277 |
TypeScript
|
lib.dom.d.ts - HTMLTextAreaElement, HTMLInputElement do not have "maxLength" property
|
Code
let nativeTextarea: HTMLTextAreaElement;
nativeTextarea.maxLength;
let nativeInput: HTMLInputElement;
nativeInput.maxLength;
Expected behavior:
No compiler error.
Actual behavior:
Compiler error: Property 'maxLength' does not exist on type 'HTMLTextAreaElement', Property 'maxLength' does not exist on type 'HTMLInputElement'
HTML5 spec: https://www.w3.org/TR/html5/forms.html#the-maxlength-and-minlength-attributes
|
Bug,Domain: lib.d.ts
|
low
|
Critical
|
615,909,215 |
nvm
|
cannot use nvm to downgrade node version
|
#1461 ## Operating system and version:
Windows 10 Pro Version 10.0.18363 Build 18363
#### `nvm debug` output:
<details>
<!-- do not delete the following blank line -->
```sh
nvm --version: v0.35.3
$TERM_PROGRAM: Hyper
$SHELL: /usr/bin/bash
$SHLVL: 1
${HOME}: /c/Users/diama
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${HOME}/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/cmd:/c/ProgramData/Oracle/Java/javapath:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/WINDOWS/System32/OpenSSH:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/cmd:/c/Program Files/Java/jdk1.8.0_101/bin:/c/Program Files/nodejs:${HOME}/AppData/Local/Microsoft/WindowsApps:${HOME}/AppData/Local/atom/bin:${HOME}/AppData/Local/Microsoft/WindowsApps:${HOME}/AppData/Local/hyper/app-3.0.2/resources/bin:${HOME}/AppData/Local/Programs/Microsoft VS Code/bin:${HOME}/AppData/Roaming/npm:/usr/bin/vendor_perl:/usr/bin/core_perl
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)'
uname -a: 'MINGW64_NT-10.0 2.11.2(0.329/5/3) 2018-11-10 14:38 x86_64 Msys'
curl: /mingw64/bin/curl, curl 7.64.0 (x86_64-w64-mingw32) libcurl/7.64.0 OpenSSL/1.1.1a (Schannel) zlib/1.2.11 libidn2/2.1.1 nghttp2/1.36.0
wget: not found
git: /mingw64/bin/git, git version 2.21.0.windows.1
grep: /usr/bin/grep, grep (GNU grep) 3.1
awk: /usr/bin/awk, GNU Awk 4.2.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)
sed: /usr/bin/sed, sed (GNU sed) 4.7
cut: /usr/bin/cut, cut (GNU coreutils) 8.30
basename: /usr/bin/basename, basename (GNU coreutils) 8.30
rm: /usr/bin/rm, rm (GNU coreutils) 8.30
mkdir: /usr/bin/mkdir, mkdir (GNU coreutils) 8.30
xargs: /usr/bin/xargs, xargs (GNU findutils) 4.6.0
nvm current: system
which node: /c/Program Files/nodejs/node
which iojs: which: no iojs in (${HOME}/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/cmd:/c/ProgramData/Oracle/Java/javapath:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/WINDOWS/System32/OpenSSH:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/cmd:/c/Program Files/Java/jdk1.8.0_101/bin:/c/Program Files/nodejs:${HOME}/AppData/Local/Microsoft/WindowsApps:${HOME}/AppData/Local/atom/bin:${HOME}/AppData/Local/Microsoft/WindowsApps:${HOME}/AppData/Local/hyper/app-3.0.2/resources/bin:${HOME}/AppData/Local/Programs/Microsoft VS Code/bin:${HOME}/AppData/Roaming/npm:/usr/bin/vendor_perl:/usr/bin/core_perl)
which npm: /c/Program Files/nodejs/npm
npm config get prefix: C:\Users\diama\AppData\Roaming\npm
npm root -g: C:\Users\diama\AppData\Roaming\npm\node_modules
```
</details>
#### `nvm ls` output:
<details>
<!-- do not delete the following blank line -->
```sh
-> system
iojs -> N/A (default)
node -> stable (-> N/A) (default)
unstable -> N/A (default)
lts/* -> lts/erbium (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.20.1 (-> N/A)
lts/erbium -> v12.16.3 (-> N/A)
```
</details>
#### How did you install `nvm`?
<!-- (e.g. install script in readme, Homebrew) -->
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
#### What steps did you perform?
nvm install 12.6.2
#### What happened?
Can not determine how many core(s) are available, running in single-threaded mode.
Please report an issue on GitHub to help us make nvm run faster on your computer!
<details>
<!-- do not delete the following blank line -->
```sh
Local cache found: ${NVM_DIR}/.cache/src/node-v12.16.2/node-v12.16.2.tar.xz
Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/src/node-v12.16.2/node-v12.16.2.tar.xz
$>./configure --prefix=/c/Users/diama/.nvm/versions/node/v12.16.2 <
which: no python2.7 in (/c/Users/diama/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/cmd:/c/ProgramData/Oracle/Java/javapath:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/WINDOWS/System32/OpenSSH:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/cmd:/c/Program Files/Java/jdk1.8.0_101/bin:/c/Program Files/nodejs:/c/Users/diama/AppData/Local/Microsoft/WindowsApps:/c/Users/diama/AppData/Local/atom/bin:/c/Users/diama/AppData/Local/Microsoft/WindowsApps:/c/Users/diama/AppData/Local/hyper/app-3.0.2/resources/bin:/c/Users/diama/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/diama/AppData/Roaming/npm:/usr/bin/vendor_perl:/usr/bin/core_perl)
which: no python2 in (/c/Users/diama/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/cmd:/c/ProgramData/Oracle/Java/javapath:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/WINDOWS/System32/OpenSSH:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/cmd:/c/Program Files/Java/jdk1.8.0_101/bin:/c/Program Files/nodejs:/c/Users/diama/AppData/Local/Microsoft/WindowsApps:/c/Users/diama/AppData/Local/atom/bin:/c/Users/diama/AppData/Local/Microsoft/WindowsApps:/c/Users/diama/AppData/Local/hyper/app-3.0.2/resources/bin:/c/Users/diama/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/diama/AppData/Roaming/npm:/usr/bin/vendor_perl:/usr/bin/core_perl)
./configure: line 3: /c/Users/diama/AppData/Local/Microsoft/WindowsApps/python: Permission denied
./configure: line 3: /c/Users/diama/AppData/Local/Microsoft/WindowsApps/python: Permission denied
nvm: install v12.16.2 failed!
```sh
</details>
#### What did you expect to happen?
Downgrade the version
#### Is there anything in any of your profile files that modifies the `PATH`?
<!-- (e.g. `.bashrc`, `.bash_profile`, `.zshrc`, etc) -->
I don't think so
|
OS: windows,needs followup,installing nvm
|
low
|
Critical
|
615,936,766 |
pytorch
|
pybind11::gil_scoped_release: crash on exit with daemon threads
|
## π Bug
Our use of `pybind11::gil_scoped_release` can cause crashes when used with daemon threads (from the `threading` package) and with C++ created threads that acquire/release the GIL. Note that we previously used AutoNoGIL, but that has the same problem.
This manifests as a crash on exit with a message like:
```
terminate called without an active exception
Aborted
```
The problem occurs when a thread tries to acquire the GIL during Python interpreter finalization. The interpreter [calls](https://github.com/python/cpython/blob/d7c567b08f9d7d6aef21b881340a2b72731129db/Python/ceval.c#L275) `pthread_exit(0)` to terminate the thread. Note that the call is from the **destructor** of [`gil_scoped_release`](https://github.com/pybind/pybind11/blob/805c5862b61204cb2e43911c794d78326e947cb7/include/pybind11/pybind11.h#L2000-L2007). The glibc `pthread_exit` implementation uses unwind; calling unwind from a destructor has similar problems to throwing C++ exceptions from destructors. This triggers the call to `std::terminate` and the abort.
Here is some code that reproduces the issue. I think #22924 is essentially the same issue. I've also seen this happen in research code that mixes C++ threads with Python.
```python
import torch
import threading
def thread_loop():
a = torch.randn(100)
while True:
a + a
t = threading.Thread(target=thread_loop, daemon=True)
t.start()
```
cc @ezyang @gchanan @zou3519
|
high priority,module: dependency bug,module: crash,triaged
|
low
|
Critical
|
615,946,416 |
pytorch
|
Python autograd engine threads never terminate in Python 3.5-3.8
|
## π Bug
In our supported versions of Python (3.5-3.8) the autograd engine threads never fully exit. This is probably fine, but it's worth noting in the context of issue #38230, and because the engine has code to shutdown threads when it's destructed (#21438).
The threads stall in the destructor of `pybind11::gil_scoped_release`
https://github.com/pytorch/pytorch/blob/6f396e18c33efbb8547b7ca9d412a316bd51429b/torch/csrc/autograd/python_engine.cpp#L49-L56
The `gil_scoped_release` destructor calls `PyEval_RestoreThread` to re-acquire the GIL. However, by this time, Python has fully finalized and the GIL remains locked. (The behavior is different in Python 3.9.0a6; see issue #38230). The threads stall on acquiring the mutex. Eventually, the main thread exits and the process terminates anyways.
In PyTorch 1.4, this code used `AutoNoGIL` instead of `gil_scoped_release`; that had the same issue.
You can verify this behavior by adding printf statements or with gdb, some breakpoints, and `set scheduler-locking on`.
cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @seemethere @malfet @walterddr @pytorch/pytorch-dev-infra @SsnL
|
module: crash,module: autograd,module: ci,triaged
|
low
|
Critical
|
615,964,785 |
pytorch
|
When TorchScripted module has bad type annotation you get bad error message
|
Suppose that you incorrectly annotated bias in Conv as `Tensor` rather than `Optional[Tensor]`. When you script it you get this error:
```
======================================================================
ERROR: test_dropout_eval (__main__.TestScript)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_jit.py", line 8581, in test_dropout_eval
script_mod = ScriptMod()
File "/data/users/ezyang/pytorch-tmp/torch/jit/__init__.py", line 1528, in init_then_script
original_init(self, *args, **kwargs)
File "test/test_jit.py", line 8550, in __init__
self.Conv2d_1a_3x3 = ScriptedConv2d(3, 32, kernel_size=3, stride=2)
File "/data/users/ezyang/pytorch-tmp/torch/jit/__init__.py", line 1534, in init_then_script
self.__dict__["_actual_script_module"] = torch.jit._recursive.create_script_module(self, make_stubs) File "/data/users/ezyang/pytorch-tmp/torch/jit/_recursive.py", line 305, in create_script_module return create_script_module_impl(nn_module, concrete_type, stubs_fn) File "/data/users/ezyang/pytorch-tmp/torch/jit/_recursive.py", line 360, in create_script_module_impl script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
File "/data/users/ezyang/pytorch-tmp/torch/jit/__init__.py", line 1673, in _construct
init_fn(script_module)
File "/data/users/ezyang/pytorch-tmp/torch/jit/_recursive.py", line 341, in init_fn scripted = create_script_module_impl(orig_value, sub_concrete_type, infer_methods_to_compile) File "/data/users/ezyang/pytorch-tmp/torch/jit/_recursive.py", line 360, in create_script_module_impl script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn) File "/data/users/ezyang/pytorch-tmp/torch/jit/__init__.py", line 1673, in _construct
init_fn(script_module)
File "/data/users/ezyang/pytorch-tmp/torch/jit/_recursive.py", line 326, in init_fn cpp_module.setattr(name, orig_value) RuntimeError: Unable to cast Python instance of type <class 'NoneType'> to C++ type 'at::Tensor'
```
This is a super useless error message. It doesn't tell you any context about the error in question.
cc @suo
|
oncall: jit,module: bootcamp,triaged
|
low
|
Critical
|
615,976,634 |
TypeScript
|
Object spread works for unconstrained generic
|
<!-- π¨ STOP π¨ π¦π§π’π£ π¨ πΊπ»πΆπ· π¨
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!
Please help us by doing the following steps before logging an issue:
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ
Please fill in the *entire* template below.
-->
**TypeScript Version:** 3.8.3
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
generic
spread
unrestrained
unrestricted
**Expected behavior:**
The `spread` function should not compile because `T` is not constrained to a type that can be spread.
**Actual behavior:**
It compiles.
<!-- Did you find other bugs that looked similar? -->
**Related Issues:**
https://github.com/microsoft/TypeScript/issues/30129
https://github.com/microsoft/TypeScript/pull/13288
**Code**
```ts
function spread<T>(t: T) {
// This should not compile
return { ...t };
}
// The type of `result` is `number` even though the value of `result` is `{}`
const result = spread(5);
```
<details><summary><b>Output</b></summary>
```ts
"use strict";
function spread(t) {
// This should not compile
return Object.assign({}, t);
}
// Result is still a number when in reality it's {}
const result = spread(5);
```
</details>
<details><summary><b>Compiler Options</b></summary>
```json
{
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"strictBindCallApply": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"alwaysStrict": true,
"esModuleInterop": true,
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"moduleResolution": 2,
"target": "ES2017",
"jsx": "React",
"module": "ESNext"
}
}
```
</details>
**Playground Link:** [Provided](https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABAZwA4CcCmBDAJgHgBUA+ACigC5FCBKRAbwChFEB6V6gCxmRU7hAAbXIjBwoiCHAC2qGIMzNEWKCHRJ6iAHQ6JAXwDcjPY0btEAJUzIhEniliDBibKJDSARpnSIA7p0wkGCQsbEEYKABPRAiAcl56EykwZAksG0EJAF4UDBxcUgBWGiMgA)
|
Suggestion,In Discussion
|
low
|
Critical
|
615,987,506 |
go
|
cmd/compile: inconsistent results with gccgo
|
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.14.2 linux/amd64
$ gccgo --version
gccgo (Debian 8.3.0-6) 8.3.0
</pre>
### Does this issue reproduce with the latest release?
Yes
### What did you do?
```golang
package main
import "fmt"
type T struct {
_ int
_ bool
}
func main() {
var t1 = T{123, true}
fmt.Println(t1) // gc result: {0 false}, gccgo result: {123 true}
}
```
### What did you expect to see?
consistent results from gc and gccgo.
### What did you see instead?
inconsistent results from gc and gccgo.
|
NeedsDecision,compiler/runtime
|
low
|
Major
|
616,011,361 |
pytorch
|
Failed to link torch_library using cmake
|
## π Bug
When I compile a simple package (**a** for instance) using cmake, the exported ${TORCH_LIBRARIES}$ is as follows,
```
torch;torch_library;/usr/lib/libc10.so;/opt/cuda/lib/stubs/libcuda.so;/opt/cuda/lib/libnvrtc.so;/opt/cuda/lib/libnvToolsExt.so;/opt/cuda/lib64/libcudart.so;/usr/lib/libc10_cuda.so
```
Package **a** compiles successfully even if the linker fails to link **torch_library**.
The actual problem arises when I have another package (**b**), dependent on the already created package **a**. When I build, it fails with error
```
CMake Error at /home/vsury/dev/ros/pytorch-example/devel_isolated/a/share/a/cmake/aConfig.cmake:150 (message):
Project 'b' tried to find library '-Wl,--no-as-needed,$<TARGET_FILE:torch>
-Wl,--as-needed'. The library is neither a target nor built/installed
properly. Did you compile project 'a'? Did you find_package() it before
the subdirectory containing its code is included?
```
The reason has to do with **torch_library** because there is no library such as **libtorch_library.so**.
Looking further, it seems like that ${TORCH_LIBRARIES} is linked to ${Caffe2_MAIN_LIBS},
https://github.com/pytorch/pytorch/blob/master/cmake/TorchConfig.cmake.in#L41
and ${Caffe2_MAIN_LIBS} is linked to **torch_library**,
https://github.com/pytorch/pytorch/blob/master/cmake/Caffe2Config.cmake.in#L121
I do not understand the need for **torch_library** and removing it from $TORCH_LIBRARIES$ fixes the entire problem.
## To Reproduce
Steps to reproduce the behavior:
1. Create a package **a** with any script with torch functionalities (basically CMakeLists should contain find_package(Torch REQUIRED) and build target with torch libraries.
2. Create another package **b** and make it depend on **a**.
3. Compile package b to get the error.
## Expected behavior
Successful build
## Environment
Please copy and paste the output from our
- PyTorch Version (e.g., 1.0): 1.5.0
- OS (e.g., Linux): Archlinux
- How you installed PyTorch (`conda`, `pip`, source): pacman -S
- Build command you used (if compiling from source): cmake and make
- Python version:
- CUDA/cuDNN version:
- GPU models and configuration:
- Any other relevant information:
## Additional context
cc @malfet @yf225 @glaringlee
|
module: build,module: cpp,triaged
|
low
|
Critical
|
616,011,933 |
create-react-app
|
Naming restriction check at the beginning
|
### Is your proposal related to a problem?
It is frustrating when you spend 5 min waiting to create an app but it fails because you provided an invalid name.

### Describe the solution you'd like
Validate the name of the project as soon as possible.
|
issue: proposal,needs triage
|
low
|
Minor
|
616,012,299 |
pytorch
|
RuntimeError: arg_types.size() == param_names.size() - (moduleSelf_ ? 1 : 0) INTERNAL ASSERT FAILED
|
Steps to reproduce: edit `Module.__call__` to add a seemingly innocuous type signature:
```
def __call__(self, *input: Any, **kwargs: Any):
```
This results in an assert failure:
```
======================================================================
ERROR: test_call_python_mod_from_script_fn (__main__.TestScript)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_jit.py", line 13838, in test_call_python_mod_from_script_fn
@torch.jit.script
File "/data/users/ezyang/pytorch-tmp/torch/jit/__init__.py", line 1327, in script
fn = torch._C._jit_script_compile(qualified_name, ast, _rcb, get_default_args(obj))
RuntimeError: arg_types.size() == param_names.size() - (moduleSelf_ ? 1 : 0) INTERNAL ASSERT FAILED at "../torch/csrc/jit/python/python_sugared_value.cpp":91, please report a bug to PyTorch.
```
some prints from relevant internal variables:
```
signature = ([Any, Any], Tensor)
param_names = self
moduleSelf_ = 0
```
cc @suo @ezyang
|
oncall: jit,module: typing,triaged
|
low
|
Critical
|
616,018,047 |
godot
|
Function handling OptionButton item_selected cannot change UI focus
|
**Godot version:**
3.2.1.stable.official
**OS/device including version:**
Microsoft Windows [Version 10.0.17134.706]
**Issue description:**
A function handling the `OptionButton` signal `item_selected` is not able to change focus to another `Control` node via `grab_focus()`, the focus remains on the `OptionButton`.
**Steps to reproduce:**
1) Have a scene with an `OptionButtonβ` and any other `Control` node like a `Button`
2) Connect the `item_selected` signal on `OptionButton` to a function
3) In that function change focus to another node via `grab_focus()`
4) Change the selection of the `OptionButton` in order to trigger the signal
**Minimal reproduction project:**
[poc-focus-bug.zip](https://github.com/godotengine/godot/files/4610765/poc-focus-bug.zip)
|
documentation,topic:gui
|
low
|
Critical
|
616,022,552 |
flutter
|
[web] Add tests to verify that exceptions in various areas are caught in zone
|
- try/catch in main
- runZoned.onError
- FlutterError.onError
should be able to catch all exceptions including dom events.
|
a: tests,framework,platform-web,P2,team-web,triaged-web
|
low
|
Critical
|
616,035,750 |
pytorch
|
SIGXCPU at test_cholesky_solve with AMD EPYC 7742 64-Core Processor
|
## π Bug
RuntimeError: test_autograd failed! Received signal: SIGXCPU
## To Reproduce
Steps to reproduce the behavior:
1. `python test/run_test.py -v `
```
test_checkpointing (__main__.TestAutograd) ... skipped 'test is slow; run with PYTORCH_TEST_WITH_SLOW to enable test'
test_cholesky (__main__.TestAutograd) ... ok
test_cholesky_inverse (__main__.TestAutograd) ... ok
test_cholesky_solve (__main__.TestAutograd) ... Traceback (most recent call last):
File "test/run_test.py", line 455, in <module>
main()
File "test/run_test.py", line 448, in main
raise RuntimeError(message)
RuntimeError: test_autograd failed! Received signal: SIGXCPU
```
## Expected behavior
To pass the test
## Environment
`ulimit -a`
`cpu time (seconds, -t) 7200`
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).
- PyTorch Version (e.g., 1.0): 1.4
- OS (e.g., Linux): CentOS Linux 7 (Core)
- How you installed PyTorch (`conda`, `pip`, source): source
- Build command you used (if compiling from source): `PYTORCH_BUILD_VERSION=1.4.0 PYTORCH_BUILD_NUMBER=1 VERBOSE=1 BUILD_CUSTOM_PROTOBUF=0 LDFLAGS="$LDFLAGS -ldl" USE_FFMPEG=ON USE_IBVERBS=1 USE_GFLAGS=ON USE_GLOG=ON CUDNN_INCLUDE_PATH=$EBROOTCUDNN/include CUDNN_LIBRARY_PATH=$EBROOTCUDNN/lib CUDNN_LIB_DIR=$EBROOTCUDNN/lib64 CUDNN_INCLUDE_DIR=$EBROOTCUDNN/include USE_SYSTEM_NCCL=1 NCCL_INCLUDE_DIR=$EBROOTNCCL/include pybind11_DIR=$EBROOTPYBIND11 TORCH_CUDA_ARCH_LIST="3.5 3.7 6.0 7.0" python setup.py build`
- Python version: 3.6.8
- CUDA/cuDNN version: CUDA 10.1.105 / cuDNN 7.5.1.10
- GPU models and configuration: NVIDIA V100
- Any other relevant information:
```Currently Loaded Modules:
1) Stages/Devel-2019a (S) 14) freetype/.2.10.0 (H) 27) libspatialindex/.1.9.0 (H) 40) FFmpeg/.4.1.3 (H)
2) EasyBuild/4.1.2 15) gperf/.3.1 (H) 28) NASM/.2.14.02 (H) 41) nvidia/.driver (H,g)
3) Developers/InstallSoftware 16) util-linux/.2.33.1 (H) 29) libjpeg-turbo/.2.0.2 (H) 42) CUDA/10.1.105 (g)
4) GCCcore/.8.3.0 (H) 17) fontconfig/.2.13.1 (H) 30) Python/3.6.8 43) cuDNN/7.5.1.10-CUDA-10.1.105 (g)
5) binutils/.2.32 (H) 18) X11/20190311 31) imkl/.2019.3.199 (H) 44) magma/2.5.1
6) bzip2/.1.0.6 (H) 19) Tk/.8.6.9 (H) 32) SciPy-Stack/2019a.1-Python-3.6.8 45) NCCL/2.4.6-1-CUDA-10.1.105 (g)
7) zlib/.1.2.11 (H) 20) XZ/.5.2.4 (H) 33) MPFR/4.0.2 46) pybind11/.2.2.4-Python-3.6.8 (H)
8) ncurses/.6.1 (H) 21) libxml2/.2.9.9 (H) 34) GMP/6.1.2 47) protobuf/.3.7.1 (H)
9) libreadline/.8.0 (H) 22) libxslt/.1.1.33 (H) 35) numactl/2.0.12 48) hypothesis/4.38.1-Python-3.6.8
10) Tcl/8.6.9 23) libffi/.3.2.1 (H) 36) libunwind/.1.3.1 (H) 49) Ninja/1.9.0
11) SQLite/.3.27.2 (H) 24) libyaml/.0.2.2 (H) 37) glog/.0.4.0 (H) 50) GCC/8.3.0
12) expat/.2.2.6 (H) 25) Java/1.8 38) gflags/.2.2.2 (H)
13) libpng/.1.6.36 (H) 26) PostgreSQL/11.2 39) x264/.20190429 (H)
```
## Additional context
This is one of our new supercomputers, with AMD EPYC CPUs and NVIDIA V100s.
cc @mruberry
|
module: tests,triaged
|
low
|
Critical
|
616,042,403 |
flutter
|
MaterialBanner is not constrained vertically
|
<!-- 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
<!-- You must include full steps to reproduce so that we can reproduce the problem. -->
Run the MaterialBanner demo in the Flutter Gallery with bigger row heights.
**Expected results:** <!-- what did you want to see? -->
The Material Spec has specific heights defined for banners, which are not respected. I expected the banner to only be as tall as it should be by the spec.
**Actual results:** <!-- what did you see? -->
The MaterialBanner class stretches its parent as the Column widget has mainAxisSize default to MainAxisSize.max.
## Flutter version
```
Flutter (Channel stable, v1.17.0, on Linux, locale en_US.UTF-8)
β’ Flutter version 1.17.0 at /home/jh/Tools/flutter
β’ Framework revision e6b34c2b5c (9 days ago), 2020-05-02 11:39:18 -0700
β’ Engine revision 540786dd51
β’ Dart version 2.8.1
```
|
framework,f: material design,has reproducible steps,found in release: 3.3,found in release: 3.7,team-design,triaged-design
|
low
|
Critical
|
616,046,858 |
pytorch
|
Make torch.rpc accept store as optional parameter
|
## π Feature
This feature is about modifying torch.distributed.rpc.__init__.py (init_rpc) method to accept the store parameter as a part of the **rpc_backend_options** .
## Motivation
Currently init_rpc method performs rendezvous to create a common store. This may not always work in the environment that also uses other forms of communication, e.g. process groups: if the rendezvous has already been performed by the **torch process groups**, the users will not be able to invoke init_rpc method. This can happen if both torch process groups and torch rpc use init_method=env.
Moreover, http://pytorch.org/elastic is a library that provides the ability to perform rendezvous outside of the worker process. The TorchElastic will be compatible with the torch rpc if the torch rpc will be able to accept store as additional argument.
The proposed approach is to make rpc_backend_options to accept store as additional parameter.
In this case, init_rpc will be modified to check whether the store is available or not. If the store is available, the rendezvous will not be performed. The change is not a breaking change, since the definition of the init_rpc method will not be changed.
cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528 @jjlilley @osalpekar
|
feature,triaged,module: rpc
|
low
|
Minor
|
616,069,548 |
TypeScript
|
Brittle circularity inherited from factory-produced class
|
**TypeScript Version:** 3.8.3
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** extend, from, circular, constructor, class, factory
[The following](https://www.typescriptlang.org/play?#code/MYGwhgzhAECCBO8wE8DKALMAHAptA3gFDTTAD2AdhAC7wCuw1Z8AFFnQEYgCWw0ZAMwBc0MBWQBKAtAC+hOYQpgAtjghYwwPAiRpMuAsWg4AHlmbVoAuhUbdK-AS0EixkwyRLwc1OvAqk4FDGJtQ4FAAmMDooGNh4RJ6e5FS0DEysUolJnhB0uKyCEgDcRkly5UZyCqCQMABKOOTwEXEG2Sk09IzMbJw8fC78HABWTdRZsvKEiipqGlrQjc2t+glGpubwlta21PYBgs7CouJZZdDevv6BdSFhkQ1NzKvxHjmdaT2Z7znQeQVjiULiQKp4wdUZrVggBhZCgHAAOTIERwsHu4SiS2eLTaOAAdEcWFIALwAPmgcIRyNRACEsnJoTAqSAkSicLSMY84IhYmtCU5idByZT4ayaWiGUA) works like a charm. I'm able to define a circular relationship between `RecordShape` and `ArrayShape`. This is wonderful!
```ts
class ArrayShape {
constructor(public of: any) { }
}
namespace ArrayShape {
export function of(of: any) {
return class extends ArrayShape {
constructor() {
super(of);
}
}
}
}
class RecordShape {
constructor(public of: object) { }
}
namespace RecordShape {
export function of(of: any) {
return class extends RecordShape {
constructor() {
super(of);
}
}
}
}
class CycleNodeA extends RecordShape.of(() => CycleNodeB) {}
class CycleNodeB extends ArrayShape.of(() => CycleNodeA) {}
```
However, this starts to break down as I make it more generic. In the example below, I begin to narrow down the type passed into the `ArrayShape` and `RecordShape` constructors. The result isββonce againββcircularity errors :/ [here is the playground](https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABAFQJ4AcCmB5MAbVAHmQD4AKASkQG8AoRRAJ0yhEaTPABNNgYxMXRAEMAziLCoqYlAG5aAX1q0A9CsRQAFpkQAjMTuCM4AW0QB3TTAibEAAwCCjRsNQBlTcKx2JQuwCVMCDhGLg8vTB9MAA8oTDAuWmFdUSgXaEQIPDFxcKxCADlEGLiE8VTGfgBzABoUEhp6ERS04QzmYS4EAkQwYRNMAC5EAvkGZIq2qCZMTu7UDQwhuUVlNWLY9KhxLR07ZB8jUxFEKpgAN3jEUU8sWiglxAARILgePMxCNw3Srlzbz4Vap1YSSEgNAC8TW+JXif0QH0IQLAtUQ-GAmEY9SaDAA-CgcYhhgJLox5Kp1PFknhMOUATs4DMMcxIDo4LtGOJLNZbMIWQByaaoFiIHh8ASJB5YRAABTg-DijA+iAhiDIlBVDURyNRoNQJAo5PWIFgeHEwBCGg6sBR1wBvkQ6HlYEVdoiiyw4hkMGAGm0Cz5Ol2136mHujw+ABkYABrHSq7VpYESfWIAA+sudio+8ilOgKIRMwjwMAAXphETDYnD-hFo3HIdCfjXMwrMR9Cfiq79xOqqBCGujMQi3FQu99iZhSYThm5c48XsF3gD659uy2o7HMJDnq9lxFCoXi2WKwCvuDyVkcognC53GfkM2ygiV1uGrDn4iAER8u9fuqLm8p51luxAkAA2gAug0dAMB0XT4AsfQDCqiA-s4rhfmMMxzIhHrxigSy4AQhCAfuWCrmBUHkIaygMMEYAVCA0AhGQ6AgLoJYQMUNIDC6HzDMgVCwQw1wgFgjCUE0ShKLQyG0ugbQ6LerjKiJMROow0ygJAsAIIgcDAMQT7wpuDZkJgvHxFAAkoMJhLMKw7CZNkojiB+8IqfeB6kI0omiQxTEsZJ9n+f5ojiZiFlWfxAK0WFiBKP5SWJastBXm5iCBMEoSIo+HniNlIRcEiSYonUZnbu+1afmeX7MDlXD-n5iDgQA0miSBxqghkoJBwxkcBFGgcg7XQfICgwU08HzL0oaofVryhFh02zAhPR5qhaBYMRRAiQw7WdYg3W9cg-W7kuQ2YJRo1teN0k0eS9EIEFUCsexnHWIgfCWWE9KCaFokRRJlDYTJyjyaIikQDoRW5fa6nRJp2ngNA8BIIZxkFVlS0lTqFWvg25A-Xgf0RKIAMtXBLBsEgGXuTV8Jw2T+S+ftAUvWkzFvSFVNhcDUUkyztLxWFKUMCl4PpZziAAMKoFkmAFjwDioczHwAHSGWQIm6MMGoDr0mDmHLCs0srmAAEJSQowmyfTpuKxblsmeIXma9rBsNAIJvy07QEOJQdtAA).
```ts
function TypeOnly<T>() {
return (undefined as any) as T;
}
// the base from which `ArrayShape` and `RecordShape` extend
abstract class Shape<N extends string, T> {
abstract readonly name: N;
abstract readonly type: T;
}
// extracts the `T` from a given shape
type DecodeShape<S extends Shape<string, any>> =
S extends Shape<string, infer T>
? T
: never;
// for referencing shapes which aren't yet defined
type PointerShape = (() => Shape<string, any>);
// utils for treating shape and pointer shape types as if they are the same
type ShapeLike = Shape<string, any> | PointerShape;
type NormalizeShape<S extends ShapeLike> =
S extends PointerShape
? S extends (() => infer SS) ? SS : never
: S;
type DecodeShapeLike<S extends ShapeLike> = DecodeShape<NormalizeShape<S>>;
class ArrayShape<T extends ShapeLike> extends Shape<"array", DecodeShapeLike<T>[]> {
readonly name = "array";
readonly type = TypeOnly<DecodeShapeLike<T>[]>();
constructor(public elementShape: T) {
super()
}
}
namespace ArrayShape {
export function of<T extends ShapeLike>(elementShape: T) {
return class extends ArrayShape<T> {
constructor() {
super(elementShape);
}
}
}
}
class RecordShape<T extends Record<string, ShapeLike>> extends Shape<"record", {
[K in keyof T]: DecodeShapeLike<T[K]>;
}> {
readonly name = "record";
readonly type = TypeOnly<{
[K in keyof T]: DecodeShapeLike<T[K]>;
}>();
constructor(public fieldShapes: T) {
super();
}
}
namespace RecordShape {
export function of<T extends Record<string, ShapeLike>>(fieldShapes: T) {
return class extends RecordShape<T> {
constructor() {
super(fieldShapes);
}
}
}
}
const CycleNodeA = RecordShape.of({
b: () => new CycleNodeB()
}) {}
class CycleNodeB extends ArrayShape.of(() => new CycleNodeA()) {}
```
If the circularity error turns out to be the intended behavior, apologiesββI can post on StackOverflow instead. Otherwise, any help would be greatly appreciated! Thank you!
|
Needs Investigation
|
low
|
Critical
|
616,080,433 |
TypeScript
|
Perf Regression in ant-design from #36744
|
Sub-issue of #38432
Regression introduced in #36744
**Steps**
1. `git clone --depth=1 https://github.com/ant-design/ant-design`
2. `cd ant-design`
3. `npm install --ignore-scripts`
4. `tsc --extendedDiagnostics --skipLibCheck --incremental false --pretty false -p tsconfig.json`
**Results**
cf6b641709e2b40030a6845f8c144a73267fb41b: 15981 ms
01c86c749d95496b9fcbd0301543cd3501a59877: 17094 ms (7% slower)
|
Domain: Performance
|
low
|
Major
|
616,098,182 |
godot
|
CollisionPolygon2D bug with one way collision
|
**Godot version:** 3.2.1
**OS/device including version:** Windows 10 x64
**Issue description:**
When you activate a CollisionShape2D with one way collision enabled, and if you have a CollisionPolygon2D, if you are on top of the CollisionShape and you fall from the sides to inside the CollisionShape2D, the CollisionPolygon2D get stucked in the CollisionShape2D
**Steps to reproduce:**
Create a new scene with a KinematicBody2D node and add some script to move it, add a CollisionPolygon2D as a child (CollisionPolygon2D with more then one color/triangulation). Then create a new scene with a CollisionShape2D with one way collision activated. Instance one scene into other and put the KinematicBody2D on top of the CollisionShape. Play the scene, with your KinematicBody2D fall from one of the sides of the CollisionShape and , while you are falling, go to the center of the CollisionShape2D, you will get stucked in the colors that are part of the CollisionPolygon2D
**Minimal reproduction project**
[MRP.zip](https://github.com/godotengine/godot/files/7306716/MRP.zip)
|
bug,topic:physics,topic:2d
|
low
|
Critical
|
616,133,613 |
go
|
proxy.golang.org: don't cache /@latest for modules that no longer exist at the upstream head revision
|
In gomodule/redigo#440, a nested `github.com/gomodule/redigo/redis` module was created and subsequently removed from the `github.com/gomodule/redigo` repository: today, the nested module does not exist at the head revision of that repo, and also does not exist in the latest tagged release of the parent module (`github.com/gomodule/redigo`).
In https://github.com/gomodule/redigo/pull/440#issuecomment-621892705 and https://github.com/gomodule/redigo/pull/440#issuecomment-621930004, I noted that `proxy.golang.org` was still serving an old commit for `/@latest` for the nested module over an hour later, even though `GOPROXY=direct` correctly reported that there was no `latest` version of that module, and even though `proxy.golang.org` did know about a higher (and later) pseudo-version of that module.
As a workaround, the owners of the repo had to tag an explicit release of the nested module, even though they did not intend for anyone to actually use that release.
I don't think that workaround should have been necessary: I think `proxy.golang.org` should not serve known-stale contents for the `/@latest` endpoint. That endpoint should be invalidated whenever a newer version of the named module is successfully fetched, even if that version is not itself `latest` (as interpreted by the `go` command).
That may mean that `/@latest` transitions from advertising a version of the module to no longer advertising any such version, but that behavior is no worse than what would happen if the repo owner took some other drastic action to remove the module β such as publishing a commit on the default branch with all of the source code deleted, or publishing a commit with the `module` line declaring some other path. Regardless of the reason, `proxy.golang.org` should view the affirmative non-existence of a module as a valid βlatestβ state for that module, and not get stuck advertising βthe last version that did existβ.
This only really matters for modules that never explicitly tagged any release or pre-release version, since the `go` command does not consult the `/@latest` endpoint unless the list of release and pre-release versions is empty.
(Note that, even if the `/@latest` endpoint itself does not advertise any version, the proxy _should_ continue to serve all previously-fetched versions of any module with a suitable license. I am _not_ proposing that we evict any explicit versions from the cache β only the `/@latest` endpoint itself.)
CC @jayconrod @matloob @katiehockman @heschik @hyangah @stevenh
|
NeedsInvestigation,modules,proxy.golang.org
|
medium
|
Major
|
616,144,529 |
go
|
x/build/cmd/gopherbot: generalize issue gardening tasks to work on all subrepos
|
Some of the subrepos maintain their own issue trackers, so it would be useful to have the general issue gardening tasks work on the subrepos. I've narrowed these tasks down to:
- Freezing old issues and closing issues in the WaitingForInfo state
- Automatically labeling proposals and documentation issues
- Applying labels from comments
|
Builders,NeedsInvestigation
|
low
|
Major
|
616,199,821 |
TypeScript
|
Using classes in jsdoc comments results in different behaviors depending on how the class was required
|
*TS Template added by @mjbvz*
**TypeScript Version**: 3.9.1
**Search Terms**
- javascript
- jsdoc
---
Issue Type: <b>Bug</b>
I have a class Foo in a file deep in my project.
Everything works fine if I require it directly: intellisense understands that when I use `Foo` in my jsdoc comments, I mean that I want instances of Foo:

But if I require the same file through other files, intellisense thinks I want the Foo class:

I have created an example repo that reproduces the problem here:
https://github.com/gaelhameon/vscode-intellisense-issue
Is this the expected behavior ?
If it is, is there a way to have the "instance" behavior without having to require the file directly ?
Thanks in advance!
VS Code version: Code 1.45.0 (d69a79b73808559a91206d73d7717ff5f798f23c, 2020-05-07T16:18:48.860Z)
OS version: Windows_NT x64 10.0.18362
<details>
<summary>System Info</summary>
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)|
|GPU Status|2d_canvas: enabled<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>protected_video_decode: enabled<br>rasterization: enabled<br>skia_renderer: disabled_off_ok<br>video_decode: enabled<br>viz_display_compositor: enabled_on<br>viz_hit_test_surface_layer: disabled_off_ok<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|7.82GB (1.53GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (5)</summary>
Extension|Author (truncated)|Version
---|---|---
javascript-test-runner-reloaded|ale|2.2.1
vscode-eslint|dba|2.1.5
gitlens|eam|10.2.1
vscode-pull-request-github|Git|0.16.0
vscode-commitizen|Kni|0.8.4
</details>
<!-- generated by issue reporter -->
|
Bug
|
low
|
Critical
|
616,202,186 |
pytorch
|
PyTorch's flip returns a new tensor, but NumPy's flip returns a view
|
PyTorch's flip returns a new tensor, which is inconsistent with NumPy's behavior of flip returning a view and PyTorch's own transpose behavior.
cc @mruberry
|
triaged,module: numpy
|
low
|
Minor
|
616,202,722 |
pytorch
|
PyTorch's rot90 returns a new tensor, inconsistent with NumPy's returning a view
|
PyTorch's rot90 returns a new tensor, which is inconsistent with NumPy's returning a view and PyTorch's own handling of similar operations, like transpose.
cc @mruberry
|
triaged,module: numpy
|
low
|
Minor
|
616,211,307 |
pytorch
|
Adding model metadata in TorchScript model file
|
## π Feature
Adding model metadata in TorchScript model file including:
1. Number of inputs and outputs
2. Datatype of inputs and outputs
3. Shape of inputs and outputs
It would greatly simply and improve model deployment and error handling for TorchScript models and add to the stability of the C++ Backend.
## Motivation
We are working on the [Triton Inference Server](https://github.com/NVIDIA/triton-inference-server) and support PyTorch (Libtorch) as one of the backends. The TorchScript model file (*.pt) does not contain sufficient metadata about the model such as the number, shape and datatypes of inputs and outputs. Our current workaround is for the user to specify this information manually.
As I understand, the shape data is not retained to allow for the model to be more generic. It would however be useful for us to have as much information about the model available in the model file itself. Without this we require the user to manually specify these details which can often be tedious and prone to error.
## Pitch
Both TensorFlow and ONNX models store such information and it makes it easier to verify this information and deploy these models.
In addition to this it might be useful to have an option for shape specific information to be retained. In cases where certain dimensions are allowed to be variable these dimensions could be represented with a dummy value such as -1. All this information would allow us to validate that the data being passed to the model for inference is indeed valid.
## Alternatives
I noted that there is a way to [add additional metadata](https://pytorch.org/docs/stable/notes/large_scale_deployments.html#attaching-metadata-to-saved-torchscript-models) manually to the model but that too is a manual process.
## Additional context
I had a discussion on the PyTorch Slack where I was informed that there exists function `inputs()` and `outputs()` [At least in Python] for the model that contains information about the number and datatype of the inputs however this required the `@torch.jit.script` decorator. Since there are two ways to export a model to torchscript (the second one using tracing) it could be useful and more user friendly to have this metadata _always_ added to the model file (as in TensorFlow and ONNX) since it would add negligible size.
cc @suo
|
triage review,oncall: jit,module: serialization
|
low
|
Critical
|
616,368,898 |
flutter
|
Getting errors when trying to run app on multiple emulators.
|
Whenever I try to run my Flutter app on multiple emulators I end up getting one of those two error messages:
This one comes before I run Flutter Clean on my console
```
What went wrong:
Execution failed for task ':app:cleanMergeDebugAssets'.
Unable to delete directory 'C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets\kernel_blob.bin
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets
New files were found. This might happen because a process is still writing to the target directory.
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets\vm_snapshot_data
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets\packages
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets\packages\cupertino_icons
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets\packages\cupertino_icons\assets
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets\packages\cupertino_icons\assets\CupertinoIcons.ttf
- C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_assets\debug\out\flutter_assets\LICENSE
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 9s
```
And this one comes after I run Flutter Clean
FAILURE: Build failed with an exception.
```
* What went wrong:
Execution failed for task ':app:packageDebug'.
> Several variant outputs are configured to use the same file name "resources-debug.ap_", filters : MAIN:MAIN
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 33s
```
Also, when i try to run Flutter Clean i get the error message below, and then i simply run it again and it works somehow.
> Failed to remove build. A program may still be using a file in the directory or the directory itself. To find and stop such a program, see: https://superuser.com/questions/1333118/cant-delete-empty-folder-because-it-is-used
<details>
<summary>flutter run -d all --verbose</summary>
```
[ +1 ms] Note: Recompile with -Xlint:deprecation for details.
[ +1 ms] > Task :google_sign_in_web:generateDebugBuildConfig UP-TO-DATE
[ +1 ms] > Task :google_sign_in_web:javaPreCompileDebug UP-TO-DATE
[ +94 ms] > Task :google_sign_in_web:compileDebugJavaWithJavac UP-TO-DATE
[ +1 ms] > Task :google_sign_in_web:bundleLibCompileDebug UP-TO-DATE
[ +1 ms] > Task :google_sign_in:javaPreCompileDebug UP-TO-DATE
[ +1 ms] > Task :google_sign_in:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :google_sign_in:bundleLibCompileDebug UP-TO-DATE
[ +2 ms] > Task :flutter_twitter_login:bundleLibCompileDebug
[ +9 ms] > Task :path_provider:generateDebugBuildConfig UP-TO-DATE
[ +1 ms] > Task :path_provider_macos:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :path_provider_macos:javaPreCompileDebug UP-TO-DATE
[ ] > Task :path_provider_macos:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :path_provider_macos:bundleLibCompileDebug UP-TO-DATE
[ +77 ms] > Task :shared_preferences:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :shared_preferences_macos:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :shared_preferences_macos:javaPreCompileDebug UP-TO-DATE
[ +198 ms] > Task :shared_preferences_macos:compileDebugJavaWithJavac
[ ] > Task :path_provider:javaPreCompileDebug
[ +250 ms] > Task :flutter_twitter_login:compileDebugJavaWithJavac
[ +4 ms] > Task :flutter_twitter_login:bundleLibCompileDebug UP-TO-DATE
[ +2 ms] > Task :shared_preferences_macos:javaPreCompileDebug
[ ] > Task :shared_preferences_macos:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :shared_preferences_macos:bundleLibCompileDebug UP-TO-DATE
[ ] > Task :google_sign_in:bundleLibCompileDebug
[ ] > Task :shared_preferences_web:javaPreCompileDebug
[ ] Note: C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_twitter_login-1.1.0\android\src\main\java\com\roughike\fluttertwitterlogin\fluttertwitterlogin\TwitterLoginPlugin.java uses or overrides a deprecated API.
[ +1 ms] Note: Recompile with -Xlint:deprecation for details.
[ +190 ms] > Task :shared_preferences_web:compileDebugJavaWithJavac
[ +11 ms] > Task :path_provider_macos:bundleLibCompileDebug
[ +15 ms] > Task :path_provider:javaPreCompileDebug UP-TO-DATE
[ +4 ms] > Task :path_provider:compileDebugJavaWithJavac UP-TO-DATE
[ +11 ms] > Task :shared_preferences_web:bundleLibCompileDebug
[ +1 ms] > Task :path_provider:bundleLibCompileDebug
[ +67 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ +4 ms] > Task :cloud_firestore:processDebugJavaRes NO-SOURCE
[ +3 ms] > Task :cloud_firestore_web:processDebugJavaRes NO-SOURCE
[ +26 ms] > Task :firebase_analytics:processDebugJavaRes NO-SOURCE
[ +3 ms] > Task :cloud_firestore:bundleLibResDebug
[ +1 ms] > Task :firebase_auth:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :cloud_firestore_web:bundleLibResDebug
[ ] > Task :firebase_auth_web:processDebugJavaRes NO-SOURCE
[ +47 ms] > Task :firebase_auth:bundleLibResDebug
[ +2 ms] > Task :firebase_core:processDebugJavaRes NO-SOURCE
[ +8 ms] > Task :firebase_analytics:bundleLibResDebug
[ +6 ms] > Task :firebase_core_web:processDebugJavaRes NO-SOURCE
[ ] > Task :firebase_crashlytics:processDebugJavaRes NO-SOURCE
[ ] > Task :flutter_facebook_login:processDebugJavaRes NO-SOURCE
[ ] > Task :flutter_twitter_login:processDebugJavaRes NO-SOURCE
[ +79 ms] > Task :shared_preferences:javaPreCompileDebug
[ +899 ms] > Task :shared_preferences:compileDebugJavaWithJavac
[ ] > Task :flutter_twitter_login:bundleLibResDebug
[ ] > Task :google_sign_in:processDebugJavaRes NO-SOURCE
[ ] > Task :google_sign_in_web:processDebugJavaRes NO-SOURCE
[ +97 ms] > Task :firebase_auth_web:bundleLibResDebug
[ ] > Task :path_provider:processDebugJavaRes NO-SOURCE
[ ] > Task :firebase_core:bundleLibResDebug
[ ] > Task :path_provider_macos:processDebugJavaRes NO-SOURCE
[ ] > Task :shared_preferences:bundleLibCompileDebug
[ +346 ms] > Task :path_provider:compileDebugJavaWithJavac
[ +100 ms] > Task :path_provider:bundleLibCompileDebug UP-TO-DATE
[ ] > Task :shared_preferences_web:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :shared_preferences_web:javaPreCompileDebug UP-TO-DATE
[ ] > Task :shared_preferences_web:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :shared_preferences_web:bundleLibCompileDebug UP-TO-DATE
[ ] > Task :shared_preferences_macos:bundleLibCompileDebug
[ +2 ms] > Task :shared_preferences:javaPreCompileDebug UP-TO-DATE
[ +8 ms] > Task :shared_preferences:compileDebugJavaWithJavac UP-TO-DATE
[ +1 ms] > Task :shared_preferences:bundleLibCompileDebug UP-TO-DATE
[+13438 ms] > Task :app:compileDebugKotlin
[ +145 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ ] > Task :cloud_firestore:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :cloud_firestore:bundleLibResDebug UP-TO-DATE
[ ] > Task :cloud_firestore_web:processDebugJavaRes NO-SOURCE
[ +2 ms] > Task :cloud_firestore_web:bundleLibResDebug UP-TO-DATE
[ +2 ms] > Task :firebase_analytics:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :firebase_analytics:bundleLibResDebug UP-TO-DATE
[ +1 ms] > Task :firebase_auth:processDebugJavaRes NO-SOURCE
[ ] > Task :firebase_auth:bundleLibResDebug UP-TO-DATE
[ +1 ms] > Task :firebase_auth_web:processDebugJavaRes NO-SOURCE
[ +2 ms] > Task :firebase_auth_web:bundleLibResDebug UP-TO-DATE
[ +12 ms] > Task :firebase_core:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :firebase_core:bundleLibResDebug UP-TO-DATE
[ +1 ms] > Task :firebase_core_web:processDebugJavaRes NO-SOURCE
[ +72 ms] > Task :firebase_core_web:bundleLibResDebug UP-TO-DATE
[ +1 ms] > Task :firebase_crashlytics:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :firebase_crashlytics:bundleLibResDebug UP-TO-DATE
[ +1 ms] > Task :flutter_facebook_login:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :flutter_facebook_login:bundleLibResDebug UP-TO-DATE
[ ] > Task :flutter_twitter_login:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :flutter_twitter_login:bundleLibResDebug UP-TO-DATE
[ ] > Task :google_sign_in:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :google_sign_in:bundleLibResDebug UP-TO-DATE
[ ] > Task :google_sign_in_web:processDebugJavaRes NO-SOURCE
[ ] > Task :google_sign_in_web:bundleLibResDebug UP-TO-DATE
[ ] > Task :path_provider:processDebugJavaRes NO-SOURCE
[ ] > Task :path_provider:bundleLibResDebug UP-TO-DATE
[ ] > Task :path_provider_macos:processDebugJavaRes NO-SOURCE
[ ] > Task :path_provider_macos:bundleLibResDebug UP-TO-DATE
[ ] > Task :shared_preferences:processDebugJavaRes NO-SOURCE
[ +83 ms] > Task :shared_preferences_macos:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :shared_preferences_web:processDebugJavaRes NO-SOURCE
[ ] > Task :shared_preferences_macos:bundleLibResDebug
[ ] > Task :shared_preferences:bundleLibResDebug
[ ] > Task :app:javaPreCompileDebug
[ +320 ms] > Task :app:compileDebugKotlin
[ +3 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[+6071 ms] > Task :app:compileDebugJavaWithJavac
[ ] > Task :app:compileDebugSources
[ ] > Task :shared_preferences_web:bundleLibResDebug
[ +650 ms] > Task :app:compileDebugJavaWithJavac
[ +1 ms] > Task :app:compileDebugSources
[ ] > Task :shared_preferences:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :shared_preferences:bundleLibResDebug UP-TO-DATE
[ +4 ms] > Task :shared_preferences_macos:processDebugJavaRes NO-SOURCE
[ ] > Task :shared_preferences_macos:bundleLibResDebug UP-TO-DATE
[ ] > Task :shared_preferences_web:processDebugJavaRes NO-SOURCE
[ ] > Task :shared_preferences_web:bundleLibResDebug UP-TO-DATE
[ ] > Task :firebase_core_web:bundleLibResDebug
[ +11 ms] > Task :path_provider:bundleLibResDebug
[ +8 ms] > Task :firebase_crashlytics:bundleLibResDebug
[ ] > Task :path_provider_macos:bundleLibResDebug
[ +1 ms] > Task :google_sign_in:bundleLibResDebug
[ ] > Task :google_sign_in_web:bundleLibResDebug
[ ] > Task :flutter_facebook_login:bundleLibResDebug
[+1895 ms] > Task :flutter_twitter_login:bundleLibRuntimeDebug
[ +82 ms] > Task :flutter_twitter_login:createFullJarDebug
[ ] > Task :shared_preferences:bundleLibRuntimeDebug
[ +46 ms] > Task :shared_preferences:createFullJarDebug
[ +90 ms] > Task :firebase_analytics:bundleLibRuntimeDebug
[ +2 ms] > Task :firebase_analytics:createFullJarDebug
[ +3 ms] > Task :flutter_facebook_login:bundleLibRuntimeDebug
[ +56 ms] > Task :flutter_facebook_login:createFullJarDebug
[ +25 ms] > Task :shared_preferences_web:bundleLibRuntimeDebug
[ +28 ms] > Task :shared_preferences_web:createFullJarDebug
[ +6 ms] > Task :shared_preferences_macos:bundleLibRuntimeDebug
[ +19 ms] > Task :shared_preferences_macos:createFullJarDebug
[ +5 ms] > Task :path_provider_macos:bundleLibRuntimeDebug
[ ] > Task :path_provider_macos:createFullJarDebug
[ +248 ms] > Task :flutter_twitter_login:bundleLibRuntimeDebug UP-TO-DATE
[ +3 ms] > Task :flutter_twitter_login:createFullJarDebug UP-TO-DATE
[ +117 ms] > Task :shared_preferences_macos:bundleLibRuntimeDebug UP-TO-DATE
[ +11 ms] > Task :shared_preferences_macos:createFullJarDebug UP-TO-DATE
[ +12 ms] > Task :shared_preferences_web:bundleLibRuntimeDebug UP-TO-DATE
[ ] > Task :shared_preferences_web:createFullJarDebug UP-TO-DATE
[ +7 ms] > Task :shared_preferences:bundleLibRuntimeDebug UP-TO-DATE
[ +1 ms] > Task :shared_preferences:createFullJarDebug UP-TO-DATE
[ +1 ms] > Task :firebase_analytics:bundleLibRuntimeDebug UP-TO-DATE
[ +4 ms] > Task :firebase_analytics:createFullJarDebug UP-TO-DATE
[ ] > Task :flutter_facebook_login:bundleLibRuntimeDebug UP-TO-DATE
[ +1 ms] > Task :flutter_facebook_login:createFullJarDebug UP-TO-DATE
[+1067 ms] > Task :path_provider_macos:bundleLibRuntimeDebug UP-TO-DATE
[ +47 ms] > Task :path_provider_macos:createFullJarDebug UP-TO-DATE
[+2102 ms] > Task :firebase_auth_web:bundleLibRuntimeDebug
[ +628 ms] > Task :firebase_auth_web:createFullJarDebug
[ +15 ms] > Task :firebase_core:bundleLibRuntimeDebug
[ +1 ms] > Task :firebase_core:createFullJarDebug
[ ] > Task :firebase_auth:bundleLibRuntimeDebug
[ +1 ms] > Task :firebase_auth:createFullJarDebug
[ ] > Task :firebase_core_web:bundleLibRuntimeDebug
[ ] > Task :firebase_core_web:createFullJarDebug
[ ] > Task :cloud_firestore:bundleLibRuntimeDebug
[ ] > Task :cloud_firestore:createFullJarDebug
[ ] > Task :cloud_firestore_web:bundleLibRuntimeDebug
[ +1 ms] > Task :cloud_firestore_web:createFullJarDebug
[ +277 ms] > Task :path_provider:bundleLibRuntimeDebug
[ +636 ms] > Task :path_provider:createFullJarDebug
[ +124 ms] > Task :firebase_crashlytics:bundleLibRuntimeDebug
[ +2 ms] > Task :firebase_crashlytics:createFullJarDebug
[ +1 ms] > Task :google_sign_in_web:bundleLibRuntimeDebug
[ +1 ms] > Task :google_sign_in_web:createFullJarDebug
[ +483 ms] > Task :path_provider:bundleLibRuntimeDebug UP-TO-DATE
[ +996 ms] > Task :path_provider:createFullJarDebug UP-TO-DATE
[ +348 ms] > Task :firebase_core_web:bundleLibRuntimeDebug UP-TO-DATE
[ +204 ms] > Task :firebase_core_web:createFullJarDebug UP-TO-DATE
[ +242 ms] > Task :firebase_core:bundleLibRuntimeDebug UP-TO-DATE
[ +677 ms] > Task :firebase_core:createFullJarDebug UP-TO-DATE
[ +185 ms] > Task :cloud_firestore_web:bundleLibRuntimeDebug UP-TO-DATE
[ +87 ms] > Task :cloud_firestore_web:createFullJarDebug UP-TO-DATE
[ +4 ms] > Task :cloud_firestore:bundleLibRuntimeDebug UP-TO-DATE
[ +2 ms] > Task :cloud_firestore:createFullJarDebug UP-TO-DATE
[ +14 ms] > Task :firebase_auth_web:bundleLibRuntimeDebug UP-TO-DATE
[ +6 ms] > Task :firebase_auth_web:createFullJarDebug UP-TO-DATE
[ +11 ms] > Task :firebase_auth:bundleLibRuntimeDebug UP-TO-DATE
[ +2 ms] > Task :firebase_auth:createFullJarDebug UP-TO-DATE
[ ] > Task :google_sign_in_web:bundleLibRuntimeDebug UP-TO-DATE
[ +1 ms] > Task :google_sign_in_web:createFullJarDebug UP-TO-DATE
[ +1 ms] > Task :firebase_crashlytics:bundleLibRuntimeDebug UP-TO-DATE
[ +1 ms] > Task :firebase_crashlytics:createFullJarDebug UP-TO-DATE
[ +2 ms] > Task :google_sign_in:bundleLibRuntimeDebug UP-TO-DATE
[ +7 ms] > Task :google_sign_in:createFullJarDebug
[ +7 ms] > Task :google_sign_in:bundleLibRuntimeDebug
[ +3 ms] > Task :google_sign_in:createFullJarDebug UP-TO-DATE
[ +9 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ +2 ms] > Task :app:validateSigningDebug UP-TO-DATE
[ ] > Task :app:signingConfigWriterDebug
[ +3 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +4 ms] > Task :app:validateSigningDebug
[ +2 ms] > Task :app:checkDebugDuplicateClasses
[+8305 ms] > Task :app:transformClassesWithDexBuilderForDebug
[+3055 ms] > Task :app:mergeDebugJavaResource
[ +94 ms] > Task :app:mergeDebugJniLibFolders
[ +17 ms] > Task :cloud_firestore:mergeDebugJniLibFolders
[ +6 ms] > Task :cloud_firestore_web:mergeDebugJniLibFolders
[ +87 ms] > Task :firebase_analytics:mergeDebugJniLibFolders
[ +14 ms] > Task :cloud_firestore_web:mergeDebugNativeLibs
[ +2 ms] > Task :cloud_firestore_web:stripDebugDebugSymbols
[ +1 ms] > Task :cloud_firestore_web:transformNativeLibsWithIntermediateJniLibsForDebug
[ +8 ms] > Task :firebase_auth:mergeDebugJniLibFolders
[ +12 ms] > Task :firebase_auth_web:mergeDebugJniLibFolders
[ +59 ms] > Task :firebase_analytics:mergeDebugNativeLibs
[ +6 ms] > Task :firebase_analytics:stripDebugDebugSymbols
[ +9 ms] > Task :firebase_analytics:transformNativeLibsWithIntermediateJniLibsForDebug
[ +5 ms] > Task :firebase_core:mergeDebugJniLibFolders
[ +4 ms] > Task :firebase_auth_web:mergeDebugNativeLibs
[ +8 ms] > Task :firebase_auth_web:stripDebugDebugSymbols
[ +2 ms] > Task :firebase_auth_web:transformNativeLibsWithIntermediateJniLibsForDebug
[ +130 ms] > Task :firebase_core_web:mergeDebugJniLibFolders
[ +10 ms] > Task :firebase_core:mergeDebugNativeLibs
[ +12 ms] > Task :firebase_core:stripDebugDebugSymbols
[ +2 ms] > Task :firebase_core:transformNativeLibsWithIntermediateJniLibsForDebug
[ +2 ms] > Task :firebase_crashlytics:mergeDebugJniLibFolders
[ +2 ms] > Task :firebase_core_web:mergeDebugNativeLibs
[ ] > Task :firebase_core_web:stripDebugDebugSymbols
[ ] > Task :firebase_core_web:transformNativeLibsWithIntermediateJniLibsForDebug
[ +2 ms] > Task :flutter_facebook_login:mergeDebugJniLibFolders
[ ] > Task :flutter_twitter_login:mergeDebugJniLibFolders
[ +194 ms] > Task :flutter_facebook_login:mergeDebugNativeLibs
[ +419 ms] > Task :flutter_facebook_login:stripDebugDebugSymbols
[ +14 ms] > Task :flutter_facebook_login:transformNativeLibsWithIntermediateJniLibsForDebug
[ +10 ms] > Task :google_sign_in:mergeDebugJniLibFolders
[ +19 ms] > Task :flutter_twitter_login:mergeDebugNativeLibs
[ +10 ms] > Task :flutter_twitter_login:stripDebugDebugSymbols
[ +7 ms] > Task :flutter_twitter_login:transformNativeLibsWithIntermediateJniLibsForDebug
[ +1 ms] > Task :google_sign_in_web:mergeDebugJniLibFolders
[ ] > Task :google_sign_in:mergeDebugNativeLibs
[ ] > Task :google_sign_in:stripDebugDebugSymbols
[ +24 ms] > Task :google_sign_in:transformNativeLibsWithIntermediateJniLibsForDebug
[ +21 ms] > Task :path_provider:mergeDebugJniLibFolders
[ +12 ms] > Task :path_provider_macos:mergeDebugJniLibFolders
[ ] > Task :google_sign_in_web:mergeDebugNativeLibs
[ +1 ms] > Task :google_sign_in_web:stripDebugDebugSymbols
[ +1 ms] > Task :google_sign_in_web:transformNativeLibsWithIntermediateJniLibsForDebug
[ +43 ms] > Task :shared_preferences:mergeDebugJniLibFolders
[ +3 ms] > Task :path_provider_macos:mergeDebugNativeLibs
[ +1 ms] > Task :path_provider_macos:stripDebugDebugSymbols
[ +7 ms] > Task :path_provider_macos:transformNativeLibsWithIntermediateJniLibsForDebug
[ +9 ms] > Task :shared_preferences_macos:mergeDebugJniLibFolders
[ +1 ms] > Task :firebase_auth:mergeDebugNativeLibs
[ +75 ms] > Task :firebase_auth:stripDebugDebugSymbols
[ +8 ms] > Task :firebase_auth:transformNativeLibsWithIntermediateJniLibsForDebug
[ +9 ms] > Task :shared_preferences_web:mergeDebugJniLibFolders
[ ] > Task :shared_preferences_macos:mergeDebugNativeLibs
[ +6 ms] > Task :shared_preferences_macos:stripDebugDebugSymbols
[ +1 ms] > Task :shared_preferences_macos:transformNativeLibsWithIntermediateJniLibsForDebug
[ +73 ms] > Task :cloud_firestore:extractDebugAnnotations
[ ] > Task :cloud_firestore:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :cloud_firestore:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :cloud_firestore:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :cloud_firestore:compileDebugSources
[ +178 ms] > Task :cloud_firestore_web:extractDebugAnnotations
[ +426 ms] > Task :cloud_firestore_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +25 ms] > Task :cloud_firestore_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +8 ms] > Task :cloud_firestore_web:prepareLintJarForPublish UP-TO-DATE
[ +2 ms] > Task :shared_preferences_web:mergeDebugNativeLibs
[ +3 ms] > Task :shared_preferences_web:stripDebugDebugSymbols
[ +2 ms] > Task :shared_preferences_web:transformNativeLibsWithIntermediateJniLibsForDebug
[ +25 ms] > Task :cloud_firestore_web:transformNativeLibsWithSyncJniLibsForDebug
[ +58 ms] > Task :cloud_firestore_web:compileDebugSources
[ +18 ms] > Task :firebase_analytics:extractDebugAnnotations
[ +52 ms] > Task :firebase_analytics:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +13 ms] > Task :firebase_analytics:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +6 ms] > Task :firebase_analytics:prepareLintJarForPublish UP-TO-DATE
[ +5 ms] > Task :firebase_crashlytics:mergeDebugNativeLibs
[ +6 ms] > Task :firebase_crashlytics:stripDebugDebugSymbols
[ +5 ms] > Task :cloud_firestore_web:mergeDebugJavaResource
[ +1 ms] > Task :firebase_crashlytics:transformNativeLibsWithIntermediateJniLibsForDebug
[ +4 ms] > Task :app:transformClassesWithDexBuilderForDebug
[ +2 ms] > Task :app:signingConfigWriterDebug UP-TO-DATE
[ +1 ms] > Task :app:desugarDebugFileDependencies
[ +17 ms] > Task :app:mergeDebugJavaResource
[ +8 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ +2 ms] > Task :cloud_firestore:mergeDebugJniLibFolders UP-TO-DATE
[ +2 ms] > Task :cloud_firestore:mergeDebugNativeLibs UP-TO-DATE
[ +174 ms] > Task :cloud_firestore:stripDebugDebugSymbols
[ +17 ms] > Task :cloud_firestore:transformNativeLibsWithIntermediateJniLibsForDebug
[ +7 ms] > Task :cloud_firestore_web:mergeDebugJniLibFolders UP-TO-DATE
[ +128 ms] > Task :cloud_firestore_web:mergeDebugNativeLibs UP-TO-DATE
[ +19 ms] > Task :cloud_firestore_web:stripDebugDebugSymbols UP-TO-DATE
[ +2 ms] > Task :cloud_firestore_web:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +1 ms] > Task :firebase_analytics:mergeDebugJniLibFolders UP-TO-DATE
[ +1 ms] > Task :firebase_analytics:mergeDebugNativeLibs UP-TO-DATE
[ +16 ms] > Task :firebase_analytics:stripDebugDebugSymbols UP-TO-DATE
[ +1 ms] > Task :firebase_analytics:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_auth:mergeDebugJniLibFolders UP-TO-DATE
[ +52 ms] > Task :firebase_auth:mergeDebugNativeLibs UP-TO-DATE
[ +692 ms] > Task :firebase_auth:stripDebugDebugSymbols UP-TO-DATE
[ +404 ms] > Task :firebase_auth:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +8 ms] > Task :firebase_auth_web:mergeDebugJniLibFolders UP-TO-DATE
[ +3 ms] > Task :firebase_auth_web:mergeDebugNativeLibs UP-TO-DATE
[ +2 ms] > Task :firebase_auth_web:stripDebugDebugSymbols UP-TO-DATE
[ +17 ms] > Task :firebase_auth_web:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +2 ms] > Task :firebase_core:mergeDebugJniLibFolders UP-TO-DATE
[ +3 ms] > Task :firebase_core:mergeDebugNativeLibs UP-TO-DATE
[ +296 ms] > Task :firebase_core:stripDebugDebugSymbols UP-TO-DATE
[ +243 ms] > Task :firebase_core:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +6 ms] > Task :firebase_core_web:mergeDebugJniLibFolders UP-TO-DATE
[ +7 ms] > Task :firebase_core_web:mergeDebugNativeLibs UP-TO-DATE
[ +13 ms] > Task :firebase_core_web:stripDebugDebugSymbols UP-TO-DATE
[ +2 ms] > Task :firebase_core_web:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +1 ms] > Task :firebase_crashlytics:mergeDebugJniLibFolders UP-TO-DATE
[ +1 ms] > Task :firebase_crashlytics:mergeDebugNativeLibs UP-TO-DATE
[ +2 ms] > Task :firebase_crashlytics:stripDebugDebugSymbols UP-TO-DATE
[ +9 ms] > Task :firebase_crashlytics:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +3 ms] > Task :flutter_facebook_login:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :flutter_facebook_login:mergeDebugNativeLibs UP-TO-DATE
[ +1 ms] > Task :flutter_facebook_login:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :flutter_facebook_login:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +1 ms] > Task :flutter_twitter_login:mergeDebugJniLibFolders UP-TO-DATE
[ +2 ms] > Task :flutter_twitter_login:mergeDebugNativeLibs UP-TO-DATE
[ +9 ms] > Task :flutter_twitter_login:stripDebugDebugSymbols UP-TO-DATE
[ +3 ms] > Task :flutter_twitter_login:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +31 ms] > Task :google_sign_in:mergeDebugJniLibFolders UP-TO-DATE
[ +16 ms] > Task :google_sign_in:mergeDebugNativeLibs UP-TO-DATE
[ +2 ms] > Task :google_sign_in:stripDebugDebugSymbols UP-TO-DATE
[ +6 ms] > Task :google_sign_in:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +2 ms] > Task :google_sign_in_web:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :google_sign_in_web:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :google_sign_in_web:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :google_sign_in_web:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] > Task :path_provider:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :path_provider:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :path_provider:stripDebugDebugSymbols
[ ] > Task :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug
[ ] > Task :path_provider_macos:mergeDebugJniLibFolders UP-TO-DATE
[ +1 ms] > Task :path_provider_macos:mergeDebugNativeLibs UP-TO-DATE
[ +3 ms] > Task :path_provider_macos:stripDebugDebugSymbols UP-TO-DATE
[ +1 ms] > Task :path_provider_macos:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] > Task :shared_preferences:mergeDebugJniLibFolders UP-TO-DATE
[ +1 ms] > Task :shared_preferences:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :shared_preferences:stripDebugDebugSymbols
[ +1 ms] > Task :shared_preferences:transformNativeLibsWithIntermediateJniLibsForDebug
[ +2 ms] > Task :shared_preferences_macos:mergeDebugJniLibFolders UP-TO-DATE
[ +1 ms] > Task :shared_preferences_macos:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :shared_preferences_macos:stripDebugDebugSymbols UP-TO-DATE
[ +24 ms] > Task :shared_preferences_macos:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +4 ms] > Task :shared_preferences_web:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :shared_preferences_web:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :shared_preferences_web:stripDebugDebugSymbols UP-TO-DATE
[ +9 ms] > Task :shared_preferences_web:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +1 ms] > Task :cloud_firestore:extractDebugAnnotations UP-TO-DATE
[ +1 ms] > Task :cloud_firestore:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :cloud_firestore:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +2 ms] > Task :cloud_firestore:prepareLintJarForPublish UP-TO-DATE
[ +2 ms] > Task :cloud_firestore:mergeDebugJavaResource UP-TO-DATE
[ +1 ms] > Task :cloud_firestore:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +8 ms] > Task :cloud_firestore:transformNativeLibsWithSyncJniLibsForDebug
[ +2 ms] > Task :cloud_firestore:bundleDebugAar
[ +1 ms] > Task :cloud_firestore:compileDebugSources
[ ] > Task :cloud_firestore:assembleDebug
[ ] > Task :cloud_firestore_web:extractDebugAnnotations UP-TO-DATE
[ +3 ms] > Task :cloud_firestore_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +4 ms] > Task :cloud_firestore_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :cloud_firestore_web:prepareLintJarForPublish UP-TO-DATE
[ +3 ms] > Task :cloud_firestore_web:mergeDebugJavaResource UP-TO-DATE
[ +62 ms] > Task :cloud_firestore_web:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ +1 ms] > Task :cloud_firestore_web:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ +1 ms] > Task :cloud_firestore_web:bundleDebugAar
[ +4 ms] > Task :cloud_firestore_web:compileDebugSources UP-TO-DATE
[ +1 ms] > Task :cloud_firestore_web:assembleDebug
[ +1 ms] > Task :firebase_analytics:extractDebugAnnotations UP-TO-DATE
[ +3 ms] > Task :firebase_analytics:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +4 ms] > Task :firebase_analytics:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +3 ms] > Task :firebase_analytics:prepareLintJarForPublish UP-TO-DATE
[ +2 ms] > Task :firebase_analytics:mergeDebugJavaResource UP-TO-DATE
[ +2 ms] > Task :firebase_analytics:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +1 ms] > Task :firebase_analytics:transformNativeLibsWithSyncJniLibsForDebug
[ +11 ms] > Task :firebase_analytics:bundleDebugAar
[ +2 ms] > Task :firebase_analytics:compileDebugSources UP-TO-DATE
[ +2 ms] > Task :firebase_analytics:assembleDebug
[ +4 ms] > Task :firebase_auth:extractDebugAnnotations
[ ] > Task :firebase_auth:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +8 ms] > Task :firebase_auth:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :firebase_auth:prepareLintJarForPublish UP-TO-DATE
[ +19 ms] > Task :firebase_auth:transformNativeLibsWithSyncJniLibsForDebug
[ +2 ms] > Task :firebase_auth:compileDebugSources UP-TO-DATE
[ +9 ms] > Task :firebase_auth_web:extractDebugAnnotations
[ +2 ms] > Task :firebase_auth_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_auth_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :firebase_auth_web:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :firebase_auth_web:transformNativeLibsWithSyncJniLibsForDebug
[ +4 ms] > Task :firebase_auth_web:compileDebugSources UP-TO-DATE
[ +74 ms] > Task :firebase_core:extractDebugAnnotations
[ +6 ms] > Task :firebase_core:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +41 ms] > Task :firebase_core:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +99 ms] > Task :firebase_core:prepareLintJarForPublish UP-TO-DATE
[ +7 ms] > Task :firebase_auth:mergeDebugJavaResource
[ +2 ms] > Task :firebase_auth:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +49 ms] > Task :firebase_auth:bundleDebugAar
[ +3 ms] > Task :firebase_auth:assembleDebug
[ +5 ms] > Task :firebase_core:transformNativeLibsWithSyncJniLibsForDebug
[ ] > Task :firebase_core:compileDebugSources UP-TO-DATE
[ +238 ms] > Task :firebase_core_web:extractDebugAnnotations
[ +174 ms] > Task :firebase_core_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +113 ms] > Task :firebase_core_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +46 ms] > Task :firebase_core_web:prepareLintJarForPublish UP-TO-DATE
[ +25 ms] > Task :firebase_core:mergeDebugJavaResource
[ +7 ms] > Task :firebase_core:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +2 ms] > Task :firebase_core:bundleDebugAar
[ +109 ms] > Task :firebase_core:assembleDebug
[ +8 ms] > Task :firebase_core_web:transformNativeLibsWithSyncJniLibsForDebug
[ +2 ms] > Task :firebase_core_web:compileDebugSources UP-TO-DATE
[ +1 ms] > Task :firebase_crashlytics:extractDebugAnnotations
[ ] > Task :firebase_crashlytics:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_crashlytics:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :firebase_crashlytics:prepareLintJarForPublish UP-TO-DATE
[ +35 ms] > Task :firebase_crashlytics:transformNativeLibsWithSyncJniLibsForDebug
[ +75 ms] > Task :firebase_crashlytics:compileDebugSources UP-TO-DATE
[ +83 ms] > Task :flutter_facebook_login:extractDebugAnnotations
[ +248 ms] > Task :flutter_facebook_login:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +4 ms] > Task :flutter_facebook_login:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :flutter_facebook_login:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_core_web:mergeDebugJavaResource
[ +2 ms] > Task :firebase_core_web:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +7 ms] > Task :firebase_core_web:bundleDebugAar
[ +3 ms] > Task :firebase_core_web:assembleDebug
[ +1 ms] > Task :flutter_facebook_login:transformNativeLibsWithSyncJniLibsForDebug
[ +1 ms] > Task :flutter_facebook_login:compileDebugSources UP-TO-DATE
[ ] > Task :flutter_twitter_login:extractDebugAnnotations
[ +13 ms] > Task :flutter_facebook_login:mergeDebugJavaResource
[ +2 ms] > Task :flutter_facebook_login:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +5 ms] > Task :flutter_facebook_login:bundleDebugAar
[ +3 ms] > Task :flutter_facebook_login:assembleDebug
[ ] > Task :flutter_twitter_login:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :flutter_twitter_login:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :flutter_twitter_login:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_auth_web:mergeDebugJavaResource
[ +1 ms] > Task :firebase_auth_web:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +6 ms] > Task :firebase_auth_web:bundleDebugAar
[ +4 ms] > Task :firebase_auth_web:assembleDebug
[ +3 ms] > Task :flutter_twitter_login:transformNativeLibsWithSyncJniLibsForDebug
[ +1 ms] > Task :flutter_twitter_login:compileDebugSources
[ +2 ms] > Task :google_sign_in:extractDebugAnnotations
[ +5 ms] > Task :google_sign_in:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :google_sign_in:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :google_sign_in:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :flutter_twitter_login:mergeDebugJavaResource
[ +22 ms] > Task :flutter_twitter_login:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +2 ms] > Task :flutter_twitter_login:bundleDebugAar
[ +1 ms] > Task :flutter_twitter_login:assembleDebug
[ ] > Task :google_sign_in:transformNativeLibsWithSyncJniLibsForDebug
[ +1 ms] > Task :google_sign_in:compileDebugSources UP-TO-DATE
[ ] > Task :google_sign_in_web:extractDebugAnnotations
[ ] > Task :google_sign_in_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :google_sign_in_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :google_sign_in_web:prepareLintJarForPublish UP-TO-DATE
[ +100 ms] > Task :google_sign_in_web:transformNativeLibsWithSyncJniLibsForDebug
[ +3 ms] > Task :google_sign_in_web:compileDebugSources UP-TO-DATE
[ +6 ms] > Task :path_provider:extractDebugAnnotations
[ ] > Task :path_provider:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +3 ms] > Task :path_provider:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +2 ms] > Task :path_provider:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :google_sign_in:mergeDebugJavaResource
[ +72 ms] > Task :google_sign_in:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +7 ms] > Task :google_sign_in:bundleDebugAar
[ +5 ms] > Task :google_sign_in:assembleDebug
[ ] > Task :path_provider:transformNativeLibsWithSyncJniLibsForDebug
[ ] > Task :path_provider:compileDebugSources
[ +88 ms] > Task :path_provider_macos:extractDebugAnnotations
[ +4 ms] > Task :path_provider_macos:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :path_provider_macos:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :path_provider_macos:prepareLintJarForPublish UP-TO-DATE
[ +2 ms] > Task :path_provider_macos:transformNativeLibsWithSyncJniLibsForDebug
[ +2 ms] > Task :path_provider_macos:compileDebugSources UP-TO-DATE
[ +85 ms] > Task :shared_preferences:extractDebugAnnotations
[ +1 ms] > Task :shared_preferences:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +2 ms] > Task :shared_preferences:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +10 ms] > Task :shared_preferences:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :google_sign_in_web:mergeDebugJavaResource
[ ] > Task :google_sign_in_web:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +84 ms] > Task :google_sign_in_web:bundleDebugAar
[ +3 ms] > Task :google_sign_in_web:assembleDebug
[ ] > Task :shared_preferences:transformNativeLibsWithSyncJniLibsForDebug
[ +2 ms] > Task :shared_preferences:compileDebugSources UP-TO-DATE
[ +89 ms] > Task :shared_preferences_macos:extractDebugAnnotations
[ ] > Task :shared_preferences_macos:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences_macos:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences_macos:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :shared_preferences:mergeDebugJavaResource
[ ] > Task :shared_preferences:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +1 ms] > Task :shared_preferences:bundleDebugAar
[ +2 ms] > Task :shared_preferences:assembleDebug
[ +91 ms] > Task :shared_preferences_macos:transformNativeLibsWithSyncJniLibsForDebug
[ +5 ms] > Task :shared_preferences_macos:compileDebugSources
[ +5 ms] > Task :shared_preferences_web:extractDebugAnnotations
[ ] > Task :shared_preferences_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +2 ms] > Task :shared_preferences_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :shared_preferences_web:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :shared_preferences_macos:mergeDebugJavaResource
[ +1 ms] > Task :shared_preferences_macos:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +83 ms] > Task :shared_preferences_macos:bundleDebugAar
[ +1 ms] > Task :shared_preferences_macos:assembleDebug
[ ] > Task :shared_preferences_web:transformNativeLibsWithSyncJniLibsForDebug
[ ] > Task :shared_preferences_web:compileDebugSources UP-TO-DATE
[ ] > Task :path_provider:mergeDebugJavaResource
[ +1 ms] > Task :path_provider:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +1 ms] > Task :path_provider:bundleDebugAar
[ ] > Task :path_provider:assembleDebug
[ +1 ms] > Task :app:multiDexListDebug
[ +290 ms] > Task :firebase_crashlytics:mergeDebugJavaResource
[ +1 ms] > Task :firebase_crashlytics:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +98 ms] > Task :firebase_crashlytics:bundleDebugAar
[ +1 ms] > Task :firebase_crashlytics:assembleDebug
[ ] > Task :shared_preferences_web:mergeDebugJavaResource
[ +2 ms] > Task :shared_preferences_web:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +9 ms] > Task :shared_preferences_web:bundleDebugAar
[ ] > Task :shared_preferences_web:assembleDebug
[ ] > Task :path_provider_macos:mergeDebugJavaResource
[ ] > Task :path_provider_macos:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +83 ms] > Task :path_provider_macos:bundleDebugAar
[ +1 ms] > Task :path_provider_macos:assembleDebug
[ +151 ms] > Task :cloud_firestore_web:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +4 ms] > Task :cloud_firestore_web:bundleDebugAar UP-TO-DATE
[ +3 ms] > Task :cloud_firestore_web:assembleDebug
[ +89 ms] > Task :firebase_analytics:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_analytics:compileDebugSources
[ ] > Task :firebase_auth:extractDebugAnnotations UP-TO-DATE
[ ] > Task :firebase_auth:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_auth:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :firebase_auth:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_auth:mergeDebugJavaResource UP-TO-DATE
[ +2 ms] > Task :firebase_auth:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :firebase_auth:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_auth:bundleDebugAar UP-TO-DATE
[ ] > Task :firebase_auth:compileDebugSources
[ ] > Task :firebase_auth:assembleDebug
[ ] > Task :firebase_auth_web:extractDebugAnnotations UP-TO-DATE
[ +1 ms] > Task :firebase_auth_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +8 ms] > Task :firebase_auth_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +79 ms] > Task :firebase_auth_web:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :firebase_auth_web:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :firebase_auth_web:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :firebase_auth_web:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_auth_web:bundleDebugAar UP-TO-DATE
[ +1 ms] > Task :firebase_auth_web:compileDebugSources
[ +1 ms] > Task :firebase_auth_web:assembleDebug
[ ] > Task :firebase_core:extractDebugAnnotations UP-TO-DATE
[ ] > Task :firebase_core:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +2 ms] > Task :firebase_core:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :firebase_core:prepareLintJarForPublish UP-TO-DATE
[ +4 ms] > Task :firebase_core:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :firebase_core:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :firebase_core:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_core:bundleDebugAar UP-TO-DATE
[ +2 ms] > Task :firebase_core:compileDebugSources
[ +13 ms] > Task :firebase_core:assembleDebug
[ +1 ms] > Task :firebase_core_web:extractDebugAnnotations UP-TO-DATE
[ ] > Task :firebase_core_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +64 ms] > Task :firebase_core_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +2 ms] > Task :firebase_core_web:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_core_web:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :firebase_core_web:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :firebase_core_web:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_core_web:bundleDebugAar UP-TO-DATE
[ ] > Task :firebase_core_web:compileDebugSources
[ +3 ms] > Task :firebase_core_web:assembleDebug
[ +1 ms] > Task :firebase_crashlytics:extractDebugAnnotations UP-TO-DATE
[ ] > Task :firebase_crashlytics:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_crashlytics:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :firebase_crashlytics:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_crashlytics:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :shared_preferences:mergeDebugNativeLibs
[ ] > Task :shared_preferences:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :shared_preferences:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_crashlytics:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ +83 ms] > Task :firebase_crashlytics:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ +17 ms] > Task :firebase_crashlytics:bundleDebugAar UP-TO-DATE
[ +46 ms] > Task :firebase_crashlytics:compileDebugSources
[ +15 ms] > Task :firebase_crashlytics:assembleDebug
[ +7 ms] > Task :flutter_facebook_login:extractDebugAnnotations UP-TO-DATE
[ ] > Task :flutter_facebook_login:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :flutter_facebook_login:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :flutter_facebook_login:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :flutter_facebook_login:mergeDebugJavaResource UP-TO-DATE
[ +1 ms] > Task :flutter_facebook_login:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :flutter_facebook_login:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ +1 ms] > Task :flutter_facebook_login:bundleDebugAar UP-TO-DATE
[ +4 ms] > Task :flutter_facebook_login:compileDebugSources
[ +10 ms] > Task :flutter_facebook_login:assembleDebug
[ +3 ms] > Task :flutter_twitter_login:extractDebugAnnotations UP-TO-DATE
[ +2 ms] > Task :flutter_twitter_login:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :flutter_twitter_login:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :flutter_twitter_login:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :flutter_twitter_login:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :flutter_twitter_login:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :flutter_twitter_login:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :flutter_twitter_login:bundleDebugAar UP-TO-DATE
[ +1 ms] > Task :flutter_twitter_login:compileDebugSources
[ +3 ms] > Task :flutter_twitter_login:assembleDebug
[ +1 ms] > Task :google_sign_in:extractDebugAnnotations UP-TO-DATE
[ +75 ms] > Task :google_sign_in:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +4 ms] > Task :google_sign_in:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +6 ms] > Task :google_sign_in:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :cloud_firestore:mergeDebugNativeLibs
[ +2 ms] > Task :cloud_firestore:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :cloud_firestore:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] > Task :cloud_firestore:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :google_sign_in:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :google_sign_in:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :google_sign_in:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :google_sign_in:bundleDebugAar UP-TO-DATE
[ ] > Task :google_sign_in:compileDebugSources
[ +1 ms] > Task :google_sign_in:assembleDebug
[ +2 ms] > Task :google_sign_in_web:extractDebugAnnotations UP-TO-DATE
[ ] > Task :google_sign_in_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :google_sign_in_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :google_sign_in_web:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :google_sign_in_web:mergeDebugJavaResource UP-TO-DATE
[ +72 ms] > Task :google_sign_in_web:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ +8 ms] > Task :google_sign_in_web:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ +5 ms] > Task :google_sign_in_web:bundleDebugAar UP-TO-DATE
[ +2 ms] > Task :google_sign_in_web:compileDebugSources
[ ] > Task :google_sign_in_web:assembleDebug
[ +1 ms] > Task :path_provider:extractDebugAnnotations UP-TO-DATE
[ +2 ms] > Task :path_provider:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :path_provider:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :path_provider:prepareLintJarForPublish UP-TO-DATE
[ +2 ms] > Task :path_provider:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :path_provider:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ +3 ms] > Task :path_provider:compileDebugSources UP-TO-DATE
[ +9 ms] > Task :path_provider_macos:extractDebugAnnotations UP-TO-DATE
[ ] > Task :path_provider_macos:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :path_provider_macos:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :path_provider_macos:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :path_provider_macos:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :path_provider_macos:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :app:multiDexListDebug
[ +248 ms] > Task :path_provider_macos:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ +1 ms] > Task :path_provider_macos:bundleDebugAar UP-TO-DATE
[ +1 ms] > Task :path_provider_macos:compileDebugSources
[ +4 ms] > Task :path_provider_macos:assembleDebug
[ +92 ms] > Task :shared_preferences:extractDebugAnnotations UP-TO-DATE
[ +10 ms] > Task :shared_preferences:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +21 ms] > Task :shared_preferences:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +2 ms] > Task :shared_preferences:prepareLintJarForPublish UP-TO-DATE
[ +6 ms] > Task :shared_preferences:mergeDebugJavaResource UP-TO-DATE
[ +1 ms] > Task :shared_preferences:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ +2 ms] > Task :shared_preferences:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :shared_preferences:bundleDebugAar UP-TO-DATE
[ ] > Task :shared_preferences:compileDebugSources
[ ] > Task :shared_preferences:assembleDebug
[ ] > Task :shared_preferences_macos:extractDebugAnnotations UP-TO-DATE
[ ] > Task :shared_preferences_macos:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences_macos:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences_macos:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :shared_preferences_macos:mergeDebugJavaResource UP-TO-DATE
[ +1 ms] > Task :shared_preferences_macos:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ +2 ms] > Task :shared_preferences_macos:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :path_provider:mergeDebugNativeLibs
[ ] > Task :path_provider:stripDebugDebugSymbols UP-TO-DATE
[ +43 ms] > Task :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +738 ms] > Task :firebase_analytics:mergeDebugJavaResource
[ +62 ms] > Task :firebase_analytics:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ +1 ms] > Task :firebase_analytics:bundleDebugAar UP-TO-DATE
[ ] > Task :firebase_analytics:assembleDebug
[ ] > Task :path_provider:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ +236 ms] > Task :path_provider:bundleDebugAar UP-TO-DATE
[ +173 ms] > Task :path_provider:assembleDebug UP-TO-DATE
[ +79 ms] > Task :shared_preferences_macos:bundleDebugAar UP-TO-DATE
[ +44 ms] > Task :shared_preferences_macos:compileDebugSources UP-TO-DATE
[ +12 ms] > Task :shared_preferences_macos:assembleDebug UP-TO-DATE
[ +16 ms] > Task :shared_preferences_web:extractDebugAnnotations UP-TO-DATE
[ +1 ms] > Task :shared_preferences_web:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ +3 ms] > Task :shared_preferences_web:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +2 ms] > Task :shared_preferences_web:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :shared_preferences_web:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :shared_preferences_web:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :shared_preferences_web:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :cloud_firestore:mergeDebugJavaResource
[ +1 ms] > Task :cloud_firestore:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :cloud_firestore:bundleDebugAar UP-TO-DATE
[ +1 ms] > Task :cloud_firestore:assembleDebug
[ +1 ms] > Task :shared_preferences_web:bundleDebugAar UP-TO-DATE
[ +1 ms] > Task :shared_preferences_web:compileDebugSources
[ +5 ms] > Task :shared_preferences_web:assembleDebug
[ +6 ms] > Task :app:mergeDebugNativeLibs FAILED
[+5582 ms] > Task :app:mergeDebugNativeLibs
[ +367 ms] Unable to strip library 'C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_native_libs\debug\out\lib\x86_64\libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
[+1547 ms] > Task :app:stripDebugDebugSymbols
[ +830 ms] Compatible side by side NDK version was not found.
[ +923 ms] > Task :app:mergeDexDebug
[+1972 ms] > Task :app:mergeDexDebug
[ +41 ms] w: Detected multiple Kotlin daemon sessions at ..\build\kotlin\sessions
[ +48 ms] FAILURE: Build failed with an exception.
[ +11 ms] * What went wrong:
[ +9 ms] Execution failed for task ':app:mergeDebugNativeLibs'.
[ +5 ms] > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
[ +36 ms] > C:\Users\Usuario\Documents\CloudAI\mobile\build\app\intermediates\merged_native_libs\debug\out\lib\x86_64\libflutter.so: O arquivo jοΏ½ estοΏ½ sendo usado por outro processo.
[ +237 ms] * Try:
[ +1 ms] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[ +1 ms] * Get more help at https://help.gradle.org
[ +1 ms] BUILD FAILED in 2m 57s
[ +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
[ +2 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[ +3 ms] See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
[ ] 506 actionable tasks: 357 executed, 149 up-to-date
[ +360 ms] Running Gradle task 'assembleDebug'... (completed in 178,3s, longer than expected)
[+3663 ms] > Task :app:packageDebug
[ +199 ms] > Task :app:assembleDebug
[ +88 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
[ +1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[ ] See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD SUCCESSFUL in 3m 1s
[ ] 509 actionable tasks: 115 executed, 394 up-to-date
[ +357 ms] Running Gradle task 'assembleDebug'... (completed in 182,6s, longer than expected)
[ +52 ms] calculateSha: LocalDirectory: 'C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk'/app.apk
[ +75 ms] calculateSha: reading file took 73us
[ +567 ms] calculateSha: computing sha took 566us
[ +15 ms] β Built build\app\outputs\apk\debug\app-debug.apk.
[ +6 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk AndroidManifest.xml
[ +32 ms] Exit code 0 from: C:\Users\Usuario\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.snapnlook.app" (Raw: "com.snapnlook.app")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=15)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
E: uses-permission (line=17)
A: android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" (Raw: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE")
E: uses-permission (line=18)
A: android:name(0x01010003)="com.google.android.c2dm.permission.RECEIVE" (Raw: "com.google.android.c2dm.permission.RECEIVE")
E: application (line=20)
A: android:label(0x01010001)="snapnlook" (Raw: "snapnlook")
A: android:icon(0x01010002)=@0x7f0a0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:allowBackup(0x01010280)=(type 0x12)0x0
A: android:supportsRtl(0x010103af)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0c00a4
A: android:name(0x01010003)="com.snapnlook.app.MainActivity" (Raw: "com.snapnlook.app.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: intent-filter (line=35)
E: action (line=36)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=38)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=45)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: meta-data (line=48)
A: android:name(0x01010003)="com.facebook.sdk.ApplicationId" (Raw: "com.facebook.sdk.ApplicationId")
A: android:value(0x01010024)=@0x7f0b0053
E: activity (line=52)
A: android:theme(0x01010000)=@0x7f0c0172
A: android:label(0x01010001)=@0x7f0b0027
A: android:name(0x01010003)="com.facebook.FacebookActivity" (Raw: "com.facebook.FacebookActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0x5b0
E: activity (line=57)
A: android:name(0x01010003)="com.facebook.CustomTabActivity" (Raw: "com.facebook.CustomTabActivity")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: intent-filter (line=60)
E: action (line=61)
A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
E: category (line=63)
A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT")
E: category (line=64)
A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
E: data (line=66)
A: android:scheme(0x01010027)=@0x7f0b0054
E: intent-filter (line=68)
E: action (line=69)
A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
E: category (line=71)
A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT")
E: category (line=72)
A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
E: data (line=74)
A: android:scheme(0x01010027)="fbconnect" (Raw: "fbconnect")
A: android:host(0x01010028)="cct.com.snapnlook.app" (Raw: "cct.com.snapnlook.app")
E: service (line=80)
A: android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService" (Raw: "com.google.firebase.components.ComponentDiscoveryService")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
E: meta-data (line=84)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.crashlytics.firebasecrashlytics.FlutterFirebaseAppRegistrar" (Raw:
"com.google.firebase.components:io.flutter.plugins.firebase.crashlytics.firebasecrashlytics.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=87)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar" (Raw:
"com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=90)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.cloudfirestore.FlutterFirebaseAppRegistrar" (Raw:
"com.google.firebase.components:io.flutter.plugins.firebase.cloudfirestore.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=93)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar" (Raw:
"com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=96)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebaseanalytics.FlutterFirebaseAppRegistrar" (Raw:
"com.google.firebase.components:io.flutter.plugins.firebaseanalytics.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=99)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.crashlytics.CrashlyticsRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.crashlytics.CrashlyticsRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=102)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=105)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw:
"com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=108)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.iid.Registrar" (Raw: "com.google.firebase.components:com.google.firebase.iid.Registrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=111)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.firestore.FirestoreRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.firestore.FirestoreRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=114)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar" (Raw:
"com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: activity (line=119)
A: android:theme(0x01010000)=@0x1030010
A: android:name(0x01010003)="com.google.firebase.auth.internal.FederatedSignInActivity" (Raw: "com.google.firebase.auth.internal.FederatedSignInActivity")
A: android:permission(0x01010006)="com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN" (Raw: "com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
A: android:launchMode(0x0101001d)=(type 0x10)0x2
E: receiver (line=127)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=133)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService" (Raw: "com.google.android.gms.measurement.AppMeasurementService")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=137)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobService" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService")
A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: receiver (line=143)
A: android:name(0x01010003)="com.google.firebase.iid.FirebaseInstanceIdReceiver" (Raw: "com.google.firebase.iid.FirebaseInstanceIdReceiver")
A: android:permission(0x01010006)="com.google.android.c2dm.permission.SEND" (Raw: "com.google.android.c2dm.permission.SEND")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: intent-filter (line=147)
E: action (line=148)
A: android:name(0x01010003)="com.google.android.c2dm.intent.RECEIVE" (Raw: "com.google.android.c2dm.intent.RECEIVE")
E: provider (line=152)
A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" (Raw: "com.google.firebase.provider.FirebaseInitProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.snapnlook.app.firebaseinitprovider" (Raw: "com.snapnlook.app.firebaseinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x64
E: activity (line=158)
A: android:theme(0x01010000)=@0x1030010
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" (Raw: "com.google.android.gms.auth.api.signin.internal.SignInHubActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
E: service (line=167)
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.RevocationBoundService" (Raw: "com.google.android.gms.auth.api.signin.RevocationBoundService")
A: android:permission(0x01010006)="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" (Raw: "com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: activity (line=172)
A: android:theme(0x01010000)=@0x1030010
A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: meta-data (line=177)
A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
A: android:value(0x01010024)=@0x7f080004
E: activity (line=181)
A: android:name(0x01010003)="com.facebook.CustomTabMainActivity" (Raw: "com.facebook.CustomTabMainActivity")
E: provider (line=191)
A: android:name(0x01010003)="com.facebook.internal.FacebookInitProvider" (Raw: "com.facebook.internal.FacebookInitProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.snapnlook.app.FacebookInitProvider" (Raw: "com.snapnlook.app.FacebookInitProvider")
E: receiver (line=196)
A: android:name(0x01010003)="com.facebook.CurrentAccessTokenExpirationBroadcastReceiver" (Raw: "com.facebook.CurrentAccessTokenExpirationBroadcastReceiver")
A: android:exported(0x01010010)=(type 0x12)0x0
E: intent-filter (line=199)
E: action (line=200)
A: android:name(0x01010003)="com.facebook.sdk.ACTION_CURRENT_ACCESS_TOKEN_CHANGED" (Raw: "com.facebook.sdk.ACTION_CURRENT_ACCESS_TOKEN_CHANGED")
E: service (line=204)
A: android:name(0x01010003)="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery" (Raw: "com.google.android.datatransport.runtime.backends.TransportBackendDiscovery")
A: android:exported(0x01010010)=(type 0x12)0x0
E: meta-data (line=207)
A: android:name(0x01010003)="backend:com.google.android.datatransport.cct.CctBackendFactory" (Raw: "backend:com.google.android.datatransport.cct.CctBackendFactory")
A: android:value(0x01010024)="cct" (Raw: "cct")
E: service (line=211)
A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" (Raw:
"com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService")
A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
A: android:exported(0x01010010)=(type 0x12)0x0
E: receiver (line=217)
A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver" (Raw:
"com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver")
A: android:exported(0x01010010)=(type 0x12)0x0
E: activity (line=221)
A: android:name(0x01010003)="com.twitter.sdk.android.core.identity.OAuthActivity" (Raw: "com.twitter.sdk.android.core.identity.OAuthActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
A: android:configChanges(0x0101001f)=(type 0x11)0x480
E: provider (line=227)
A: android:name(0x01010003)="com.crashlytics.android.CrashlyticsInitProvider" (Raw: "com.crashlytics.android.CrashlyticsInitProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.snapnlook.app.crashlyticsinitprovider" (Raw: "com.snapnlook.app.crashlyticsinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x5a
[ +16 ms] Stopping app 'app.apk' on Android SDK built for x86.
[ +14 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5558 shell am force-stop com.snapnlook.app
[ +248 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5558 shell pm list packages com.snapnlook.app
[ +270 ms] package:com.snapnlook.app
[ +7 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5558 shell cat /data/local/tmp/sky.com.snapnlook.app.sha1
[ +130 ms] 9dce14dfcdc204fc484b13005a763a4be34ef733
[ +2 ms] Installing APK.
[ +4 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +52 ms] Android Debug Bridge version 1.0.41
Version 30.0.1-6435776
Installed as C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +48 ms] Installing build\app\outputs\apk\app.apk...
[ +2 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5558 install -t -r C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk
[+1045 ms] Performing Streamed Install
adb: failed to install C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
[ ] Installing build\app\outputs\apk\app.apk... (completed in 1,0s)
[ +1 ms] Error: ADB exited with exit code 1
[ ] Performing Streamed Install
adb: failed to install C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
[ ] Warning: Failed to install APK.
[ ] Uninstalling old version...
[ +2 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +44 ms] Android Debug Bridge version 1.0.41
Version 30.0.1-6435776
Installed as C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +54 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5558 uninstall com.snapnlook.app
[ +559 ms] Success
[ +2 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +55 ms] Android Debug Bridge version 1.0.41
Version 30.0.1-6435776
Installed as C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +57 ms] Installing build\app\outputs\apk\app.apk...
[ +2 ms] executing: C:\Users\Usuario\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5558 install -t -r C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk
[+1991 ms] Performing Streamed Install
adb: failed to install C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
[ +1 ms] Installing build\app\outputs\apk\app.apk... (completed in 2,0s)
[ ] Error: ADB exited with exit code 1
[ ] Performing Streamed Install
adb: failed to install C:\Users\Usuario\Documents\CloudAI\mobile\build\app\outputs\apk\app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
[ ] Error: Failed to install APK again.
[ ] Error launching application on Android SDK built for x86.
[ +3 ms] Exception: Gradle task assembleDebug failed with exit code 1
[ +3 ms] "flutter run" took 192.020ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:569:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:722:18)
#3 _rootRunUnary (dart:async/zone.dart:1192:38)
#4 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#5 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#7 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#8 Future._completeWithValue (dart:async/future_impl.dart:526:5)
#9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#11 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#12 _rootRunUnary (dart:async/zone.dart:1192:38)
#13 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#14 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#15 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#16 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#17 Future._completeWithValue (dart:async/future_impl.dart:526:5)
#18 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#19 _rootRun (dart:async/zone.dart:1184:13)
#20 _CustomZone.run (dart:async/zone.dart:1077:19)
#21 _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#22 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#23 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#24 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#25 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
```
Flutter Doctor:
```
[β] Flutter (Channel stable, v1.17.0, on Microsoft Windows [versΓΒ£o 10.0.18362.778], locale pt-BR)
β’ Flutter version 1.17.0 at C:\flutter
β’ Framework revision e6b34c2b5c (9 days ago), 2020-05-02 11:39:18 -0700
β’ Engine revision 540786dd51
β’ Dart version 2.8.1
[β] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
β’ Android SDK at C:\Users\Usuario\AppData\Local\Android\sdk
β’ Platform android-28, build-tools 28.0.3
β’ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
β’ Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
β’ All Android licenses accepted.
[β] Android Studio (version 3.6)
β’ Android Studio at C:\Program Files\Android\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-b04)
[β] VS Code (version 1.44.2)
β’ VS Code at C:\Users\Usuario\AppData\Local\Programs\Microsoft VS Code
β’ Flutter extension version 3.10.1
[β] Connected device (3 available)
β’ AOSP on IA Emulator β’ emulator-5554 β’ android-x86 β’ Android 9 (API 28) (emulator)
β’ Android SDK built for x86 β’ emulator-5556 β’ android-x86 β’ Android 6.0 (API 23) (emulator)
β’ Android SDK built for x86 β’ emulator-5558 β’ android-x86 β’ Android 10 (API 29) (emulator)
β’ No issues found!
```
</details>
NOTE: I've searched solutions to this issue before and they all come down to running Flutter Clean, wiping emulators data and running invalid caches/restart on Android Studio. I've tried all of those options and none of them worked. I also tried reinstalling flutter altogether, reinstalling my emulators and the Android API versions, didn't work either.
NOTE: I've checked more than once and this really only happens when I try to run on more than one emulator. Running on just one emulator works fine.
NOTE: I'm not sure if this is actually related, but i don't remember getting this problem before upgrading Flutter to 1.17. I never tried downgrading Flutter version to 1.12 to see if it works, though.
|
platform-android,tool,t: gradle,P2,team-android,triaged-android
|
low
|
Critical
|
616,372,198 |
neovim
|
shada: ignore files based on suffix (or pattern/regex)
|
The `'shada'` options lets you ignore files based on the start of their paths, e.g. `set shada='10,r/tmp` will tell Neovim to only store ten items and ignore the ones that live in `/tmp`.
I would also like to be able to tell Neovim to ignore files the path of which ends with a specific string, for example `COMMIT_EDITMSG`. I can imagine two ways of doing this, either add a `$` at the end of the current `r` option (e.g. `set shada='10,rCOMMIT_EDITMSG$`) to "anchor" the string to the end of the path, or create a new option, for example `R` (e.g. `set shada='10,RCOMMIT_EDITMSG`).
If this feature makes sense to you, I think implementing it would only require adding a check to this function:
https://github.com/neovim/neovim/blob/55b62a937c27715f7e6c299ae312c38edf08fa74/src/nvim/shada.c#L4057-L4078
I'm absolutely willing to work on this myself.
|
enhancement,editor-state
|
low
|
Minor
|
616,386,928 |
flutter
|
[tool_crash] ArgumentError: Invalid argument(s): Cannot find executable for C:\Users\krimtel-3\AndroidStudioProjects\shakuntalagroup\android\gradlew.bat.
|
## Command
```
flutter --no-color run --machine --track-widget-creation --device-id=3d6aa77 lib\main.dart
```
## Steps to Reproduce
1. ...
2. ...
3. ...
## Logs
ArgumentError: Invalid argument(s): Cannot find executable for C:\Users\krimtel-3\AndroidStudioProjects\shakuntalagroup\android\gradlew.bat.
```
#0 _getExecutable (package:process/src/interface/local_process_manager.dart:127:5)
#1 LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:43:30)
#2 _DefaultProcessUtils.start (package:flutter_tools/src/base/process.dart:462:28)
#3 _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart:480:35)
#4 buildGradleApp (package:flutter_tools/src/android/gradle.dart:385:35)
#5 _AndroidBuilderImpl.buildApk (package:flutter_tools/src/android/android_builder.dart:102:13)
#6 AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:513:28)
#7 _rootRunUnary (dart:async/zone.dart:1192:38)
#8 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#9 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#10 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#11 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#12 Future._completeWithValue (dart:async/future_impl.dart:526:5)
#13 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#14 _rootRun (dart:async/zone.dart:1184:13)
#15 _CustomZone.run (dart:async/zone.dart:1077:19)
#16 _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#17 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#18 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#19 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#20 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
```
```
[β] Flutter (Channel dev, v1.18.0-dev.5.0, on Microsoft Windows [Version 10.0.18362.778], locale en-US)
β’ Flutter version 1.18.0-dev.5.0 at D:\flutter
β’ Framework revision 7f56b53de4 (4 weeks ago), 2020-04-12 12:00:01 -0400
β’ Engine revision beb8a7ec48
β’ Dart version 2.8.0 (build 2.8.0-dev.20.0 89b0f67261)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
β’ Android SDK at C:\Users\krimtel-3\AppData\Local\Android\Sdk
β’ Platform android-29, build-tools 29.0.2
β’ ANDROID_HOME = C:/Users/krimtel-3/AppData/Local/Android/Sdk
β’ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
β’ Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
β Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.
[β] Android Studio (version 3.6)
β’ Android Studio at C:\Program Files\Android\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-b04)
[β] VS Code (version 1.44.2)
β’ VS Code at C:\Users\krimtel-3\AppData\Local\Programs\Microsoft VS Code
β’ Flutter extension version 3.10.1
[β] Connected device (1 available)
β’ A37f β’ 3d6aa77 β’ android-arm64 β’ Android 5.1.1 (API 22)
! Doctor found issues in 1 category.
```
## Flutter Application Metadata
**Type**: app
**Version**: 1.3.3+37
**Material**: true
**Android X**: false
**Module**: false
**Plugin**: false
**Android package**: null
**iOS bundle identifier**: null
**Creation channel**: dev
**Creation framework version**: 09126abb222d0f25b03318a1ab4a99d27d9aaa8d
### Plugins
firebase_messaging-6.0.13
fluttertoast-4.0.1
razorpay_flutter-1.1.3
shared_preferences-0.5.6+3
shared_preferences_macos-0.0.1+6
shared_preferences_web-0.1.2+4
url_launcher-5.4.2
url_launcher_macos-0.0.1+4
url_launcher_web-0.1.1+1
|
c: crash,platform-android,tool,platform-windows,t: gradle,customer: crowd,P2,team-android,triaged-android
|
low
|
Critical
|
616,401,208 |
go
|
container/list: Remove of invalid Element after Init / reset leads to negative Len
|
<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.14.2 darwin/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
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
</pre></details>
### What did you do?
```go
var l list.List
el := l.PushBack(42)
l = list.List{} // Reset the list.
l.Remove(el)
fmt.Println(l.Len())
```
### What did you expect to see?
```bash
0
```
### What did you see instead?
```bash
-1
```
|
NeedsInvestigation
|
low
|
Major
|
616,452,895 |
TypeScript
|
Instance member function becomes instance member property in mapped types
|
<!-- π¨ STOP π¨ π¦π§π’π£ π¨ πΊπ»πΆπ· π¨
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!
Please help us by doing the following steps before logging an issue:
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ
Please fill in the *entire* template below.
-->
<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:** `4.0.0-dev.20200512`
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
- instance member function becomes instance member property
- mixin property of exported class expression may not be private or protected
**Code**
```ts
export class Application {
protected getState() {
return 'starting';
}
component(componentCtor: typeof Object) {
// mount the component
}
}
// Ideally, I'd like to write `function repositoryMixin(superClass: typeof Application)`, but that
// triggers "property of exported class expression may not be private or protected"
export function repositoryMixin<T extends MixinTarget<Application>>(superClass: T) {
return class extends superClass {
component(componentCtor: typeof Object) {
super.component(componentCtor);
// register repositories contributed by the component
}
}
}
// helpers to work around TypeScript limitations related to mixins
export type Constructor<T extends object> = new (...args: any[]) => T;
export type MixinTarget<T extends object> = Constructor<
{
// Enumerate only public members to avoid the following compiler error:
// Property '(some-name)' of exported class expression
// may not be private or protected. ts(4094)
[p in keyof T]: T[p];
}
>;
```
**Expected behavior:**
The code compiles cleanly.
**Actual behavior:**
```
$ tsc mixin-bug.ts
mixin-bug.ts:13:5 - error TS2425: Class '{ component: (componentCtor: ObjectConstructor) => void; }' defines instance member property 'component', but extended class '(Anonymous class)' defines it as instance member function.
13 component(componentCtor: typeof Object) {
~~~~~~~~~
mixin-bug.ts:14:13 - error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword.
14 super.component(componentCtor);
~~~~~~~~~
Found 2 errors.
```
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
https://www.typescriptlang.org/play/?ts=Nightly#code/MYGwhgzhAECCAO8QEthgC7IPYDtoG8AoaaYLAW3lwFMd0AKMymugYXSwCcAuadAT3jUsAM2gB5AEYArasHQBKAsRLQA9GujksAVzp8AFtVIUqOWuhUBfQjcIi987Hk7UqEZB078AssgAeyDgAPAAq0NT+6LQAJjB+gTihYJwA5tTowQhIqBjOAHz59BA6Qpys4FC8oUpEJK7oOpx4oJAwkdE4cdAlZRVtyqomzOZ0jKYs6OxcvAJCohIycoqDQz2l1JwAdExmFuMjFtOcCgDcKkMa0K6pyBDRnNduWB5eyNQwZHScyJI60TFoJJ+IZjLtJhdoDYSDY7FcjCAyjAONAAO5cADW0BSui60FCgmoAGVgD94OhoChyJ48rgYK5wAC+FgtAEghBCIRIlROBS5sZWHT0JwdPIuGEIlFYjAsEt5PloABeaDmVHQehbTUpVIQXhgHD8ADaAF0lIqFaFzlz-Dy+YToAkgsk0hkJR1pdBZbJ5UroIKcPcRWLOMEVHVVFcAKI4HTkTYYYy4EAg+A6SQoYBaajkSSbZEssAANywyEB6CM0BEWBAICwqKCqWG8GQIE2EU4nBmkKuJAACp2ygJoAByeg4MBxhTDz1iblcJmtKCS+CuKDObuaEjkMAgnBYCm56Ar5CFhOex4r-fLagxLboCD0AAsAAYAJyPhSQw3waBBaAY6h+AWUJjWqb9jXOGFCHyc4gADy+YToAkgsk0hkJR1pdBZbJ5UroIKcPcRWLOMEVHVVFcAKI4HTkTYYYy4EAg+A6SQoYBaajkSSbZEssAANywyEB6CM0BEWBAICwqKCqWG8GQIE2EU4nBmkKuJAACp2ygJoAByeg4MBxhTDz1iblcJmtKCS+CuKDObuaEjkMAgnBYCm56Ar5CFhOex4r-fLagxLboCD0AAsAAYAJyPhSQw3waBBaAY6h+AWUJjWqb9jXOGFCHyc4gA
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
- Remove property-override-method error #34494
- 3.7: instance member function becomes instance member property in type references [outcome: fixed since 3.7.0-dev.20191016] #33747
- Support for all type features in declaration files. #35822
- False error TS4094: ... exported class expression may not be private or protected. #30355
- Allow .d.ts files to represent anonymous class expressions with `private` members #36060
- Unexpected TS4094 with the build parameter `declaration: true`#17293
- Generating type definitions for mixin classes with protected members #17744
|
Needs Investigation
|
low
|
Critical
|
616,494,038 |
pytorch
|
Compiling errors when trying to cross-compile the C++ API for RTOS (QNX)
|
I am currently trying to implement the Pytorch C++ API into production. RTOS are indispensable in production environments so I'm trying to cross-compile with cmake for QNX Neutrino 7.0.0 (x86_64).
However, when compiling a simple test program (empty main() function just including "#include <torch/torch.h>")
I get the following compiler errors:
https://github.com/shyney7/libtorch-cross-RTOS-test/blob/master/Compilerlogs/comperr-without-stdlib-flag.md
I had to set the following command so that cmake finds the torch library in the host path.
` SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)`
This is how my **cmake Toolchain File** looks like:
https://github.com/shyney7/libtorch-cross-RTOS-test/blob/master/cmake/qnx_7.0.0_linux_x86_64.cmake
This is my **CMakeLists.txt** file:
https://github.com/shyney7/libtorch-cross-RTOS-test/blob/master/CMakeLists.txt
Unfortunately I am not a computer scientist but a mechanical engineer working at a research lab of a german university trying to implement libtorch into production. So I am not sure what the compiler errors mean. Thats why I searched the web for similar errors and found an issue of another repo here:
https://github.com/eProsima/Fast-RTPS/issues/300
There it is mentioned that it is also needed to prevent the qcc compiler from using the LLVM Compiler Infrastructure from v1/memory by using the `-stdlib=libstdc++` flag.
I also tried this by changing my CMakeLists.txt file to use the following flags:
`set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14 -stdlib=libstdc++ ${TORCH_CXX_FLAGS}")`
But then I'm getting the following **compiler errors**:
https://github.com/shyney7/libtorch-cross-RTOS-test/blob/master/Compilerlogs/comperr_with-stdlib%3Dlibstdc%2B%2B_flag.md
In the announcement videos where Libtorch and the C++ API were introduced, it was always said that the C++ API is specifically for production environments. The fact is that in production environments you mostly work with real-time operating systems like QNX or FreeRTOS, so I'm sure that there is somehow a way to get libtorch working on QNX.
Here is the repo with all the files:
https://github.com/shyney7/libtorch-cross-RTOS-test
Here is also a link to my first post on the discussion forums where I faced some issues with setting up the cmake toolchain file correctly:
https://discuss.pytorch.org/t/cross-compiling-with-cmake-for-embedded-systems-qnx/79681
## Environment
- Libtorch Version : 1.5 Release
- OS : cross-compiling on Ubuntu 18.04 (VM) for **QNX 7.0.0 (x84_64)**
- How you installed PyTorch : libtorch 1.5 zip from pytorch.org (for linux tried with both Pre & cxx11 ABI)
- Build command you used :
`cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/qnx_7.0.0_linux_x86_64.cmake ..`
`make`
- GNU version: 5.4.0
- CUDA/cuDNN version: none
- GPU models and configuration: none
- cmake version: 3.10.2
cc @malfet @yf225 @glaringlee
|
module: build,module: cpp,triaged
|
low
|
Critical
|
616,518,400 |
pytorch
|
Status of support for training on mobile
|
Hi,
I need to build a prototype for federated learning on mobile (initially iOS). I have succeeded to transfer the pytorch model with torchscript and running inference of the dataset works perfectly in iOS (using version 1.5.0).
Now for the next step I would need to actually train the model on the device and according to this:
https://github.com/pytorch/pytorch/pull/34958
it seems it might not yet be possible?
I did ask a similar question in November:
https://github.com/pytorch/pytorch/issues/29652
and got a reply from @dreiss that this was in progress but since that specific problem was different and 6 months have passed I closed the stale ticket and ask more concisely here instead if there is any new info.
I did notice there is a train() function on the model so I tried that like this:
```
at::Tensor tensor = torch::from_blob((void*)buffer, {1, 10}, at::kFloat);
_impl.train();
torch::autograd::AutoGradMode guard(true);
//at::AutoNonVariableTypeMode non_var_type_mode(true);
auto outputTensor = _impl.forward({tensor}).toTensor();
```
but it crashes with this output message:
```
Could not find any similar ops to aten::_adaptive_avg_pool2d_backward. This op may not exist or may not be currently supported in TorchScript.
:
File "<string>", line 9
grad_self = grad.expand(self.size()) / (self_size[-1] * self_size[-2])
else:
grad_self = torch._adaptive_avg_pool2d_backward(grad, self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
return grad_self
```
|
oncall: mobile
|
low
|
Critical
|
616,582,518 |
rust
|
Suggest some usage of super:: in modules?
|
This is wrong code:
```rust
use std::iter::once;
mod foo {
fn bar() {
let _ = once(1);
}
}
fn main() {}
```
Rustc currently (1.45.0-nightly 99cb9ccb9 2020-05-11) gives:
```rust
error[E0425]: cannot find function `once` in this scope
--> ...\test.rs:5:17
|
5 | let _ = once(1);
| ^^^^ not found in this scope
|
help: consider importing one of these items
|
4 | use core::iter::once;
|
4 | use std::iter::once;
|
warning: unused import: `std::iter::once`
--> ...\test.rs:1:5
|
1 | use std::iter::once;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error: aborting due to previous error; 1 warning emitted
```
But I think it could suggest to write `super::once(1);` instead.
|
C-enhancement,A-diagnostics,A-resolve,T-compiler
|
low
|
Critical
|
616,597,966 |
deno
|
Add URLs to `--allow-net`
|
Deno should allow URLs to be allowed in `--allow-net` and or other than domain names and ports pair.
As of current to run this simple JavaScript file:
```javascript
fetch('http://gist.githubusercontent.com/KSXGitHub/62cb052060dc169796ab3698ff53c33b/raw/9d7d84910b344eb8580be8b91cf539e18e565e5d/init.sh/').then( (resp) => {
console.log(resp)
} )
```
I would need to allow all URLs possible with `gist.githubusercontent.com`, or allow any Domain names URL(which both are not fully secure):
All URLs possible with `gist.githubusercontent.com`:
```bash
deno --allow-net="gist.githubusercontent.com" test.js Does compile
Response {
responce data...
}
```
Allow any Domain names URL:
```bash
deno --allow-net test.js
Does compile
Response {
responce data...
}
```
And if I try running the secure way, I get en error:
```bash
$ deno --allow-net="http://gist.githubusercontent.com/KSXGitHub/62cb052060dc169796ab3698ff53c33b/raw/9d7d84910b344eb8580be8b91cf539e18e565e5d/init.sh" test.js
Does compile
error: Uncaught PermissionDenied: network access to "http://gist.githubusercontent.com/KSXGitHub/62cb052060dc169796ab3698ff53c33b/raw/9d7d84910b344eb8580be8b91cf539e18e565e5d/init.sh/", run again with the --allow-net flag
at unwrapResponse ($deno$/ops/dispatch_json.ts:43:11)
at Object.sendAsync ($deno$/ops/dispatch_json.ts:98:10)
at async fetch ($deno$/web/fetch.ts:591:27)
```
Thanks,
Dex Devlon
|
cli,permissions,suggestion
|
medium
|
Critical
|
616,690,598 |
pytorch
|
c10/macros/cmake_macros.h not exists
|
Hi,
I'm trying to include pytorch/script.h in my CPP android project.
I'm using ndk21 and C++14.
I cloned the repository and used "git submodule update --init --recursive" to update sub=modules.
I'm getting the following compilation error:
In file included from C:\REPOS\pytorch\torch/script.h:3:
In file included from C:\REPOS\pytorch\torch/csrc/api/include/torch/types.h:3:
In file included from C:\REPOS\pytorch/aten/src\ATen/ATen.h:3:
In file included from C:\REPOS\pytorch\c10/core/Allocator.h:6:
In file included from C:\REPOS\pytorch\c10/core/Device.h:3:
In file included from C:\REPOS\pytorch\c10/core/DeviceType.h:8:
C:\REPOS\pytorch\c10/macros/Macros.h:21:10: fatal error: **'c10/macros/cmake_macros.h' file not found**
#include <c10/macros/cmake_macros.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I do see that there is a file c10/macros/cmake_macros.h**.in**, an it specifically says:
_Do not include this file directly. Instead, include c10/macros/Macros.h._
So what is the problem?
|
triaged,oncall: mobile
|
low
|
Critical
|
616,712,942 |
terminal
|
Support to transfer files from/to Azure Cloud Shell
|
Please support to transfer files from/to Azure Cloud Shell.
Thanks!
|
Issue-Feature,Help Wanted,Product-Terminal,Area-AzureShell
|
low
|
Minor
|
616,727,557 |
node
|
REPL with package.json "type":"module"
|
Just as having "type":"module" in package.json in the current directory implies that .js files can do `import x from 'y'`, typing `node` (and then some code) in the directory, where that package.json is, shall also understand `import x from 'y'`.
In addition there shall be a way to pass a command line switch to node, so that on REPL it understands ES6 `import`.
|
repl
|
medium
|
Critical
|
616,728,750 |
pytorch
|
Support alternate casting rules
|
torch.can_cast only supports one default casting rule:
https://pytorch.org/docs/master/generated/torch.can_cast.html
Numpy supports multiple kinds of casting rules:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.can_cast.html
We should define and implement alternatives for more flexibility and improved numpy parity.
Alternate casting rules could potentially also eventually be used to define an alternate "smallest common dtype" in type promotion, which could be useful in cases where we wish to preserve precision to a greater degree than in our default rules. E.g. in https://github.com/pytorch/pytorch/pull/37294 there was a desire to be more precise when comparing tensors of differing dtypes in assertEquals.
This ticket may need multiple sub-tasks, e.g.:
* Define new casting rules
* Add casting kwarg to can_cast
* Add casting kwarg to various in-place promoting ops
* Potentially define alternate promotion logic based on preserving precision under alternate casting rules.
cc @mruberry @nairbv
|
triaged,module: numpy,module: type promotion
|
low
|
Minor
|
616,735,481 |
go
|
x/build/cmd/gomote: "--i-will-not-break-the-host" flag breaks argument order
|
`gomote ssh` currently requires an extra flag, `--i-will-not-break-the-host`, when connecting to a non-hermetic builder.
Unlike all of the other `gomote` flags, this one must be positioned ahead of the subcommand instead of behind it. That needlessly breaks scripts that wrap `gomote` for more ergonomic use (#29037).
Honestly, this flag is pretty obnoxious anyway β I think it should probably be replaced with a warning at login rather than an explicit flag. But if we keep the flag, it should at least be fixed so that it parses in the usual order for subcommand flags.
```
~/go$ mote ssh --i-will-not-break-the-host
+ SUBCMD=ssh
+ shift
+ '[' -z ssh ']'
+ '[' ssh == create ']'
+ '[' -z '' ']'
+ '[' -e /usr/local/google/home/bcmills/.gomote ']'
+ GOMOTE=user-bcmills-dragonfly-amd64-5_8-0
+ '[' -z user-bcmills-dragonfly-amd64-5_8-0 ']'
+ gomote ssh user-bcmills-dragonfly-amd64-5_8-0 --i-will-not-break-the-host
ssh usage: gomote ssh <instance>
-i-will-not-break-the-host
required for older host configs with reused filesystems; using this says that you are aware that your changes to the machine's root filesystem affect future builds. This is a no-op for the newer, safe host configs.
```
CC @andybons @bradfitz
|
Builders,NeedsInvestigation
|
low
|
Minor
|
616,754,111 |
pytorch
|
Provide an issubdtype API
|
We should provide an issubdtype API, similar to that in numpy:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.issubdtype.html
We often want to determine if a dtype is of a particular kind:
https://github.com/pytorch/pytorch/pull/34312
But the approach of adding is_xxx for complex, quantized, floating, integral, etc is complicated and not mutually exclusive. An API that provides "sub" dtype semantics would provide more flexibility and better account for overlap.
To do this we'll need to define a type that complements ScalarType/dtype which can be used in subdtype APIs in both Python and C++.
We will probably base our type hierarchy on numpy, but should specify the details in this ticket in case there are areas where we need to deviate, or where we have types not supported by numpy.
cc @mruberry @nairbv
|
triaged,module: numpy,module: type promotion
|
low
|
Minor
|
616,849,798 |
pytorch
|
Clicking "Click here to view docs for latest stable release." on some pages leads to nowhere
|
## π Documentation
To reproduce:
- go to https://pytorch.org/docs/master/generated/torch.geqrf.html?highlight=geqrf#torch.geqrf
- Click "Click here to view docs for latest stable release."
- Watch as it leads to a 404 page.
|
module: docs,triaged
|
low
|
Minor
|
616,911,731 |
terminal
|
[WSL] Horizontal Scroll-bar displayed needlessly after resizing tmux session through SSH
|
# Note
I was directed to post WSL console issues here (link redirects from `microsoft/console` to `microsoft/terminal`). See: https://github.com/microsoft/WSL/issues/new?assignees=&labels=&template=bug_report.md&title=
# Environment
```none
Windows build number: 1909
Windows Terminal version (if applicable): WSL latest. But not WSL 2.
Any other software? No.
```
# Steps to reproduce
Happens often, but not reliably.
1. `ssh` to a remote machine
2. Start a `tmux` session
3. Resize the terminal window several times. Print lines. Switch sessions/windows. `clear` screen, and repeat. Etc.
4. At some point you'll see this:

Then it goes away only by restarting the terminal.
# Expected behavior
* Scroll bar is displayed only when needed by non-wrapping content.
# Actual behavior
At some point you'll see this:

Then it goes away only by restarting the terminal.
|
Product-Conhost,Issue-Bug,Area-UserInterface,Priority-3
|
low
|
Critical
|
616,937,285 |
go
|
proposal: encoding/asn1: allow setting params on elements of slices
|
encoding/asn1 currently provides a number of struct field tags to manipulate how fields are parsed/encoded, notably setting the time type, string type, or marking slices or structs as a SET rather than a SEQUENCE.
Unfortunately it is impossible to set these fields on elements of a slice. This makes it impossible to encode certain things like `SEQUENCE OF IA5String` or parse `SEQUENCE OF SET` (see #27426 and #18834 for examples).
The only real workaround for this is manually encoding/parsing each element of a slice with `MarshalWithParams`/`UnmarshalWithParams`, and then constructing/parsing a SEQUENCE yourself, which is obviously quite prone to errors and overly complex.
Ideally there would be a way to set parameters for each member of the slice. Probably the simplest solution to this problem would be adding a new struct tag, `element-param:x` or something, which would be passed through to `makeField`/`parseField`. For example this would then allow the following struct
```
type example struct {
A []string `asn1:"element-param:ia5"`
}
```
to be encoded as a `SEQUENCE OF IA5String`.
cc @FiloSottile @katiehockman
|
Proposal,Proposal-Crypto
|
low
|
Critical
|
616,944,349 |
TypeScript
|
Type annotation for all exports in the module
|
## Search Terms
Export, typed exports, modules, Next.js, Redwood.js
## Suggestion
Allow a new syntax [From issue #420](https://github.com/microsoft/TypeScript/issues/420#issuecomment-52346304) that will allow typing all of exports in a module.
```ts
export implements {
default: string
foo: (bar: boolean) => number
}
export default "Hello world!";
export function foo(bar) { return 1 }
```
<!-- removing to remove noise
### Sharing "module types"
It should be possible to import module types
```ts
import ModuleType from './module.ts';
type export = ModuleType;
```
### Alternative syntaxes
```
type export = {}
```
```ts
module type = {}
```
```ts
export module {}
```
-->
<!-- A summary of what you'd like to see added or changed -->
## Use Cases and Examples
Increasingly frameworks are using named module exports as a way of organizing their code. For instance [Next.js](https://nextjs.org/docs/basic-features/data-fetching) is using named exports to specify things like exported component and functions for fetching data:
```ts
import { PageModule } from 'next'
type Post = { title: string };
export implements PageModule<{ posts: Posts[] }>;
function Blog({ posts }) {
return (
<ul>
{posts.map(post => (
<li>{post.title}</li>
))}
</ul>
)
}
export async function getStaticProps() {
return { props: { posts: [] } }
}
export default Blog
```
### Frameworks relying on named export
* [Next.js](https://nextjs.org/docs/basic-features/data-fetching)
* [Redwood.js](https://redwoodjs.com/tutorial/side-quest-how-redwood-works-with-data)
* [Remix.js](https://blog.remix.run/p/remix-preview)
* [SevlteKit](https://kit.svelte.dev/)
* [StroryBook](https://storybook.js.org/blog/component-story-format/)
* [CloudFlare Workers](https://github.com/cloudflare/workers-types)
* > please suggest more
<!-- Show how this would be used and what the behavior would be -->
## Checklist
My suggestion meets these guidelines:
* [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, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
### Related issues
* https://github.com/microsoft/TypeScript/issues/420
* https://github.com/microsoft/TypeScript/issues/13626
|
Suggestion,In Discussion
|
high
|
Critical
|
616,947,277 |
go
|
x/build/cmd/gomote: long wait times trying to create aix-ppc64 gomote
|
<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version devel +45df88e7b3 Mon May 11 12:04:55 2020 -0400 darwin/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="/Users/jfaller/go/bin"
GOCACHE="/Users/jfaller/Library/Caches/go-build"
GOENV="/Users/jfaller/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/jfaller/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/jfaller/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/jfaller/src/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/jfaller/src/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
GOAMD64="alignedjumps"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/kt/9h7gfgy955lgbm_cys108l2c002pwh/T/go-build218247787=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>
### What did you do?
`gomote create aix-ppc64`
`# host type "host-aix-ppc64-osuosl" is not elastic; 0 of 1 machines connected, 0 busy`
### What did you expect to see?
A gomote created in a reasonable amount of time
### What did you see instead?
I reset the command after 15 minutes, and did it again. It's still waiting after 17 more minutes. I'd expect it to be able to free up the gomote for me earlier.
|
Builders,NeedsInvestigation
|
low
|
Critical
|
616,947,954 |
vscode
|
Make editor.action.marker.nextInFiles prioritize severe issues
|
<!-- β οΈβ οΈ 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. -->
The command editor.action.marker.NextInFiles navigates to the next issue regardless of the severity. IMHO this makes the functionality less useful, especially if you have many extensions that give you all kinds of "help" and you likely only cares about compile issues 80% of the time.
On the other hand, IntelliJ only navigates to a warning when the entire file does not have any errors. Can we have a setting that tweaks this behavior?
|
feature-request,languages-diagnostics
|
low
|
Critical
|
616,958,509 |
flutter
|
Normalization of common properties
|
## Proposal
The `Text` widget allows us to specify the text property without specifying the property name:
```dart
Text("This parameter", style: ...)
```
This behavior should be available in other widgets as well, for instance:
```dart
Padding(EdgeInsets.all(16), child: Widget()); // No need for padding:
```
```dart
RichText(TextSpan("Span 1", children: [TextSpan("Span 2")])); // No need for text:
```
In other words: any property that defines the widget (text for Text, padding for Padding, text for TextSpan) should not require the name of the property.
Changing, for example, the `Padding` constructor to this should not break everything (altough it would mess with the `@required` helper):
```
const Padding([this.padding], {
Key key,
this.padding,
Widget child,
}) : assert(padding != null),
super(key: key, child: child);
```
|
framework,c: proposal,P3,team-framework,triaged-framework
|
low
|
Minor
|
616,960,224 |
pytorch
|
Can I add more "Project Documentation" on the PYPI webpage?
|
## π Documentation MISSING
Currently, the only documentation on the pages says "The author of this package has not provided a project description"
Can I have permission or a contact person to call so I can help add more instructions, a README.md or work to implement existing pages that need documentation?
The <Project description> on website https://pypi.org/project/torch/ is where I am referencing and I would be happy to start adding documentation as Torch is on my list of things to learn. -->
<!-- Currently, the only documentation on the pages says "The author of this package has not provided a project description"
Can I have permission or a contact person to call so I can help add more instructions, a README.md or work to implement existing pages that need documentation?
The <Project description> on website https://pypi.org/project/torch/ is where I am referencing and I would be happy to start adding documentation as Torch is on my list of things to learn. -->
cc @malfet
|
module: build,module: docs,triaged,small
|
low
|
Minor
|
616,973,456 |
PowerToys
|
Enter Unicode codepoints via keyboard
|
# Summary of the new feature/enhancement
Enable the ability to toggle between traditional 3-digit char code, and hex Unicode codepoint entry via keyboard.
<!--
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->
To enter a symbol, e.g. Β£, I click and hold <kbd>ALT</kbd> and then type <kbd>0</kbd><kbd>1</kbd><kbd>6</kbd><kbd>3</kbd> (the decimal character code for the UK Pound symbol) on the numeric keyboard.
However, what if I wanted to type hexadecimal Unicode codepoint for an arbitrary codepoint, e.g. U+1F600 for π ("grinning face").
> Yes, I know there's the emoji keyboard, but they only expose the emoji subset of the available Unicode code-space. I want to be able to enter ANY Unicode codepoint.
# Proposed technical implementation details (optional)
Interestingly, this capability [appears to already be available](https://ix23.com/windows-how-to-enter-unicode-characters-via-the-keypad/), but it's disabled by default behind a registry setting which requires reg hacking and the user to restart, Plus there's no UI setting that would make this switch easy to find and change.
Bonus points if the toggle itself could be keyboard activated so I could switch between 3-digit and hex-Unicode codes without rebooting.
|
Idea-New PowerToy
|
low
|
Minor
|
616,993,007 |
flutter
|
[google_maps_flutter] `testTakeSnapshot` test fails on CI
|
The `testTakeSnapshot` fails on CI because the API Key for google map sdk is not set up on the firebase test lab's test devices.
Snapshot on Android only works when the GoogleMap API Key is configured in the app, otherwise it will time out.
The test is skipped in https://github.com/flutter/plugins/commit/4b7fe4256972f4d8e3987ee44a638d13f032e62c
|
team,platform-android,p: maps,package,P2,team-android,triaged-android
|
low
|
Minor
|
617,047,501 |
storybook
|
Addon-docs: enable configuration of CSF syntax highlighting
|
**Is your feature request related to a problem? Please describe.**
We currently use `vue` single file components to write all our stories and then load them in through an associated `.stories.js` CSF file. We've got a custom webpack loader that abstracts out the SFC code to `component.__source` and thanks to the recently added `transformSource` function, we're able to render that output no problem. Unfortunately we're unable to specify a language which leaves the syntax highlighting in a less than ideal state.
**Describe the solution you'd like**
As a developer using storybook, I'd like a convenience prop for configuring the source code `language` when using CSF:
```
example.story = {
parameters: {
docs: {
source: {
language: 'html' // or 'markup', 'jsx', etc,
},
transformSource: () => component.__source
}
}
};
```
|
feature request,addon: docs,block: source
|
low
|
Minor
|
617,101,654 |
go
|
encoding/asn1: Marshal/Unmarshal will create/parse invalid SETs
|
Marshal and Unmarshal will happily encode and parse invalid SETs. Every component of a SET must have a distinct tag, either by using distinct types of each field or using explicit tagging to get around having multiple non-distinct fields. This specification of SETs allows for undefined ordering of components, since in theory each component can only map to a single field.
Currently Marshal ignores this and will happily encode a SET with multiple identical component tags. Similarly Unmarshal will parse an invalid SET. Due to how parsing works though (SETs are parsed in order, the same as SEQUENCEs, so unordered SETs with distinct fields cannot be parsed, see #19873) enforcing this constraint wouldn't provide significant benefit.
I took a stab at this in https://go-review.googlesource.com/c/go/+/233199, but realized that the naive approach of just using the field type was not sufficient. Really the struct test would need to take the final tag for a field into account, after explicit tagging etc has been applied, but unfortunately there is a bunch of logic that happens outside of `getUniversalType` for determining that which makes it hard to copy into a separate method.
|
NeedsInvestigation
|
low
|
Minor
|
617,105,185 |
TypeScript
|
New operator should return object returned by constructor
|
<!-- π¨ STOP π¨ π¦π§π’π£ π¨ πΊπ»πΆπ· π¨
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.
Please help us by doing the following steps before logging an issue:
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
* Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ
-->
## Search Terms
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
new, operator, constructor, return, object
## Suggestion
<!-- A summary of what you'd like to see added or changed -->
in javascript, calling with the operator `new` a function that returns an object does not resolves to the created instance but to the object returned by the function
Typescript should do the same.
That could offer a better compliance with the ECMAScript standard.
## Use Cases
<!--
What do you want to use this for?
What shortcomings exist with current approaches?
-->
This can for example allow to create async constructor (see examples)
## Examples
<!-- Show how this would be used and what the behavior would be -->
```js
function foo(returnDate = false) {
this.bar = 1;
if(returnDate) return new Date()
}
const obj1 = new foo() // ES resolves to a foo instance ; typescript get error "ts(2350)"
const obj2 = new foo(true) // ES resolves to a Date ; typescript get error "ts(2350)"
obj1 instanceof foo // true
obj2 instanceof foo // false
```
// `obj1` and `obj2` type should be `foo | Date`
Use case example: async constructor:
```js
class Foo {
constructor() {
return Promise.resolve().then(() => this);
}
}
const foo1 = await new Foo();
const foo2 = new Foo(); // foo2 is Promise<Foo> ; ts consider foo2 as Foo
```
## Checklist
My suggestion meets these guidelines:
* [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, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
|
Suggestion,Awaiting More Feedback
|
low
|
Critical
|
617,113,939 |
neovim
|
Inconsistent behavior of :yank command and yy when clipboard is set to unnamedplus
|
<!-- Before reporting: search existing issues and check the FAQ. -->
- `nvim --version`: v0.5.0-416-g2b00d1d09
- `vim -u DEFAULTS` (version: ) not applicable
- Operating system/version: Ubuntu 18.04
- Terminal name/version: zoc terminal
- `$TERM`: xterm-256color
I am using Neovim on Ubuntu server without GUI.
### Steps to reproduce using `nvim -u NORC`
+ Open a file with nvim: `nvim -u NORC test.txt`
+ set the clipboard option: `:set clipboard=unnamedplus`
+ yank a line with `:yank` command
+ yank a line with `yy`
### Actual behaviour
When yanking a line with `:yank` command for the first time, I see a warning message:
> clipboard: No provider. Try ":checkhealth" or ":h clipboard".
Subsequent running of this command do not produce any warnings.
If I instead use `yy`, no warning will be ever issued.
### Expected behaviour
Since the documentation for `unnamedplus` for `clipboard` option saysοΌ
> A variant of the "unnamed" flag which uses the clipboard register '+' (quoteplus) instead of register '*' for all yank, delete, change and put operations which would normally go to the unnamed register.
IIUIC, the warning for `:yank` command is because we set clipboard to `unnamedplus`, but there is no clipboard provider existing. If that is the case, `yy` should also produce such a warning.
The warning for `:yank` command appear only once when we first use it. Is it intentional? I would expect all `:yank` command will produce such a warning since register `+` is used but not provider available.
|
bug,clipboard
|
low
|
Minor
|
617,120,354 |
TypeScript
|
Object.values and Object.entries are unsound and inconsistent with Object.keys.
|
**Search Terms:**
Object.values Object.entries sound soundness unsound inconsistent Object.keys
**Code**
Proposed change: https://github.com/MicahZoltu/TypeScript/commit/603c36370c7fdcd142b1493ca8cbbb955db73b69
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
#12207
#12253
Back in November 2016, a PR (#12207) was submitted to make the types of `Object.entries` and `Object.values` generic. This PR was reviewed and accepted, and as a note it was recommended that `Object.keys` be updated similarly. The author then submitted a PR to update `Object.keys` (#12253) but @ahejlsberg made the [very valid point](https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208) that this change was unsound and the PR was closed. The author of both PRs then suggested that perhaps #12207 should be reverted, but this revert never happened.
This issue is to discuss options for rectifying this situation and I propose we make `Object.entries` and `Object.values` consistent with the sound behavior of `Object.keys`. The major issue here is that this *IS* a breaking change since people may be relying on the currently unsound behavior of `Object.values` and `Object.entries`. However, I think having TypeScript be inconsistent on this front indefinitely is not good, and I don't think changing `Object.keys` to be unsound is the right solution, so at the least this change should be merged into TS 4.x.
|
Suggestion,Awaiting More Feedback
|
high
|
Critical
|
617,121,899 |
neovim
|
:silent doesn't silence hit-enter prompt for executing long search
|
- `nvim --version`: NVIM v0.4.3
- Operating system/version: Gentoo
- Terminal name/version: alacritty 0.4.2
- `$TERM`: alacritty
### Steps to reproduce using `nvim -u NORC`
```
nvim -u NORC
" any search query that will be displayed in more than one line works.
:let search = 'normal! /\<\V\Ca_\?\%(r\|R\)_\?\%(e\|E\)_\?\%(a\|A\)_\?\%(l\|L\)_\?\%(l\|L\)_\?\%(y\|Y\)_\?\%(l\|L\)_\?\%(o\|O\)_\?\%(n\|N\)_\?\%(g\|G\)_\?\%(i\|I\)_\?\%(d\|D\)_\?\%(e\|E\)_\?\%(n\|N\)_\?\%(t\|T\)_\?\%(i\|I\)_\?\%(f\|F\)_\?\%(i\|I\)_\?\%(e\|E\)_\?\%(r\|R\)_\?\%(n\|N\)_\?\%(a\ |A\)_\?\%(m\|M\)_\?\%(e\|E\)_\?\%(b\|B\)_\?\%(e\|E\)_\?\%(c\|C\)_\?\%(a\|A\)_\?\%(u\|U\)_\?\%(s\|S\)_\?\%(e\|E\)_\?\%(i\|I\)_\?\%(c\|C\)_\?\%(a\|A\)_\?\%(n\|N\)\>'
" make sure to reset your cmdheight to 1 again before continuing.
" alternatively just execute this command twice.
:silent execute search
```
### Actual behaviour
```
:silent execute search
Press ENTER or type command to continue
```
### Expected behaviour
```
:silent execute search
```
|
bug-vim
|
low
|
Minor
|
617,155,784 |
godot
|
Deleting a used dependency causes the hierarchy to be unloadable
|
**Godot version:** 3.2.1.stable.official
**OS/device including version:** Windows 10.0.18362
**Issue description:** Deleting a scene/node/resource that is "in use" causes every object in the hierarchy to be unusable, and cannot be fixed since they don't load. There's no way to open the scene and delete any offending references to the thing you deleted, as the "Edit Dependencies" only allows you to set another scene, not delete a reference. And because that scene has an issue, any scenes it is in can't be loaded, or any of their parents.
**Steps to reproduce:** Levelnode -> Creaturenode-> Spritenode -> Sprite. Deleting the Spritenode caused the Creaturenode to have an issue, which causes the Levelnode to have an issue, which means none of them can load.
A better solution to this should exist.
|
bug,topic:core,topic:editor
|
low
|
Minor
|
617,194,653 |
opencv
|
podspec - spec.dependency "OpenCV-iOS"
|
- ERROR | [OSX] unknown: Encountered an unknown error (The platform of the target `App` (macOS 10.6) is not compatible with `OpenCV-iOS (3.1.1)`, which does not support `macOS`.) during validation.
|
platform: ios/osx
|
low
|
Critical
|
617,205,812 |
flutter
|
[webview_flutter] Support disabling overscroll
|
Hi,
By default, WebView scrolling is enabled on iOS
But in some cases I want to disable it
like this
```
_webView.scrollView.alwaysBounceVertical = NO;
_webView.scrollView.bounces = NO;
```
can it add a paramter on WebView class to control?
|
c: new feature,p: webview,package,team-ecosystem,P3,triaged-ecosystem
|
medium
|
Major
|
617,213,357 |
go
|
x/sys/unix: SockaddrL2 byte order mismatch
|
<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.14.1 linux/amd64
</pre>
### Does this issue reproduce with the latest release?
It reproduces on the latest version of x/sys.
### 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/jpas/.cache/go-build"
GOENV="/home/jpas/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/jpas/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="/nix/store/k930l9lckxjf4zmafv4aapvdbd2sibmj-gcc-wrapper-9.3.0/bin/cc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build011582959=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->
<pre>
package main
import (
"fmt"
"github.com/pkg/errors"
. "golang.org/x/sys/unix"
"os"
"os/exec"
"strconv"
)
func bug(addr [6]uint8) error {
fd, err := Socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)
if err != nil {
return err
}
defer Close(fd)
saIn := SockaddrL2{Addr: addr, PSM: 17}
if err := bind(fd, &saIn); err != nil {
return err
}
pp, err := Getsockname(fd)
if err != nil {
return err
}
saOut := pp.(*SockaddrL2)
fmt.Printf("expected: %#v\n", saIn.Addr)
fmt.Printf("actual : %#v\n", saOut.Addr)
return nil
}
func bind(fd int, sa *SockaddrL2) error {
// We try to bind twice since bluez's input plugin may cause this address to
// already be in use.
if Bind(fd, sa) == nil {
return nil
}
// By restarting the bluetooth service, we introduce a race between our program
// and bluez to bind.
exec.Command("systemctl", "restart", "bluetooth").Run()
return Bind(fd, sa)
}
func parseBdAddr(addr string) ([6]uint8, error) {
var bd [6]uint8
for i := range bd {
j := 3 * i
b, err := strconv.ParseUint(addr[j:j+2], 16, 8)
if err != nil {
return bd, errors.Wrap(err, "addr malformed")
}
bd[i] = uint8(b)
}
return bd, nil
}
func main() {
if os.Getuid() != 0 {
fmt.Println("please run as root")
os.Exit(1)
}
if len(os.Args) != 2 {
fmt.Printf("usage: %s 11:22:33:44:55:66\n", os.Args[0])
os.Exit(1)
}
addr, err := parseBdAddr(os.Args[1])
if err != nil {
fmt.Println(err)
os.Exit(1)
}
if err := bug(addr); err != nil {
fmt.Println(err)
os.Exit(1)
}
}
</pre>
There are some underlying issues with the "input" plugin for Bluez and binding to Bluetooth sockets. They can be mitigated by restarting the bluetooth daemon and racing to bind the socket.
### What did you expect to see?
<pre>
expected: [6]uint8{0x80, 0x32, 0x53, 0x37, 0x22, 0x19}
actual : [6]uint8{0x80, 0x32, 0x53, 0x37, 0x22, 0x19}
</pre>
### What did you see instead?
<pre>
expected: [6]uint8{0x80, 0x32, 0x53, 0x37, 0x22, 0x19}
actual : [6]uint8{0x19, 0x22, 0x37, 0x53, 0x32, 0x80}
</pre>
### Change proposals
Remove the [three lines reversing the order of the bytes](https://github.com/golang/sys/blob/master/unix/syscall_linux.go#L502-L504), which would mean that `SockaddrL2.Addr` will be expected to be in network order, not the order that it would usually appear as a string.
Alternatively, we could add the same three lines to `anyToSockaddr` [here](https://github.com/golang/sys/blob/master/unix/syscall_linux.go#L993-L1001), so that the order is the same as what is expected as input to `Bind` and `Connect`.
The first option seems like the better option to me since it is in line with `RawSockaddrL2` and the underlying syscall API. But the second one may be "more friendly" as the byte order matches the string's ordering.
|
NeedsInvestigation,compiler/runtime
|
low
|
Critical
|
617,247,134 |
flutter
|
Image_picker camera temporary null size file
|
When I use image_picher to read images from the camera and cancel the request without taking the photo, the plugin correctly returns a null value, but a temporary file with zero size is created in my folder anyway, which I cannot delete because the returned value is null.
|
platform-android,p: image_picker,package,e: OS-version specific,P2,team-android,triaged-android
|
low
|
Major
|
617,306,703 |
TypeScript
|
incorrect return type of NodeListOf.item()
|
typescript version: 3.9.2
method `item()` of nodelist should return a node or **null** (if index out of range)
(see: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item)
Typescript behavior is incorrect (lib.dom.d.ts)
```typescript
interface NodeListOf<TNode extends Node> extends NodeList {
item(index: number): TNode;
}
```
|
Suggestion,Awaiting More Feedback
|
low
|
Minor
|
617,365,851 |
nvm
|
Feature Request: install a custom local build of nodejs
|
First: I love `nvm`, its amazing, I use it all the time. :smile_cat:
I'm experimenting with building forks of nodejs.
I'd like to be able to add these builds to nvm's locally installed versions.
here's what I imagine the usage looks like
```bash
nvm install-local 'xyz-v1.0.0' ./out/Release
nvm which current
# ~/.nvm/versions/node/xyz-v1.0.0/bin/node
```
I'd expect it to copy the built release so that it doesn't change when I rebuild.
I don't have strong opinions about how the version number works.
Is this currently possible? if not, does this seem reasonable?
|
installing node,feature requests
|
low
|
Major
|
617,407,668 |
pytorch
|
4D tensor support for torch.nn.functionnal.fold() (col2im)
|
## π Feature
Implementation or modification of col2im function/method for 4D tensor support in torch.nn.functionnal.fold().
## Motivation
I came to this "issue" when i was working on a custom locally connected decoder.
(the layer behave like a transposed convolution but without the weight sharing)
I initially build a locally connected network for encoding purpose using the torch.nn.functional.unfold() function; I then assume that the torch.nn.functional.fold() work in an inverse manner with 4D tensor, until i find out that it only support 3D tensor which is misleading and not consistent with unfold() and other function.
This issue halt the development of custom convolution / transposed convolution in my opinion.
I am open to alternative to build my decoder !
here is the current code :
```
import numpy as np
import torch
import torch.nn as nn
from torch.nn import init
# Main decoder locally connected linear layer
class LocallyConnected2dTranspose(nn.Module):
def calculate_spatial_transposed_output_shape(self, input_shape, kernel_size, dilation, input_padding, out_padding, stride):
return [np.floor((input_shape[index]-1)*stride[index]-2*input_padding[index]+dilation[index]*kernel_size[index]-1+out_padding[index]+1).astype(int) for index in range(len(input_shape))]
def __init__(self, input_shape, in_channels, out_channels, kernel_size, dilation, input_padding, out_padding, stride):
super().__init__()
self.kernel_size = kernel_size
self.out_channels = out_channels
self.dilation = dilation
self.input_padding = input_padding
self.out_padding = out_padding
self.stride = stride
# calculate desired output shape and generate weight/bias matrix
self.output_height, self.output_width = self.calculate_spatial_transposed_output_shape(input_shape, kernel_size, dilation, input_padding, out_padding, stride)
# weight and spatial block
self.weight_tensor_depth = in_channels * kernel_size[0] * kernel_size[1]
self.spatial_blocks_size = self.output_height * self.output_width
self.weights = nn.Parameter(torch.empty((1, self.weight_tensor_depth, self.spatial_blocks_size, out_channels),requires_grad=True, dtype=torch.float))
print(self.weights.shape)
self.bias = nn.Parameter(torch.empty((1, out_channels, self.output_height, self.output_width),requires_grad=True, dtype=torch.float))
# init weight and bias
torch.nn.init.xavier_uniform_(self.weights)
torch.nn.init.xavier_uniform_(self.bias)
def forward(self, input):
input_f = torch.nn.functional.fold(input=input, output_size=[self.output_height, self.output_width], kernel_size=self.kernel_size, dilation=self.dilation, padding=self.out_padding, stride=self.stride)
local_conv_f = (input_f.view((*input_f.shape, 1)) * self.weights)
print(local_conv_f.shape)
return local_conv_f.sum(dim=1).transpose(2, 1).reshape((-1, self.out_channels, self.output_height, self.output_width)) + self.bias
layer_ = LocallyConnected2dTranspose([64,64], 49, 3, [5,5], (1,1), (2,2), (1,1), (2,2))
ht = torch.randn(1,49,64,64)
print(layer_(ht).shape)
```
best regards ^^
PS : I am not sure the last 2 lines of my code work...
cc @albanD @mruberry
|
module: nn,triaged,function request
|
low
|
Major
|
617,425,696 |
godot
|
c_unescape() does not work for Unicode "\u" escape
|
**Godot version:**
Tested in 3.2.1
**OS/device including version:**
Windows 10
**Issue description:**
GDScript String method c_unescape() does not work for Unicode "\u" escape. However, it does work for other escapes.
**Steps to reproduce:**
```
func _ready():
print("\u0054") # prints "T"
var test := "\\u0054"
print(test) # prints "\u0054"
print(test.c_unescape()) # prints "\u0054"
var test2 := "tab\\ttab"
print(test2) # prints "tab\ttab"
print(test2.c_unescape()) # prints "tab tab"
```
"\u0054" also is not unescaped when it is part of localized text, which I'm guessing is the same issue.
Probably different but tangential issue: I noticed that "\U" gives an editor error "parse error: invalid escape sequence". This is the standard C escape sequence for Unicode characters >0xFFFF (according to Wiki). Are these not supported in Godot at this time? I'd be much obliged if someone informed me so I can open either a feature request or doc issue (or both).
|
bug,topic:core
|
low
|
Critical
|
617,447,863 |
deno
|
Deno ListenOptions hostname does not bind to ipv6 by default
|
When a `hostname` is not provided to a method the ListenOptions defaults it to `0.0.0.0`, the process binds to only ipv4 address and for binding an ipv6 address it requires explicit mentioning via the `hostname`, for example, the `hostname` should be set to `[::1]` to bind it to an ipv6 address and so on. Need to check whether to bind the ipv6 address by default, or keep the same functionality as of now.
|
suggestion
|
low
|
Major
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.