WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Hello! The Chef cookbook for Elasticsearch has received a bug report regarding the packaging of ES, specifically the init scripts and status reporting. Here's the actual report: sous-chefs/elasticsearch#483

In short, the user is seeing the init script for Ubuntu 14.04 report "OK" when starting Elasticsearch, even though parsing of the YAML configuration file has failed. Perhaps Elasticsearch needs a 'configtest' akin to the way Apache and Nginx have implemented it, or perhaps the init script just needs improvement to catch when Elasticsearch has exited or failed to start.

Elasticsearch version: 2.3.3

JVM version: 1.8.0_91

OS version: ubuntu 14.04

Steps to reproduce:

Add http.cors.allow-origin: * to elasticsearch.yml

Attempt to start the service

Provide logs (if relevant):

The user reporting the issue found this in his logs:

Exception in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: ScannerException[while scanning an alias
in 'reader', line 41, column 25:
http.cors.allow-origin: *
^
expected alphabetic or numeric character, but found but found

in 'reader', line 41, column 26:
http.cors.allow-origin: *
^
];
Likely root cause: while scanning an alias
in 'reader', line 41, column 25:
http.cors.allow-origin: *
^

Issue 2:
On ubuntu 14.04 for Elasticsearch 1.7.0 debian package,

If we start twice elasticsearch very shortly, the pidofproc function doesn't return the PID of the first elasticsearch.

So 2 elasticsearch can be started at the same time. In my case this causes an OOM trigger.

How to reproduce:

# service elasticsearch stop
# service elasticsearch start; service elasticsearch start;
Issue 1:
ℹ Computer information

Windows build number: [run "winver"] 1903

PowerToys version: .2

PowerToy module: install

📝 Provide detailed reproduction steps (if any)

…as part of install, clicked OK to restart File Explorer; failed, blank monitors, OS restart and all OK

…

…

✔️ Expected result

What is the expected result of the above steps? file explorer restart should work, OS restart not needed

❌ Actual result

What is the actual result of the above steps? file explorer did not restart

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

Issue 2:
ℹ Computer information

Windows build number: [run "winver"] 19041.388

PowerToys version: 0.20.0

PowerToy module: Installation

📝 Provide detailed reproduction steps (if any)

Run the update from 0.19.2 to 0.20.0.

At the end, it asks to restart Windows Explorer and I click to let that proceed.

It apparently gets stuck in the restart, with a blank background and current foreground apps showing on top (in this case, Google Chrome and Mozilla Thunderbird, in one tabbed window using TidyTabs).

I Ctrl-Alt-Del and select Sign out.

I sign back in again, and my user account loads normally with Windows Explorer working fine.

✔️ Expected result

What is the expected result of the above steps?

The Windows Explorer restart should have completed the restart process without any intervention.

❌ Actual result

What is the actual result of the above steps?

The actual result is me having to intervene, signing off and signing on again to complete the restart.

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

I think my descriptions cover it.
Issue 1:
Vue@2.x

I use single file component to render page, but very slow? i don't know why?

simple example, and does not use complex nested components

https://github.com/bluemsn/vue-render-performance-comparisons/tree/sfc-test

At first, I wanted to test the rendering performance of nested components in complex scenes, but now it's very slow to render in a simple nested component

Issue 2:
Version

2.6.11

Reproduction link

https://jsfiddle.net/Soviut/0nmfpz9h/4/

Steps to reproduce

Note the component emits an $event along with an extra argument string

Click the "no prevent" button

Note that the message is passed and is displayed

Click the "has prevent" button

Note that the message is undefined and clears the display

Both buttons also log to the console for more detailed output.

What is expected?

Additional arguments would be passed when event modifiers are used.

What is actually happening?

Additional arguments are being ignored/removed.
Issue 1:
John Lewis opened SPR-4259 and commented

I've updated the description of this issue to change it to a general place to work out Portlet 2.0 (JSR 286) support for Spring MVC. I think a general approach to this larger issue will result in a resolution to the original point of this issue.

Original Description: Add support for Portlet WindowState to org.springframework.web.bind.annotation.RequestMapping

Affects: 2.5 final

25 votes, 19 watchers

Issue 2:
João Loureiro opened SPR-9753 and commented

