WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Sometimes download pictures appear incomplete

Code is the latest

Issue 2:
To follow on a previous issue (#409).

How are loadData / cleanup and cancel ordered in a DataFetcher ?

From previous discussion you said you do not cancel jobs, but since cancel will return instantly when do you call the cleanup when the request is cancelled ?

The problem rely in the fact that cleanup do close the inputstream so if skia is in the process of decoding something it can return an half filled image without error or exception leading to corruption of the cache.
Issue 1:
Environment

Windows build number: 10.0.18363.778
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run

Steps to reproduce

Well, it's just there. Using PowerToys Run, I search for an application (Notion, executable Notion.exe) with or without .exe at the end. I don't get this as a result when it is not running, and when it is running, it is always the least prioritised, despite matching the exe name. (note - the window title NEVER contains the word Notion)

Expected behavior

Notion to appear to be launched when it is not, and when it is running it should appear as the first result.

Actual behavior

When I want to launch notion, PT Run doesn't find it at all, whereas Windows Search does. See Figure 1.

When I want to switch to it, it is consistently the last option. See Figure 2.

Screenshots

Figure 1:

Figure 2:

Issue 2:
What index or similar feature does PowerToys Run use to find files, directories and applications? I have updated my index to search %appdata%, yet PowerToys still fails to find applications such as Discord which install in username/%appdata%.

Thank you for any and all insight!
Issue 1:
They mention EPD and Python(x,y), both dead projects. Maybe mention Conda and Canopy instead?

Issue 2:
As noted in #2773, the installation section of the FAQ is out of date, and our installation documentation in general does not give sufficiently clear and correct advice, particularly for OSX and Windows users.

My inclination is to strongly recommend that non-expert OSX and Windows users take advantage of either Enthought or Continuum.io.

My impression is that if they really don't want to do that, then the recommendation is to first install python from python.org, and then for everything else use pip and hope for the best.
Issue 1:
If you command-click on a button/element on a site styled with 2.3.1 ( to open in a new tab ), the click is not registered.

To be sure, I tested this on the repo's own docs/index.html

Tabbed browsing works on all the 2.x tags -- including 2.3.0 -- but is broken in 2.3.1

Issue 2:
Issue: middle mouse click on a link in Firefox, nothing happens.

Expected behavior: middle mouse click on a link, open in new browser tab.

Live example: http://twitter.github.com/bootstrap/

Tested on Win7/Firefox19 Safemode/Non-Safemode failed. IE9/Chrome25 ok.

Notice it when I upgrade to bootstrap v2.3.1.

Switch back to v2.3 and the middle button works again.
Issue 1:
Environment

Windows build number: Windows [Version 10.0.18363.900]

PowerToys version: 18.2 / all versions affected

PowerToy module for which you are reporting the bug (if applicable):

General Settings / Run at startup

Description

We are running a nonpersistent VDI environment with Citrix Provisioning Server and Microsoft FSLogix Profile management. When a user sets powetoys to automatically startup and then logs off from the machine, powertoys will not startup at next logon.

Reason: When a users sets powertoys to automatically startup, a scheduled task is created for that user to run at logon. Unfortunately tasks are specific to the machine it is created on. So when the user logs on to the VDI environment again, there is not such a task and powertoys will not fire up as that scheduled task did not roam.

Steps to reproduce

Set Powertoys to automatically startup and click save on a machine with profile management

Logoff from that machine.

Logon to another machine with profile management.

Expected behavior

Powertoys will automatically startup

Actual behavior

Powertoys does not automatically startup.

My Suggestion to solve that issue:

Instead of creating a scheduled task to automatically run powertoys, use a link in "%AppData%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

or a reg key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Issue 2:
I would like the ability to right click on a shortcut or application and send to a zone so it fills the predefined zone, rather than having to Shift + drag it to the screen and zone area.
Issue 1:
baas@SZX1000428520:~/git/js/deno$ deno hello.ts
Downloading https://unpkg.com/deno_testing@0.0.7/testing.ts
Error: Cannot resolve module "https://unpkg.com/deno_testing@0.0.7/testing.ts" from "/home/baas/git/js/deno/hello.ts".
os.codeFetch message: an error occurred trying to connect: invalid URL, scheme must be http
at throwResolutionError (deno/js/compiler.ts:99:9)
at DenoCompiler.resolveModule (deno/js/compiler.ts:362:16)
at DenoCompiler.resolveModuleName (deno/js/compiler.ts:396:33)
at moduleNames.map.name (deno/js/compiler.ts:552:33)
at Array.map (<anonymous>)
at DenoCompiler.resolveModuleNames (deno/js/compiler.ts:543:24)
at Object.compilerHost.resolveModuleNames (deno/third_party/node_modules/typescript/lib/typescript.js:111649:117)
at resolveModuleNamesWorker (deno/third_party/node_modules/typescript/lib/typescript.js:82561:106)
at resolveModuleNamesReusingOldState (deno/third_party/node_modules/typescript/lib/typescript.js:82768:24)
at processImportedModules (deno/third_party/node_modules/typescript/lib/typescript.js:84005:35)

Issue 2:
Probably using rustls

https://github.com/denoland/deno/tree/rustls
Issue 1:
use http1.1 keepalive get method not allowed error

this can be fixed by use

WSGIRequestHandler.protocol_version="HTTP/1.0"

and appear when use

WSGIRequestHandler.protocol_version="HTTP/1.1"

it seem a http server bug

Environment:

Python version:3.8

Flask version:2.1.1

Issue 2:
With the following example:

from flask import Flask

app = Flask(__name__)

@app.route('/', methods=['POST'])
def hello_world():
return 'Hello World!'

if __name__ == '__main__':
app.run()

When you set the request body to {} with Postman or any HTTP clients, the first request will return 200, while the second request will return a 405 error response. The log shows the request method is {}POST:

"{}POST / HTTP/1.1" 405

Notice the request body became the part of the request method.
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.0

Operating System version: MacOS

Java version: 1.8

Steps to reproduce this issue

When tag router is deleted by Dubbo Admin

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

java.lang.NullPointerException: null
at java.lang.String.<init>(String.java:515) ~[na:1.8.0_161]
at org.apache.dubbo.configcenter.support.zookeeper.CacheListener.childEvent(CacheListener.java:86) ~[dubbo-2.7.0.jar:2.7.0]
at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:685) [curator-recipes-2.8.0.jar:na]
at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:679) [curator-recipes-2.8.0.jar:na]
at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92) [curator-framework-2.8.0.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161]

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.1

