WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Do you want to request a feature or report a bug?

Report a bug

What is the current behavior?

React dev tools don't appear in chrome dev tools

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:

Download latest chrome extension and go to https://reactjs.org, open dev tools

What is the expected behavior?

React dev tools tab should appear in chrome

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

React: N/A

▶ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

▶ google-chrome --version
Google Chrome 77.0.3865.75

This worked in previous versions of chrome/chrome extension, but I'm not sure when exactly the bug surfaced, since I haven't used it in a while.

Thanks in advance for any help, React is awesome :)

Issue 2:
i was working with it a while ago but now it will only show nothing in the Components tab. I tried everything, reinstalled or even try on a different browser. I even restarted my PC.

![Screenshot from 2019-09-20 14-53-15]
Issue 1:
in the latest version of source-to-image we had to bump the docker engine-api to resolve a bug,

see this: openshift/source-to-image#612 (comment)

wanted to kick the conversation about bumping it here so we can bump it in origin. i already looked into it and it seems that the docker team also broke API compatibility by removing some fields from the types.go so now, cadvsior needs to be bumped to solve that (and who knows what else). not to mention that they also deprecated the docker engine-api altogether.

@mfojtik @kargakis what do you guys think?

cc: @bparees @smarterclayton

Issue 2:
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):

What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Kubernetes version (use kubectl version):

v1.3.6

Environment:

Cloud provider or hardware configuration:

X86 lenovo PC

OS (e.g. from /etc/os-release):

[root@node0 ~]# cat /etc/os-release

NAME="CentOS Linux"

VERSION="7 (Core)"

ID="centos"

ID_LIKE="rhel fedora"

VERSION_ID="7"

PRETTY_NAME="CentOS Linux 7 (Core)"

ANSI_COLOR="0;31"

CPE_NAME="cpe:/o:centos:centos:7"

HOME_URL="https://www.centos.org/"

BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"

CENTOS_MANTISBT_PROJECT_VERSION="7"

REDHAT_SUPPORT_PRODUCT="centos"

REDHAT_SUPPORT_PRODUCT_VERSION="7"

Kernel (e.g. uname -a):

Linux node0 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

What happened:

run the below cmd, error.

export KUBERNETES_PROVIDER=centos
cluster/centos/build.sh all ---- error

What you expected to happen:

Can't download docker binary.

I have fix it, and default install the latest kubernetes, docker, flannel, etcd.
Issue 1:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

5.0.2

Operating System:

Windows 10 (1903)

Last Known Working Electron version:

4.*

Expected Behavior

Using baseURLForDataURL option in window.loadURL should open new window using provided base url.

Actual Behavior

Window doesn't open, throws error to console (screenshot provided).

To Reproduce

const win = new remote.BrowserWindow()
win.current.loadURL(
`data:text/html;charset=UTF-8,${encodeURIComponent('<!DOCTYPE html>')}`,
{ baseURLForDataURL: 'http://...' },
)

Screenshots

### Additional Information

Issue 2:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

7.0.0

Operating System:

Arch Linux

Last Known Working Electron version:

6.0.10

Expected Behavior

Opening a webview with a preset source as in:

<webview src="https://github.com"></webview>
<script>
webview.loadURL(
`data:text/html;charset=utf-8;base64,
PGgxPkhBTExPPC9oMT4=
`, { baseURLForDataURL: `file://home/` })
// the base64 string is just <h1>HALLO</h1>
</script>

loads the github URL and then reloads the webview with HALLO.

Actual Behavior

Electron crashes

To Reproduce

See this repo:

https://github.com/burningTyger/webview-bug

Screenshots

Additional Information
Issue 1:
Migrated issue, originally created by Konsta Vesterinen (@kvesteri)

The following code illustrates this problem:

import sqlalchemy as sa
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base

engine = sa.create_engine(
'postgres://postgres@localhost/test'
)
engine.echo = True
Base = declarative_base()
Session = sessionmaker(bind=engine)
session = Session()

class Question(Base):
__tablename__ = 'question'
id = sa.Column(sa.Integer, primary_key=True)

weight = sa.Column(sa.Integer, default=1)

Base.metadata.create_all(bind=session.bind)

q = Question(weight=None)
session.add(q)
session.commit()