MapSqlParameterSource and BeanPropertySqlParameterSource should override toString() appropriately, that is, the returned string should represent the object in terms of the parameter values it contains (at least; optionally, the types as well). The returned string can use a Map-like representation.

Affects: 3.2 M1

Reference URL: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/jdbc/core/namedparam/SqlParameterSource.html

Referenced from: pull request #2080
Issue 1:
Challenge Waypoint: Introducing JavaScript Object Notation JSON has an issue.

User Agent is: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/47.0.2526.73 Chrome/47.0.2526.73 Safari/537.36.

Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1993,
"formats": [
"CS",
"8T",
"LP" ],
"gold": true
}
// Add record here

];

The curly bracket ending the Billy Joel object needs a comma, otherwise the next artist object wont be processed by the browser.

Issue 2:
Challenge Waypoint: Introducing JavaScript Object Notation JSON has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.

Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1993,
"formats": [
"CS",
"8T",
"LP" ],
"gold": true
}, <---------------------perhaps is a missing a comma, here?
// Add record here
{
"artist": "Tsuyoshi Hiroshi",
"title": "Tonboyou",
"release_year": 1987,
"formats": [
"CD",
"DVD",
"LP"]
}
];
Issue 1:
If I create a TypeScript project with, say, the following properties directly in the .csproj file

<PropertyGroup>
<TypeScriptOutFile>..\Output\combined.js</TypeScriptOutFile>
<TypeScriptOutDir></TypeScriptOutDir>
</PropertyGroup>

Then both msbuild and the compilation triggered by saving a ts file both correctly update the output in the combined.js file in the output folder.

However if I extract those properties into an external SharedTypeScript.props file, and instead import the props file in the .csproj file, i.e.

<Import Project="SharedTypeScript.props" />

Then only msbuild will correctly build to the combined.js file in the output folder. Compilation on saving a ts file behaves as if no properties were specified and does not combine the output, instead putting individual js files next to the source ts files.

This is using the latest release (https://github.com/Microsoft/TypeScript/releases/tag/v1.6.2) and VS2015. This is a regression from VS2013 and typescript 1.4 where this was not a problem.

Issue 2:
When project does import properties from separate MSBuild file via <Import Project="build.props" />, The MSBuild is using defined properties, but on file save of TS file it is being ignored.

It worked with with VS13/VS15RC and TS 1.5 beta, but after release it is broken.

I can provide ZIP file with example solution, but I cannot add it to github issue.
Issue 1:
Issue by collinjackson

Wednesday Aug 12, 2015 at 21:03 GMT

Originally opened as https://github.com/flutter/engine/issues/580

jackson-macpro:playfair jackson$ dart --version

Dart VM version: 1.11.0-dev.3.0 (Thu May 28 03:42:12 2015) on "macos_x64"

jackson-macpro:playfair jackson$ pub run test test/playfair_test.dart

Wrong script snapshot version, expected '146df3da808a6da22679d25262d18cfb' found '6ab2a2a1aedc6faea804a9c1850edf4b'

00:00 +0 -1: loading test/playfair_test.dart

Failed to load "test/playfair_test.dart":

The built-in library 'dart:sky' is not available on the stand-alone VM.

'package:playfair/playfair.dart': error: line 7 pos 1: library handler failed

import 'dart:sky' as sky;

^

00:00 +0 -1: Some tests failed.

If we included the Sky shell executable in the Sky package we could run these tests.

Issue 2:
Device: iOS Simulator

Sorry there isn't any log or error message here as nothing is being emitted from Flutter.

I am getting a weird crash when using a RefreshIndicator attached to a get http action. The crash doesn't occur until I tap on a TabBar that has a listener attached to it. I'm not sure if that is relevant but its the only thing that will cause a crash.

The following is the refresh indicator code.

Please let me know what other information I can provide.

Future<Null> _handleRefresh() {
Completer<Null> completer = new Completer<Null>();
get("http://api.myapp.com/endpoint").then((response) {
print("loaded data");
return response.body;
})
.then((jsonString) {
print(jsonString)
})
.then((_) => completer.complete());
return completer.future;
}

@override
Widget build(BuildContext context) {
return new Padding(
padding: EdgeInsets.zero,
child: new RefreshIndicator(
onRefresh: _handleRefresh,
child: new ListView(
children: _cells,
),
)
);
}
Issue 1:
Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):

Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0