Operating System version: centos, windows

Java version:

centos : openjdk version "1.8.0_212"

windows: oracle jdk java version "1.8.0_201"

Steps to reproduce this issue

just run no set generic

register generic service like:

ServiceConfig<GenericService> service = new ServiceConfig<GenericService>();
service.setInterface(registerServiceConfInterface.getInterfaceName());
service.setVersion(registerServiceConfInterface.getVersion());
service.setGroup("test");
service.setGeneric("true");
service.setRef();//just implement GenericService is ok return null
service.export();

use @reference define like follow

@Reference(version = "1.0.0", timeout = 5000, group = "test", check = false)
private DubboVersionFacade dubboVersionFacade;

result:

(1) start on windows the generic is null

(2) start on centos generic is false

reason:

AbstractReferenceConfig have two function to set generic

(1) isgeneric

(2) setgeneric

get methods sequence isgeneric first it will be null

get methods sequence setgeneric first it will be false

can i add the Parameter parameter to exclude the isgeneric ?
Issue 1:

Issue 2:
So @nathansobo and I talked about something similar the other night, but I wanted to highlight a specific problem I ran into the other day, because it may be something that we need to factor into the app a little more to specifically guard against this type of issue.

Here is a character that isn’t fixed width:

Highlighting it shows it breaking out of the character square:

It basically throws out all caret positions to the right of the character in question:

Not sure what the best solution is here, but yeah. Happy to brainstorm solutions 😄
Issue 1:
This may be a duplicate, but can't find the original if it exists.

See http://doc.rust-lang.org/core/intrinsics/index.html for the problem. Most of the intrinsics are doc'd with stability markers, but none of that shows up. Docs also consequently don't show up in re-exports.

Issue 2:
There are many situations in which we wind up reporting duplicate errors during trait matching and elsewhere. You can see this in many of the compile-fail tests which wind up with the same error several times. These messages often arise naturally because multiple parts of the code give rise to the same obligation, and because of type inference, which can make it hard to tell whether two trait obligations are in fact the same until it is too late. (In fact, we already silently drop two EXACT DUPLICATE obligations for various other reasons).

I think the best thing is just to add some sort of hashset and check for duplicates in librustc::middle::traits::error_reporting or maybe librustc_typeck::check::vtable. But we should do this check after doing full type resolution.

I am not sure whether to consider the spans. On the one hand, getting the same error for every line where it occurs is useful, and it can be confusing if you get an error from line A but not B even though they seem identical. This may lead you to think that B is somehow ok, when in fact the compiler was just helpfully suppressing a duplicate error. On the other hand, we already some amount of suppression like that, so the situation above can already arise, and perhaps being more consistent would wind up being less confusing overall.
Issue 1:
Speed is much quicker than with any of other applications in my Lenovo and Dell laptops. Scrolling speed should be slower, or there should be a way to adjust the speed in configuration.