assert q.weight is None

The problem also exists by changing the default=1 to server_default='1'. Also in this case the explicit weight=NULL is not added to INSERT statement.

Issue 2:
Migrated issue, originally created by Oleg Pidsadnyi (@olegp)

Mike, I've encountered a behavior that is a bit unexpected:

class Model(Base):
a = Column(Integer, nullable=True, default=1)

m = Model()
m.a = None
session.add(m)

In: print m.a
Out: None

session.commit()

In: print m.a
Out: 1

None is expected :(

I understand that the configuration is silly, but this is the existing code. Setting None to the column doesn't cancel the default and the default thinks that the column wasn't set, so it uses the default value in the end.
Issue 1:
Context:

Playwright Version: [what Playwright version do you use?] - 1.19.0

Operating System: [e.g. Windows, Linux or Mac] - Mac

Node.js version: [e.g. 12.22, 14.6] - 12.22.0

Browser: [e.g. All, Chromium, Firefox, WebKit] - Chromium

Extra: [any specific details about your environment] - It runs fine locally

const { test } = require('@playwright/test');
const { SimResults } = require('../selectors/simulationResults');
const playwright = require('playwright');

test.describe('Output Edit', () => {
test('Simulations page', async ({ page }) => {
for (const browserType of ['chromium', 'firefox', 'webkit']) {
const browser = await playwright['chromium'].launch();
const context = await browser.newContext();
const page = await context.newPage();
await page.goto('https://www.google.com');
await page.click(SimResults.SimResultPage.simPage(2));
}
});
});

Describe the bug

I have playwright_download_host=https://.../repository/playwright-raw-proxy in .npmrc file and downloading is working fine.

Jenkins error

14:44:58 + npm run test
14:44:59
14:44:59 > playwright@1.0.0 test-galileo-chrome /jenkins/workspace/home-automation_main
14:44:59
14:45:00
14:45:00 Running 1 test using 1 worker
14:45:00
14:45:07 ��� [chromium] ��� src/ui/specs/simulationPage.spec.js:6:3 ��� Output Edit ��� Simulations page (215ms)
14:45:10
14:45:10
14:45:10 1) [chromium] ��� src/ui/specs/simulationPage.spec.js:6:3 ��� Output Edit ��� Simulations page =
14:45:10
14:45:10 browserType.launch:
14:45:10 ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
14:45:10 ��� Host system is missing a few dependencies to run browsers. ���
14:45:10 ��� Please install them with the following command: ���
14:45:10 ��� ���
14:45:10 ��� sudo npx playwright install-deps ���
14:45:10 ��� ���
14:45:10 ��� <3 Playwright Team ��
'''

Issue 2:
I bumped playwright to 1.19 and updated docker image to point to 1.19

FF started failing with message

jenkins.lab.xxx.org/blue/organizations/jenkins/builds%2FOneAgent%2Fxxx/detail/RUM-611-bump-playwright/1/pipeline/#step-241-log-1660)browserType.launch:

[2022-02-14T10:38:06.279Z] ╔════════════════════════════════════════════════════════════╗

[2022-02-14T10:38:06.279Z] ║ Host system is missing a few dependencies to run browsers. ║

[2022-02-14T10:38:06.279Z] ║ Please install them with the following command: ║

[2022-02-14T10:38:06.279Z] ║ ║

[2022-02-14T10:38:06.279Z] ║ sudo npx playwright install-deps ║

[2022-02-14T10:38:06.279Z] ║ ║

[2022-02-14T10:38:06.279Z] ║ <3 Playwright Team

chromium and webkit work fine

Is there some upgrade step that I should have done or?

It works fine again if I go back to 1.18.1 for both npm dep and playwright image
Issue 1:
It would be great to have following features at APIRequest

generics for APIRequestContext methods and for APIResponse, like APIRequestContext.get<T>(url, options): Promise<APIResponse<T>> since it's often much more convenient than using assert or casting any to desired type manually

ability to set default value for failOnStatusCode globally, in beforeEach block or per context instance, since it's often to be used with .json() in order to get JS response body, and json conversion would often get xml error and throw error trying to parse it with not informative message like SyntaxError: Unexpected token < in JSON at position 0 instead of actuial API error description

introduce APIRequestContext methods overloads. It's quite often for testing we don't care about post response except it successful, but when we do we often want to get response body, and it's not quite convenient additionally await APIResponse.json(). So it might be useful to be able to define what kind of response do we want to get. For example, Angular httpClient uses options.observe property for this purpose https://github.com/angular/angular/blob/master/packages/common/http/src/client.ts#L1209

sorry if some feature requests duplicate, originally I was looking only for failOnStatusCode, but got a little carried away 🙂

Issue 2:
System info

Playwright Version: v1.33

Operating System: Docker container

Browser: [All, Chromium, Firefox, WebKit]

Other info:

an error "SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)" that could occur when there is no /etc/passwd entry for the current user, such as in some Docker and GitHub Action setups.

the issue is introduced by the PR #22046.

Cypress had same issue before, they had a fix cypress-io/cypress#17488.

Source code

I provided exact source code that allows reproducing the issue locally.

Link to the GitHub repository with the repro

https://github.com/pei-wang/playwright-issue-reproduce

Steps

[Run the test]

Expected

run tests successfully

Actual
Issue 1:
Roshan opened SPR-9095 and commented

We are using the above spring version in our web application and it is runs on 3 node jboss 5.1.1 cluster with enabling session replication. But when accessing our functionality, we are getting java.io.NotSerializableException: javax.annotation.PostConstruct exception at the time of replicating session over jboss nodes.

Found the https://jira.springsource.org/browse/SPR-5331 issue and it address the same issue but we cannot see any solution given.

Affects: 3.0.5

Issue Links:

#10004 DestructionCallbackBindingListener is Serializable but contains potential non-serializable state

Issue 2:
Olaf Otto opened SPR-5331 and commented

The static inner class DestructionCallbackBindingListener of ServletRequestAttributes implements Serializable but has a potential non-serializable state (a Runnable reference). This may lead to unwanted serialization attempts of the runnable objects.

I believe this might actually not be a bug but a desired behaviour, since DestructionCallbackBindingListener is supposed to survive graceful web-app restarts. If so, this fact should probably be documented or serializability should be enforced by other means.

org.springframework.web.context.request.ServletRequestAttributes#registerDestructionCallback(String name, Runnable callback, int scope) lacks API documentation so far.

Affects: 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6

Issue Links:

#13733 DestructionCallbackBindingListener is Serializable but contains non-serializable Runnable reference
Issue 1:
(I am able to reproduce this in safe mode in latest Atom 0.175.0)

Not always, but quiet often, I have partial selection left behind when I select a portion of code on one line and then start typing hoping to replace the selected chars. When I type my first char, this causes selection jump to the characters on the right and they get deleted when I type the second char. For example, I have this test.js file:

var where = _.pick({
classified_id: query.classId,
section_id: query.secId,
category_id: query.catId
}, function(val, key) {
console.log(' **** val:', val);
console.log(' **** key:', key);
return !_.isUndefined(val);
});

To replicate:

Select a portion of code on any line with a mouse or a touchpad. Release the mouse button.

Switch to keyboard and press the space bar

You should see that the selected chars were deleted, but some of the chars on the right are selected now too.

Press space bar again, and those extra selected chars get deleted

Do steps 1 and 2 a few times if you can't replicate it on first time.

This is a real pain since I always have to do Command + Z to undo these side effects. Sometimes, I don't notice it and my code no longer runs.

Issue 2:
When I select some text and then paste something instead of it, sometimes I get random piece of the pasted text being selected. Look at the screencast:

Here I'm selecting pieces of text and pasting some other text. In one of three times it results in a part of the pasted text being selected.

It leads to some inconvenience in my work. After I replace selected text with text from the clipboard, I should check whether something is selected before I type anything (because the text I'm typing will replace the selection).

The same when I start typing while some text is selected. The typed symbol replaces the selection, but sometimes it becomes selected itself. So when I type the second symbol, it replaces the first one.

The behaviour which I observe in other text editors is: replace selected text with pasted/typed one, deselect anything, place the cursor after the pasted text. This is the most convenient option, I guess.

My Atom version is 0.175.0 (and I've observed it in all previous versions), my system - OS X 10.9.5.
Issue 1:
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

Application don't launch with Angular 4.0.0-beta.8 - ES5 JavaScript with DSL.

Problem to start application

Unhandled Promise rejection: Cannot read property 'merge' of undefined ; Zone: ; Task: Promise.then ; Value: TypeError: Cannot read property 'merge' of undefined

Problem to launch module with canActivate / canDeactivate option

EXCEPTION: Uncaught (in promise): TypeError: Cannot read property '$$observable' of undefined

TypeError: Cannot read property '$$observable' of undefined

Expected behavior

Application should work normaly

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/tPtY1a31CnFqhNbzVViU?p=preview

Problem to start application --> corrected by adding this two lines in index.html

window.rxjs_observable_merge = Rx.Observable;

window.rxjs_operator_share = Rx.Observable.prototype;

Problem to launch module with canActivate / canDeactivate option --> corrected by adding this two lines in index.html

Rx.Symbol.$$observable = Rx.Symbol.observable;

window.rxjs_symbol_observable = Rx.Symbol;

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

Having application launch and work normaly

Please tell us about your environment:

Not important !

Angular version: 4.0.0-beta.8 and earlier (not sure !)

Browser: Chrome and all others

Language: ES5

Node (for AoT issues): node --version = Not concerned

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

[x] bug report => (maybe related with #12162)
[ ] feature request
[ ] support request

Current behavior

Angular runs resolve methods before APP_INITIALIZER ends.

Expected behavior

Angular should wait for all APP_INITIALIZER promises and then run resolve functions for routes.

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/MiWgLZ?p=preview

Choose angular version in config.js. In Angular 2.4.8 fails, in Angular 2.4.7 works.

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

In previous versions it works.

Angular version:

2.4.8

Maybe related with #12162
Issue 1:
To generate dense feature maps (e.g. semantic segmentation) the convolution and the maxpooling operators should have the option to define "holes" in the kernel.

The concept is used in the paper:

Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs

(Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, Alan L. Yuille)

and it is implemented in the excellent deeplab library based on Caffe.

Issue 2:
When a conv2d operator has a stride greater than the kernel size, the following error is thrown:

ValueError: ('stride must be less than or equal to filter size', 'stride: [2x2] filter: [Dimension(1)xDimension(1)]')

This makes implementing the 1x1 convolutions used to reduce spatial resolution in several papers (MSRA 2015 among others) awkward. Also, a convolution with stride greater than kernel size may be unusual but is it still well defined. Fixing this may be as simple as removing this assertion.

Thanks to everyone who developed TensorFlow, it's a fascinating tool.
Issue 1:
ENV:

Python: 3.7.5

fastapi: 0.55.1

Google Chrome: Version 84.0.4147.89 (Official Build) (64-bit)

The video record:

Please help.

Issue 2:
I've come across some strange behavior in automatic interactive API documentation (provided by Swagger UI)

when I get to the page

http://127.0.0.1:8000/docs

The list of routes is displayed with the parameters I have set: prefix, tags. So far, so good.

Problems begin when I click on any of the methods. A new group with the tags=default parameter appears on the page and the endpoint that I clicked is automatically added to it. By successively clicking on all my endpoints I end up with one group with tags=default in which all my endpoints are concentrated. But I can't see their contents, because when I click on any of them I see an infinitely spinning boot.

This behavior is observed on both the local machine and the remote server.

In the main.py file, I use this routing system

app.include_router(text_ocr.router, prefix='/image', tags=['image'])
app.include_router(notes.router, prefix='/notes', tags=['notes'])
app.include_router(product.router, prefix='/product', tags=['product'])

For the purity of the experiment, I commented on these call points and added a standard endpoint from the documentation

# app.include_router(text_ocr.router, prefix='/image', tags=['image'])
# app.include_router(notes.router, prefix='/notes', tags=['notes'])
# app.include_router(product.router, prefix='/product', tags=['product'])
@app.get("/")
async def root():
return {"message": "Hello World"}

But I got the same result.
Issue 1:

Issue 2:
Environment

Windows build number: [run "ver" at a command prompt]
- 10.0.18362.116
- 10.0.18362.267

Windows Terminal version (if applicable):
- No

Any other software?
- No

Steps to reproduce

Unpack the attached project: BufferSizeBug.zip

Open in Visual Studio

Compile & Run

After a MessageBox appears: open window properties, go to Layout tab, uncheck "Wrap text output on resize", close the properties window.

Press OK in the MessageBox

Expected behavior

Conhost doesn't crash.

Actual behavior

Conhost crashes silently.

If you attach the VS debugger to conhost.exe before triggering a crash, it will show something like:

onecore\windows\core\console\open\src\buffer\out\textbuffercelliterator.cpp(49)\conhost.exe!00007FF6AD97FB34: (caller: 00007FF6AD95CACE) Exception(1) tid(22a0) 80070057 The parameter is incorrect.

Exception thrown at 0x00007FFFE34EA839 in conhost.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000EE660FDFB0.

Stack trace:

KernelBase.dll!RaiseException�()	Unknown
ucrtbase.dll!_CxxThrowException�()	Unknown
conhost.exe!wil::details::ThrowResultExceptionInternal(struct wil::FailureInfo const &)	Unknown
conhost.exe!wil::details::ReportFailure()	Unknown
conhost.exe!wil::details::ReportFailure_Hr(void *,unsigned int,char const *,char const *,char const *,void *,enum wil::FailureType,long)	Unknown
conhost.exe!wil::details::in1diag3::Throw_Hr(void *,unsigned int,char const *,long)	Unknown
conhost.exe!TextBufferCellIterator::TextBufferCellIterator()	Unknown
conhost.exe!RenderData::IsCursorDoubleWidth()	Unknown
conhost.exe!Microsoft::Console::Render::Renderer::_PaintFrameForEngine()	Unknown
conhost.exe!Microsoft::Console::Render::Renderer::PaintFrame()	Unknown
conhost.exe!Microsoft::Console::Render::RenderThread::_ThreadProc()	Unknown
kernel32.dll!BaseThreadInitThunk�()	Unknown
ntdll.dll!RtlUserThreadStart�()	Unknown

Presumably here: textBufferCellIterator.cpp
Issue 1:
VSCode Version: 0.10.11

OS Version: MacOS X El Capitan (v10.11.3)

Steps to Reproduce:

After having updated my Visual Studio Code app I'm always having this info message on the top and even if I update my .bash_profile file it continues with this message in an endless loop!

Issue 2:
VSCode Version: 0.10.10

OS Version: OSX 10.11.3

On attempting to install 'code' command line, I get the following:

'Please remove the 'code' alias from '/Users/kstevens/.bashrc' before continuing.'

'alias' returns the following:

alias acsdev='ssh -l kcs6 acsdev.acsu.buffalo.edu'

alias cmsdev='ssh -l kcs6 cms-dev.acsu.buffalo.edu'

alias cq_start='cd /Applications/day/5.6.1-custom-v2/crx-quickstart/bin/ && ./start && cd -'

alias gcam='git commit -am'

alias ls='ls -la'

alias rvm-restart='rvm_reload_flag=1 source '''/Users/kstevens/.rvm/scripts/rvm''''

alias sandbox='cd ~/code/src/ubcode/sandbox/kcs6'

alias simple_server='python -m SimpleHTTPServer 9000'

alias tree='tree'

alias ubcms='cd ~/code/src/ubcode/ubcms_local/'

alias ubcode='cd ~/code/src/ubcode'

alias vlt='/Users/kstevens/bin/vault-cli-2.4.34/bin/vlt'

example_bashrc.txt

Steps to Reproduce:

Not sure, it might be machine specific.

I have included my .bashrc file. I have tried commenting out any line with 'code' in it, in case a poorly formed regex was to blame. No joy.
Issue 1:
visit https://docs.opencv.org/3.4/ or https://docs.opencv.org/master/, doesn't matter

focus search box on the top right

enter "split"

second result is a single word that used to expand when clicked

it doesn't now. it should. hasn't for a few weeks, now that I think back.

particularly for this function, it prevented a newbie from finding the cv::split he needed.

Issue 2:
Hi,

Something I don't understand. I want to read cv::split doc on http://docs.opencv.org/master I write split in search box and press return and : nothing no link. Problem occurs with edge or mozilla (windows 10) only with master doc.

with my own doc I haven't got this problem.

reference this post