Windows Terminal version
Version: 0.5.2762.0

Also observed on my other Windows system

Steps to reproduce

Triggered by an automatic update of the application.

Expected behavior

The application updates normally

Actual behavior

The application is stuck updating at about 50%:

Issue 2:
Environment

Microsoft Windows [Version 10.0.18362.239]

Steps to reproduce

In a standard CMD console window, from the properties dialog:

Terminal ~ ENABLE "Disable Scroll-Forward"

Layout ~ decrease "Screen Buffer Size / Height" to be equal to "Window Size / Height"

Expected behavior

The vertical scrollbar should disappear.

Actual behavior

The vertical scrollbar remains, fully or partially obscuring the last column of text characters (depending on font/size?).

The obscuring behavior can be seen on the longer lines in the screenshot.
Issue 1:
VSCode Version: 1.1.1

OS Version: Debian Jessie

Hello,

I did not foud this usefull feature inside the user shortcut parameter: duplicate the current line

Using any jetbrains IDE I am used to do this with this shortcut: ctrl+d

Lets see if I am the only one who wants this feature inside vscode or if it is worth it to implement it.

Issue 2:
Would be nice to have acme-like mouse chording. Would be even nicer letting the user configure the preferred mouse chord actions.

http://acme.cat-v.org/mouse
Issue 1:
Is there an existing issue for this?

I have searched the existing issues

This issue exists in the latest npm version

I am using the latest npm

Current Behavior

We have a workspace configured 2 levels deep as follows:

.
+-- package.json
+-- a
| `-- package.json
`-- b
`-- package.json
+-- b1
| `-- package.json
`-- b2
`-- package.json

The root package.json has a script npm run build --workspaces to build all workspaces.

The package.json under b also has a script npm run build --workspaces to build b1 and b2.

When we run the root script, npm goes into a infinite loop of running the scripts.

Expected Behavior

npm should not hang. it should run the scripts as expected: a, b1, b2

Steps To Reproduce

Create a configuration with a workspace hierarchy that has multiple levels.

For parent workspaces, define a script runs the children scripts with the --workspace option.

Environment

npm: 8.6.0

Node.js: v14.18.1

OS Name: MacOS

System Model Name: Macbook Pro

Issue 2:
Is there an existing issue for this?

I have searched the existing issues

This issue exists in the latest npm version

I am using the latest npm

Current Behavior

Given this project hierarchy:

root
│ package.json
│
└───packages
└───a
│ package.json
│
└───b
package.json

With root/package.json having:

"workspaces": [
"packages/a",
"packages/a/b"
]

If I run npm run myscript with packages/a as my current directory, npm will try to run myscript in package/a and packages/a/b.

Expected Behavior

Given the same project hierarchy I would expect:

❌ npm run myscript with the CWD being packages/a to run only myscript of packages/a/package.json

✔️ npm run myscript --workspace=packages/a to run both on a and b (npm doc):

Path to a workspace directory

Path to a parent workspace directory (will result in selecting all workspaces within that folder)

✔️ npm run myscript --workspace=a to run only on a. (npm doc):

Workspace names

Note, 2&3 are working as expected on the latest version

Steps To Reproduce

Scaffold NPM project.

mkdir test-run-script
cd test-run-script
npm init -y
npm init -w packages/a -y
npm init -w packages/a/b -y