Issue 2:
Environment

Windows build number: Microsoft Windows [Version 10.0.18898.1000], Microsoft Windows [Version 10.0.18908.1000] (both)
Windows Terminal version (if applicable): commit d24d647 and even before.

PC Info: Samsung NT901X5L

Steps to reproduce

Just scroll (up and down) by touchpad. (two-hand scrolling)

That's all.

Expected behavior

Smooth scrolling

Actual behavior

Terminal scrolls too fast.
Issue 1:
import requests
import time
from requests.packages import urllib3

#Disable https insecure warnings for verify=False
urllib3.disable_warnings()

with open('1.ts','rb') as fh:
file_data = fh.read()

def chunk_trans():
for i in range(0, 3):
time.sleep(0.1)
yield file_data

req = requests.Request('POST', 'http://192.168.123.151/1.ts', data=chunk_trans(), headers={'Host':'a.b.c.d'})
prep = req.prepare()
s = requests.Session()
s.send(prep, timeout=2, verify=False, allow_redirects=False)

On Server, I am seeing two "Host" headers are being sent. is that expected or I am not doing it correctly?

Issue 2:
Two Host header are being sent when doing chunk transfer with Session

import requests

requests.version

'2.22.0'

import requests
import time
from requests.packages import urllib3

#Disable https insecure warnings for verify=False
urllib3.disable_warnings()

with open('1.ts','rb') as fh:
file_data = fh.read()

def chunk_trans():
for i in range(0, 3):
time.sleep(0.1)
yield file_data

req = requests.Request('POST', 'http://192.168.123.151/1.ts', data=chunk_trans(), headers={'Host':'a.b.c.d'})
prep = req.prepare()
s = requests.Session()
s.send(prep, timeout=2, verify=False, allow_redirects=False)

Actual Output: Two host headers are seen on server side.

Host: 192.168.123.151
Host: a.b.c.d
Transfer-Encoding: chunked

only "a.b.c.d" host header should come.
Issue 1:
I am only able to dismiss one dismissible at a time, if I try to dismiss in a rapid-fire (swiping fast) fashion it will keep the previous state, because we have to set the state (in onDismissed) the state update will prevent the last fired dismissible to dismiss. It seems like dismissing fast is too fast for the state updates to take place.

In apps like gmail, it is possible to rapid-fire dismiss items I wonder how it is done there.

I tried to update state at a later time but I get the key exception (a dismissed widget is still part of the tree)

Issue 2:
Sometimes I see this exception when scrolling on Android with two fingers in a11y mode:

E/flutter (10226): [ERROR:lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (10226): 'package:flutter/src/gestures/converter.dart': Failed assertion: line 131 pos 18: '!state.down': is not true.
E/flutter (10226): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:35)
E/flutter (10226): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:31)
E/flutter (10226): #2 PointerEventConverter.expand (package:flutter/src/gestures/converter.dart:131:18)
E/flutter (10226): #3 _SyncIterator.moveNext (dart:core-patch/core_patch.dart:61)
E/flutter (10226): #4 ListQueue.addAll (dart:collection/queue.dart:635)
E/flutter (10226): #5 BindingBase&SchedulerBinding&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:46:27)
E/flutter (10226): #6 _invoke1 (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:100)
E/flutter (10226): #7 _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:58)
Issue 1:
When a <webview> tag points to a page which tries to load another <webview> tag, the inner webview fails to load. Example below:

In main.js, we load a page webview_outer:

mainWindow.loadURL('file://' + __dirname + '/webview_outer.html');

In webview_outer.html, we load another page webview_inner:

<html>
<body onload='onload()'>
<webview id="webview_outer"></webview>
<script>
onload = function() {
// This loads a page with a webview inside
var webview = document.querySelector('#webview_outer');
webview.src = 'file://' + __dirname + '/webview_inner.html';

webview.addEventListener('dom-ready', function() {
webview.openDevTools();
});
}
</script>
</body>
</html>

In webview_inner.html, we attempt to load a final web page (in this example the electron docs):

<html>
<body onload='onload()'>
<webview id="webview_inner"></webview>
<script>
onload = function() {
// This webview never loads
var webview = document.querySelector('#webview_inner');
webview.src = 'http://electron.atom.io/docs/v0.36.0/';

webview.addEventListener('dom-ready', function() {
webview.openDevTools();
});
}
</script>
</body>
</html>

The inner webview never loads. Is loading a <webview> inside a <webview> not supported by electron's architecture?

