WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/3288/

Multiple broken tests:

Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for intra-pod communication: http [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/networking.go:38
Oct 23 18:20:06.655: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://100.96.1.8:8080/dial?request=hostName&protocol=http&host=10.123.45.3&port=8080&tries=1'
retrieved map[]
expected map[netserver-0:{}]

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206

Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for node-pod communication: http [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/networking.go:52
Oct 23 18:17:31.193: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://10.123.45.6:8080/hostName
retrieved map[]
expected map[netserver-2:{}]

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255

Issues about this test specifically: #33631 #33995

Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for node-pod communication: udp [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/networking.go:59
Oct 23 18:17:32.889: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 10.123.45.5 8081
retrieved map[]
expected map[netserver-1:{}]

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255

Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for intra-pod communication: udp [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/networking.go:45
Oct 23 18:20:07.979: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://100.96.2.9:8080/dial?request=hostName&protocol=udp&host=10.123.45.4&port=8081&tries=1'
retrieved map[]
expected map[netserver-1:{}]

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206

Previous issues for this suite: #34196 #34777 #35305

Issue 2:
Failed: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/2102/

Run so broken it didn't make JUnit output!
Issue 1:
Bug summary

When you load a stylesheet with a figure.dpi setting, then the dpi setting is not honored in the first figure. (It is honored in subsequent figures).

Code for reproduction

import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
from pathlib import Path
cfgdir = mpl.get_configdir()

# --- First create a custom style file with just a dpi setting ---
p = Path(cfgdir)
stylelib = (p / 'stylelib')
stylelib.mkdir(exist_ok=True)
path = stylelib / 'mplbug.mplstyle'
path.write_text("figure.dpi: 200")

plt.style.reload_library()

x = np.cos(np.linspace(0,4*np.pi,200))
plt.style.use('mplbug')
plt.plot(x)

Actual outcome

when i run this exact code two times in a row in a jupyter notebook, then the figure size is not the same the two times. It is wrong in the first figure.

Expected outcome

I expect the figure to be big the first time and all subsequent times.

Additional information

No response

Operating system

Windows

Matplotlib Version

3.5.2

Matplotlib Backend

module://ipykernel.pylab.backend_inline

Python version

3.8.5

Jupyter version

6.1.4

Installation

conda

Issue 2:
Bug summary

First invocation of plt.plot() resets mpl.rcParams['figure.dpi'].

Code for reproduction

# Only tested in Jupyter

import matplotlib as mpl
import matplotlib.pyplot as plt

mpl.rcParams['figure.dpi'] = 300

print(mpl.rcParams['figure.dpi'])
plt.plot()
print(mpl.rcParams['figure.dpi'])

Actual outcome

300.0

72.0

Expected outcome

300.0

300.0

Additional information

This happens only at the very first invocation of plt.plot(), while on subsequent plt.plot() calls mpl.rcParams['figure.dpi'] will no longer be overwritten.

Other rcParams values seem not to be affected (but I've not tested them all).

I have never observed this behavior in any of the previous matplotlib versions, so the bug must have been introduced in the latest version (3.5.2).

Operating system

Windows 10

Matplotlib Version

3.5.2

Matplotlib Backend

module://matplotlib_inline.backend_inline

Python version

Python 3.9.12

Jupyter version

3.4.0

Installation

conda
Issue 1:
Migrated issue, originally created by Anonymous

When using .count() on a polymorphic mapper the polymorphic_type is not taken into account giving wrong results.

from sqlalchemy import *
from sqlalchemy.orm import *

metadata = MetaData()
animals = Table('animals', metadata,
Column('id', Integer, primary_key=True),
Column('animal_type', String(10), nullable=False))

class Animal(object):
pass
class Dog(Animal):
pass
class Cat(Animal):
pass

mapper(Animal, animals,
polymorphic_on=animals.c.animal_type)

mapper(Dog, inherits=Animal, polymorphic_identity='dog')
mapper(Cat, inherits=Animal, polymorphic_identity='cat')

def data():
animals.insert().execute(
{'id': 1, 'animal_type': 'dog'},
{'id': 2, 'animal_type': 'dog'},
{'id': 3, 'animal_type': 'cat'},
{'id': 4, 'animal_type': 'cat'},
{'id': 5, 'animal_type': 'cat'})

def test():
s = create_session()

py_count = len(s.query(Dog).all())

sa_count = s.query(Dog).count()
print 'py:', py_count, 'sa:', sa_count
print 'correct?', sa_count == py_count

if __name__ == '__main__':
metadata.bind = 'sqlite:///test'
metadata.create_all()
try:
data()
test()
finally:
metadata.drop_all()

Issue 2:
Migrated issue, originally created by Denis Otkidach (@ods)

New object with the same ID as existing one implicitly merged via cascade rules has old value of relationship property after the commit when the new value is None.

In short:

doc.doc_links = [DocLink(id=doc_link_id, link=None)]
session.commit()
assert doc.doc_links[0].link is None # fails

Full test is attached (test3 is the test case that fails).

Attachments: sa_merge_relation.py | 3060.patch
Issue 1:
[Enter steps to reproduce below:]

The editor was idle. When I came back to it, this message was displayed.

Atom Version: 0.169.0

System: Microsoft Windows 8.1 Pro

Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOENT, open 'c:\code\ta\AboveWebrootDirs\AppConfig\Log4NetConfig\sync.server.log4net.config'

At c:\Users\rratzlaff\AppData\Local\atom\app-0.169.0\resources\app\node_modules\q\q.js:126

Error: ENOENT, open 'c:\code\ta\AboveWebrootDirs\AppConfig\Log4NetConfig\sync.server.log4net.config'
at Error (native)

Commands

-1:23.9 application:new-file (atom-text-editor.editor)
-1:23.3 core:paste (atom-text-editor.editor)
-1:21.3 core:move-to-top (atom-text-editor.editor)
-1:19.8 core:save (atom-text-editor.editor)
-0:02.5 application:new-file (atom-text-editor.editor)
-0:01.9 core:paste (atom-text-editor.editor)
-0:00.0 core:save (atom-text-editor.editor)

Config

{}

Installed Packages

# User
atom-beautify, v0.21.2
autocomplete-plus-async, v0.22.0
color-picker, v1.2.6
language-csharp, v0.3.0
language-mediawiki, v0.1.0
linter, v0.9.1
minimap, v3.5.4
omnisharp-atom, v0.1.6
project-manager, v1.14.1

# Dev
No dev packages

Issue 2:
switch the node_modules package from a version to a git repository

npm install

Atom Version: 0.165.0

System: Mac OS X 10.10.1

Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOENT, open '/Users/joscha/Development/mailbutler/node_modules/grunt-crx/tasks/crx.js'

At /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:126

Error: ENOENT, open '/Users/joscha/Development/mailbutler/node_modules/grunt-crx/tasks/crx.js'
at Error (native)

Commands

-0:28.1 find-and-replace:show (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:26.0 core:confirm (input.hidden-input)
7x -0:19.3 core:move-left (input.hidden-input)
-0:14.9 core:backspace (input.hidden-input)
-0:14.2 core:move-left (input.hidden-input)
2x -0:13.7 core:move-right (input.hidden-input)
-0:13.1 core:move-left (input.hidden-input)
-0:12.8 core:backspace (input.hidden-input)
7x -0:12.5 core:move-right (input.hidden-input)
-0:11.3 core:backspace (input.hidden-input)
2x -0:10.9 core:move-right (input.hidden-input)
-0:09.7 core:backspace (input.hidden-input)
5x -0:09.3 core:move-left (input.hidden-input)
-0:02.6 core:copy (input.hidden-input)
-0:00.7 core:paste (input.hidden-input)
-0:00.0 core:save (input.hidden-input)

Config

{
"core": {
"ignoredNames": [
".git",
".svn",
".DS_Store"
]
},
"editor": {
"showInvisibles": true,
"autoIndentOnPaste": false
}
}

Installed Packages

# User
atom-jasmine, v0.4.0
editorconfig, v0.2.2
jsformat, v0.7.18
language-scala, v1.1.0
linter, v0.9.0
linter-coffeelint, v0.1.7
linter-jshint, v0.1.0
linter-php, v0.0.11
travis-ci-status, v0.11.1
visual-bell, v0.9.0

# Dev
No dev packages
Issue 1:
I use the Ctrl-Up and Ctrl-Down feature very often, so I can scroll a limited amount of distance without losing my place. This has the advantage of allowing me to use the mouse less for view adjustment.

I've noticed that there is a difference between how this behaves in the full Visual Studio and in Code. In Visual Studio, when you use Ctrl-Up/Down and the view moves such that the cursor is at the limit of the screen, then the editor will advance the cursor such that it remains on the last line visible. Code, however, does not do this, so the next time you hit a key (e.g. a cursor key without pressing Ctrl) then the view resets back to the line you were originally on which is quite jarring.

Issue 2:
I've shamelessly copied from the atom-typescript issue.

To illustrate this, please look at a followup which contains a screenshot

The issue

Since backticks `` are ment for template formats, it would be nice to have a way to define syntax highlighting between them.

For example Angular2 implements templates in TypeScript as following:

@Component({
selector: 'tabs',
template: `
<ul>
<li>Tab 1</li>
<li>Tab 2</li>
</ul>
<ng-content></ng-content>
`
})

Atom
Issue 1:
Rust used to support iface-less impls. These were good because they avoided duplicating method signatures.

Since the iface -> trait conversion these no longer seem to be supported. Instead, it seems, a trait-less impl can only apply to class types and is equivalent to declaring the methods inside the class body.

IMO the iface/trait-less impl was really useful. Having to declare the iface/trait even though there will only ever be one impl seems redundant.

Is there any chance this feature could return?

Issue 2:
It's rarely used and usually it's better to define a custom enum type.
Issue 1:
I would like to propose the following amendments to the docstring style guide.

Drop the "optional" note next to optional parameters:

Most tools that I can think of for viewing a function docstring will also display the function signature, which displays whether a parameter is optional in a much more prominent manner.

"Optional" is not sufficient to indicate whether a parameter is keyword-only or not (currently rare, but possibly less so in the future).

Due to Matplotlib's API design, the vast majority of parameters are optional anyways.

Stop mentioning the default value for optional arguments, unless it has a non-obvious meaning (typically when None means rcParams["foo"]).

Likewise this is mostly duplicating information available in the signature; moreover, right now the default value is given at the end of the doc for each parameter which is not even a really obvious place to find it (it would have been better if it went right next to the parameter name, but what can you do...).

Note that numpydoc says "Optional keyword parameters have default values, which are displayed as part of the function signature. They can also be detailed in the description." (emphasis mine). The example they give is in fact one where the default has a non-obvious meaning.

Description of parameter `x` (the default is -1, which implies summation
over all axes).

Progressively switch to using type hints syntax for "composite" types (List[int], etc.). I'm actually not a huge fan of the direction that the Python dev team is taking on explicit type hints everywhere in general (I think it's a step in the wrong direction - compare with C++ which is moving towards auto everywhere), but it does provide a standard syntax that is reasonable. The only exception is that I would keep type1 or type2 (which is understood by Sphinx) rather than Union[type1, type2]. We also need to decide whether to have a standard syntax for array-likes, although that's probably more of an upstream (i.e. numpydoc-level) issue and can be done in a later stage.

Issue 2:
This is on current master I can't reproduce this using 1.4.3. I guess it relates to the stale auto redraw handling?

from mpl_toolkits.mplot3d import Axes3D

fig = plt.figure(figsize=(6.5,5.5))
ax = fig.add_subplot(1, 1, 1, projection='3d')
xs = np.random.rand(10)
ys = np.random.rand(10)
zs = np.random.rand(10)
ax.set_aspect('equal')

ax.scatter(xs, ys, zs)
ax.set_xlim(0,1)
ax.set_ylim(0,1)
ax.set_zlim(0,1)
fig.tight_layout()

results in

Rotating the figure restores the correct axes. I can't reproduce it with QT5Agg or GTK3Agg

It seems like both the equal axis z and the original z axis are drawn on top of each other. It doesn't seem to happen in regular 2D plots.
Issue 1:
ever since I update my program to 0.36.0.no event "ondrop",waiting for solutions

Issue 2:
With frequent drag and drop events I'm seeing drop events fire after associated dragEnd event fires. Currently this is in a react app, using react-dnd but I've been able to reproduce the issue when running this jsfiddle in an Electron webview. I haven't been able to reproduce in Chrome or in Electron itself. To cause it on my current 15" macbook I need to very quickly move elements, but on slower machines it can happen on the first drag and drop sequence.

http://jsfiddle.net/phmccqhk/

Steps:

Open fiddle in an Electron webview (I'm doing this by forcing the route in our app) window.location.href = 'http://jsfiddle.net/phmccqhk/'

Open Dev Console

Quickly and repeatedly drag test divs from left to right into red square.

Watch log for Drag End -> Drop -> Drop -> Drag End sequence

Versions:

Electron: 0.33.1

Mac OSX: 10.10.5

Seems like it could be related to:

#1276

https://code.google.com/p/chromium/issues/detail?id=412373
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.6.0

Operating System version: windows 10

Java version: 1.8

Steps to reproduce this issue

1：Config dubbo:refrence;

2：@Autowired dubbo:refrence Service in Service

Expected Result

I hope this way above can avoid IDEA can not found xxx Beans errors.

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

本人第一次在GitHub发issue，如有不妥请大佬见谅

Dubbo version: 2.6.2

Operating System version: cent os 6

Java version: 1.8

Step to reproduce this issue

redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = register, dubbo version: 2.6.2,

redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = unregister, dubbo version: 2.6.2,

redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = register, dubbo version: 2.6.2,

redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = unregister, dubbo version: 2.6.2,

Expected Result

请教大佬这个问题的可能原因是什么

Actual Result

What is actually happen?

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

Just put your stack trace here!

本来想添加一下label但是不知道怎么加
Issue 1:
~> deno --version
deno 1.5.0
v8 8.7.220.3
typescript 4.0.3

OS Windows 10

Running the sample as directed in https://deno.land/posts/v1.5#codealertcode-codeconfirmcode-and-codepromptcode-added:

deno run https://deno.land/posts/v1.5/alert_confirm_prompt.js

What is your name? Wrong
is your name? [y/N] n
What is your name? Correct
is your name? [y/N] y
What is your name?

Loop never breaks and confirm message is truncated at is your name?.

Issue 2:
to reproduce:

Linux (WSL) | Windows

isn't limited to repl
Issue 1:
I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Templates complain when the object "can be null" and they don't accept using typescript's ! not null caster. The way to do this is by using ? instead which is inconsistent.

Expected behavior

Angular templates should accept ! like if it was ?

Minimal reproduction of the problem with instructions

<h2>{{ video.getSnippet().getTitle() }}</h2>

resulted in error "Object is possibly 'null'."

<!-- Using typescript's "not null" cast -->
<h2>{{ video.getSnippet()!.getTitle() }}</h2>

resulted in Error: Template parse errors:

Parser Error: Unexpected token '!' at column 23 in [{{ video.getSnippet()!.getTitle() }}]

What is the motivation / use case for changing the behavior?

Consistency

Please tell us about your environment:

Ubuntu, Atom

Language: TypeScript?

Issue 2:
I'm submitting a ... (check one with "x")

[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

If we try to put a structural *ngIf attribute directive inside a input element in a form

to make it appear on certain conditions and not on others. And when we try to access the

DOM of the element using #ControlOfTheInput it shows the element is undefined as if the

DOM wasn't created.

Expected behavior

It is expected that if the condition is true the input field should be accessible

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/EhLdqIt931SJB0MsvVVq

What is the motivation / use case for changing the behavior?

To be able to conditional change form elements in a form when certain conditions have been fulfilled

Please tell us about your environment:

Angular version: 2.0.X

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

Node (for AoT issues): node --version =
Issue 1:
It would be nice to be able to dim files and folders that are listed in the .gitignore file.

I'm not sure if this has been mentioned or not, before, but I couldn't find anything about it.

It would make it easier to tell what is ignored, and what is in your actual repo. Plenty of times I have accidentally edited a transpiled file, wondering why my changes did get updated.

As an aside, file type icons would be cool, as well. I think this has been mentioned before, but put on the back burner because of the "Christmas Tree Effect". It would make finding files a bit easier, IMO. It could be off by default.

I've just started to look into the source of the project, and from what I understand, there isn't a way to access the explorer (sidebar) with an api. It would be nice to be able to create an extension for something like this. (also, It seems like themes do not have access to the explorer, either (except for light vs. dark). It looks kind of odd when the code pane is one color, and the explorer pane is another.

Sorry to run on, but I think these would be some good additions!

Issue 2:
Similar to what atom provides in the project explorer:

New files are displayed green.

Modified are displayed yellow/orange.

Ignored files are displayed transparent-ish.

Thanks
Issue 1:
d:

/usr/local/bin/electron -> /usr/local/lib/node_modules/electron-prebuilt/cli.js

electron-prebuilt@0.34.0 postinstall /usr/local/lib/node_modules/electron-prebuilt

node install.js

Downloading electron-v0.34.0-darwin-x64.zip

[============================================>] 100.0% of 37.94 MB (250.83 kB/s)

/usr/local/lib/node_modules/electron-prebuilt/install.js:15

throw err

^

Error: EACCES, rename '/usr/local/lib/node_modules/electron-prebuilt/electron-tmp-download-15050-1445301881243/electron-v0.34.0-darwin-x64.zip'

at Error (native)

npm ERR! Darwin 15.0.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "electron-prebuilt" "-g"

npm ERR! node v0.12.7

npm ERR! npm v2.11.3

npm ERR! code ELIFECYCLE

npm ERR! electron-prebuilt@0.34.0 postinstall: node install.js

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the electron-prebuilt@0.34.0 postinstall script 'node install.js'.

npm ERR! This is most likely a problem with the electron-prebuilt package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node install.js

npm ERR! You can get their info via:

npm ERR! npm owner ls electron-prebuilt

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /Users/Aleff/npm-debug.log

Issue 2:
We've been burned by this a couple of times but to install globally you have to do sudo npm install electron-prebuilt -g and it seems like it's attempting to copy a temp file from a root folder into a user folder that it doesn't have access to.

The work around is to install electron-prebuilt locally once, npm install electron-prebuilt to get the binary into the user folder cache, then install globally.

I just wanted to point this out, it would be nice if this error didn't happen, it's not blocking me though.
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: xxx

Operating System version: windows 10

Java version: 1.8

Steps to reproduce this issue

http://dubbo.apache.org/zh-cn/docs/admin/install/provider-demo.html 说明文档中提到的dubbo-demo-provider，在clone git后并没有找到

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

Expected Result

希望说明文档中提供最新的dubbo-demo-provider位置，或者新的项目名

Actual Result

What actually happens?

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

Just put your stack trace here!

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.5

Operating System version: window

Java version: 1.8

Expected Result

registry url timeout=10000

Actual Result

registry url timeout=3000

Application run failed

java.lang.IllegalStateException: zookeeper not connected

at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.(CuratorZookeeperClient.java:83)

at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperTransporter.createZookeeperClient(CuratorZookeeperTransporter.java:26)

at org.apache.dubbo.remoting.zookeeper.support.AbstractZookeeperTransporter.connect(AbstractZookeeperTransporter.java:68)