Add a dummy script in packages/a/package.json & packages/b/package.json, e.g. `"myscript": "echo hello"

Ensure your cwd is packages/a and run npm run myscript.

Assert that hello is printed twice.

Environment

npm: 8.5.0 - 8.5.3 (latest

Node.js: v16.14.0

OS Name: W10

System Model Name: N.A

npm config:

; "builtin" config from C:\Users\USER_NAME\AppData\Roaming\npm\node_modules\npm\npmrc

prefix = "C:\\Users\\USER_NAME\\AppData\\Roaming\\npm"

; "user" config from C:\Users\USER_NAME\.npmrc

//registry.npmjs.org/:_authToken = (protected)

; node bin location = C:\Program Files\nodejs\node.exe
; cwd = C:\Users\USER_NAME\Repos\runScriptWorkspace
; HOME = C:\Users\USER_NAME
; Run `npm config ls -l` to show all defaults.
Issue 1:
[x ] I have searched the issues of this repository and believe that this is not a duplicate.

I am getting the following error in my React / Next.js app:

Warning: Did not expect server HTML to contain a style in div.

This affects the way the page is rendered, with a lot of content either not rendered or without styles. I have not been able to pinpoint the origin of this error and have tried different things, i.e. configuring the _document.js page.

Issue 2:
I get a "module not found" error whenever I try to import a file from a symlinked folder:

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

Expected Behavior

Regardless of whether the folder is a symlink or not, the importing should work as if it was a normal folder.

Current Behavior

It cannot find the javascript file inside the symlink folder.

Steps to Reproduce (for bugs)

I've made a small example here just to demonstrate the issue: https://github.com/adrianmcli/nextjs-symlink-bug

In order to reproduce this bug, clone the repo and run yarn or npm install, and then run yarn dev to run the app.

Notice that lib/symlink-folder is a symlinked folder.

Go into pages/index.js and notice that it currently refers to lib/normal-folder.

import someObj from '../lib/normal-folder/someText'

Change that import statement to refer to lib/symlink-folder instead.

import someObj from '../lib/symlink-folder/someText'

Notice that the app gives you a module not found error.

Context

I am trying to create a boilerplate project with Truffle and Next.js for some Dapp development. You can see my work-in-progress here: https://github.com/adrianmcli/truffle-next
Issue 1:
It would be useful if view attributes could be passed to individual choice field options in a similar way as attr for most field types. Currently it seems not to be possible without duplicating both ChoiceList PHP class and duplicating both choice_widget and widget_choice_options template blocks.

If the core form module supported (arbitrary) attrs in choice options, it would allow easy extension of the core choice field type for custom types. Custom data could be passed to the template, allowing HTML like:

<select name="search_engine_selection">
<option value="google" data-url="google_logo.gif">Google</option>
<option value="bing" data-url="bing_logo.gif">Bing</option>
</select>

In my example, data-url would have been passed as an attribute to each option.

Issue 2:
It would be nice to be able to define extra HTML attributes for choices in a choice list that are added to the option or input tags.

Origin of this ticket: #3456
Issue 1:
Hi, for several days that I'm getting these errors. I have done make cleanall, make -C deps distclean but to no avail.

libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0xf3f): undefined reference to `dsyrk_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x1089): undefined reference to `dgemm_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x141a): undefined reference to `dpotrf_'
...

Issue 2:
Just tried to update this morning and I'm seeing the below after make clean and make cleanall; am I missing some other submodule update?