(OS X El Capitan 10.11.2, Electron 0.36.2 [using electron-prebuilt])

Issue 2:
index.html

<webview src="file:///embedded.html"></webview>

embedded.html

<h1>github</h1>
<webview src="http://github.com"></webview>

Would it be possible to have index.html render the header and webview of embedded.html? I don't seem to currently be able to do this.
Issue 1:
📝 Provide a description of the new feature

I am a big fan of PowerToys, especially Fancy Zones. I love that feature, but sometimes I have to turn off Fancy Zones and go back to resizing my windows using the default Window+Arrow Keys because that way Windows adds a splitter in between the two windows and I can easily resize them.

What is the expected behavior of the proposed feature? What is the scenario this would be used?

When the window is in the zone and gets resized horizontally or vertically, also resize the adjacent window. I am guessing this should be fairly straightforward to implement since the feature already exists in Windows 10 (or maybe even earlier versions) when we have 2 windows snapped, one on the left and the other on the right.

Please, please add this feature.

Issue 2:
I use PowerToys a lot and one thing that could beautify windows much more would be to increase the transparency of the taskbar or do one better! make it completely transparent, i don't wanna use some third party app for this, a trusted app from Microsoft would be really appreciated.

anyways great work.
Issue 1:
This method is used in DagFileProcessor.process_file:

https://github.com/apache/airflow/blob/main/airflow/dag_processing/processor.py#L787

it needs to be changed to static

Issue 2:
airflow 1.10.12, mysql 5.7 metastore, rbac, no serialized dags, intermittent error found twice in the logs:

[2020-10-15 12:28:14,502] {scheduler_job.py:167} ERROR - Got an exception! Propagating...

Traceback (most recent call last):

File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/jobs/scheduler_job.py", line 159, in _run_file_processor

pickle_dags)

File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/utils/db.py", line 74, in wrapper

return func(*args, **kwargs)

File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/jobs/scheduler_job.py", line 1609, in process_file

dag.sync_to_db()

File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/utils/db.py", line 74, in wrapper

return func(*args, **kwargs)

File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/models/dag.py", line 1543, in sync_to_db

session.commit()

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 1042, in commit

self.transaction.commit()

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 504, in commit

self._prepare_impl()

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 483, in _prepare_impl

self.session.flush()

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 2523, in flush

self._flush(objects)

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 2664, in _flush

transaction.rollback(capture_exception=True)

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 69, in exit

exc_value, with_traceback=exc_tb,

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/util/compat.py", line 182, in raise

raise exception

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 2624, in _flush

flush_context.execute()

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/unitofwork.py", line 422, in execute

rec.execute(self)

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/unitofwork.py", line 589, in execute

uow,

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/persistence.py", line 236, in save_obj

update,

File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/persistence.py", line 1028, in _emit_update_statements

% (table.description, len(records), rows)

sqlalchemy.orm.exc.StaleDataError: UPDATE statement on table 'dag' expected to update 1 row(s); 0 were matched.
Issue 1:
Electron version: 1.4.6

Operating system: Windows 10 (Version 1607)

function handleWindowBeforeunload(event) {
const confirmed = (dialog.showMessageBox(remote.getCurrentWindow(), options) === 1);
if (confirmed) {
remote.getCurrentWindow().close();
} else {
event.returnValue = false;
}
}

window.addEventListener("beforeunload", handleWindowBeforeunload);

Expected behavior

The window should stay open except when button 1 is pressed in the message box.

Actual behavior

Sometimes (~1 out of 10 times) the window will close, regardless of the button pressed in the message box.

It happens more often when the developer tools are closed, and never happens when using the debugger to step over the code.

How to reproduce

Use the code snipped above with any message box with >= 2 buttons, with closed developer tools.

The code above is loosely modeled in the way atom does their beforeunload handling.

(https://github.com/atom/atom/blob/master/src/window-event-handler.coffee#L150)

Issue 2:
Electron version: 1.6.11

Operating system: MacOS Sierra 10.12.5

Expected behavior

To prevent page transition, I wrote the code like this:

window.addEventListener('beforeunload', function(e) {
if (!confirm('Page closing, OK?')) {
e.returnValue = 'false';
return false;
}
});

By this coding, I expect to prevent page transition if user choose "Cancel" ondialog.

Actual behavior

This code works if I show DevTools window for debugging.

But once I close DevTools window, this code not works and page transition occurs.

How to reproduce

Create project with 2 pages (page A, page B).

Add above code on page A.

Add the link to page B on page A.

Run electron

Show DevTools Window and click the link. Then dialog shows, press cancel. Page transition is canceled.

Close DevTools and click the link. Transition occurs even if cancel is selected.