libtool: install: /usr/bin/install -c .libs/libarpack.lai /c/Users/karbarcca/julia/usr/lib/libarpack.la
libtool: install: /usr/bin/install -c .libs/libarpack.a /c/Users/karbarcca/julia/usr/lib/libarpack.a
libtool: install: chmod 644 /c/Users/karbarcca/julia/usr/lib/libarpack.a
libtool: install: ranlib /c/Users/karbarcca/julia/usr/lib/libarpack.a
/usr/bin/mkdir -p '/c/Users/karbarcca/julia/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 arpack.pc '/c/Users/karbarcca/julia/usr/lib/pkgconfig'
Making install in TESTS
Making install in EXAMPLES
Making install in BAND
Making install in COMPLEX
Making install in NONSYM
Making install in SIMPLE
Making install in SVD
Making install in SYM
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0xf3f): undefined reference to `dsyrk_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x1089): undefined reference to `dgemm_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x141a): undefined reference to `dpotrf_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x1555): undefined reference to `dtrsm_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x20bc): undefined reference to `zherk_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x21fc): undefined reference to `zgemm_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x266f): undefined reference to `zpotrf_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x27d4): undefined reference to `ztrsm_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x3341): undefined reference to `zherk_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x3480): undefined reference to `zgemm_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x38c5): undefined reference to `zpotrf_'
libcholmod.a(cholmod_super_numeric.o):cholmod_super_numeric.c:(.text+0x3a2b): undefined reference to `ztrsm_'
c:/users/karbarcca/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: libcholmod.a(cholmod_super_numeric.o): bad reloc addre
ss 0x0 in section `.pdata'
collect2.exe: error: ld returned 1 exit status
Makefile:1430: recipe for target '/c/Users/karbarcca/julia/usr/bin/libspqr.dll' failed
make[2]: *** [/c/Users/karbarcca/julia/usr/bin/libspqr.dll] Error 1
Makefile:101: recipe for target 'julia-release' failed
make[1]: *** [julia-release] Error 2
Makefile:49: recipe for target 'release' failed
make: *** [release] Error 2
Issue 1:
Steps to reproduce this issue:

Go to: http://twitter.github.com/bootstrap/javascript.html#modals

Click: Launch demo modal

Click: button at the Popover in a modal section.

Scroll the modal's content

What happens:

Popover gets stuck, doesn't "follow" the button

What should happen:

The same behavior found here: http://twitter.github.com/bootstrap/javascript.html#popovers (Click to toggle popover + scroll the page)

Hope it helps :)

Issue 2:
The popover remains at the same position relative to the page and does not respect the position of the element it was initialized on. Below are two screenshots of the issue reproduced at http://twitter.github.com/bootstrap/javascript.html#modals (message me please if the links become broken).
Issue 1:
problem statement

node barks with warnings on every rejected 400/500 axios call

specficically, it complains with:

Warning: a promise was rejected with a non-error: [object Object]
at IncomingMessage.handleStreamEnd (/path/to/my/pkg//node_modules/axios/lib/adapters/http.js:112:16)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)

supplmental context

see reference in where this happens:

// axios/lib/adapters/http.js
(res.statusCode >= 200 && res.statusCode < 300 ?
resolve :
reject)(response);

solution

it's been discussed somewhat in #18, but I think we need to perhaps create a new Error proto, extend from error, and add all the response bits into it. perhaps provide .toJSON to serialize it down nicely to?

Issue 2:
It is good practice to reject promises with an error object because they have stack traces.

When rejecting because of a bad status code, I suggest rejecting with an error object, e.g. BadStatusCodeError. You could then attach the response object to the error object so it can be accessed in a rejection handler.
Issue 1:
Have tried the following and a couple of other iterations. I have jquery.js (full being brought in. Assume I don't need bootstrap-tooltips.js AND bootstrap-popover.js as well? Regardless, the problem isn't solved when including them. TIA.

<a data-toggle="popover" class="m-btn blue rnd" data-title= "We are in

awwwwww" data-content="dolor sit amet.">Click me!

<script type="text/javascript">
$(function () {
$('body').popover({
selector: 'a[rel="popover"], [data-toggle="popover"]'
});

$('body').tooltip({
selector: 'a[rel="tooltip"], [data-toggle="tooltip"]'
});
});
</script>

Issue 2:
<div class="btn-group">
<a class="btn" rel="popover" data-content="Lorem ipsum dolor sit amet.">Click me!</a>
</div>

Clicking the button results in a blank popover appearing. Am I doing something wrong or is this an issue? If so, is there any workaround in the meantime?

Thanks in advance.
Issue 1:
I've opened a plugins.js file from a theme from ThemeForrest, this file was containing a lot of packed js plugins of a total of 700kb of code.

The IDE simply got frozen for minutes until I could right click and close the tab.

Using 0.201 on Windows 7 64bits with 4gb of ram and i5 processor.

Issue 2:
So, I use my text editor for all kinds of things (writing code, reading readmes, editing dotfiles, etc). One of the things I do most often during any given day is open up large log files to troubleshoot Enterprise problems. These files can sometimes get as large as 500-800MB.

I just tried viewing a 350MB log file and Atom locked up immediately -- the file selector didn't change and the entire window went completely white 4 seconds after I tried viewing the file. I could still close the top level window, but we should still have better handling for this kind of thing.

Sublime Text 2 took about 55 seconds to open the file, but gave a nice progress indicator while it was loading:

Once it loaded it was as responsive as any other file I load (scrolled fast, normal text highlight performance, etc). It would be nice if we set this as a baseline for expected behavior (progress bar + responsive after loading).