text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
Adding the <code class="notranslate">index: true</code> attribute to a route breaks the <code class="notranslate">path</code> attribute. By this i mean that navigating to <code class="notranslate">localhost/#/</code> gives me the route which has <code class="notranslate">index:true</code>, but navigating to the path that belongs to that route (e.g. <code class="notranslate">/step/1</code>) errors with: <code class="notranslate">Cannot match any routes: 'step/1'</code></p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
The path specified should work the same way <code class="notranslate">/</code> does.</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
Changing:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ path: '/error', component: ErrorPage },
{ path: '/step/1', component: StartPage },
{ path: '/step/2', component: TwoPage },
{ path: '/step/3', component: ThreePage },
{ path: '/step/4', component: FourPage },
{ path: '/step/5', component: FivePage },
{ path: '/setup', component: SetupPage },"><pre class="notranslate"><code class="notranslate">{ path: '/error', component: ErrorPage },
{ path: '/step/1', component: StartPage },
{ path: '/step/2', component: TwoPage },
{ path: '/step/3', component: ThreePage },
{ path: '/step/4', component: FourPage },
{ path: '/step/5', component: FivePage },
{ path: '/setup', component: SetupPage },
</code></pre></div>
<p dir="auto">To:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ path: '/error', component: ErrorPage },
{ path: '/step/1', component: StartPage, index: true },
{ path: '/step/2', component: TwoPage },
{ path: '/step/3', component: ThreePage },
{ path: '/step/4', component: FourPage },
{ path: '/step/5', component: FivePage },
{ path: '/setup', component: SetupPage },"><pre class="notranslate"><code class="notranslate">{ path: '/error', component: ErrorPage },
{ path: '/step/1', component: StartPage, index: true },
{ path: '/step/2', component: TwoPage },
{ path: '/step/3', component: ThreePage },
{ path: '/step/4', component: FourPage },
{ path: '/step/5', component: FivePage },
{ path: '/setup', component: SetupPage },
</code></pre></div>
<p dir="auto">breaks the path<br>
<strong>What is the motivation / use case for changing the behavior?</strong><br>
It is not expected behaviour.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.2</li>
<li><strong>Browser:</strong> [all | Chrome 51.0.2704.84 ]</li>
<li><strong>Language:</strong> TypeScript</li>
</ul> | <p dir="auto"><strong>Steps to reproduce and a minimal demo of the problem</strong></p>
<ol dir="auto">
<li>Clone <code class="notranslate">https://github.com/sap9433/angular2-webpack-starter-kit</code>,</li>
<li>npm install & npm start<br>
App works fine because it's using <code class="notranslate">"angular2": "2.0.0-beta.7"</code>and <code class="notranslate">"typings": "^0.7.9",</code></li>
<li>Update the dependencies <code class="notranslate">npm-check-update -u</code></li>
<li>package.json is updated with <code class="notranslate">"angular2": "2.0.0-beta.12"</code>, <code class="notranslate">"typings": "^0.7.9",</code></li>
<li>Update your ambient dependencies as well to</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"ambientDependencies": {
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd"
}
}"><pre class="notranslate"><code class="notranslate">{
"ambientDependencies": {
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd"
}
}
</code></pre></div>
<ol start="6" dir="auto">
<li>Do <code class="notranslate">npm install</code> and <code class="notranslate">npm start</code></li>
</ol>
<p dir="auto">Now you will get plethora of <strong>duplicate identifier error</strong> like following</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR angular2-webpack-starter-kit/typings/browser/ambient/es6-shim/index.d.ts
(8,14): error TS2300: Duplicate identifier 'PropertyKey'.
ERROR in typings/browser/ambient/es6-shim/index.d.ts
(11,5): error TS2300: Duplicate identifier 'done'.
.....
....."><pre class="notranslate"><code class="notranslate">ERROR angular2-webpack-starter-kit/typings/browser/ambient/es6-shim/index.d.ts
(8,14): error TS2300: Duplicate identifier 'PropertyKey'.
ERROR in typings/browser/ambient/es6-shim/index.d.ts
(11,5): error TS2300: Duplicate identifier 'done'.
.....
.....
</code></pre></div>
<p dir="auto"><em>What steps should we try in your demo to see the problem?</em></p>
<ol dir="auto">
<li>Run the app in your local</li>
<li>look at the dev-server logs.</li>
</ol>
<p dir="auto"><strong>Current behavior</strong><br>
Updating angular2, typings, and ambient dependencies to latest release throwing <code class="notranslate">error TS2300: Duplicate identifier</code> errors.</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
App shouldn't throw <code class="notranslate">error TS2300: Duplicate identifier</code> errors</p>
<p dir="auto"><strong>Other information</strong><br>
It might as well be an es6 shim issue with typescript , as both the files are using same global variable</p> | 0 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.6.10</p>
<h3 dir="auto">Reproduction link</h3>
<ul dir="auto">
<li><a href="https://codepen.io/yhor1e/pen/agPbrL" rel="nofollow">https://codepen.io/yhor1e/pen/agPbrL</a></li>
<li><a href="https://github.com/yhor1e/vue-10249-reproduction">https://github.com/yhor1e/vue-10249-reproduction</a></li>
</ul>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Input data to the text field and push the enter button.</li>
<li>Take a heap snapshot in Chrome Developer Tools.</li>
<li>Click "Go to Second" button.</li>
<li>Click "Go to First" button.</li>
<li>Take a heap snapshot in Chrome Developer Tools.</li>
<li>Compare step5 heap snapshot with step2 heap snapshot. Then elements increased.</li>
</ol>
<h4 dir="auto">examples</h4>
<p dir="auto"><strong>ex1. Done the above steps with 1 input data.</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/10266230/60887518-9d9f5a00-a28f-11e9-87e0-6c74e2290318.png"><img src="https://user-images.githubusercontent.com/10266230/60887518-9d9f5a00-a28f-11e9-87e0-6c74e2290318.png" alt="1" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>ex2. Done the above steps with 10 input data after ex1.</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/10266230/60887890-61b8c480-a290-11e9-98ce-833783c61c78.png"><img src="https://user-images.githubusercontent.com/10266230/60887890-61b8c480-a290-11e9-98ce-833783c61c78.png" alt="2" style="max-width: 100%;"></a></p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">Elements don't increase. (#Delta is 0)</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">Elements increase. (#Delta is not 0)</p>
<hr>
<p dir="auto">This maybe shows memory leaks.<br>
Is this a bug?</p> | <h3 dir="auto">Version</h3>
<p dir="auto">2.6.10</p>
<h3 dir="auto">Reproduction</h3>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
</head>
<body>
<script src="https://unpkg.com/vue"></script>
<div id="app">
<div id="nav">
<button @click="goHome">go to Home</button>
<button @click="goAbout">go to About</button>
</div>
<component :is="current"></component>
</div>
<script>
const Home = {
name: 'Home',
template: `
<div>
<h2>Home</h2>
</div>
`,
}
const About = {
template: `
<div class="about">
<h1>This is an about page</h1>
<input type="text" v-model="input">
</div>
`,
name: 'about',
data: () => ({
input: '',
}),
}
const vm = new Vue({
el: '#app',
data() {
return {
current: 'Home',
}
},
methods: {
goHome() {
this.current = 'Home'
},
goAbout() {
this.current = 'About'
},
},
components: { Home, About },
})
</script>
</body>
</html>"><pre class="notranslate"><span class="pl-c1"><!DOCTYPE html<span class="pl-kos">></span></span>
<span class="pl-kos"><</span><span class="pl-ent">html</span> <span class="pl-c1">lang</span>="<span class="pl-s">en</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">head</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">meta</span> <span class="pl-c1">charset</span>="<span class="pl-s">UTF-8</span>" />
<span class="pl-kos"><</span><span class="pl-ent">meta</span> <span class="pl-c1">name</span>="<span class="pl-s">viewport</span>" <span class="pl-c1">content</span>="<span class="pl-s">width=device-width, initial-scale=1.0</span>" />
<span class="pl-kos"><</span><span class="pl-ent">meta</span> <span class="pl-c1">http-equiv</span>="<span class="pl-s">X-UA-Compatible</span>" <span class="pl-c1">content</span>="<span class="pl-s">ie=edge</span>" />
<span class="pl-kos"><</span><span class="pl-ent">title</span><span class="pl-kos">></span>Document<span class="pl-kos"></</span><span class="pl-ent">title</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">head</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">body</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://unpkg.com/vue</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">id</span>="<span class="pl-s">app</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">id</span>="<span class="pl-s">nav</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">@click</span>="<span class="pl-s">goHome</span>"<span class="pl-kos">></span>go to Home<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">@click</span>="<span class="pl-s">goAbout</span>"<span class="pl-kos">></span>go to About<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">component</span> <span class="pl-c1">:is</span>="<span class="pl-s">current</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">component</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-k">const</span> <span class="pl-v">Home</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'Home'</span><span class="pl-kos">,</span>
<span class="pl-c1">template</span>: <span class="pl-s">`</span>
<span class="pl-s"> <div></span>
<span class="pl-s"> <h2>Home</h2></span>
<span class="pl-s"> </div></span>
<span class="pl-s"> `</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-k">const</span> <span class="pl-v">About</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">template</span>: <span class="pl-s">`</span>
<span class="pl-s"> <div class="about"></span>
<span class="pl-s"> <h1>This is an about page</h1></span>
<span class="pl-s"> <input type="text" v-model="input"></span>
<span class="pl-s"> </div></span>
<span class="pl-s"> `</span><span class="pl-kos">,</span>
<span class="pl-c1">name</span>: <span class="pl-s">'about'</span><span class="pl-kos">,</span>
<span class="pl-en">data</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">input</span>: <span class="pl-s">''</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-k">const</span> <span class="pl-s1">vm</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Vue</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">el</span>: <span class="pl-s">'#app'</span><span class="pl-kos">,</span>
<span class="pl-en">data</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span>
<span class="pl-c1">current</span>: <span class="pl-s">'Home'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">methods</span>: <span class="pl-kos">{</span>
<span class="pl-en">goHome</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">current</span> <span class="pl-c1">=</span> <span class="pl-s">'Home'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-en">goAbout</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">current</span> <span class="pl-c1">=</span> <span class="pl-s">'About'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">components</span>: <span class="pl-kos">{</span> Home<span class="pl-kos">,</span> About <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">html</span><span class="pl-kos">></span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/664177/57471906-8a224380-728c-11e9-832d-f1ce989ee1e0.png"><img src="https://user-images.githubusercontent.com/664177/57471906-8a224380-728c-11e9-832d-f1ce989ee1e0.png" alt="Screen Shot 2019-05-09 at 18 59 07" style="max-width: 100%;"></a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ul dir="auto">
<li>go to the about page</li>
<li>type in the input</li>
<li>leave the page</li>
<li>collect garbage and take a snapshot with devtools</li>
</ul>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">VueComponent count should be stable</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">VueComponent count keeps increasing.</p>
<hr>
<p dir="auto">seems to be related to typing in the input</p> | 1 |
<p dir="auto">The status bar doesn't change when I click into the window and typing results in typing into the terminal window I started electron from.</p>
<p dir="auto">Any idea why this might be happening?</p> | <p dir="auto">I’ve run into an <a href="https://github.com/coolwanglu/neovim.as/issues/7" data-hovercard-type="issue" data-hovercard-url="/coolwanglu/neovim-e/issues/7/hovercard">odd issue testing the <em>Neovim.AS</em> Atom Shell app</a>, where I cannot get its window to accept keyboard input on OS X 10.10.2 when I start it via the <em>atom-shell</em> CLI; instead, all keyboard input goes to the last active application – in the case of the screenshot, the shell in which <em>Neovim.AS</em> was started:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/80906/6232019/c3640e22-b6c9-11e4-87c2-ba6f09075326.png"><img src="https://cloud.githubusercontent.com/assets/80906/6232019/c3640e22-b6c9-11e4-87c2-ba6f09075326.png" alt="neovim" style="max-width: 100%;"></a></p>
<p dir="auto">I also can’t switch to the window with <code class="notranslate">Cmd-Tab</code>, its OS X menu does not display, and the only way to quit it is issuing <code class="notranslate">^C</code> in the originating shell. I have reproduced the issue with <a href="https://github.com/pamods/pamm-atom">another, more straightforward Atom Shell app, <em>pamm-atom</em></a>, incidentally showing that the apps are responding to mouse input (Vim not being a really good object to judge that :)).</p>
<p dir="auto">If I start <em>pamm-atom</em> via the GUI, none of the above occurs (not testable with <em>Neovim.AS</em> due to the Grunt requirement and lack of <code class="notranslate">app</code> folder).</p>
<p dir="auto"><strong>Configuration:</strong></p>
<ul dir="auto">
<li>OS X 10.10.2 German locale, German keyboard input. I’ve tried disabling my input hacks (specifically, <a href="https://pqrs.org/osx/karabiner/seil.html.en" rel="nofollow">Seil</a> and <a href="https://pqrs.org/osx/karabiner/index.html.en" rel="nofollow">Karabiner</a>) and switching to a US keyboard map, but none of that helped.</li>
<li><em>atom-shell</em> version 0.21.2 64 bit without symbols, downloaded from the Releases pages. The Atom Shell app runs without a hitch by itself, as does <em>Atom</em> the editor (which accepts my keyboard input like a champ, I hasten to add).</li>
<li>OS X stock Terminal.app running the system <em>bash</em> (<code class="notranslate">GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)</code>). The above screenshot shows a version running with <em>TotalTerminal</em> injected, but the same issue occurs within standard terminal windows [EDIT: and in iTerm 2].</li>
</ul> | 1 |
<h3 dir="auto">Current Behavior:</h3>
<p dir="auto">As already <a href="https://github.com/npm/cli/issues/2639#issuecomment-775490191" data-hovercard-type="issue" data-hovercard-url="/npm/cli/issues/2639/hovercard">noted by someone else</a>, there seems to be a problem with install/update of global packages:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ npm up -g
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path C:\Program Files\nodejs\node_modules\.npm-QXjMEw5N
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.npm-QXjMEw5N'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.npm-QXjMEw5N'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\\Program Files\\nodejs\\node_modules\\.npm-QXjMEw5N'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rbauer\AppData\Local\npm-cache\_logs\2021-03-08T10_46_40_199Z-debug.log"><pre class="notranslate"><code class="notranslate">$ npm up -g
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path C:\Program Files\nodejs\node_modules\.npm-QXjMEw5N
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.npm-QXjMEw5N'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.npm-QXjMEw5N'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\\Program Files\\nodejs\\node_modules\\.npm-QXjMEw5N'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rbauer\AppData\Local\npm-cache\_logs\2021-03-08T10_46_40_199Z-debug.log
</code></pre></div>
<p dir="auto"><a href="https://github.com/npm/cli/files/6100819/2021-03-08T10_46_40_199Z-debug.log">2021-03-08T10_46_40_199Z-debug.log</a></p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">Packages get updated.</p>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>OS: Windows 10</li>
<li>Node: 14.16.0</li>
<li>npm: 7.5.6</li>
</ul> | <h3 dir="auto">Current Behavior:</h3>
<p dir="auto">Attempting to update a package with a tag using the <code class="notranslate">update</code> command globally causes <strong>ALL</strong> global packages to be removed.</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">Packages should not be removed when updating global packages.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm i -g typescript nodemon @angular/cli # Install some global packages
npm ls -g --depth=0 # This shows the 3 installed packages
npm update -g @angular/cli@latest # Attempt to update one of the packages with a @latest tag
# Oh no! removed 620 packages
npm ls -g --depth=0 # Shows `-- (empty)"><pre class="notranslate">npm i -g typescript nodemon @angular/cli <span class="pl-c"><span class="pl-c">#</span> Install some global packages</span>
npm ls -g --depth=0 <span class="pl-c"><span class="pl-c">#</span> This shows the 3 installed packages</span>
npm update -g @angular/cli@latest <span class="pl-c"><span class="pl-c">#</span> Attempt to update one of the packages with a @latest tag</span>
<span class="pl-c"><span class="pl-c">#</span> Oh no! removed 620 packages</span>
npm ls -g --depth=0 <span class="pl-c"><span class="pl-c">#</span> Shows `-- (empty)</span></pre></div>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>OS: Windows 10 20H2</li>
<li>Node: 15.9.0</li>
<li>npm: 7.11.2</li>
</ul>
<h3 dir="auto">Additional Info</h3>
<p dir="auto">This only happens on the global scope</p> | 1 |
<p dir="auto">Not really sure where to possible report this issue. I noticed when i download bootstrap 3.0.1 via bower there appears to be an install error related to the bootstrap/dist/fonts/* no such file or directory. (fs.js) -</p>
<p dir="auto">To test that this is indeed related to 3.0.1 i changed my bower to go back to 3.0.0 and did not encounter this issue.</p> | <p dir="auto">I'm receiving the following message when using grunt-bower-task or bower-installer to grab the <code class="notranslate">main</code> files from the repository:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="no such file or directory 'bower_components/bootstrap/dist/fonts/*'"><pre class="notranslate"><code class="notranslate">no such file or directory 'bower_components/bootstrap/dist/fonts/*'
</code></pre></div>
<p dir="auto">The folder is there, and the build tools dont seem to recognize the wildcard. Is this a problem for anyone else, or is could it be a problem with my installation? Any info is appreciated.</p>
<p dir="auto">My Gruntfile looks like so:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module.exports = function(grunt) {
grunt.initConfig({
bower: {
install: {
options: {
targetDir: './bower',
layout: 'byType',
install: true,
verbose: true,
cleanTargetDir: true,
cleanBowerDir: true
}
}
}
});
grunt.loadNpmTasks('grunt-bower-task');
// Default task(s).
grunt.registerTask('default', ['bower']);
};"><pre class="notranslate"><code class="notranslate">module.exports = function(grunt) {
grunt.initConfig({
bower: {
install: {
options: {
targetDir: './bower',
layout: 'byType',
install: true,
verbose: true,
cleanTargetDir: true,
cleanBowerDir: true
}
}
}
});
grunt.loadNpmTasks('grunt-bower-task');
// Default task(s).
grunt.registerTask('default', ['bower']);
};
</code></pre></div>
<p dir="auto">The commit that added the wildcard is here:<br>
<a class="commit-link" href="https://github.com/twbs/bootstrap/commit/56f1ff6ca7f4bee5f031f82b7b6191f7a7a61f48#diff-0a08a7565aba4405282251491979bb6b"><tt>56f1ff6</tt>#diff-0a08a7565aba4405282251491979bb6b</a></p> | 1 |
<p dir="auto"><code class="notranslate">Deno will always die on unhandled exceptions / rejections.</code></p>
<p dir="auto">I'd like to request the ability to change this for uncaught promises.</p>
<p dir="auto">I know a lot of people just say hey if this happens it is your fault. Technically your right. But this is reality. And people make mistakes. Production crashing because of a mistake is a serious issue. Especially when it is so easily preventable. But the problem really gets amplified when even if you are perfect, and your code catches everything and everyone, <strong>you can still crash</strong> if one of your deps forgets. So you can not just rely on yourself being perfect but the entirety of the world needing to be perfect. This in my opinion makes Deno very hard to want to use in production. Processes crashing are not an acceptable solution imo.</p>
<p dir="auto">Let's take a look at a simple example. Please bare with me here.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23035000/100954852-69ab8100-34e3-11eb-9f73-5891e82ba1aa.png"><img src="https://user-images.githubusercontent.com/23035000/100954852-69ab8100-34e3-11eb-9f73-5891e82ba1aa.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">In this example, what happens is the process crashes. Because the developer of that third party dep forgot to catch something. Now this could be god knows how many deps deep. So the argument that you have to check every line of your deps code isn't really possible realistically. Nor is having to check every single commit of every single dependecy. This just adds on to more reason of why Deno is impossible to use in production.</p>
<p dir="auto">If this was nested some 10-15 levels deep, we would never be able to debug this and even attempt a fix.</p>
<p dir="auto">This is all to say that Deno in production is really hard to vouch for. Realistically Deno is only usable in production if you do not use any deps for your projects.</p>
<hr>
<p dir="auto">Now for another point of view. Deno is realllllllly hard to use for beginners. A lot of users wanting to use my library are first time developers. This means they are just getting into their very first coding project EVER! I have made it as easy as possible for users like this to be able to get started. They can literally use the strictest TS settings without even needing to know a thing about typing or casting or anything. However, this 1 issue of them forgetting .catch is a serious issue.</p>
<p dir="auto">Time and time again I have users reporting their processes crashing because they simply forgot to catch something. Not have a training wheel so to speak makes this really difficult. A simple handler to prevent crashes could be soooo useful because I could have this internally built for them so it alerts them of where they are forgetting to catch so that they can fix their code and prevent their processes from crashing.</p> | <p dir="auto">I was looking for an equivalent to the Node.js "unhandledrejection" event in Deno, but it appears there isn't one on <code class="notranslate">globalThis</code>.</p>
<p dir="auto">There does appear to be an <code class="notranslate">onunhandledrejection</code> event handler <a href="https://github.com/denoland/deno/blob/master/cli/dts/lib.webworker.d.ts#L5468">defined on workers</a>, though.</p>
<p dir="auto">Is there an equivalent event outside of workers, and if not, could there be? <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji></p> | 1 |
<p dir="auto">Currently, it's possible to overload a client node during the fetch process by requesting extreme amounts of data. In particular, this is possible to observe by repeating the problem in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="74458766" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11070" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/11070/hovercard" href="https://github.com/elastic/elasticsearch/issues/11070">#11070</a> (e.g., fetching too many things in an aggregation).</p> | <p dir="auto">The bytes from the <code class="notranslate">_source</code> field and highlighting returned during the <code class="notranslate">FETCH</code> phase should be included in the request circuit breaker.</p> | 1 |
<p dir="auto">It's been brought up on the mailing list (citation needed) that some people want to run Go with heaps beyond the default limit (128 GB today).</p>
<p dir="auto">Perhaps we should revise the limit at each Go release according to some metric. One possible metric would be to make sure that Go can address all the memory available on the largest VM you can rent from Amazon or from Google.</p> | <p dir="auto">In Go 1.4, the compiler still has a hardcoded 128GB memory limit. While this is much better than the 16GB limit from 1.0, it's presenting a real limitation to using Go for big-data scientific work, such as my research, such as <a href="https://github.com/ndaniels/cablastp2">https://github.com/ndaniels/cablastp2</a>. While it's trivial for me to change the allocation limit in go's source and rebuild my own compiler, this presents a problem for other users using my work; if they find out that they need to patch the Go compiler just to build my source code, they're not going to like it. It's already enough of a barrier for some users to require they have the Go compiler. While I could provide statically compiled binaries for a variety of platforms, I can't target every OS and kernel version, and it becomes a nuisance to update those binaries whenever I update my source code.</p>
<p dir="auto">I understand Go's memory allocation philosophy, and I realize that (for the time being) it needs to be hardcoded in a Go binary. But, it would be a huge improvement if a compiler flag could be used to alter the allocation limit for a particular package being compiled. Even better would be a runtime flag (much like Java's Xmx flag for the heap).</p> | 1 |
<p dir="auto">Hi, I originally filed an issue at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1245817692" data-permission-text="Title is private" data-url="https://github.com/rycus86/prometheus_flask_exporter/issues/135" data-hovercard-type="issue" data-hovercard-url="/rycus86/prometheus_flask_exporter/issues/135/hovercard" href="https://github.com/rycus86/prometheus_flask_exporter/issues/135">rycus86/prometheus_flask_exporter#135</a> but determined that it was impossible to resolve the problem downstream, and changes are required in Flask to support the use case of prometheus_flask_exporter.</p>
<p dir="auto">The problem is described in the issue report I linked above, but I will also summarize it here for convenience. Basically, when you invoke <code class="notranslate">flask run</code>, then Flask sets <code class="notranslate">FLASK_RUN_FROM_CLI</code> as an environment variable. Then, in <code class="notranslate">app.run()</code>, if that environment variable is set, Flask skips starting the app, and prints the following warning:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Warning: Silently ignoring app.run() because the application is run from the flask command line executable. Consider putting app.run() behind an if __name__ == "__main__" guard to silence this warning."><pre class="notranslate"><code class="notranslate">Warning: Silently ignoring app.run() because the application is run from the flask command line executable. Consider putting app.run() behind an if __name__ == "__main__" guard to silence this warning.
</code></pre></div>
<p dir="auto">This is all fine and good when <code class="notranslate">app.run()</code> is being invoked from the top level in the main module, and it was not intended to launch a duplicate app. However, sometimes the user actually <em>does</em> want to invoke two separate Flask applications: for example, to expose application metrics on a different port from web traffic, which is generally recommended as a security best practice.</p>
<p dir="auto">Specifically, prometheus_flask_exporter offers an option to expose metrics on a separate port by starting a separate Flask app on a separate port and thread. However, Flask's behavior around <code class="notranslate">FLASK_RUN_FROM_CLI</code> breaks this functionality, since if the web traffic app is launched using <code class="notranslate">flask run</code>, then the environment variable will prevent prometheus_flask_exporter from starting the metrics app.</p>
<p dir="auto">Code in the user application looks like this:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="metrics = prometheus_flask_exporter.PrometheusMetrics(app)
metrics.start_http_server(8081, host=config.METRICS_HOST)"><pre class="notranslate"><span class="pl-s1">metrics</span> <span class="pl-c1">=</span> <span class="pl-s1">prometheus_flask_exporter</span>.<span class="pl-v">PrometheusMetrics</span>(<span class="pl-s1">app</span>)
<span class="pl-s1">metrics</span>.<span class="pl-en">start_http_server</span>(<span class="pl-c1">8081</span>, <span class="pl-s1">host</span><span class="pl-c1">=</span><span class="pl-s1">config</span>.<span class="pl-v">METRICS_HOST</span>)</pre></div>
<p dir="auto">The <code class="notranslate">metrics.start_http_server()</code> method instantiates a separate Flask application with the provided configuration, and invokes <code class="notranslate">app.run()</code>. If the main Flask application was starting using <code class="notranslate">flask run</code>, then the following warning is printed, and no metrics are served:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="website_1 | * Serving Flask app 'src.app:app' (lazy loading)
website_1 | * Environment: development
website_1 | * Debug mode: on
website_1 | /usr/local/lib/python3.8/dist-packages/prometheus_flask_exporter/__init__.py:322: Warning: Silently ignoring app.run() because the application is run from the flask command line executable. Consider putting app.run() behind an if __name__ == "__main__" guard to silence this warning."><pre class="notranslate"><code class="notranslate">website_1 | * Serving Flask app 'src.app:app' (lazy loading)
website_1 | * Environment: development
website_1 | * Debug mode: on
website_1 | /usr/local/lib/python3.8/dist-packages/prometheus_flask_exporter/__init__.py:322: Warning: Silently ignoring app.run() because the application is run from the flask command line executable. Consider putting app.run() behind an if __name__ == "__main__" guard to silence this warning.
</code></pre></div>
<h3 dir="auto">Workarounds</h3>
<p dir="auto">Note that this problem only affects development since the Flask builtin server is not used in production. As such, there are a number of workarounds to the problem at present, but all of them have significant drawbacks.</p>
<ul dir="auto">
<li>Do not use <code class="notranslate">flask run</code>. <em>Disadvantage:</em> degraded developer velocity due to having no live reloading during development.</li>
<li>Do not serve metrics on separate Flask app. <em>Disadvantage:</em> degraded security posture due to internal metrics being (by default) available to public web traffic unless blocked by a separate firewall rule.</li>
<li>Do not run metrics server in development, or serve metrics on the same Flask app only during development. <em>Disadvantage:</em> degraded reliability posture due to loss of parity between development and production.</li>
<li>Manually unset <code class="notranslate">FLASK_RUN_FROM_CLI</code> environment variable from application code. <em>Disadvantage:</em> degraded reliability posture due to reliance on undocumented internal Flask features which may change in future versions, and mutation of the global namespace of environment variables which will affect all threads in the current process, including unrelated internal Flask code.</li>
</ul>
<h3 dir="auto">Suggested fix</h3>
<p dir="auto">Add an optional keyword argument to <code class="notranslate">app.run</code> that allows bypassing the check on <code class="notranslate">FLASK_RUN_FROM_CLI</code>. This can be provided by libraries such as prometheus_flask_exporter that invoke Flask as a server. Such a change would solve the use case described above, while preserving all the benefits of the check happening by default.</p>
<p dir="auto">I would be happy to contribute such a fix, along with documentation and tests as desired, if the maintainers of Flask agree that it is an appropriate path forward. If you have other suggestions for a better way to resolve the issue with prometheus_flask_exporter, please let me know and I would be happy to discuss.</p> | <p dir="auto">The current docs are at: <a href="https://flask.palletsprojects.com/en/1.1.x/patterns/celery/" rel="nofollow">https://flask.palletsprojects.com/en/1.1.x/patterns/celery/</a></p>
<p dir="auto">They reference Celery's old configuration options which are the <code class="notranslate">CELERY_*</code> options. Since 5.x they've been renamed to be lowercase and there's an official migration guide available on Celery's site at <a href="https://docs.celeryproject.org/en/stable/userguide/configuration.html#conf-old-settings-map" rel="nofollow">https://docs.celeryproject.org/en/stable/userguide/configuration.html#conf-old-settings-map</a>.</p>
<p dir="auto">As of Celery 5.x, the old uppercase variants throw a deprecation warning and 6.x will remove them.</p>
<p dir="auto">The current Flask docs for Celery reference things like:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" celery = Celery(
app.import_name,
backend=app.config['CELERY_RESULT_BACKEND'],
broker=app.config['CELERY_BROKER_URL']
)"><pre class="notranslate"> <span class="pl-s1">celery</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(
<span class="pl-s1">app</span>.<span class="pl-s1">import_name</span>,
<span class="pl-s1">backend</span><span class="pl-c1">=</span><span class="pl-s1">app</span>.<span class="pl-s1">config</span>[<span class="pl-s">'CELERY_RESULT_BACKEND'</span>],
<span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s1">app</span>.<span class="pl-s1">config</span>[<span class="pl-s">'CELERY_BROKER_URL'</span>]
)</pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="flask_app.config.update(
CELERY_BROKER_URL='redis://localhost:6379',
CELERY_RESULT_BACKEND='redis://localhost:6379'
)"><pre class="notranslate"><span class="pl-s1">flask_app</span>.<span class="pl-s1">config</span>.<span class="pl-en">update</span>(
<span class="pl-v">CELERY_BROKER_URL</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost:6379'</span>,
<span class="pl-v">CELERY_RESULT_BACKEND</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost:6379'</span>
)</pre></div>
<p dir="auto">These imply you're using Flask's configuration mechanism which require uppercase variable names to be available, but that conflicts with Celery's new lowercase variables.</p>
<p dir="auto">I talked with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ThiefMaster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ThiefMaster">@ThiefMaster</a> a few weeks ago about this on IRC and he came up with a great idea of doing:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# settings.py
CELERY_CONFIG = {
"broker_url": "redis://localhost:6379/0",
"result_backend": "redis://localhost:6379/0"
}"><pre class="notranslate"><span class="pl-c"># settings.py</span>
<span class="pl-v">CELERY_CONFIG</span> <span class="pl-c1">=</span> {
<span class="pl-s">"broker_url"</span>: <span class="pl-s">"redis://localhost:6379/0"</span>,
<span class="pl-s">"result_backend"</span>: <span class="pl-s">"redis://localhost:6379/0"</span>
}</pre></div>
<p dir="auto">And then in your Celery factory you can do <code class="notranslate">celery.conf.update(app.config.get("CELERY_CONFIG", {}))</code>.</p>
<p dir="auto">This solves the problem and is working out nicely in practice. I'm doing that in a real project, along with extracting out the duplicate Redis connection string into an environment variable, etc.. A working example of that pattern is at <a href="https://github.com/nickjj/docker-flask-example/blob/ca1d48499a4007378bbe363bd5dc117c1a33cc3a/config/settings.py#L21-L28">https://github.com/nickjj/docker-flask-example/blob/ca1d48499a4007378bbe363bd5dc117c1a33cc3a/config/settings.py#L21-L28</a>.</p>
<p dir="auto">I didn't want to open a PR without asking first because I'm not sure which direction you want to go with the docs. To be honest the current docs are a little confusing because you jump straight into using Flask's app configuration values but there's no reference to setting up those config values.</p>
<p dir="auto">Also with the current docs if you attempt to break things into separate files you'll end up with circular import issues when importing your tasks unless you start importing your tasks directly inside of the function you're using instead of the top of the file, but that's another issue. Although potentially semi-related if you plan to revamp the Celery docs.</p> | 0 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.10</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare function overload(param: number);
declare function overload(param: string);
let bar: number | string;
overload(bar); // Argument of type 'number' | 'string' is not assignable to parameter of type 'string'"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">overload</span><span class="pl-kos">(</span><span class="pl-s1">param</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">overload</span><span class="pl-kos">(</span><span class="pl-s1">param</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">bar</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-en">overload</span><span class="pl-kos">(</span><span class="pl-s1">bar</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Argument of type 'number' | 'string' is not assignable to parameter of type 'string'</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
Since the function 'overload' either accepts a 'number' or a 'string', the compiler should not complain.</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
The compiler complains with: "Argument of type 'number' | 'string' is not assignable to parameter of type 'string'".</p>
<p dir="auto"><strong>Workaround:</strong><br>
Of course I could always rewrite the declaration of 'overload' as:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare function overload(param: number | string);"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">overload</span><span class="pl-kos">(</span><span class="pl-s1">param</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">But usually these declarations are from external *.d.ts files which I do not want to touch if I don't have to.</p> | <p dir="auto">I was just working with Big.js and tried to pass a union type into its constructor function. It seems that union types don't play nice with old-style overloaded constructors. Please consider the code below that errors with TypeScript 1.4. I would have expected this to work.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
interface BigJS_Constructors {
new (value: number): BigJS;
new (value: string): BigJS;
new (value: BigJS): BigJS;
}
interface BigJS extends BigJS_Constructors {
abs(): BigJS;
/* more... */
}
var Big : BigJS;
class MyThing {
public value : BigJS;
constructor(value: number | string | BigJS) {
this.value = new Big(value); //This is an error in 1.4.
}
}"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">BigJS_Constructors</span> <span class="pl-kos">{</span>
<span class="pl-k">new</span> <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span>: <span class="pl-smi">BigJS</span><span class="pl-kos">;</span>
<span class="pl-k">new</span> <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">BigJS</span><span class="pl-kos">;</span>
<span class="pl-k">new</span> <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-smi">BigJS</span><span class="pl-kos">)</span>: <span class="pl-smi">BigJS</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">interface</span> <span class="pl-smi">BigJS</span> <span class="pl-k">extends</span> <span class="pl-smi">BigJS_Constructors</span> <span class="pl-kos">{</span>
<span class="pl-c1">abs</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">BigJS</span><span class="pl-kos">;</span>
<span class="pl-c">/* more... */</span>
<span class="pl-kos">}</span>
<span class="pl-k">var</span> <span class="pl-smi">Big</span> : <span class="pl-smi">BigJS</span><span class="pl-kos">;</span>
<span class="pl-k">class</span> <span class="pl-smi">MyThing</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-c1">value</span> : <span class="pl-smi">BigJS</span><span class="pl-kos">;</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span> <span class="pl-c1">|</span> <span class="pl-smi">BigJS</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">value</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">Big</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">//This is an error in 1.4.</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">If I change the <code class="notranslate">new</code> signature under <code class="notranslate">BigJS_Constructors</code> to <code class="notranslate">new (value: number | string | BigJS) : BigJS;</code>, and eliminate the other two options, it works fine, but to me the two styles should be identical in this case.</p>
<p dir="auto">My apologies if I'm doing something stupid here. Thanks!</p> | 1 |
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-sift-through-text-with-regular-expressions" rel="nofollow">http://freecodecamp.com/challenges/waypoint-sift-through-text-with-regular-expressions</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">In the description, <code class="notranslate">/the+/gi</code> is used to search for all "the" and "The" in a string. While stated differently, I would consider the <code class="notranslate">+</code> being part of the pattern. As I understand it, the <code class="notranslate">+</code> will only affect the character or group directly in front of it (as do <code class="notranslate">*</code>, <code class="notranslate">?</code> and <code class="notranslate">{}</code>), so in the example <code class="notranslate">e</code> (will also match a "theeee"), which is probably not what the author wanted. Even worse, the assertions want me to write <code class="notranslate">/and+/gi</code>, where <code class="notranslate">/and/gi</code> would be sufficient and less misleading.</p>
<p dir="auto">These extra plusses won't change anything if you just count matches, as these words cannot overlap (example if they did: <code class="notranslate">"abaaba".match(/aba+/gi)</code> will return only one match, <code class="notranslate">"abaaba".match(/aba/gi)</code> will return two), but might change results if you evaluate the whole matches for example for total length.</p>
<p dir="auto">I also do not quite agree with the description of the "g" flag, though I would not call that false, just imprecise. I would describe it as "After finding a pattern match, continue search after that match, so that the found patterns cannot overlap" or similar, to make clear that without the "g" flag, only the first match is returned.</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-sift-through-text-with-regular-expressions" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-sift-through-text-with-regular-expressions</a> has an issue.</p>
<p dir="auto">The challenge is to search a string of text for occurrences of the word 'and'.</p>
<p dir="auto">But currently the challenge requires the RegEx <code class="notranslate">/and+/gi</code> which is incorrect due to allowing 1 or more 'd's. This pattern would match and, anddddd, anddddddddd, etc.</p>
<p dir="auto">The challenge currently rejects the correct RegEx <code class="notranslate">/and/gi</code>.</p> | 1 |
<p dir="auto">Shortcut chords like <code class="notranslate">ctrl+k ctrl+l</code> resolve as <code class="notranslate">ctrl+k (partial)</code>, <code class="notranslate">ctrl-l</code>, <code class="notranslate">editor:select-line</code>. I'm running v0.126.0-571ce5b built from source on Ubuntu 14.04.1 x64.</p> | <p dir="auto">I have this on Ubuntu 14.04.</p>
<p dir="auto">When I use the following default keybindings <code class="notranslate">'.workspace .editor': 'ctrl-k ctrl-u': 'editor:upper-case'</code> and <code class="notranslate">'.workspace .editor': 'ctrl-k ctrl-l': 'editor:lower-case'</code>, the second ctrl gets registered as a first key press. I have this with all bindings that have multiple ctrl's.</p>
<p dir="auto">This is a recording of Keybinding resolver with <code class="notranslate">atom --safe</code> taken from <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/atom/atom/commit/ebbea64b3de1c41336b386d76a7f0dad70a7af88/hovercard" href="https://github.com/atom/atom/commit/ebbea64b3de1c41336b386d76a7f0dad70a7af88"><tt>ebbea64</tt></a>.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4266355/3941644/b6f8320c-2539-11e4-91bc-4b603507f0b8.gif"><img src="https://cloud.githubusercontent.com/assets/4266355/3941644/b6f8320c-2539-11e4-91bc-4b603507f0b8.gif" alt="ebbea64b3de1c41336b386d76a7f0dad70a7af88" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">This is a recording of Keybinding resolver with <code class="notranslate">atom --safe</code> taken from <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/atom/atom/commit/b3c241757801cf7a90d9e119f42e7a8ac498db10/hovercard" href="https://github.com/atom/atom/commit/b3c241757801cf7a90d9e119f42e7a8ac498db10"><tt>b3c2417</tt></a>. (v0.120.0)</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4266355/3941646/cd092880-2539-11e4-95e1-54f7e82a12d3.gif"><img src="https://cloud.githubusercontent.com/assets/4266355/3941646/cd092880-2539-11e4-95e1-54f7e82a12d3.gif" alt="b3c241757801cf7a90d9e119f42e7a8ac498db10" data-animated-image="" style="max-width: 100%;"></a><br>
Here the keybindings work correct.</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=davidparks21" rel="nofollow">David Parks</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8367?redirect=false" rel="nofollow">SPR-8367</a></strong> and commented</p>
<p dir="auto">Reference JIRA: <a href="https://jira.springsource.org/browse/SPR-6180?focusedCommentId=66682#comment-66682" rel="nofollow">https://jira.springsource.org/browse/SPR-6180?focusedCommentId=66682#comment-66682</a></p>
<p dir="auto">Any use cases which require an HttpContext attribute to be set aren't covered in this implementation, and the extensions required make the whole thing so messy as to make using the Rest Template more of a burden than a benefit. Here is the particular case that I've been fussing with today to little avail, setting preemptive authentication (i.e. send basic authentication headers by default rather than performing 2 requests to authenticate):</p>
<p dir="auto"><a href="http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#d4e1023" rel="nofollow">http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#d4e1023</a></p>
<p dir="auto">The problem being that the RestTemplate implementation as it is has no support for setting HttpContext parameters (the template calls the Http.execute(HttpUriRequest) which uses only the non-accessible default HttpContext), there aren't any good ways to set the default context parameters on the HttpClient in 4.x Apache HTTP Components. You end up needing to extend HttpClient to provide for default HttpContext params on the HttpClient object and the whole thing just becomes a spaghetti mess from there making the template more pain than pleasure.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 M2</p>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/f9144ea1eae5b09b3f8609dec0e6343f35c887a9/hovercard" href="https://github.com/spring-projects/spring-framework/commit/f9144ea1eae5b09b3f8609dec0e6343f35c887a9"><tt>f9144ea</tt></a></p>
<p dir="auto">3 votes, 7 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=gobreak" rel="nofollow">gobreak</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2091?redirect=false" rel="nofollow">SPR-2091</a></strong> and commented</p>
<p dir="auto">I have tried using JBossMQ and ActiveMQ to receive async message by DefaultMessageListenerContainer.<br>
Transaction Manager from JBoss are used and set properly as a bean property for DefaultMessageListenerContainer.<br>
To trigger the XA rollback, I throw a runtime exception in the onMessage() callback of the MessageListener.<br>
However, the message is still commit.</p>
<p dir="auto">The bean setting:<br>
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"><br>
<property name="userTransaction" ref="userTransaction"/><br>
</bean></p>
<p dir="auto"><bean id="userTransaction"<br>
class="org.springframework.jndi.JndiObjectFactoryBean"><br>
<property name="jndiName"><br>
<value>java:comp/UserTransaction</value><br>
</property><br>
</bean></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<bean id="listenerContainer"
class="org.springframework.jms.listener.DefaultMessageListenerContainer">
<property name="connectionFactory" ref="XAJmsConnectionFactory" />
<property name="destination" ref="XADestination" />
<property name="messageListener" ref="coreInboundBeanImpl" />
<property name="transactionManager" ref="transactionManager"/>
</bean>"><pre class="notranslate"><code class="notranslate"><bean id="listenerContainer"
class="org.springframework.jms.listener.DefaultMessageListenerContainer">
<property name="connectionFactory" ref="XAJmsConnectionFactory" />
<property name="destination" ref="XADestination" />
<property name="messageListener" ref="coreInboundBeanImpl" />
<property name="transactionManager" ref="transactionManager"/>
</bean>
</code></pre></div>
<p dir="auto">Finally, I needed to extend DefaultMessageListenerContainer and override the receive() method using JMSTemplate instead of the message consumer as follow:<br>
public Message receive(long timeOut) throws JMSException{<br>
template.setConnectionFactory(getConnectionFactory());<br>
template.setDefaultDestination(getDestination());<br>
template.setReceiveTimeout(timeOut);<br>
if (getMessageSelector() == null || "".equals(getMessageSelector().trim()))<br>
return template.receive(getDestination());<br>
else<br>
return template.receiveSelected(getDestination(), getMessageSelector());<br>
}</p>
<p dir="auto">I use JMSTemplate because I find it performs XA without any noticed problem.<br>
Using the above implementation can successfully rollback as well as commit the message. I am seeking for better solution on this topic.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 M4</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398067460" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6872" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6872/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6872">#6872</a> Cannot do XA Rollback Using DefaultMessageListenerContainer in Spring 2.0 RC1 (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398067461" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6873" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6873/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6873">#6873</a> Cannot do XA Rollback Using DefaultMessageListenerContainer in Spring 2.0 RC1 (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | 0 |
<p dir="auto">A number of users have asked how they can load type information from the export data section of a .a file produced by the Go compiler. Although you can use the standard go/importer package to find (relative to $GOPATH) and load a .a file, it provides no way to load a file that lives elsewhere. In contrast, the old API separated the operations of FindPkg and Import.</p>
<p dir="auto">The new package should provide these features too, as users are currently forced to fork either the deprecated x/tools package or the standard go/internal/gcimporter package.</p> | <p dir="auto">Missing functionality. Required for clients that store packages outside the implied file system structure.</p> | 1 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 0.15.0</li>
<li>Operating System: windows 10</li>
<li>Extra:
<ul dir="auto">
<li>nodejs 14.0.0</li>
<li>npm 6.14.4</li>
<li>yarn 1.22.4</li>
</ul>
</li>
</ul>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">install by npm/yarn both all failed, also try run <code class="notranslate">node install.js</code> for download but still lost files</p>
<p dir="auto">file is missing</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/167966/80373880-5474d100-88c8-11ea-974a-a1549b2f64e5.png"><img src="https://user-images.githubusercontent.com/167966/80373880-5474d100-88c8-11ea-974a-a1549b2f64e5.png" alt="image" style="max-width: 100%;"></a></p>
<blockquote>
<p dir="auto">Error: Failed to launch browser: Error: spawn node_modules\playwright.local-browsers\chromium\chrome-win\chrome.exe ENOENT</p>
</blockquote> | <p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 0.15.0</li>
<li>Operating System: Windows</li>
</ul>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">I just upgraded to the new Node 14 and with both npm and yarn the .local-browsers folder ends up empty on install. I was on Node 13 before and was fine. I just switched back to Node 12 and it works fine again.</p> | 1 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong><br>
When a class (B) extends another class (A) and includes a type definition to narrow the type of something specified in class A, it will set the narrowed property's value to undefined. This diverges from the TSC behavior.<br>
The output from the below code under babel is <code class="notranslate">a, undefined</code>.<br>
<strong>Input Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" class A {
value: any
constructor(value: any) {
this.value = value
}
}
class B extends A {
value: string
}
document.write(`${new A('a').value}, ${new B('b').value}`)"><pre class="notranslate"> <span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-c1">value</span>: <span class="pl-smi">any</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">value</span> <span class="pl-c1">=</span> <span class="pl-s1">value</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">class</span> <span class="pl-smi">B</span> <span class="pl-k">extends</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-c1">value</span>: <span class="pl-smi">string</span>
<span class="pl-kos">}</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">write</span><span class="pl-kos">(</span><span class="pl-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-k">new</span> <span class="pl-smi">A</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">}</span></span>, <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-k">new</span> <span class="pl-smi">B</span><span class="pl-kos">(</span><span class="pl-s">'b'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span></pre></div>
<p dir="auto"><strong>Expected behavior/code</strong><br>
The output from the code should be <code class="notranslate">a, b</code>.</p>
<p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p>
<p dir="auto">.babelrc:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": [
"@babel/env",
"@babel/typescript"
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"@babel/env"</span><span class="pl-kos">,</span>
<span class="pl-s">"@babel/typescript"</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"@babel/proposal-class-properties"</span><span class="pl-kos">,</span>
<span class="pl-s">"@babel/proposal-object-rest-spread"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): 7.1.6</li>
<li>Node/npm version: Node 10 / NPM 6</li>
<li>OS: Any OS</li>
<li>Monorepo: doesn't matter</li>
<li>How you are using Babel: loader</li>
</ul>
<p dir="auto"><strong>Possible Solution</strong><br>
It seems like babel is setting <code class="notranslate">value = undefined</code> in the class property - it needs to check if that value is defined in the parent before overwriting it.</p> | <p dir="auto"><strong>TypeScript Version:</strong> 2.1.1</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class PartialPolicySearchIten {
public displayValue: string;
public oriNumber: string;
public parentName: string;
public sysNumber: string;
public systemCode: number;
public systemName: string;
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">PartialPolicySearchIten</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-c1">displayValue</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-k">public</span> <span class="pl-c1">oriNumber</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-k">public</span> <span class="pl-c1">parentName</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-k">public</span> <span class="pl-c1">sysNumber</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-k">public</span> <span class="pl-c1">systemCode</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span>
<span class="pl-k">public</span> <span class="pl-c1">systemName</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class PartialPolicySearchIten {
constructor() {
this.displayValue = undefined;
this.oriNumber = undefined;
this.parentName = undefined;
this.sysNumber = undefined;
this.systemCode = undefined;
this. systemName = undefined;
}
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">PartialPolicySearchIten</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">displayValue</span> <span class="pl-c1">=</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">oriNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">parentName</span> <span class="pl-c1">=</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">sysNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">systemCode</span> <span class="pl-c1">=</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span> <span class="pl-c1">systemName</span> <span class="pl-c1">=</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Actual behavior:</strong><br>
class PartialPolicySearchIten { }</p>
<p dir="auto">The problem comes when using Reflection it can't find the properties. I would expected that the properties exists as i'm redefining them. Otherwise their very little point is declaring properties of a class.</p> | 1 |
<p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li>
</ul>
<p dir="auto">I am sorry for not having a dead-simple example that can be used to reproduce this issue at this point. It seems to happen in a specific setting where I tried to train a pixel-based agent with DeepMind's Acme library.<br>
The code to reproduce the problem can be found in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1247101583" data-permission-text="Title is private" data-url="https://github.com/deepmind/acme/issues/233" data-hovercard-type="issue" data-hovercard-url="/deepmind/acme/issues/233/hovercard" href="https://github.com/deepmind/acme/issues/233">deepmind/acme#233</a>, and the original issue is <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1248582718" data-permission-text="Title is private" data-url="https://github.com/deepmind/acme/issues/235" data-hovercard-type="issue" data-hovercard-url="/deepmind/acme/issues/235/hovercard" href="https://github.com/deepmind/acme/issues/235">deepmind/acme#235</a>, another related issue may be <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4084809" data-permission-text="Title is private" data-url="https://github.com/google/jax/discussions/10763" data-hovercard-type="discussion" data-hovercard-url="/google/jax/discussions/10763/hovercard" href="https://github.com/google/jax/discussions/10763">#10763</a>.</p>
<p dir="auto">I will try to narrow done to the simplest example that can cause this, but at the moment I haven't successfully been able to do so.</p>
<p dir="auto">For this specific application, I am running JAX on both CPU and GPU concurrently on a single process with multithreading. In particular, I am working with a standard RL actor learner setup where the acting happens on the CPU and learning happens on the GPU.<br>
The actor loads the latest weights from the learner asynchronously with a ThreadPoolExecutor. I have 2 3080 on my machine, but I only use a single GPU for training.</p>
<p dir="auto">I am using <code class="notranslate">jax[cuda]==0.3.6</code>.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li>
</ul>
<p dir="auto">I set a gdb session to catch the segmentation fault, and here's the backtrace from the segfault thread. The segmentation fault seems to come from the xla_extension.so in jaxlib.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 0x00000000005b9fa3 in PyObject_Malloc ()
#1 0x00000000005a9c18 in PyType_GenericAlloc ()
#2 0x00007fff7165a5bd in xla::PyBuffer::Make(std::shared_ptr<xla::PyClient>, std::shared_ptr<xla::PjRtBuffer>, std::shared_ptr<xla::Traceback>) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#3 0x00007fff71666228 in xla::PyClient::BufferFromPyval(pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#4 0x00007fff713f608d in pybind11::cpp_function::initialize<pybind11::cpp_function::initialize<tensorflow::StatusOr<pybind11::object>, xla::PyClient, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(tensorflow::StatusOr<pybind11::object> (xla::PyClient::*)(pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics)#1}, tensorflow::StatusOr<pybind11::object>, xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::cpp_function::initialize<tensorflow::StatusOr<pybind11::object>, xla::PyClient, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(tensorflow::StatusOr<pybind11::object> (xla::PyClient::*)(pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics)#1}&&, tensorflow::StatusOr<pybind11::object> (*)(xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::operator()(pybind11::detail::function_call) const ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#5 0x00007fff713edc7b in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#6 0x00000000005f3989 in PyCFunction_Call ()
#7 0x00000000005f3e1e in _PyObject_MakeTpCall ()
#8 0x000000000050b183 in ?? ()
#9 0x0000000000570035 in _PyEval_EvalFrameDefault ()
#10 0x00000000005f6836 in _PyFunction_Vectorcall ()
#11 0x000000000056b0ae in _PyEval_EvalFrameDefault ()
#12 0x000000000056939a in _PyEval_EvalCodeWithName ()
#13 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#14 0x00000000005f3547 in PyObject_Call ()
#15 0x000000000056c8cd in _PyEval_EvalFrameDefault ()
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00000000005f6836 in _PyFunction_Vectorcall ()
#17 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#18 0x00000000005f6836 in _PyFunction_Vectorcall ()
#19 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#20 0x000000000056939a in _PyEval_EvalCodeWithName ()
#21 0x000000000050aaa0 in ?? ()
#22 0x000000000056c28c in _PyEval_EvalFrameDefault ()
#23 0x000000000056939a in _PyEval_EvalCodeWithName ()
#24 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#25 0x00000000005f3547 in PyObject_Call ()
#26 0x000000000056c8cd in _PyEval_EvalFrameDefault ()
#27 0x00000000005006d4 in ?? ()
#28 0x0000000000510b02 in PyIter_Next ()
#29 0x00007fff7146c6a6 in pybind11::iterator::advance() () from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#30 0x00007fff7160c4d5 in pybind11::object xla::PyTreeDef::UnflattenImpl<pybind11::iterable>(pybind11::iterable) const ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#31 0x00007fff7160c98d in xla::PyTreeDef::Unflatten(pybind11::iterable) const ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#32 0x00007fff7160854b in pybind11::cpp_function::initialize<pybind11::cpp_function::initialize<pybind11::object, xla::PyTreeDef, pybind11::iterable, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (xla::PyTreeDef::*)(pybind11::iterable) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(xla::PyTreeDef const*, pybind11::iterable)#1}, pybind11::object, xla::PyTreeDef const*, pybind11::iterable, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize<pybind11::object, xla::PyTreeDef, pybind11::iterable, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (xla::PyTreeDef::*)(pybind11::iterable) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(xla::PyTreeDef const*, pybind11::iterable)#1}&&, pybind11::object (*)(xla::PyTreeDef const*, pybind11::iterable), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call) () from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#33 0x00007fff713edc7b in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#34 0x00000000005f3989 in PyCFunction_Call ()
#35 0x00000000005f3e1e in _PyObject_MakeTpCall ()
#36 0x000000000050b183 in ?? ()
#37 0x0000000000570035 in _PyEval_EvalFrameDefault ()
#38 0x000000000056939a in _PyEval_EvalCodeWithName ()
--Type <RET> for more, q to quit, c to continue without paging--
#39 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#40 0x000000000056b0ae in _PyEval_EvalFrameDefault ()
#41 0x000000000056939a in _PyEval_EvalCodeWithName ()
#42 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#43 0x0000000000570035 in _PyEval_EvalFrameDefault ()
#44 0x00000000005f6836 in _PyFunction_Vectorcall ()
#45 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#46 0x000000000056939a in _PyEval_EvalCodeWithName ()
#47 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#48 0x000000000056b0ae in _PyEval_EvalFrameDefault ()
#49 0x00000000005f6836 in _PyFunction_Vectorcall ()
#50 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#51 0x00000000005f6836 in _PyFunction_Vectorcall ()
#52 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#53 0x00000000005f6836 in _PyFunction_Vectorcall ()
#54 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#55 0x00000000005f6836 in _PyFunction_Vectorcall ()
#56 0x00000000005f3547 in PyObject_Call ()
#57 0x000000000056c8cd in _PyEval_EvalFrameDefault ()
#58 0x00000000005f6836 in _PyFunction_Vectorcall ()
#59 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#60 0x00000000005f6836 in _PyFunction_Vectorcall ()
#61 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#62 0x00000000005f6836 in _PyFunction_Vectorcall ()
#63 0x000000000050aa2c in ?? ()
#64 0x00000000005f3547 in PyObject_Call ()
#65 0x0000000000655a9c in ?? ()
#66 0x0000000000675738 in ?? ()
#67 0x00007ffff7da0609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#68 0x00007ffff7eda163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95"><pre class="notranslate"><code class="notranslate">#0 0x00000000005b9fa3 in PyObject_Malloc ()
#1 0x00000000005a9c18 in PyType_GenericAlloc ()
#2 0x00007fff7165a5bd in xla::PyBuffer::Make(std::shared_ptr<xla::PyClient>, std::shared_ptr<xla::PjRtBuffer>, std::shared_ptr<xla::Traceback>) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#3 0x00007fff71666228 in xla::PyClient::BufferFromPyval(pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#4 0x00007fff713f608d in pybind11::cpp_function::initialize<pybind11::cpp_function::initialize<tensorflow::StatusOr<pybind11::object>, xla::PyClient, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(tensorflow::StatusOr<pybind11::object> (xla::PyClient::*)(pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics)#1}, tensorflow::StatusOr<pybind11::object>, xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::cpp_function::initialize<tensorflow::StatusOr<pybind11::object>, xla::PyClient, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(tensorflow::StatusOr<pybind11::object> (xla::PyClient::*)(pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics)#1}&&, tensorflow::StatusOr<pybind11::object> (*)(xla::PyClient*, pybind11::handle, xla::PjRtDevice*, bool, xla::PjRtClient::HostBufferSemantics), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::operator()(pybind11::detail::function_call) const ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#5 0x00007fff713edc7b in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#6 0x00000000005f3989 in PyCFunction_Call ()
#7 0x00000000005f3e1e in _PyObject_MakeTpCall ()
#8 0x000000000050b183 in ?? ()
#9 0x0000000000570035 in _PyEval_EvalFrameDefault ()
#10 0x00000000005f6836 in _PyFunction_Vectorcall ()
#11 0x000000000056b0ae in _PyEval_EvalFrameDefault ()
#12 0x000000000056939a in _PyEval_EvalCodeWithName ()
#13 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#14 0x00000000005f3547 in PyObject_Call ()
#15 0x000000000056c8cd in _PyEval_EvalFrameDefault ()
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00000000005f6836 in _PyFunction_Vectorcall ()
#17 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#18 0x00000000005f6836 in _PyFunction_Vectorcall ()
#19 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#20 0x000000000056939a in _PyEval_EvalCodeWithName ()
#21 0x000000000050aaa0 in ?? ()
#22 0x000000000056c28c in _PyEval_EvalFrameDefault ()
#23 0x000000000056939a in _PyEval_EvalCodeWithName ()
#24 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#25 0x00000000005f3547 in PyObject_Call ()
#26 0x000000000056c8cd in _PyEval_EvalFrameDefault ()
#27 0x00000000005006d4 in ?? ()
#28 0x0000000000510b02 in PyIter_Next ()
#29 0x00007fff7146c6a6 in pybind11::iterator::advance() () from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#30 0x00007fff7160c4d5 in pybind11::object xla::PyTreeDef::UnflattenImpl<pybind11::iterable>(pybind11::iterable) const ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#31 0x00007fff7160c98d in xla::PyTreeDef::Unflatten(pybind11::iterable) const ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#32 0x00007fff7160854b in pybind11::cpp_function::initialize<pybind11::cpp_function::initialize<pybind11::object, xla::PyTreeDef, pybind11::iterable, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (xla::PyTreeDef::*)(pybind11::iterable) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(xla::PyTreeDef const*, pybind11::iterable)#1}, pybind11::object, xla::PyTreeDef const*, pybind11::iterable, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize<pybind11::object, xla::PyTreeDef, pybind11::iterable, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (xla::PyTreeDef::*)(pybind11::iterable) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(xla::PyTreeDef const*, pybind11::iterable)#1}&&, pybind11::object (*)(xla::PyTreeDef const*, pybind11::iterable), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call) () from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#33 0x00007fff713edc7b in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
from /home/yicheng/virtualenvs/orlb/lib/python3.8/site-packages/jaxlib/xla_extension.so
#34 0x00000000005f3989 in PyCFunction_Call ()
#35 0x00000000005f3e1e in _PyObject_MakeTpCall ()
#36 0x000000000050b183 in ?? ()
#37 0x0000000000570035 in _PyEval_EvalFrameDefault ()
#38 0x000000000056939a in _PyEval_EvalCodeWithName ()
--Type <RET> for more, q to quit, c to continue without paging--
#39 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#40 0x000000000056b0ae in _PyEval_EvalFrameDefault ()
#41 0x000000000056939a in _PyEval_EvalCodeWithName ()
#42 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#43 0x0000000000570035 in _PyEval_EvalFrameDefault ()
#44 0x00000000005f6836 in _PyFunction_Vectorcall ()
#45 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#46 0x000000000056939a in _PyEval_EvalCodeWithName ()
#47 0x00000000005f6a13 in _PyFunction_Vectorcall ()
#48 0x000000000056b0ae in _PyEval_EvalFrameDefault ()
#49 0x00000000005f6836 in _PyFunction_Vectorcall ()
#50 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#51 0x00000000005f6836 in _PyFunction_Vectorcall ()
#52 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#53 0x00000000005f6836 in _PyFunction_Vectorcall ()
#54 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#55 0x00000000005f6836 in _PyFunction_Vectorcall ()
#56 0x00000000005f3547 in PyObject_Call ()
#57 0x000000000056c8cd in _PyEval_EvalFrameDefault ()
#58 0x00000000005f6836 in _PyFunction_Vectorcall ()
#59 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#60 0x00000000005f6836 in _PyFunction_Vectorcall ()
#61 0x000000000056b1da in _PyEval_EvalFrameDefault ()
#62 0x00000000005f6836 in _PyFunction_Vectorcall ()
#63 0x000000000050aa2c in ?? ()
#64 0x00000000005f3547 in PyObject_Call ()
#65 0x0000000000655a9c in ?? ()
#66 0x0000000000675738 in ?? ()
#67 0x00007ffff7da0609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#68 0x00007ffff7eda163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
</code></pre></div>
<p dir="auto">Is there any guess for why this happens in my case?</p> | <p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li>
</ul>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax.numpy as jnp
import tensorflow_datasets as tfds
from flax import linen as nn
from jax import random
# See https://github.com/tensorflow/tensorflow/issues/53831.
train_ds = tfds.load("cifar10", split="train", as_supervised=True)
model = nn.Conv(features=1, kernel_size=(3, 3), strides=(1, 1))
params = model.init(random.PRNGKey(123), jnp.zeros((1, 32, 32, 3)))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span>
<span class="pl-k">import</span> <span class="pl-s1">tensorflow_datasets</span> <span class="pl-k">as</span> <span class="pl-s1">tfds</span>
<span class="pl-k">from</span> <span class="pl-s1">flax</span> <span class="pl-k">import</span> <span class="pl-s1">linen</span> <span class="pl-k">as</span> <span class="pl-s1">nn</span>
<span class="pl-k">from</span> <span class="pl-s1">jax</span> <span class="pl-k">import</span> <span class="pl-s1">random</span>
<span class="pl-c"># See https://github.com/tensorflow/tensorflow/issues/53831.</span>
<span class="pl-s1">train_ds</span> <span class="pl-c1">=</span> <span class="pl-s1">tfds</span>.<span class="pl-en">load</span>(<span class="pl-s">"cifar10"</span>, <span class="pl-s1">split</span><span class="pl-c1">=</span><span class="pl-s">"train"</span>, <span class="pl-s1">as_supervised</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">Conv</span>(<span class="pl-s1">features</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">kernel_size</span><span class="pl-c1">=</span>(<span class="pl-c1">3</span>, <span class="pl-c1">3</span>), <span class="pl-s1">strides</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>))
<span class="pl-s1">params</span> <span class="pl-c1">=</span> <span class="pl-s1">model</span>.<span class="pl-en">init</span>(<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">123</span>), <span class="pl-s1">jnp</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">1</span>, <span class="pl-c1">32</span>, <span class="pl-c1">32</span>, <span class="pl-c1">3</span>)))</pre></div>
<p dir="auto">gives me an error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeError: UNKNOWN: Failed to determine best cudnn convolution algorithm for:
%cudnn-conv = (f32[1,32,32,1]{2,1,3,0}, u8[0]{0}) custom-call(f32[1,32,32,3]{2,1,3,0} %copy.3, f32[3,3,3,1]{1,0,2,3} %copy.4), window={size=3x3 pad=1_1x1_1}, dim_labels=b01f_01io->b01f, custom_call_target="__cudnn$convForward", metadata={op_type="conv_general_dilated" op_name="jit(conv_general_dilated)/conv_general_dilated[\n batch_group_count=1\n dimension_numbers=ConvDimensionNumbers(lhs_spec=(0, 3, 1, 2), rhs_spec=(3, 2, 0, 1), out_spec=(0, 3, 1, 2))\n feature_group_count=1\n lhs_dilation=(1, 1)\n lhs_shape=(1, 32, 32, 3)\n padding=((1, 1), (1, 1))\n precision=None\n preferred_element_type=None\n rhs_dilation=(1, 1)\n rhs_shape=(3, 3, 3, 1)\n window_strides=(1, 1)\n]" source_file="/nix/store/ys9bmmwpdqf3vlgxjvfy770qdk4dcf1n-python3.9-flax-0.3.6/lib/python3.9/site-packages/flax/linen/linear.py" source_line=282}, backend_config="{\"conv_result_scale\":1,\"activation_mode\":\"0\",\"side_input_scale\":0}"
Original error: UNIMPLEMENTED: DNN library is not found."><pre class="notranslate"><code class="notranslate">RuntimeError: UNKNOWN: Failed to determine best cudnn convolution algorithm for:
%cudnn-conv = (f32[1,32,32,1]{2,1,3,0}, u8[0]{0}) custom-call(f32[1,32,32,3]{2,1,3,0} %copy.3, f32[3,3,3,1]{1,0,2,3} %copy.4), window={size=3x3 pad=1_1x1_1}, dim_labels=b01f_01io->b01f, custom_call_target="__cudnn$convForward", metadata={op_type="conv_general_dilated" op_name="jit(conv_general_dilated)/conv_general_dilated[\n batch_group_count=1\n dimension_numbers=ConvDimensionNumbers(lhs_spec=(0, 3, 1, 2), rhs_spec=(3, 2, 0, 1), out_spec=(0, 3, 1, 2))\n feature_group_count=1\n lhs_dilation=(1, 1)\n lhs_shape=(1, 32, 32, 3)\n padding=((1, 1), (1, 1))\n precision=None\n preferred_element_type=None\n rhs_dilation=(1, 1)\n rhs_shape=(3, 3, 3, 1)\n window_strides=(1, 1)\n]" source_file="/nix/store/ys9bmmwpdqf3vlgxjvfy770qdk4dcf1n-python3.9-flax-0.3.6/lib/python3.9/site-packages/flax/linen/linear.py" source_line=282}, backend_config="{\"conv_result_scale\":1,\"activation_mode\":\"0\",\"side_input_scale\":0}"
Original error: UNIMPLEMENTED: DNN library is not found.
</code></pre></div>
<p dir="auto">But if I force TF to run on CPU with</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import tensorflow as tf
tf.config.set_visible_devices([], 'GPU')
import jax.numpy as jnp
import tensorflow_datasets as tfds
from flax import linen as nn
from jax import random
# See https://github.com/tensorflow/tensorflow/issues/53831.
train_ds = tfds.load("cifar10", split="train", as_supervised=True)
model = nn.Conv(features=1, kernel_size=(3, 3), strides=(1, 1))
params = model.init(random.PRNGKey(123), jnp.zeros((1, 32, 32, 3)))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">tensorflow</span> <span class="pl-k">as</span> <span class="pl-s1">tf</span>
<span class="pl-s1">tf</span>.<span class="pl-s1">config</span>.<span class="pl-en">set_visible_devices</span>([], <span class="pl-s">'GPU'</span>)
<span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span>
<span class="pl-k">import</span> <span class="pl-s1">tensorflow_datasets</span> <span class="pl-k">as</span> <span class="pl-s1">tfds</span>
<span class="pl-k">from</span> <span class="pl-s1">flax</span> <span class="pl-k">import</span> <span class="pl-s1">linen</span> <span class="pl-k">as</span> <span class="pl-s1">nn</span>
<span class="pl-k">from</span> <span class="pl-s1">jax</span> <span class="pl-k">import</span> <span class="pl-s1">random</span>
<span class="pl-c"># See https://github.com/tensorflow/tensorflow/issues/53831.</span>
<span class="pl-s1">train_ds</span> <span class="pl-c1">=</span> <span class="pl-s1">tfds</span>.<span class="pl-en">load</span>(<span class="pl-s">"cifar10"</span>, <span class="pl-s1">split</span><span class="pl-c1">=</span><span class="pl-s">"train"</span>, <span class="pl-s1">as_supervised</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">Conv</span>(<span class="pl-s1">features</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">kernel_size</span><span class="pl-c1">=</span>(<span class="pl-c1">3</span>, <span class="pl-c1">3</span>), <span class="pl-s1">strides</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>))
<span class="pl-s1">params</span> <span class="pl-c1">=</span> <span class="pl-s1">model</span>.<span class="pl-en">init</span>(<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">123</span>), <span class="pl-s1">jnp</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">1</span>, <span class="pl-c1">32</span>, <span class="pl-c1">32</span>, <span class="pl-c1">3</span>)))</pre></div>
<p dir="auto">Then it works!</p>
<p dir="auto">Why does TF having access to the GPU affect JAX's ability to locate cuDNN?</p>
<p dir="auto">Here's my shell.nix for complete reproducibility: <a href="https://gist.github.com/samuela/319059b88a46a994b4c10dfa718f379e">https://gist.github.com/samuela/319059b88a46a994b4c10dfa718f379e</a><br>
And here's a relevant comment on another issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1124747477" data-permission-text="Title is private" data-url="https://github.com/NixOS/nixpkgs/issues/158186" data-hovercard-type="pull_request" data-hovercard-url="/NixOS/nixpkgs/pull/158186/hovercard?comment_id=1030486912&comment_type=issue_comment" href="https://github.com/NixOS/nixpkgs/pull/158186#issuecomment-1030486912">NixOS/nixpkgs#158186 (comment)</a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li>
</ul> | 0 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1658" rel="nofollow">http://projects.scipy.org/numpy/ticket/1658</a> on 2010-11-02 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/FrancescAlted/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/FrancescAlted">@FrancescAlted</a>, assigned to unknown.</em></p>
<p dir="auto">This reproduces the problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> pickle.loads(pickle.dumps(np.array(u'a'))) # 1-length works well
array(u'a',
dtype='<U1')
>>> pickle.loads(pickle.dumps(np.array(u''))) # 0-length does not work
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/tables-2.2/<ipython console> in <module>()
/usr/local/lib/python2.6/pickle.pyc in loads(str)
1372 def loads(str):
1373 file = StringIO(str)
-> 1374 return Unpickler(file).load()
1375
1376 # Doctest
/usr/local/lib/python2.6/pickle.pyc in load(self)
856 while 1:
857 key = read(1)
--> 858 dispatch[key](self)
859 except _Stop, stopinst:
860 return stopinst.value
/usr/local/lib/python2.6/pickle.pyc in load_reduce(self)
1131 args = stack.pop()
1132 func = stack[-1]
-> 1133 value = func(*args)
1134 stack[-1] = value
1135 dispatch[REDUCE] = load_reduce
TypeError: data type not understood"><pre class="notranslate"><code class="notranslate">>>> pickle.loads(pickle.dumps(np.array(u'a'))) # 1-length works well
array(u'a',
dtype='<U1')
>>> pickle.loads(pickle.dumps(np.array(u''))) # 0-length does not work
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/tables-2.2/<ipython console> in <module>()
/usr/local/lib/python2.6/pickle.pyc in loads(str)
1372 def loads(str):
1373 file = StringIO(str)
-> 1374 return Unpickler(file).load()
1375
1376 # Doctest
/usr/local/lib/python2.6/pickle.pyc in load(self)
856 while 1:
857 key = read(1)
--> 858 dispatch[key](self)
859 except _Stop, stopinst:
860 return stopinst.value
/usr/local/lib/python2.6/pickle.pyc in load_reduce(self)
1131 args = stack.pop()
1132 func = stack[-1]
-> 1133 value = func(*args)
1134 stack[-1] = value
1135 dispatch[REDUCE] = load_reduce
TypeError: data type not understood
</code></pre></div> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1037" rel="nofollow">http://projects.scipy.org/numpy/ticket/1037</a> on 2009-03-04 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/FrancescAlted/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/FrancescAlted">@FrancescAlted</a>, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cournape/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cournape">@cournape</a>.</em></p>
<p dir="auto">This shows the problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [18]: cp = cPickle.dumps(numpy.array([u'']), 0)
In [19]: cPickle.loads(cp)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/faltet/PyTables/pytables/PyTablesPro/trunk/<ipython console> in <module>()
TypeError: ('data type not understood', <type 'numpy.dtype'>, ('U0', 0, 1))"><pre class="notranslate"><code class="notranslate">In [18]: cp = cPickle.dumps(numpy.array([u'']), 0)
In [19]: cPickle.loads(cp)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/faltet/PyTables/pytables/PyTablesPro/trunk/<ipython console> in <module>()
TypeError: ('data type not understood', <type 'numpy.dtype'>, ('U0', 0, 1))
</code></pre></div>
<p dir="auto">However, plain strings does work:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [20]: cp = cPickle.dumps(numpy.array(['']), 0)
In [21]: cPickle.loads(cp)
Out[21]:
array([''],
dtype='|S1') "><pre class="notranslate"><code class="notranslate">In [20]: cp = cPickle.dumps(numpy.array(['']), 0)
In [21]: cPickle.loads(cp)
Out[21]:
array([''],
dtype='|S1')
</code></pre></div> | 1 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.7</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/3s9sem0m/" rel="nofollow">https://jsfiddle.net/3s9sem0m/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">I am using laravel-admin.org and I have incorporated vuejs into that system. The problem is that there are some functionalities that use the tag template, to then duplicate it using jquery, and vuejs are rendering those tags (even if you add the v-pre directive) and breaking all that functionality.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">The directive v-pre should prevent render the tag template</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">The tag template is rendered and disappears, preventing the later use of the js script and breaking all the functionality</p> | <h3 dir="auto">Version</h3>
<p dir="auto">2.6.10</p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Suppose we have a component:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default {
data(){
return { foo: null}
}
async serverPrefetch(){
this.foo = 'serverPrefetch'
},
created(){
this.foo = 'created'
},
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">{</span>
<span class="pl-en">data</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-c1">null</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">async</span> <span class="pl-en">serverPrefetch</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">foo</span> <span class="pl-c1">=</span> <span class="pl-s">'serverPrefetch'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-en">created</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">foo</span> <span class="pl-c1">=</span> <span class="pl-s">'created'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><code class="notranslate">foo</code> is initially null, then <code class="notranslate">created()</code> updates it to <code class="notranslate">created</code> and this reflects in the html interpolitatiion, but when serverPrefetch() updates <code class="notranslate">this.foo</code> it is not reflected on the rendered html, despite being called afterwards.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">serverPrefetch() should reflect rendered and updated data variables when rendered on SSR</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">serverPrefetch() doesn't update the rendered view with new data after being called</p> | 0 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] 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"><pre class="notranslate"><code class="notranslate">[ ] 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
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
Only xlf file are supported</p>
<p dir="auto"><strong>Expected behavior</strong><br>
Having a simple JSON file support</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
I generally don't use extract / merge capabilities for i18n and having to manually right xml in a JS world is painful ^^. I'm use to have my JSON file with key/translation and go for it :)</p>
<p dir="auto">Something like <code class="notranslate">ng2-translate</code> would be awesome (talking about file definitions only because the way they do it is very resourceful).</p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report
[ ] feature request
[ ] support request"><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">Many (all?) observable properties are actually <code class="notranslate">Subjects</code>. <code class="notranslate">route.params</code> is one such example.</p>
<p dir="auto">Yes, these propertes are cast as <code class="notranslate">Observable</code> in TypeScript. But they are actually <code class="notranslate">Subjects</code> and that invites abuse. Because these are also <code class="notranslate">Observer</code>s, a developer ... especially a JavaScript developer ... is invited to call <code class="notranslate">next</code>, <code class="notranslate">error</code>, <code class="notranslate">complete</code>. This is improper.</p>
<p dir="auto">The implementation should call <code class="notranslate">subject.asObservable()</code>. That's why that method exists.</p>
<p dir="auto">This only seem <code class="notranslate">picayune</code> until someone starts calling <code class="notranslate">next</code> "<em>because I have a really good use cast for that.</em>"</p>
<p dir="auto">Fixing the API as recommended would <strong>not</strong> be a breaking change; the intent is clear by the TypeScript cast and anyone who treats <code class="notranslate">route.params</code> as an <code class="notranslate">Observer</code> deserves what s/he gets.</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">Every observable property based on a <code class="notranslate">Subject</code> should be based on <code class="notranslate">Subject.asObservable()</code>. This prevents attempts to call <code class="notranslate">next</code>, <code class="notranslate">error</code>, <code class="notranslate">complete</code> or any other <code class="notranslate">Observer</code> method.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<ol dir="auto">
<li>Load <a href="https://angular.io/resources/live-examples/router/ts/eplnkr.html" rel="nofollow">https://angular.io/resources/live-examples/router/ts/eplnkr.html</a></li>
<li>Add <code class="notranslate">hero-detail.component.ts#ngOnInit</code> ..</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" let x = this.route.params.asObservable();
debugger;"><pre class="notranslate"><code class="notranslate"> let x = this.route.params.asObservable();
debugger;
</code></pre></div>
<ol start="3" dir="auto">
<li>Run and click a hero.</li>
<li>Inspect <code class="notranslate">x</code> and <code class="notranslate">this.route.params</code> and note the real JavaScript types</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> x
Observable {_isScalar: false, source: BehaviorSubject}
> this.route.params
BehaviorSubject {_isScalar: false, observers: Array[0], closed: false, isStopped: false, hasError: false…}"><pre class="notranslate"><code class="notranslate">> x
Observable {_isScalar: false, source: BehaviorSubject}
> this.route.params
BehaviorSubject {_isScalar: false, observers: Array[0], closed: false, isStopped: false, hasError: false…}
</code></pre></div>
<ul dir="auto">
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web</li>
</ul>
<p dir="auto">all</p>
<ul dir="auto">
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
TS</li>
</ul> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=benoit.heurter" rel="nofollow">Benoit Heurter</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3640?redirect=false" rel="nofollow">SPR-3640</a></strong> and commented</p>
<p dir="auto">Method buildTypedStringValueForMap of class BeanDefinitionParserDelegate is private. Because of that, i cannot create a sub-class of BeanDefinitionParserDelegate with my slightly modified version of parseMapElement method.</p>
<p dir="auto">It's not blocker as i duplicated whole te code but it seems easier if i could re-use original methods</p>
<p dir="auto">Could you please change methods below to protected ?</p>
<p dir="auto">buildTypedStringValueForMap<br>
buildTypedStringValue</p>
<p dir="auto">Thank you in advance</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.6</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=brucelowe" rel="nofollow">Bruce Lowe</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6833?redirect=false" rel="nofollow">SPR-6833</a></strong> and commented</p>
<p dir="auto">I have a controller with a methods defined as such</p>
<p dir="auto"><code class="notranslate">@RequestMapping</code>(value = "/services/{serviceName}/scenes/", method = RequestMethod.POST)<br>
public void addScene(<code class="notranslate">@PathVariable</code>("serviceName") String serviceName,<br>
<code class="notranslate">@RequestBody</code> SceneTO receivedSceneTO, HttpServletRequest request, HttpServletResponse response)<br>
{<br>
...<br>
}</p>
<p dir="auto">It is designed to be able to POST "SceneTO"s to. I have made a smart custom message converters so people can submit VideoScenes, AudioScenes, TextScenes etc. The convertor will create the appropriate SceneTO inheriting object.</p>
<p dir="auto">However, i get this exception:</p>
<p dir="auto">java.lang.IllegalArgumentException: argument type mismatch<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:710)<br>
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:167)<br>
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:414)<br>
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:402)<br>
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)<br>
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)<br>
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)<br>
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)<br>
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)<br>
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:71)<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)<br>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)<br>
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)<br>
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br>
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)<br>
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br>
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)<br>
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)<br>
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>
at org.mortbay.jetty.Server.handle(Server.java:324)<br>
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br>
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)<br>
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)<br>
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br>
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br>
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br>
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)</p>
<p dir="auto">If I change my convertor to ONLY create SceneTO objects (instead of an inheriting one), it works fine. The method clearly does not support inheritance</p>
<p dir="auto">We can currently work around the problem by doing this</p>
<p dir="auto"><code class="notranslate">@RequestMapping</code>(value = "/services/{serviceName}/scenes/video", method = RequestMethod.POST)<br>
public void addScene(<code class="notranslate">@PathVariable</code>("serviceName") String serviceName,<br>
<code class="notranslate">@RequestBody</code> VideoTO receivedSceneTO, HttpServletRequest request, HttpServletResponse response)<br>
and<br>
<code class="notranslate">@RequestMapping</code>(value = "/services/{serviceName}/scenes/audio", method = RequestMethod.POST)<br>
public void addScene(<code class="notranslate">@PathVariable</code>("serviceName") String serviceName,<br>
<code class="notranslate">@RequestBody</code> AudioTO receivedSceneTO, HttpServletRequest request, HttpServletResponse response)</p>
<p dir="auto">But it does seem less clean and results in much duplicated code. Allowing inheritance would seem much more elegant. (I imagine some other people may want interfaces as well)</p>
<hr>
<p dir="auto">No further details from <a href="https://jira.spring.io/browse/SPR-6833?redirect=false" rel="nofollow">SPR-6833</a></p> | 0 |
<p dir="auto">Challenge [Target the Children of an Element Using jQuery]</p>
<p dir="auto">Hi I can't seem to pass the challenge. Tried searching for other related posts on the bug issue but to no avail.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
$("#target1").parent().css("background-color", "red");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">parent</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"background-color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Clone an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<h2 dir="auto">Issue</h2>
<p dir="auto">I believe I've found bug in the phone simulation in <strong>Waypoint: Clone an Element Using jQuery</strong>:</p>
<p dir="auto">I entered the code to clone <code class="notranslate">target5</code> and append it to <code class="notranslate">left-well</code>, and now I see three <strong>target5</strong> buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:</p>
<ul dir="auto">
<li>Waypoint: Target the Parent of an Element Using jQuery</li>
<li>Waypoint: Target the Children of an Element Using jQuery</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qualitymanifest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qualitymanifest">@qualitymanifest</a> confirms this issue on his <strong>Linux</strong> box.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png"><img src="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">My code:</h2>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | 1 |
<h3 dir="auto">Current Behavior:</h3>
<p dir="auto"><code class="notranslate">npm uninstall --save <package></code> doesn't remove the package version listed in <code class="notranslate">package.json</code> from <code class="notranslate">package-lock.json</code> when another version exists.</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">For the package version listed in <code class="notranslate">package.json</code> to be removed from <code class="notranslate">package-lock.json</code>. Essentially running <code class="notranslate">npm install --save <package> && npm uninstall --save <package></code> should leave <code class="notranslate">package-lock.json</code> unchanged.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm init --yes
npm i --save-dev rollpkg
# rollpkg has a dependency of jest ^26.6.3, which is now in the top level node_modules
npm i --save-dev [email protected]
# jest is added to package.json and
# jest 26.0.0 is now in top level node_modules, 26.6.3 is moved to node_mod/rollpkg/node_mod
npm uninstall --save-dev jest
# jest is removed from package.json
# but node_modules is unchanged"><pre class="notranslate">npm init --yes
npm i --save-dev rollpkg
<span class="pl-c"><span class="pl-c">#</span> rollpkg has a dependency of jest ^26.6.3, which is now in the top level node_modules</span>
npm i --save-dev [email protected]
<span class="pl-c"><span class="pl-c">#</span> jest is added to package.json and</span>
<span class="pl-c"><span class="pl-c">#</span> jest 26.0.0 is now in top level node_modules, 26.6.3 is moved to node_mod/rollpkg/node_mod</span>
npm uninstall --save-dev jest
<span class="pl-c"><span class="pl-c">#</span> jest is removed from package.json</span>
<span class="pl-c"><span class="pl-c">#</span> but node_modules is unchanged</span></pre></div>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>OS: MacOS 10.15.7</li>
<li>Node: 14.15.0</li>
<li>npm: 7.3.0</li>
</ul>
<p dir="auto">Thanks for all the great work on npm v7, I'm really enjoying using it!</p> | <p dir="auto">reporting error as suggested by error information .<br>
Tried uploading log file but it won't let me.. Here's whats was in the log:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'i',
1 verbose cli '-g',
1 verbose cli 'powerbi-visuals-tools'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session fb296c27df366263
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 500 https://registry.npmjs.org/powerbi-visuals-tools 79252ms attempt #3
8 timing npm Completed in 80146ms
9 error cb() never called!
10 error This is an error with npm itself. Please report this error at:
11 error <https://npm.community>"><pre class="notranslate"><code class="notranslate">0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'i',
1 verbose cli '-g',
1 verbose cli 'powerbi-visuals-tools'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session fb296c27df366263
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 500 https://registry.npmjs.org/powerbi-visuals-tools 79252ms attempt #3
8 timing npm Completed in 80146ms
9 error cb() never called!
10 error This is an error with npm itself. Please report this error at:
11 error <https://npm.community>
</code></pre></div> | 0 |
<p dir="auto">I was unable to find a duplicate issue related to the <code class="notranslate">script</code> module similar to this issue.</p>
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">script</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.5.0"><pre class="notranslate"><code class="notranslate">ansible 2.5.0
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 16.04.3 LTS</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Script module returns different results for same shell script depending if it is run locally or if it is run via ssh. Most particularly data printed by the script on stderr gets reported on stdin when executed over ssh but is correctly tagged when executed locally.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">A script <code class="notranslate">foo</code> containing the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!/bin/bash
echo this is stout
echo this is stderr >&2"><pre class="notranslate"><code class="notranslate">#!/bin/bash
echo this is stout
echo this is stderr >&2
</code></pre></div>
<p dir="auto">is executed via ansible locally as follows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible localhost -m script -a foo"><pre class="notranslate"><code class="notranslate">ansible localhost -m script -a foo
</code></pre></div>
<p dir="auto">It generates the output below:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'
localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "this is stderr\n",
"stdout": "this is stout\n",
"stdout_lines": [
"this is stout"
]
}"><pre class="notranslate"><code class="notranslate"> [WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'
localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "this is stderr\n",
"stdout": "this is stout\n",
"stdout_lines": [
"this is stout"
]
}
</code></pre></div>
<p dir="auto">When executed via ssh as follows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible -i inventory localhost -m script -a foo"><pre class="notranslate"><code class="notranslate">ansible -i inventory localhost -m script -a foo
</code></pre></div>
<p dir="auto">it generates the following output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "Shared connection to localhost closed.\r\n",
"stdout": "this is stout\r\nthis is stderr\r\n",
"stdout_lines": [
"this is stout",
"this is stderr"
]
}"><pre class="notranslate"><code class="notranslate">localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "Shared connection to localhost closed.\r\n",
"stdout": "this is stout\r\nthis is stderr\r\n",
"stdout_lines": [
"this is stout",
"this is stderr"
]
}
</code></pre></div>
<p dir="auto">Details are committed here:<br>
<a href="https://github.com/cfedde/ansible_shell_issue">https://github.com/cfedde/ansible_shell_issue</a></p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">I expected to see stderr output from the script "foo" to be in the stderr attribute:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "this is stderr\n",
"stdout": "this is stout\n",
"stdout_lines": [
"this is stout"
]
}"><pre class="notranslate"><code class="notranslate">localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "this is stderr\n",
"stdout": "this is stout\n",
"stdout_lines": [
"this is stout"
]
}
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Remote results did not identify scripts's stderr output.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "Shared connection to localhost closed.\r\n",
"stdout": "this is stout\r\nthis is stderr\r\n",
"stdout_lines": [
"this is stout",
"this is stderr"
]
}"><pre class="notranslate"><code class="notranslate">localhost | SUCCESS => {
"changed": true,
"rc": 0,
"stderr": "Shared connection to localhost closed.\r\n",
"stdout": "this is stout\r\nthis is stderr\r\n",
"stdout_lines": [
"this is stout",
"this is stderr"
]
}
</code></pre></div> | <p dir="auto">I recently opened issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="119863158" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/13388" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/13388/hovercard" href="https://github.com/ansible/ansible/issues/13388">#13388</a> where I tried to introduce the <code class="notranslate">--user=<user></code> option for Ansibles Docker connection plugin. I concluded within this issue, that my changes made the execution of Ansible tasks on Docker containers really slow.</p>
<p dir="auto">Today I started a Playbook on another machine (at work), where I also deploy tasks to a container with the Docker connectio plugin and everything went fine, till I updated my Ansible installation. Since then every task executed on a Docker containe takes very long and Python consumes 100% CPU.</p>
<p dir="auto">After some time of investigation it turns out that this behavior was caused by the pull request <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117521066" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/13200" data-hovercard-type="pull_request" data-hovercard-url="/ansible/ansible/pull/13200/hovercard" href="https://github.com/ansible/ansible/pull/13200">#13200</a> which was merged yesterday: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/bebd2c5f3422b3c52ca0018d19ea4702c066c3e2/hovercard" href="https://github.com/ansible/ansible/commit/bebd2c5f3422b3c52ca0018d19ea4702c066c3e2"><tt>bebd2c5</tt></a>.</p>
<p dir="auto">Here is an example Playbook, which will reproduce the current behavior:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: this playbook is for testing purposes
hosts: localhost
tasks:
- name: run jenkins container
docker:
name: jenkinstest
image: jenkins
state: started
docker_user: root
- name: add container to inventory
add_host:
name: jenkinstest
ansible_connection: docker
- name: run a task inside the container
delegate_to: jenkinstest
file:
path: /root/test/me
state: directory"><pre class="notranslate"><code class="notranslate">- name: this playbook is for testing purposes
hosts: localhost
tasks:
- name: run jenkins container
docker:
name: jenkinstest
image: jenkins
state: started
docker_user: root
- name: add container to inventory
add_host:
name: jenkinstest
ansible_connection: docker
- name: run a task inside the container
delegate_to: jenkinstest
file:
path: /root/test/me
state: directory
</code></pre></div>
<p dir="auto">If you reset your local repository to the mentioned pull request, this playbook will hang on the third task and Python consumes 100% CPU for a long time. If you reset your local repository to the commit before, everything works as expected and the playbook should be executed within seconds.</p>
<p dir="auto">The changes made are too sophisticated for my humble Python knowledge. So <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amenonsen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amenonsen">@amenonsen</a> please have a look, what could cause the behavior. Maybe <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/abadger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abadger">@abadger</a> has some good ideas too.</p>
<p dir="auto">This issue would enable feature request <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="119863158" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/13388" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/13388/hovercard" href="https://github.com/ansible/ansible/issues/13388">#13388</a>.</p> | 0 |
<p dir="auto"><strong>Current Scenario :</strong><br>
Currently powerrun just return a list of apps/links/docs/.. matched to the entered text.</p>
<p dir="auto"><strong>Proposed :</strong><br>
<strong>Allow result to be shown in split panes</strong> (Like shown by Cerebro App)</p>
<ol dir="auto">
<li>One with matched text like currently shown and</li>
<li>Other with possibly preview or more detail link like windows search context menu over search.</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31042658/86889671-c1eb7c00-c119-11ea-88cb-5d28f1db0a5f.png"><img src="https://user-images.githubusercontent.com/31042658/86889671-c1eb7c00-c119-11ea-88cb-5d28f1db0a5f.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31042658/86890062-5ce45600-c11a-11ea-8e69-64895e4b6f72.png"><img src="https://user-images.githubusercontent.com/31042658/86890062-5ce45600-c11a-11ea-8e69-64895e4b6f72.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31042658/86889691-c748c680-c119-11ea-9cb4-9bf25ca0740b.png"><img src="https://user-images.githubusercontent.com/31042658/86889691-c748c680-c119-11ea-9cb4-9bf25ca0740b.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I feel the result set would be solid productivity boost if this is merged with one earlier request mentioned under this thread<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="647369752" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/4568" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/4568/hovercard?comment_id=655335397&comment_type=issue_comment" href="https://github.com/microsoft/PowerToys/issues/4568#issuecomment-655335397">#4568 (comment)</a></p> | <p dir="auto">There are some functions in PowerRenameLib/Helpers.h that can be reused for other projects(ImageResizer), such as CreateBitmapFromIcon. These functions should be moved to the common project so that it can be referenced in the other projects. This would make the code cleaner, and avoid the requirement of duplicating the function definition in other projects.</p> | 0 |
<p dir="auto">Pairplot breaks when adding hue argument</p>
<p dir="auto">sns.pairplot(features_df, hue='size_box') # error<br>
sns.pairplot(features_df) # no error</p>
<p dir="auto">Why does adding hue throw an error? This seems a regression either in seaborn or a dependency as this was known good code that used to work. Re-running my notebook I see it breaks here.</p>
<p dir="auto">Thanks! :)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="scipy/linalg/basic.py in inv(a, overwrite_a, check_finite)
972 inv_a, info = getri(lu, piv, lwork=lwork, overwrite_lu=1)
973 if info > 0:
--> 974 raise LinAlgError("singular matrix")
975 if info < 0:
976 raise ValueError('illegal value in %d-th argument of internal '
LinAlgError: singular matrix"><pre class="notranslate"><code class="notranslate">scipy/linalg/basic.py in inv(a, overwrite_a, check_finite)
972 inv_a, info = getri(lu, piv, lwork=lwork, overwrite_lu=1)
973 if info > 0:
--> 974 raise LinAlgError("singular matrix")
975 if info < 0:
976 raise ValueError('illegal value in %d-th argument of internal '
LinAlgError: singular matrix
</code></pre></div> | <p dir="auto"><a href="https://seaborn.pydata.org/examples/scatter_bubbles.html" rel="nofollow">https://seaborn.pydata.org/examples/scatter_bubbles.html</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import seaborn as sns
sns.set_theme(style="white")
mpg = sns.load_dataset("mpg")
sns.relplot(x="horsepower", y="mpg", hue="origin", size="weight",
sizes=(40, 400), alpha=.5, palette="muted",
height=6, data=mpg)"><pre class="notranslate"><code class="notranslate">import seaborn as sns
sns.set_theme(style="white")
mpg = sns.load_dataset("mpg")
sns.relplot(x="horsepower", y="mpg", hue="origin", size="weight",
sizes=(40, 400), alpha=.5, palette="muted",
height=6, data=mpg)
</code></pre></div>
<p dir="auto">In the version 0.10.0, I could assign size=1, in the sns.relplot(), there is no error.<br>
In the version 0.10.1, I will gain an error "TypeError: object of type 'int' has no len()".<br>
I must assign size be "size=[1] * len(mpg)".</p> | 0 |
<p dir="auto">The way point requested clockwise notation for margin in this order 20px 20px 20px 40px but works only with 40px 20px 20px 40px</p> | <p dir="auto">In the instructions for the margin, you have the pixel setting for "Top" to 20px instead of 40px.</p> | 1 |
<p dir="auto">I'd love it if the power toys run search bar had transparency similar to the rest of windows for more visual consistency.</p>
<p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p> | <h1 dir="auto">Environment</h1>
<p dir="auto">Windows build number: 10.0.18362.836<br>
PowerToys version: 0.8.1<br>
PowerToy module for which you are reporting the bug (if applicable): run</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Install Evernote. Search for Evernote.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Evernote app should be in the list.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Searching for Evernote shows only the EvernoteClipper in the list.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/778677/83228324-c887ea80-a18e-11ea-93ad-6789d8fa00e4.png"><img src="https://user-images.githubusercontent.com/778677/83228324-c887ea80-a18e-11ea-93ad-6789d8fa00e4.png" alt="evernote" style="max-width: 100%;"></a></p>
<p dir="auto">Search bar/box shows the app in results:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/778677/83228517-2288b000-a18f-11ea-827e-e3c0765678a0.png"><img src="https://user-images.githubusercontent.com/778677/83228517-2288b000-a18f-11ea-827e-e3c0765678a0.png" alt="windowssearch" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Good afternoon. When dealing with scientific data, it would be very advantageous to add units of measure to columns such that a secondary column name represents the unit. Here is a use case scenario:</p>
<ul dir="auto">
<li>User imports navigation data from CSV where altitudes may be in meters, latitude/longitude in radians, and heading is in semi-circle. The unit data is in the second row of the file.</li>
<li>When importing into a dataframe, the user would specify units=2 for row two.</li>
<li>When the user wants to output units to a desired type, it as simple as:<br>
<code class="notranslate">df[['latitude','longitude']].units('degrees')</code></li>
<li>For any data that does not have a unit assigned or wants to convert the stored data to that type, the user can do:<br>
<code class="notranslate">df['North_Accel'].units(set='m/s^2'). </code></li>
<li>This of course leads you to the method of converting units. It would be a series of files by measurement type (distance, volume, speed, force, pressure, temperature, data, etc) and in the files would be a table where the rows and columns equal all available units and the fields would contain the factor. Such that if you look up radians in the row and move across to degrees in the column, the entry would be 180/math.pi (preferred) or just 57.295779513.</li>
<li>You could potentially have fun with this when you have a timeseries index or a column with time assuming that you can create new units of measure based on the symbolic math. An example would be that you have distance in feet already and time in minutes and it would calculate out to 'ft/min'. <code class="notranslate">df['velocity'] = df['distance'].diff()/df['time'].diff()</code><br>
Since that extra feature is not likely to happen, you would have to tack on the unit types manually to ensure you get what you need.<br>
<code class="notranslate">df['velocity'] = (df['distance'].diff()/df['time'].diff()).units('ft/min')</code><br>
However to ensure your imported data can stay be flexable, your script may need to take precautions by ensuring the output is the desired type<br>
<code class="notranslate">df['velocity'] = (df['distance'].units('ft').diff()/df['time'].units('min').diff()).units('ft/min')</code><br>
That would ensure your source data can be any unit of distance, but would be converted to 'ft' first before dividing by time in minutes. Then you can send that series data in 'ft/min' to 'velocity' where it is stored as and set as 'ft/min'.</li>
</ul>
<p dir="auto">Thanks!</p>
<p dir="auto">V/R,<br>
Frank</p> | <p dir="auto">quantities related<br>
xref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="9197041" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/2494" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/2494/hovercard" href="https://github.com/pandas-dev/pandas/issues/2494">#2494</a><br>
xref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4153105" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/1071" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/1071/hovercard" href="https://github.com/pandas-dev/pandas/issues/1071">#1071</a></p>
<p dir="auto">custom meta-data<br>
xref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="9170204" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/2485" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/2485/hovercard" href="https://github.com/pandas-dev/pandas/issues/2485">#2485</a></p>
<p dir="auto">It would be very convenient if unit support could be integrated into pandas.<br>
Idea: pandas checks for the presence of a unit-attribute of columns and - if present - uses it</p>
<ul dir="auto">
<li>with 'print' to show the units e.g. below the column names</li>
<li>to calculate 'under the hood' with these units similar to the example below</li>
</ul>
<p dir="auto">For my example I use the module pint and add an attribute 'unit' to columns (and a 'title'...).</p>
<p dir="auto">Example:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from pandas import DataFrame as DF
from pint import UnitRegistry
units = UnitRegistry()
class ColumnDescription():
'''Column description with additional attributes.
The idea is to use this description to be able to add unit and title
attributes to a column description in one step.
A list of ColumnDescriptions is than used as argument to DataFrame()
with unit support.
'''
def __init__(self, name, data, title = None, unit = None):
'''
Args:
name (str): Name of the column..
data (list): List of the column data.
title (str): Title of the column. Defaults to None.
unit (str): Unit of the column (see documentation of module pint).
Defaults to None.
'''
self.data = data
'''(list): List of the column data.'''
self.name = name
'''(str): Name of the column, naming convention similar to python variables.
Used to access the column with pandas syntax, e.g. df['column'] or df.column.
'''
self.title = title
'''(str): Title of the column.
More human readable than the 'name'. E.g.:
Title: 'This is a column title'.
name: 'column_title'.
'''
self.unit = unit
'''Unit of the column (see module pint).
Intended to be used in calculations involving different columns.
'''
class DataFrame(DF):
'''Data Frame with support for ColumnDescriptions (e.g. unit support).
1. See documentation of pandas.DataFrame.
2. When used with ColumnDescriptions supports additional column attributes
like title and unit.
'''
def __init__(self, data, title = None):
'''
Args:
data (list or dict):
1. Dict, as in documentation of DataFrame
2. List of the column data (of type ColumnDescription).
title (str): Title of the data frame. Defaults to None.
'''
if isinstance(data, list):
if isinstance(data[0], ColumnDescription):
d = {}
for column in data:
d[column.name] = column.data
super(DataFrame, self).__init__(d)
for column in data:
self[column.name].title = column.title
self[column.name].unit = column.unit
self.title = title
else:
super(DataFrame, self).__init__(data)
if __name__ == '__main__':
data = [ ColumnDescription('length',
[1, 10],
title = 'Length in meter',
unit = 'meter'),
ColumnDescription('time',
[10, 1],
title = 'Time in s',
unit = 's') ]
d = {'length':[1, 10],
'time': [10, 1]}
df = DataFrame(d)
print 'standard df'
print df
df = DataFrame(data)
print '\n' + 'new df'
print df
####use of dimensions####
# pint works with numpy arrays
# df[name] is currently not working with pint, but would be I think
# it would be a real enhancement if it would...
test = df.as_matrix(['length']) * units(df['length'].unit) / \
(df.as_matrix(['time']) * units(df['time'].unit))
print '\n' + 'unit test'
print test
print '\n' + 'magnitude'
print test.magnitude
print '\n' + 'dimensionality'
print test.dimensionality
"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">pandas</span> <span class="pl-k">import</span> <span class="pl-v">DataFrame</span> <span class="pl-k">as</span> <span class="pl-v">DF</span>
<span class="pl-k">from</span> <span class="pl-s1">pint</span> <span class="pl-k">import</span> <span class="pl-v">UnitRegistry</span>
<span class="pl-s1">units</span> <span class="pl-c1">=</span> <span class="pl-v">UnitRegistry</span>()
<span class="pl-k">class</span> <span class="pl-v">ColumnDescription</span>():
<span class="pl-s">'''Column description with additional attributes.</span>
<span class="pl-s"></span>
<span class="pl-s"> The idea is to use this description to be able to add unit and title</span>
<span class="pl-s"> attributes to a column description in one step.</span>
<span class="pl-s"></span>
<span class="pl-s"> A list of ColumnDescriptions is than used as argument to DataFrame()</span>
<span class="pl-s"> with unit support.</span>
<span class="pl-s"> '''</span>
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">name</span>, <span class="pl-s1">data</span>, <span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>, <span class="pl-s1">unit</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>):
<span class="pl-s">'''</span>
<span class="pl-s"> Args:</span>
<span class="pl-s"> name (str): Name of the column..</span>
<span class="pl-s"> data (list): List of the column data.</span>
<span class="pl-s"> title (str): Title of the column. Defaults to None.</span>
<span class="pl-s"> unit (str): Unit of the column (see documentation of module pint).</span>
<span class="pl-s"> Defaults to None.</span>
<span class="pl-s"></span>
<span class="pl-s"> '''</span>
<span class="pl-s1">self</span>.<span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">data</span>
<span class="pl-s">'''(list): List of the column data.'''</span>
<span class="pl-s1">self</span>.<span class="pl-s1">name</span> <span class="pl-c1">=</span> <span class="pl-s1">name</span>
<span class="pl-s">'''(str): Name of the column, naming convention similar to python variables.</span>
<span class="pl-s"></span>
<span class="pl-s"> Used to access the column with pandas syntax, e.g. df['column'] or df.column.</span>
<span class="pl-s"> '''</span>
<span class="pl-s1">self</span>.<span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-s1">title</span>
<span class="pl-s">'''(str): Title of the column. </span>
<span class="pl-s"></span>
<span class="pl-s"> More human readable than the 'name'. E.g.:</span>
<span class="pl-s"> Title: 'This is a column title'.</span>
<span class="pl-s"> name: 'column_title'.</span>
<span class="pl-s"> '''</span>
<span class="pl-s1">self</span>.<span class="pl-s1">unit</span> <span class="pl-c1">=</span> <span class="pl-s1">unit</span>
<span class="pl-s">'''Unit of the column (see module pint).</span>
<span class="pl-s"></span>
<span class="pl-s"> Intended to be used in calculations involving different columns.</span>
<span class="pl-s"> '''</span>
<span class="pl-k">class</span> <span class="pl-v">DataFrame</span>(<span class="pl-v">DF</span>):
<span class="pl-s">'''Data Frame with support for ColumnDescriptions (e.g. unit support).</span>
<span class="pl-s"></span>
<span class="pl-s"> 1. See documentation of pandas.DataFrame.</span>
<span class="pl-s"> 2. When used with ColumnDescriptions supports additional column attributes</span>
<span class="pl-s"> like title and unit.</span>
<span class="pl-s"> '''</span>
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">data</span>, <span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>):
<span class="pl-s">'''</span>
<span class="pl-s"> Args:</span>
<span class="pl-s"> data (list or dict):</span>
<span class="pl-s"> 1. Dict, as in documentation of DataFrame</span>
<span class="pl-s"> 2. List of the column data (of type ColumnDescription).</span>
<span class="pl-s"> title (str): Title of the data frame. Defaults to None.</span>
<span class="pl-s"> '''</span>
<span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">data</span>, <span class="pl-s1">list</span>):
<span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">data</span>[<span class="pl-c1">0</span>], <span class="pl-v">ColumnDescription</span>):
<span class="pl-s1">d</span> <span class="pl-c1">=</span> {}
<span class="pl-k">for</span> <span class="pl-s1">column</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>:
<span class="pl-s1">d</span>[<span class="pl-s1">column</span>.<span class="pl-s1">name</span>] <span class="pl-c1">=</span> <span class="pl-s1">column</span>.<span class="pl-s1">data</span>
<span class="pl-en">super</span>(<span class="pl-v">DataFrame</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>(<span class="pl-s1">d</span>)
<span class="pl-k">for</span> <span class="pl-s1">column</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>:
<span class="pl-s1">self</span>[<span class="pl-s1">column</span>.<span class="pl-s1">name</span>].<span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-s1">column</span>.<span class="pl-s1">title</span>
<span class="pl-s1">self</span>[<span class="pl-s1">column</span>.<span class="pl-s1">name</span>].<span class="pl-s1">unit</span> <span class="pl-c1">=</span> <span class="pl-s1">column</span>.<span class="pl-s1">unit</span>
<span class="pl-s1">self</span>.<span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-s1">title</span>
<span class="pl-k">else</span>:
<span class="pl-en">super</span>(<span class="pl-v">DataFrame</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>(<span class="pl-s1">data</span>)
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-s1">data</span> <span class="pl-c1">=</span> [ <span class="pl-v">ColumnDescription</span>(<span class="pl-s">'length'</span>,
[<span class="pl-c1">1</span>, <span class="pl-c1">10</span>],
<span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-s">'Length in meter'</span>,
<span class="pl-s1">unit</span> <span class="pl-c1">=</span> <span class="pl-s">'meter'</span>),
<span class="pl-v">ColumnDescription</span>(<span class="pl-s">'time'</span>,
[<span class="pl-c1">10</span>, <span class="pl-c1">1</span>],
<span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-s">'Time in s'</span>,
<span class="pl-s1">unit</span> <span class="pl-c1">=</span> <span class="pl-s">'s'</span>) ]
<span class="pl-s1">d</span> <span class="pl-c1">=</span> {<span class="pl-s">'length'</span>:[<span class="pl-c1">1</span>, <span class="pl-c1">10</span>],
<span class="pl-s">'time'</span>: [<span class="pl-c1">10</span>, <span class="pl-c1">1</span>]}
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>(<span class="pl-s1">d</span>)
<span class="pl-k">print</span> <span class="pl-s">'standard df'</span>
<span class="pl-k">print</span> <span class="pl-s1">df</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>(<span class="pl-s1">data</span>)
<span class="pl-k">print</span> <span class="pl-s">'<span class="pl-cce">\n</span>'</span> <span class="pl-c1">+</span> <span class="pl-s">'new df'</span>
<span class="pl-k">print</span> <span class="pl-s1">df</span>
<span class="pl-c">####use of dimensions####</span>
<span class="pl-c"># pint works with numpy arrays</span>
<span class="pl-c"># df[name] is currently not working with pint, but would be I think </span>
<span class="pl-c"># it would be a real enhancement if it would...</span>
<span class="pl-s1">test</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">as_matrix</span>([<span class="pl-s">'length'</span>]) <span class="pl-c1">*</span> <span class="pl-en">units</span>(<span class="pl-s1">df</span>[<span class="pl-s">'length'</span>].<span class="pl-s1">unit</span>) <span class="pl-c1">/</span> \
(<span class="pl-s1">df</span>.<span class="pl-en">as_matrix</span>([<span class="pl-s">'time'</span>]) <span class="pl-c1">*</span> <span class="pl-en">units</span>(<span class="pl-s1">df</span>[<span class="pl-s">'time'</span>].<span class="pl-s1">unit</span>))
<span class="pl-k">print</span> <span class="pl-s">'<span class="pl-cce">\n</span>'</span> <span class="pl-c1">+</span> <span class="pl-s">'unit test'</span>
<span class="pl-k">print</span> <span class="pl-s1">test</span>
<span class="pl-k">print</span> <span class="pl-s">'<span class="pl-cce">\n</span>'</span> <span class="pl-c1">+</span> <span class="pl-s">'magnitude'</span>
<span class="pl-k">print</span> <span class="pl-s1">test</span>.<span class="pl-s1">magnitude</span>
<span class="pl-k">print</span> <span class="pl-s">'<span class="pl-cce">\n</span>'</span> <span class="pl-c1">+</span> <span class="pl-s">'dimensionality'</span>
<span class="pl-k">print</span> <span class="pl-s1">test</span>.<span class="pl-s1">dimensionality</span></pre></div> | 1 |
<p dir="auto">Rust's configure script contains 4 years of accumulated knowledge, mostly around command line parsing and platform detection. We've copied parts of this script to Cargo's configure script, install.sh and rustup.sh. It would be nice to not duplicate this logic since the implementation of each drifts over time.</p>
<p dir="auto">cc <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="40088155" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/16456" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/16456/hovercard" href="https://github.com/rust-lang/rust/issues/16456">#16456</a></p> | <p dir="auto">I have to</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use std::fmt::Writer;"><pre class="notranslate"><span class="pl-k">use</span> std<span class="pl-kos">::</span>fmt<span class="pl-kos">::</span><span class="pl-v">Writer</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">outside the macro invocation.</p> | 0 |
<p dir="auto">I would like sklearn to support Poisson, gamma and other Tweedie family loss functions. These loss distributions are widely used in industry for count and other long tailed data. Additionally, they are implemented in other libraries such as R: GLM, GLMNET, GBM ext. Part of implementing these distributions would be to include a way for offsets to be passed to the loss functions. This is a common way to handle exposure when using a log link function with these distributions.</p>
<p dir="auto">Would the sklearn community be open to adding these loss functions. If so I or (hopefully others) would be willing to research the feasibility of implementing these loss functions and offsets into the sklearn API. Thanks</p> | <p dir="auto">Towards <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="605350357" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/17010" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/17010/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/17010">#17010</a>.</p>
<p dir="auto">Like the one we did for 0.22, to highlight the main changes/improvements.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NicolasHug/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NicolasHug">@NicolasHug</a> would you be maybe interested in/available for this one?</p> | 0 |
<p dir="auto">Give an option to maximise a window to the zone it is currently in (see DisplayFusion's handling of their version of zones). So rather than holding shift and dragging a window to fill a zone, maximising the window via the title bar button or a double clicking on the title bar would fill the zone.</p>
<p dir="auto">A hotkey to press to maximise as normal while disregarding zones would go well with this feature.</p> | <p dir="auto">Maximize window within the zone</p>
<p dir="auto">Maximizing the window currently maximizing it to the whole desktop. It would be useful if it has the ability to maximize within the zone</p> | 1 |
<p dir="auto">In <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_horizontal_layout.html.twig#L12-L14">this code</a> a div is taking up space with no contents. I understand that if there are siblings with a label you want to align them. But often you have either no labels at all or everything has a label. Some logic could be introduced here to look at siblings.</p> | <p dir="auto">I've got a bootstrap-form issue I can’t figure out if it's a real issue or not.</p>
<p dir="auto">I’m having a form type with a nested form type and are rendering it with <code class="notranslate">{{ form_widget(form) }}</code>. The nested type will get a wrapping form-group and an extra <code class="notranslate">col-sm-2</code>-class making the form look ugly.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/165154/14362902/f6782648-fd01-11e5-910a-4d2d08df4df9.png"><img width="743" alt="screenshot 2016-04-07 20 20 48" src="https://cloud.githubusercontent.com/assets/165154/14362902/f6782648-fd01-11e5-910a-4d2d08df4df9.png" style="max-width: 100%;"></a></p>
<p dir="auto">An easy solution would be to render the type with <code class="notranslate">{{ form_widget(form.foo) }}</code> but I think there should be a way to render the whole form with just passing the form to form_widget.</p>
<p dir="auto">Modifying the block <code class="notranslate">form_row</code> to only render the bootstrap markup and label if <code class="notranslate">form.children</code> is empty solves it but it's kinda dramatic and might not be the wanted solution. Please give me advice before I eventually open a pr for it.</p> | 1 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/3288/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/3288/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for intra-pod communication: http [Conformance] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/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"><pre class="notranslate"><code class="notranslate">/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
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for node-pod communication: http [Conformance] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/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"><pre class="notranslate"><code class="notranslate">/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
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179675806" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33631" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33631/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33631">#33631</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814116" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33995" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33995/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33995">#33995</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for node-pod communication: udp [Conformance] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/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"><pre class="notranslate"><code class="notranslate">/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
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for intra-pod communication: udp [Conformance] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/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"><pre class="notranslate"><code class="notranslate">/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
</code></pre></div>
<p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181317292" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34196" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34196/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34196">#34196</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182924896" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34777" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34777/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34777">#34777</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184531250" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35305" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35305/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35305">#35305</a></p> | <p dir="auto">Failed: <a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/2102/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/2102/</a></p>
<p dir="auto">Run so broken it didn't make JUnit output!</p> | 1 |
<h3 dir="auto">Bug summary</h3>
<p dir="auto">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).</p>
<h3 dir="auto">Code for reproduction</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="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)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-k">from</span> <span class="pl-s1">pathlib</span> <span class="pl-k">import</span> <span class="pl-v">Path</span>
<span class="pl-s1">cfgdir</span> <span class="pl-c1">=</span> <span class="pl-s1">mpl</span>.<span class="pl-en">get_configdir</span>()
<span class="pl-c"># --- First create a custom style file with just a dpi setting ---</span>
<span class="pl-s1">p</span> <span class="pl-c1">=</span> <span class="pl-v">Path</span>(<span class="pl-s1">cfgdir</span>)
<span class="pl-s1">stylelib</span> <span class="pl-c1">=</span> (<span class="pl-s1">p</span> <span class="pl-c1">/</span> <span class="pl-s">'stylelib'</span>)
<span class="pl-s1">stylelib</span>.<span class="pl-en">mkdir</span>(<span class="pl-s1">exist_ok</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-s1">stylelib</span> <span class="pl-c1">/</span> <span class="pl-s">'mplbug.mplstyle'</span>
<span class="pl-s1">path</span>.<span class="pl-en">write_text</span>(<span class="pl-s">"figure.dpi: 200"</span>)
<span class="pl-s1">plt</span>.<span class="pl-s1">style</span>.<span class="pl-en">reload_library</span>()
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">cos</span>(<span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">0</span>,<span class="pl-c1">4</span><span class="pl-c1">*</span><span class="pl-s1">np</span>.<span class="pl-s1">pi</span>,<span class="pl-c1">200</span>))
<span class="pl-s1">plt</span>.<span class="pl-s1">style</span>.<span class="pl-en">use</span>(<span class="pl-s">'mplbug'</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>)</pre></div>
<h3 dir="auto">Actual outcome</h3>
<p dir="auto">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.</p>
<h3 dir="auto">Expected outcome</h3>
<p dir="auto">I expect the figure to be big the first time and all subsequent times.</p>
<h3 dir="auto">Additional information</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Operating system</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">3.5.2</p>
<h3 dir="auto">Matplotlib Backend</h3>
<p dir="auto">module://ipykernel.pylab.backend_inline</p>
<h3 dir="auto">Python version</h3>
<p dir="auto">3.8.5</p>
<h3 dir="auto">Jupyter version</h3>
<p dir="auto">6.1.4</p>
<h3 dir="auto">Installation</h3>
<p dir="auto">conda</p> | <h3 dir="auto">Bug summary</h3>
<p dir="auto">First invocation of <code class="notranslate">plt.plot()</code> resets <code class="notranslate">mpl.rcParams['figure.dpi']</code>.</p>
<h3 dir="auto">Code for reproduction</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# 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'])"><pre class="notranslate"><span class="pl-c"># Only tested in Jupyter</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'figure.dpi'</span>] <span class="pl-c1">=</span> <span class="pl-c1">300</span>
<span class="pl-en">print</span>(<span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'figure.dpi'</span>])
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>()
<span class="pl-en">print</span>(<span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'figure.dpi'</span>])</pre></div>
<h3 dir="auto">Actual outcome</h3>
<p dir="auto">300.0<br>
72.0</p>
<h3 dir="auto">Expected outcome</h3>
<p dir="auto">300.0<br>
300.0</p>
<h3 dir="auto">Additional information</h3>
<p dir="auto">This happens only at the very first invocation of <code class="notranslate">plt.plot()</code>, while on subsequent <code class="notranslate">plt.plot()</code> calls <code class="notranslate">mpl.rcParams['figure.dpi']</code> will no longer be overwritten.</p>
<p dir="auto">Other <code class="notranslate">rcParams</code> values seem not to be affected (but I've not tested them all).</p>
<p dir="auto">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).</p>
<h3 dir="auto">Operating system</h3>
<p dir="auto">Windows 10</p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">3.5.2</p>
<h3 dir="auto">Matplotlib Backend</h3>
<p dir="auto">module://matplotlib_inline.backend_inline</p>
<h3 dir="auto">Python version</h3>
<p dir="auto">Python 3.9.12</p>
<h3 dir="auto">Jupyter version</h3>
<p dir="auto">3.4.0</p>
<h3 dir="auto">Installation</h3>
<p dir="auto">conda</p> | 1 |
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">When using .count() on a polymorphic mapper the polymorphic_type is not taken into account giving wrong results.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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()"><pre class="notranslate"><code class="notranslate">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()
</code></pre></div> | <p dir="auto"><strong>Migrated issue, originally created by Denis Otkidach (<a href="https://github.com/ods">@ods</a>)</strong></p>
<p dir="auto">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.</p>
<p dir="auto">In short:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="doc.doc_links = [DocLink(id=doc_link_id, link=None)]
session.commit()
assert doc.doc_links[0].link is None # fails"><pre class="notranslate"><code class="notranslate">doc.doc_links = [DocLink(id=doc_link_id, link=None)]
session.commit()
assert doc.doc_links[0].link is None # fails
</code></pre></div>
<p dir="auto">Full test is attached (test3 is the test case that fails).</p>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/3060/sa_merge_relation.py">sa_merge_relation.py</a> | <a href="../wiki/imported_issue_attachments/3060/3060.patch">3060.patch</a></p> | 0 |
<p dir="auto">[Enter steps to reproduce below:]</p>
<p dir="auto">The editor was idle. When I came back to it, this message was displayed.</p>
<p dir="auto"><strong>Atom Version</strong>: 0.169.0<br>
<strong>System</strong>: Microsoft Windows 8.1 Pro<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ENOENT, open 'c:\code\ta\AboveWebrootDirs\AppConfig\Log4NetConfig\sync.server.log4net.config'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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)
"><pre class="notranslate"><code class="notranslate">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)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -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)"><pre class="notranslate"><code class="notranslate"> -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)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{}"><pre class="notranslate">{}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# 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"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">21</span>.<span class="pl-ii">2</span>
autocomplete<span class="pl-k">-</span>plus<span class="pl-k">-</span><span class="pl-k">async</span>, v0.<span class="pl-ii">22</span>.<span class="pl-ii">0</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">2</span>.<span class="pl-ii">6</span>
language<span class="pl-k">-</span>csharp, v0.<span class="pl-ii">3</span>.<span class="pl-ii">0</span>
language<span class="pl-k">-</span>mediawiki, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">9</span>.<span class="pl-ii">1</span>
minimap, v3.<span class="pl-ii">5</span>.<span class="pl-ii">4</span>
omnisharp<span class="pl-k">-</span>atom, v0.<span class="pl-ii">1</span>.<span class="pl-ii">6</span>
project<span class="pl-k">-</span>manager, v1.<span class="pl-ii">14</span>.<span class="pl-ii">1</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | <ol dir="auto">
<li>switch the node_modules package from a version to a git repository</li>
<li>npm install</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.165.0<br>
<strong>System</strong>: Mac OS X 10.10.1<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ENOENT, open '/Users/joscha/Development/mailbutler/node_modules/grunt-crx/tasks/crx.js'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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)
"><pre class="notranslate"><code class="notranslate">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)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -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)"><pre class="notranslate"><code class="notranslate"> -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)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"core": {
"ignoredNames": [
".git",
".svn",
".DS_Store"
]
},
"editor": {
"showInvisibles": true,
"autoIndentOnPaste": false
}
}"><pre class="notranslate"><code class="notranslate">{
"core": {
"ignoredNames": [
".git",
".svn",
".DS_Store"
]
},
"editor": {
"showInvisibles": true,
"autoIndentOnPaste": false
}
}
</code></pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# 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"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
atom<span class="pl-k">-</span>jasmine, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
editorconfig, v0.<span class="pl-ii">2</span>.<span class="pl-ii">2</span>
jsformat, v0.<span class="pl-ii">7</span>.<span class="pl-ii">18</span>
language<span class="pl-k">-</span>scala, v1.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">9</span>.<span class="pl-ii">0</span>
linter<span class="pl-k">-</span>coffeelint, v0.<span class="pl-ii">1</span>.<span class="pl-ii">7</span>
linter<span class="pl-k">-</span>jshint, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
linter<span class="pl-k">-</span>php, v0.<span class="pl-ii">0</span>.<span class="pl-ii">11</span>
travis<span class="pl-k">-</span>ci<span class="pl-k">-</span>status, v0.<span class="pl-ii">11</span>.<span class="pl-ii">1</span>
visual<span class="pl-k">-</span>bell, v0.<span class="pl-ii">9</span>.<span class="pl-ii">0</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | 1 |
<p dir="auto">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.</p>
<p dir="auto">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.</p> | <p dir="auto">I've shamelessly copied from the <a href="https://github.com/TypeStrong/atom-typescript/issues/221" data-hovercard-type="issue" data-hovercard-url="/TypeStrong/atom-typescript/issues/221/hovercard">atom-typescript issue</a>.<br>
To illustrate this, please <a href="https://github.com/TypeStrong/atom-typescript/issues/800" data-hovercard-type="issue" data-hovercard-url="/TypeStrong/atom-typescript/issues/800/hovercard">look at a followup which contains a screenshot</a></p>
<h3 dir="auto">The issue</h3>
<p dir="auto">Since backticks `` are ment for template formats, it would be nice to have a way to define syntax highlighting between them.</p>
<p dir="auto">For example Angular2 implements templates in TypeScript as following:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({
selector: 'tabs',
template: `
<ul>
<li>Tab 1</li>
<li>Tab 2</li>
</ul>
<ng-content></ng-content>
`
})"><pre class="notranslate">@<span class="pl-smi">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">selector</span>: <span class="pl-s">'tabs'</span><span class="pl-kos">,</span>
<span class="pl-c1">template</span>: <span class="pl-s">`</span>
<span class="pl-s"> <ul></span>
<span class="pl-s"> <li>Tab 1</li></span>
<span class="pl-s"> <li>Tab 2</li></span>
<span class="pl-s"> </ul></span>
<span class="pl-s"> <ng-content></ng-content></span>
<span class="pl-s"> `</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<h3 dir="auto">Atom</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/516972/12890361/95d640ba-ce83-11e5-8353-0d8fbf85baa7.png"><img src="https://cloud.githubusercontent.com/assets/516972/12890361/95d640ba-ce83-11e5-8353-0d8fbf85baa7.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Rust used to support iface-less impls. These were good because they avoided duplicating method signatures.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">Is there any chance this feature could return?</p> | <p dir="auto">It's rarely used and usually it's better to define a custom enum type.</p> | 0 |
<p dir="auto">I am not finding any good reference about how to set up a range histogram using decimal bins.<br>
I could find a plugin that implements this (until version 1.XX) but I am worried with the sustainability of this fix.<br>
Any new plans?</p> | <p dir="auto">Fork of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20297343" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/3810" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/3810/hovercard" href="https://github.com/elastic/elasticsearch/issues/3810">#3810</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20215776" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/3799" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/3799/hovercard" href="https://github.com/elastic/elasticsearch/issues/3799">#3799</a>. Decimal intervals would be useful for certain data types such as currencies, temperatures, lengths ...</p> | 1 |
<p dir="auto">I would like to propose the following amendments to the docstring style guide.</p>
<ul dir="auto">
<li>
<p dir="auto">Drop the "optional" note next to optional parameters:</p>
<ul dir="auto">
<li>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.</li>
<li>"Optional" is not sufficient to indicate whether a parameter is keyword-only or not (currently rare, but possibly less so in the future).</li>
<li>Due to Matplotlib's API design, the vast majority of parameters are optional anyways.</li>
</ul>
</li>
<li>
<p dir="auto">Stop mentioning the default value for optional arguments, unless it has a non-obvious meaning (typically when <code class="notranslate">None</code> means <code class="notranslate">rcParams["foo"]</code>).<br>
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...).<br>
Note that numpydoc says "Optional keyword parameters have default values, which are displayed as part of the function signature. They <em>can</em> also be <em>detailed</em> in the description." (emphasis mine). The example they give is in fact one where the default has a non-obvious meaning.</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Description of parameter `x` (the default is -1, which implies summation
over all axes)."><pre class="notranslate"><code class="notranslate">Description of parameter `x` (the default is -1, which implies summation
over all axes).
</code></pre></div>
<ul dir="auto">
<li>Progressively switch to using type hints syntax for "composite" types (<code class="notranslate">List[int]</code>, 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 <code class="notranslate">auto</code> everywhere), but it does provide a standard syntax that is reasonable. The only exception is that I would keep <code class="notranslate">type1 or type2</code> (which is understood by Sphinx) rather than <code class="notranslate">Union[type1, type2]</code>. 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.</li>
</ul> | <p dir="auto">This is on current master I can't reproduce this using 1.4.3. I guess it relates to the stale auto redraw handling?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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()"><pre class="notranslate"><code class="notranslate">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()
</code></pre></div>
<p dir="auto">results in</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/548266/9378877/db5c894e-471c-11e5-89e4-b7d1611c3f53.png"><img src="https://cloud.githubusercontent.com/assets/548266/9378877/db5c894e-471c-11e5-89e4-b7d1611c3f53.png" alt="download 2" style="max-width: 100%;"></a></p>
<p dir="auto">Rotating the figure restores the correct axes. I can't reproduce it with QT5Agg or GTK3Agg</p>
<p dir="auto">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.</p> | 0 |
<p dir="auto">ever since I update my program to 0.36.0.no event "ondrop",waiting for solutions</p> | <p dir="auto">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.</p>
<p dir="auto"><a href="http://jsfiddle.net/phmccqhk/" rel="nofollow">http://jsfiddle.net/phmccqhk/</a></p>
<p dir="auto">Steps:</p>
<ol dir="auto">
<li>Open fiddle in an Electron webview (I'm doing this by forcing the route in our app) <code class="notranslate">window.location.href = 'http://jsfiddle.net/phmccqhk/'</code></li>
<li>Open Dev Console</li>
<li>Quickly and repeatedly drag <code class="notranslate">test</code> divs from left to right into red square.</li>
<li>Watch log for <code class="notranslate">Drag End -> Drop -> Drop -> Drag End</code> sequence</li>
</ol>
<p dir="auto">Versions:<br>
Electron: 0.33.1<br>
Mac OSX: 10.10.5</p>
<p dir="auto">Seems like it could be related to:<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="63448408" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/1276" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/1276/hovercard" href="https://github.com/electron/electron/issues/1276">#1276</a><br>
<a href="https://code.google.com/p/chromium/issues/detail?id=412373" rel="nofollow">https://code.google.com/p/chromium/issues/detail?id=412373</a></p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.0</li>
<li>Operating System version: windows 10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">1:Config dubbo:refrence;<br>
2:<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Autowired/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Autowired">@Autowired</a> dubbo:refrence Service in Service</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">I hope this way above can avoid IDEA can not found xxx Beans errors.</p> | <ul dir="auto">
<li>I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li>I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<p dir="auto">本人第一次在GitHub发issue,如有不妥请大佬见谅</p>
<ul dir="auto">
<li>Dubbo version: 2.6.2</li>
<li>Operating System version: cent os 6</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<p dir="auto">redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = register, dubbo version: 2.6.2,<br>
redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = unregister, dubbo version: 2.6.2,<br>
redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = register, dubbo version: 2.6.2,<br>
redis event: /dubbo/com.wehotel.rpcApi.ValidateApi/providers = unregister, dubbo version: 2.6.2,<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22963992/45068064-576ded00-b0f8-11e8-95b0-4b1d4c69ff22.png"><img src="https://user-images.githubusercontent.com/22963992/45068064-576ded00-b0f8-11e8-95b0-4b1d4c69ff22.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">请教大佬这个问题的可能原因是什么</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What is actually happen?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div>
<p dir="auto">本来想添加一下label但是不知道怎么加</p> | 0 |
<p dir="auto">So at <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/brigade/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/brigade">@brigade</a> our build times are pretty slow, and I can't seem to figure out why this is. We use Babel, SCSS+autoprefixer+css-loader+style-loader, react+react-hot-loader, CommonsChunkPlugin, DefinePlugin, webpack-dev-server, devtool:'eval-cheap-module-source-map', and that's pretty much it. I posted a typical version of our config at the end.</p>
<p dir="auto">I initially started investigating the incremental build time, since I run into that most often. These are the things I tried that didn't help:</p>
<ul dir="auto">
<li>Don't use context.</li>
<li>Use <code class="notranslate">include</code> in config to remove large directories from path (we already used <code class="notranslate">exclude</code> in some places, so this didn't help)</li>
<li>Scoping react-hot-loader only to components directory.</li>
<li>Remove hash from css filenames.</li>
</ul>
<p dir="auto">Here are some things that <em>did</em> help:</p>
<ul dir="auto">
<li>Disabling source maps altogether (large effect on emit and creating chunk assets).</li>
<li>Pulling more modules into the common chunk (mostly affected emit, but this was trumped by disabling source maps altogether; no compound effect).</li>
</ul>
<p dir="auto">Most of the time for incremental builds was still in <code class="notranslate">build modules</code> though, I could only affect <code class="notranslate">create chunk assets</code> and <code class="notranslate">emit</code> this way. Then I tried to tackle the initial build, assuming there must be some sort of more structural flaw in our codebase. First I reset the codebase back to the way it was before I played with incremental builds. Then my methodology was to then try something, then run webpack 5 times and save that total time, and also save the stats from one of the runs to get some insight. I didn't reset the code base in between builds, but tried to compound improvements to get the time down as much as possible. Here's the result of that investigation:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Baseline:
43748ms build modules
110ms seal
144ms optimize
244ms hashing
3621ms create chunk assets
12ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
1203ms emit
./profile.sh 244.24s user 10.78s system 99% cpu 4:16.90 total
Removing load postfixes (see https://github.com/elastic/kibana/blob/c9c9e565e6f744ba3fbc959cd0ac81a7b28a476d/src/optimize/BaseOptimizer.js and https://github.com/webpack/webpack/issues/24):
43254ms build modules
94ms seal
131ms optimize
223ms hashing
3310ms create chunk assets
10ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
1331ms emit
./profile.sh 243.28s user 10.63s system 99% cpu 4:15.42 total
NO DIFFERENCE
More messing around with resolve params:
41777ms build modules
104ms seal
143ms optimize
243ms hashing
3010ms create chunk assets
12ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
1620ms emit
./profile.sh 239.57s user 10.91s system 96% cpu 4:20.16 total
NO DIFFERENCE
Reducing number of modulesDirectories to 5:
36639ms build modules
125ms seal
144ms optimize
255ms hashing
3878ms create chunk assets
17ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
857ms emit
./profile.sh 212.82s user 9.79s system 92% cpu 4:00.07 total
HELPS MAYBE?
Reducing number of modulesDirectories to 3:
42700ms build modules
92ms seal
246ms optimize
174ms hashing
2650ms create chunk assets
14ms additional chunk assets
0ms optimize chunk assets
0ms optimize assets
1036ms emit
./profile.sh 218.80s user 9.69s system 97% cpu 3:53.51 total
HELPS MAYBE?
Include components_loader.js regex in webpack config:
47551ms build modules
69ms seal
90ms optimize
209ms hashing
2509ms create chunk assets
8ms additional chunk assets
1ms optimize chunk assets
0ms optimize assets
1475ms emit
./profile.sh 221.16s user 9.72s system 96% cpu 3:58.70 total
NO DIFFERENCE?
Disable SCSS source maps:
30114ms build modules
102ms seal
124ms optimize
205ms hashing
2897ms create chunk assets
14ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
860ms emit
./profile.sh 196.68s user 8.60s system 100% cpu 3:25.27 total
SOME DIFFERENCE! (same as with the incremental build)
Disable source maps altogether:
37089ms build modules
105ms seal
126ms optimize
239ms hashing
467ms create chunk assets
13ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
510ms emit
./profile.sh 198.85s user 9.73s system 97% cpu 3:34.86 total
NO DIFFERENCE?
Extracting more code into a common chunk:
35174ms build modules
81ms seal
168ms optimize
91ms hashing
195ms create chunk assets
16ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
337ms emit
./profile.sh 182.06s user 8.63s system 97% cpu 3:16.42 total
HELPS MAYBE?
De-duplicate core-js:
35300ms build modules
116ms seal
217ms optimize
123ms hashing
234ms create chunk assets
34ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
270ms emit
./profile.sh 189.18s user 8.86s system 98% cpu 3:21.99 total
NO DIFFERENCE?
Use React.js binary:
40170ms build modules
116ms seal
222ms optimize
122ms hashing
270ms create chunk assets
13ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
302ms emit
./profile.sh 185.07s user 8.53s system 99% cpu 3:15.09 total
NO DIFFERENCE?"><pre class="notranslate"><code class="notranslate">Baseline:
43748ms build modules
110ms seal
144ms optimize
244ms hashing
3621ms create chunk assets
12ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
1203ms emit
./profile.sh 244.24s user 10.78s system 99% cpu 4:16.90 total
Removing load postfixes (see https://github.com/elastic/kibana/blob/c9c9e565e6f744ba3fbc959cd0ac81a7b28a476d/src/optimize/BaseOptimizer.js and https://github.com/webpack/webpack/issues/24):
43254ms build modules
94ms seal
131ms optimize
223ms hashing
3310ms create chunk assets
10ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
1331ms emit
./profile.sh 243.28s user 10.63s system 99% cpu 4:15.42 total
NO DIFFERENCE
More messing around with resolve params:
41777ms build modules
104ms seal
143ms optimize
243ms hashing
3010ms create chunk assets
12ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
1620ms emit
./profile.sh 239.57s user 10.91s system 96% cpu 4:20.16 total
NO DIFFERENCE
Reducing number of modulesDirectories to 5:
36639ms build modules
125ms seal
144ms optimize
255ms hashing
3878ms create chunk assets
17ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
857ms emit
./profile.sh 212.82s user 9.79s system 92% cpu 4:00.07 total
HELPS MAYBE?
Reducing number of modulesDirectories to 3:
42700ms build modules
92ms seal
246ms optimize
174ms hashing
2650ms create chunk assets
14ms additional chunk assets
0ms optimize chunk assets
0ms optimize assets
1036ms emit
./profile.sh 218.80s user 9.69s system 97% cpu 3:53.51 total
HELPS MAYBE?
Include components_loader.js regex in webpack config:
47551ms build modules
69ms seal
90ms optimize
209ms hashing
2509ms create chunk assets
8ms additional chunk assets
1ms optimize chunk assets
0ms optimize assets
1475ms emit
./profile.sh 221.16s user 9.72s system 96% cpu 3:58.70 total
NO DIFFERENCE?
Disable SCSS source maps:
30114ms build modules
102ms seal
124ms optimize
205ms hashing
2897ms create chunk assets
14ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
860ms emit
./profile.sh 196.68s user 8.60s system 100% cpu 3:25.27 total
SOME DIFFERENCE! (same as with the incremental build)
Disable source maps altogether:
37089ms build modules
105ms seal
126ms optimize
239ms hashing
467ms create chunk assets
13ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
510ms emit
./profile.sh 198.85s user 9.73s system 97% cpu 3:34.86 total
NO DIFFERENCE?
Extracting more code into a common chunk:
35174ms build modules
81ms seal
168ms optimize
91ms hashing
195ms create chunk assets
16ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
337ms emit
./profile.sh 182.06s user 8.63s system 97% cpu 3:16.42 total
HELPS MAYBE?
De-duplicate core-js:
35300ms build modules
116ms seal
217ms optimize
123ms hashing
234ms create chunk assets
34ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
270ms emit
./profile.sh 189.18s user 8.86s system 98% cpu 3:21.99 total
NO DIFFERENCE?
Use React.js binary:
40170ms build modules
116ms seal
222ms optimize
122ms hashing
270ms create chunk assets
13ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
302ms emit
./profile.sh 185.07s user 8.53s system 99% cpu 3:15.09 total
NO DIFFERENCE?
</code></pre></div>
<p dir="auto">So the only new thing I tried that helped was reducing the number of modulesDirectories.</p>
<p dir="auto">Some more information. Here is what a typical incremental build looks like (with hot loading enabled), after all the changes above:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[webpack] webpack: bundle is now INVALID.
3657ms build modules
83ms seal
1247ms optimize
147ms hashing
276ms create chunk assets
156ms additional chunk assets
0ms optimize chunk assets
0ms optimize assets
196ms emit
[webpack] Hash: b91dce65a3b67a9d69d9
[webpack] Version: webpack 1.12.2
[webpack] Time: 5805ms
[webpack] Asset Size Chunks Chunk Names
[webpack] intl_polyfill.js 1.17 MB 4 [emitted] intl_polyfill
[webpack] jquery_fallback.js 1.26 MB 5 [emitted] jquery_fallback
[webpack] vendor.js 6.09 MB 8 [emitted] vendor
[webpack] 8.a5cd34b7ba7171bb6548.hot-update.js 2.4 kB 8 [emitted] vendor
[webpack] a5cd34b7ba7171bb6548.hot-update.json 36 bytes [emitted]
[webpack] chunk {0} activity_map.js (activity_map) 188 kB {8}
[webpack] + 7 hidden modules
[webpack] chunk {1} admin.js (admin) 141 kB {2}
[webpack] + 36 hidden modules
[webpack] chunk {2} application.js (application) 69.2 kB {8}
[webpack] + 24 hidden modules
[webpack] chunk {3} diffux_ci.js (diffux_ci) 295 kB {8}
[webpack] [1829] ./app/assets/components -diffux\.jsx$ 5.12 kB {3} [built]
[webpack] ... -> factory:3ms building:0ms
[webpack] + 116 hidden modules
[webpack] chunk {4} intl_polyfill.js (intl_polyfill) 1.12 MB [rendered]
[webpack] + 74 hidden modules
[webpack] chunk {5} jquery_fallback.js (jquery_fallback) 1.21 MB [rendered]
[webpack] + 69 hidden modules
[webpack] chunk {6} partners.js (partners) 543 kB {2}
[webpack] + 199 hidden modules
[webpack] chunk {7} specs.js (specs) 1.67 MB {8}
[webpack] [2201] ./app/assets/components -test\.jsx$ 8.84 kB {7} [built]
[webpack] ... -> factory:9ms building:0ms
[webpack] + 358 hidden modules
[webpack] chunk {8} vendor.js, 8.a5cd34b7ba7171bb6548.hot-update.js (vendor) 6.08 MB [rendered]
[webpack] [584] ./app/assets/components/CardButtons/index.jsx 2.35 kB {8} [built]
[webpack] ... -> factory:1ms building:0ms dependencies:1ms
[webpack] + 1768 hidden modules
[webpack] webpack: bundle is now VALID."><pre class="notranslate"><code class="notranslate">[webpack] webpack: bundle is now INVALID.
3657ms build modules
83ms seal
1247ms optimize
147ms hashing
276ms create chunk assets
156ms additional chunk assets
0ms optimize chunk assets
0ms optimize assets
196ms emit
[webpack] Hash: b91dce65a3b67a9d69d9
[webpack] Version: webpack 1.12.2
[webpack] Time: 5805ms
[webpack] Asset Size Chunks Chunk Names
[webpack] intl_polyfill.js 1.17 MB 4 [emitted] intl_polyfill
[webpack] jquery_fallback.js 1.26 MB 5 [emitted] jquery_fallback
[webpack] vendor.js 6.09 MB 8 [emitted] vendor
[webpack] 8.a5cd34b7ba7171bb6548.hot-update.js 2.4 kB 8 [emitted] vendor
[webpack] a5cd34b7ba7171bb6548.hot-update.json 36 bytes [emitted]
[webpack] chunk {0} activity_map.js (activity_map) 188 kB {8}
[webpack] + 7 hidden modules
[webpack] chunk {1} admin.js (admin) 141 kB {2}
[webpack] + 36 hidden modules
[webpack] chunk {2} application.js (application) 69.2 kB {8}
[webpack] + 24 hidden modules
[webpack] chunk {3} diffux_ci.js (diffux_ci) 295 kB {8}
[webpack] [1829] ./app/assets/components -diffux\.jsx$ 5.12 kB {3} [built]
[webpack] ... -> factory:3ms building:0ms
[webpack] + 116 hidden modules
[webpack] chunk {4} intl_polyfill.js (intl_polyfill) 1.12 MB [rendered]
[webpack] + 74 hidden modules
[webpack] chunk {5} jquery_fallback.js (jquery_fallback) 1.21 MB [rendered]
[webpack] + 69 hidden modules
[webpack] chunk {6} partners.js (partners) 543 kB {2}
[webpack] + 199 hidden modules
[webpack] chunk {7} specs.js (specs) 1.67 MB {8}
[webpack] [2201] ./app/assets/components -test\.jsx$ 8.84 kB {7} [built]
[webpack] ... -> factory:9ms building:0ms
[webpack] + 358 hidden modules
[webpack] chunk {8} vendor.js, 8.a5cd34b7ba7171bb6548.hot-update.js (vendor) 6.08 MB [rendered]
[webpack] [584] ./app/assets/components/CardButtons/index.jsx 2.35 kB {8} [built]
[webpack] ... -> factory:1ms building:0ms dependencies:1ms
[webpack] + 1768 hidden modules
[webpack] webpack: bundle is now VALID.
</code></pre></div>
<p dir="auto">This is a simplified but representative version of webpack.config.js that I ended up with:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="require('babel-core/polyfill');
var webpack = require('webpack');
module.exports = {
entry: {
activity_map: './app/assets/_activity_map.js',
admin: './app/assets/_admin.js',
application: [
'webpack-dev-server/client?http://localhost:8080',
'./app/assets/_application.js'
],
intl_polyfill: './app/assets/_intl_polyfill.js',
jquery_fallback: './app/assets/_jquery_fallback.js',
partners: './app/assets/_partners.js',
vendor: './app/assets/_vendor.js',
specs: [
'webpack-dev-server/client?http://localhost:8080',
'./app/assets/spec/_specs.js'
],
diffux_ci: './app/assets/spec/_diffux_ci.js',
},
output: {
path: __dirname + '/public/assets',
filename: '[name].js',
publicPath: 'http://localhost:8080/assets'
},
resolve: {
modulesDirectories: [
'app/assets',
'vendor/assets/bower_components',
'node_modules',
],
extensions: [
'.jsx',
'.js',
'',
],
loaderExtensions: ['.js', ''],
loaderPostfixes: [''],
unsafeCache: true,
postfixes: [''],
alias: {
'core-js': __dirname + '/node_modules/babel-runtime/node_modules/core-js',
'react$': __dirname + '/node_modules/react/dist/react-with-addons.js',
},
},
// Disable source maps for now
// devtool: 'eval-cheap-module-source-map',
plugins: [
new webpack.DefinePlugin({
// Some definitions here
}),
new webpack.optimize.CommonsChunkPlugin({
name: 'application',
minChunks: 2,
chunks: ['admin', 'partners']
}),
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',
minChunks: 2,
chunks: ['application', 'diffux_ci', 'specs', 'activity_map'],
}),
],
externals: {
jquery: 'jQuery',
},
module: {
loaders: [
{
test: /\.css$/,
loader: 'style!css?localIdentName=[path][name]--[local]--[hash:base64:10]!autoprefixer',
include: [
__dirname + '/app/assets',
__dirname + '/node_modules/normalize.css',
],
},
{
test: /\.scss$/,
loader: 'style!css?localIdentName=[path][name]--[local]--[hash:base64:10]!autoprefixer!sass',
include: __dirname + '/app/assets',
},
{
test: /\.jsx?$/,
loaders: [
'babel-loader?cacheDirectory',
'react-hot'
],
exclude: [/node_modules/, /bower_components/, /support\/fixtures/],
include: __dirname + '/app/assets',
},
{
test: /app\/assets\/components\/(.*?)(?:\/index)?\.jsx/,
loader: __dirname + '/app/assets/components_loader',
include: __dirname + '/app/assets/components',
},
{
test: /raven-js/,
loaders: ['imports?this=>window'],
include: __dirname + '/node_modules/raven-js',
},
{
test: /\.(gif|jpe?g|png|svg)$/,
loader: 'file-loader',
include: __dirname + '/app/assets',
},
{
test: /\.json$/,
loader: 'json-loader',
include: __dirname + '/app/assets',
}
],
noParse: [
/acorn\/dist\/acorn\.js$/,
/underscore\/underscore\.js$/,
/react-with-addons\.js$/,
]
},
profile: true,
stats: {
hash: true,
version: true,
timings: true,
assets: true,
chunks: true,
modules: true,
reasons: true,
children: true,
source: false,
errors: true,
errorDetails: true,
warnings: true,
publicPath: true
},
};"><pre class="notranslate"><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'babel-core/polyfill'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">webpack</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'webpack'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">entry</span>: <span class="pl-kos">{</span>
<span class="pl-c1">activity_map</span>: <span class="pl-s">'./app/assets/_activity_map.js'</span><span class="pl-kos">,</span>
<span class="pl-c1">admin</span>: <span class="pl-s">'./app/assets/_admin.js'</span><span class="pl-kos">,</span>
<span class="pl-c1">application</span>: <span class="pl-kos">[</span>
<span class="pl-s">'webpack-dev-server/client?http://localhost:8080'</span><span class="pl-kos">,</span>
<span class="pl-s">'./app/assets/_application.js'</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">intl_polyfill</span>: <span class="pl-s">'./app/assets/_intl_polyfill.js'</span><span class="pl-kos">,</span>
<span class="pl-c1">jquery_fallback</span>: <span class="pl-s">'./app/assets/_jquery_fallback.js'</span><span class="pl-kos">,</span>
<span class="pl-c1">partners</span>: <span class="pl-s">'./app/assets/_partners.js'</span><span class="pl-kos">,</span>
<span class="pl-c1">vendor</span>: <span class="pl-s">'./app/assets/_vendor.js'</span><span class="pl-kos">,</span>
<span class="pl-c1">specs</span>: <span class="pl-kos">[</span>
<span class="pl-s">'webpack-dev-server/client?http://localhost:8080'</span><span class="pl-kos">,</span>
<span class="pl-s">'./app/assets/spec/_specs.js'</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">diffux_ci</span>: <span class="pl-s">'./app/assets/spec/_diffux_ci.js'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">output</span>: <span class="pl-kos">{</span>
<span class="pl-c1">path</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/public/assets'</span><span class="pl-kos">,</span>
<span class="pl-c1">filename</span>: <span class="pl-s">'[name].js'</span><span class="pl-kos">,</span>
<span class="pl-c1">publicPath</span>: <span class="pl-s">'http://localhost:8080/assets'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">resolve</span>: <span class="pl-kos">{</span>
<span class="pl-c1">modulesDirectories</span>: <span class="pl-kos">[</span>
<span class="pl-s">'app/assets'</span><span class="pl-kos">,</span>
<span class="pl-s">'vendor/assets/bower_components'</span><span class="pl-kos">,</span>
<span class="pl-s">'node_modules'</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">extensions</span>: <span class="pl-kos">[</span>
<span class="pl-s">'.jsx'</span><span class="pl-kos">,</span>
<span class="pl-s">'.js'</span><span class="pl-kos">,</span>
<span class="pl-s">''</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">loaderExtensions</span>: <span class="pl-kos">[</span><span class="pl-s">'.js'</span><span class="pl-kos">,</span> <span class="pl-s">''</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">loaderPostfixes</span>: <span class="pl-kos">[</span><span class="pl-s">''</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">unsafeCache</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">postfixes</span>: <span class="pl-kos">[</span><span class="pl-s">''</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">alias</span>: <span class="pl-kos">{</span>
<span class="pl-s">'core-js'</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/node_modules/babel-runtime/node_modules/core-js'</span><span class="pl-kos">,</span>
<span class="pl-s">'react$'</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/node_modules/react/dist/react-with-addons.js'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">// Disable source maps for now</span>
<span class="pl-c">// devtool: 'eval-cheap-module-source-map',</span>
<span class="pl-c1">plugins</span>: <span class="pl-kos">[</span>
<span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">DefinePlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c">// Some definitions here</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">optimize</span><span class="pl-kos">.</span><span class="pl-c1">CommonsChunkPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'application'</span><span class="pl-kos">,</span>
<span class="pl-c1">minChunks</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span>
<span class="pl-c1">chunks</span>: <span class="pl-kos">[</span><span class="pl-s">'admin'</span><span class="pl-kos">,</span> <span class="pl-s">'partners'</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">optimize</span><span class="pl-kos">.</span><span class="pl-c1">CommonsChunkPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'vendor'</span><span class="pl-kos">,</span>
<span class="pl-c1">minChunks</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span>
<span class="pl-c1">chunks</span>: <span class="pl-kos">[</span><span class="pl-s">'application'</span><span class="pl-kos">,</span> <span class="pl-s">'diffux_ci'</span><span class="pl-kos">,</span> <span class="pl-s">'specs'</span><span class="pl-kos">,</span> <span class="pl-s">'activity_map'</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">externals</span>: <span class="pl-kos">{</span>
<span class="pl-c1">jquery</span>: <span class="pl-s">'jQuery'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">module</span>: <span class="pl-kos">{</span>
<span class="pl-c1">loaders</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>css<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'style!css?localIdentName=[path][name]--[local]--[hash:base64:10]!autoprefixer'</span><span class="pl-kos">,</span>
<span class="pl-c1">include</span>: <span class="pl-kos">[</span>
<span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/app/assets'</span><span class="pl-kos">,</span>
<span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/node_modules/normalize.css'</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>scss<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'style!css?localIdentName=[path][name]--[local]--[hash:base64:10]!autoprefixer!sass'</span><span class="pl-kos">,</span>
<span class="pl-c1">include</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/app/assets'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>jsx?<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">loaders</span>: <span class="pl-kos">[</span>
<span class="pl-s">'babel-loader?cacheDirectory'</span><span class="pl-kos">,</span>
<span class="pl-s">'react-hot'</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">exclude</span>: <span class="pl-kos">[</span><span class="pl-pds"><span class="pl-c1">/</span>node_modules<span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-pds"><span class="pl-c1">/</span>bower_components<span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-pds"><span class="pl-c1">/</span>support<span class="pl-cce">\/</span>fixtures<span class="pl-c1">/</span></span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">include</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/app/assets'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span>app<span class="pl-cce">\/</span>assets<span class="pl-cce">\/</span>components<span class="pl-cce">\/</span><span class="pl-kos">(</span>.<span class="pl-c1">*</span>?<span class="pl-kos">)</span><span class="pl-kos">(?:</span><span class="pl-cce">\/</span>index<span class="pl-kos">)</span>?<span class="pl-cce">\.</span>jsx<span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">loader</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/app/assets/components_loader'</span><span class="pl-kos">,</span>
<span class="pl-c1">include</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/app/assets/components'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span>raven-js<span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">loaders</span>: <span class="pl-kos">[</span><span class="pl-s">'imports?this=>window'</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">include</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/node_modules/raven-js'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>gif<span class="pl-c1">|</span>jpe?g<span class="pl-c1">|</span>png<span class="pl-c1">|</span>svg<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'file-loader'</span><span class="pl-kos">,</span>
<span class="pl-c1">include</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/app/assets'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>json<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'json-loader'</span><span class="pl-kos">,</span>
<span class="pl-c1">include</span>: <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/app/assets'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">noParse</span>: <span class="pl-kos">[</span>
<span class="pl-pds"><span class="pl-c1">/</span>acorn<span class="pl-cce">\/</span>dist<span class="pl-cce">\/</span>acorn<span class="pl-cce">\.</span>js<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-pds"><span class="pl-c1">/</span>underscore<span class="pl-cce">\/</span>underscore<span class="pl-cce">\.</span>js<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-pds"><span class="pl-c1">/</span>react-with-addons<span class="pl-cce">\.</span>js<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">profile</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">stats</span>: <span class="pl-kos">{</span>
<span class="pl-c1">hash</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">version</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">timings</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">assets</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">chunks</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">modules</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">reasons</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">children</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">source</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
<span class="pl-c1">errors</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">errorDetails</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">warnings</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">publicPath</span>: <span class="pl-c1">true</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">The components_loader is just something small that we added for exposing components so we can more easily include them in our style guide:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module.exports = function(content) {
if (this.cacheable) {
this.cacheable();
}
const matches = this.resourcePath.match(/components\/(.*?)(?:\/index)?\.jsx/);
if (!matches) {
return content;
}
return content + '\n' +
'window.ReactComponents = window.ReactComponents || {};\n' +
"ReactComponents['" + matches[1] + "'] = module.exports;\n";
};"><pre class="notranslate"><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-en">exports</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">content</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">cacheable</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">cacheable</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">const</span> <span class="pl-s1">matches</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">resourcePath</span><span class="pl-kos">.</span><span class="pl-en">match</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>components<span class="pl-cce">\/</span><span class="pl-kos">(</span>.<span class="pl-c1">*</span>?<span class="pl-kos">)</span><span class="pl-kos">(?:</span><span class="pl-cce">\/</span>index<span class="pl-kos">)</span>?<span class="pl-cce">\.</span>jsx<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">matches</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">content</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">content</span> <span class="pl-c1">+</span> <span class="pl-s">'\n'</span> <span class="pl-c1">+</span>
<span class="pl-s">'window.ReactComponents = window.ReactComponents || {};\n'</span> <span class="pl-c1">+</span>
<span class="pl-s">"ReactComponents['"</span> <span class="pl-c1">+</span> <span class="pl-s1">matches</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">+</span> <span class="pl-s">"'] = module.exports;\n"</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">The full stats.json can be found here: <a href="https://gist.github.com/d8feb05513656472dbf5">https://gist.github.com/d8feb05513656472dbf5</a></p>
<p dir="auto">I really hope someone can help me with this, I've been stuck on this issue for two days now. Maybe if we find a solution it would help others as well, because I think our React/Babel/SCSS setup is pretty common. Thanks!!</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.72.1<br>
Node.js version: v14.19.1<br>
Operating System: mac<br>
Additional tools: no</p>
<p dir="auto">My problem is the same as his <a href="https://stackoverflow.com/questions/65278463/watching-mode-in-webpack-node-api/65279119" rel="nofollow">https://stackoverflow.com/questions/65278463/watching-mode-in-webpack-node-api/65279119</a></p>
<p dir="auto">let compiler = webpack(webpackConfig);<br>
compiler.watch({}, (err, stats) => {<br>
if (err || stats.hasErrors()) console.error(err);<br>
console.log('Webpack refresh...');<br>
});<br>
I configured it so that launching webPack would generate an error message,ConcurrentCompilationError: You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.。Watch is fine if I don't use compiler.watch, but I need to use the compiler.watch method。</p> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~> deno --version
deno 1.5.0
v8 8.7.220.3
typescript 4.0.3
OS Windows 10"><pre class="notranslate"><code class="notranslate">~> deno --version
deno 1.5.0
v8 8.7.220.3
typescript 4.0.3
OS Windows 10
</code></pre></div>
<p dir="auto">Running the sample as directed in <a href="https://deno.land/posts/v1.5#codealertcode-codeconfirmcode-and-codepromptcode-added" rel="nofollow">https://deno.land/posts/v1.5#codealertcode-codeconfirmcode-and-codepromptcode-added</a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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?"><pre class="notranslate"><code class="notranslate">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?
</code></pre></div>
<p dir="auto">Loop never breaks and confirm message is truncated at <code class="notranslate"> is your name?</code>.</p> | <p dir="auto">to reproduce:</p>
<p dir="auto">Linux (WSL) | Windows</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28438021/97340972-761c3880-18aa-11eb-89d5-1a51d6ba1226.png"><img src="https://user-images.githubusercontent.com/28438021/97340972-761c3880-18aa-11eb-89d5-1a51d6ba1226.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">isn't limited to repl</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28438021/97341736-77019a00-18ab-11eb-980d-5ca55ae1b496.png"><img src="https://user-images.githubusercontent.com/28438021/97341736-77019a00-18ab-11eb-980d-5ca55ae1b496.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] 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"><pre class="notranslate"><code class="notranslate">[ ] 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
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
Templates complain when the object "can be null" and they don't accept using typescript's <code class="notranslate">!</code> not null caster. The way to do this is by using <code class="notranslate">?</code> instead which is inconsistent.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
Angular templates should accept <code class="notranslate">!</code> like if it was <code class="notranslate">?</code></p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<h2>{{ video.getSnippet().getTitle() }}</h2>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">h2</span><span class="pl-kos">></span>{{ video.getSnippet().getTitle() }}<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span></pre></div>
<p dir="auto">resulted in error "Object is possibly 'null'."</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<!-- Using typescript's "not null" cast -->
<h2>{{ video.getSnippet()!.getTitle() }}</h2>"><pre class="notranslate"><span class="pl-c"><!-- Using typescript's "not null" cast --></span>
<span class="pl-kos"><</span><span class="pl-ent">h2</span><span class="pl-kos">></span>{{ video.getSnippet()!.getTitle() }}<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span></pre></div>
<p dir="auto">resulted in Error: Template parse errors:<br>
Parser Error: Unexpected token '!' at column 23 in [{{ video.getSnippet()!.getTitle() }}]</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
Consistency</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li>Ubuntu, Atom</li>
<li><strong>Language:</strong> TypeScript?</li>
</ul> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 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"><pre class="notranslate"><code class="notranslate">[ 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
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">If we try to put a structural *ngIf attribute directive inside a input element in a form<br>
to make it appear on certain conditions and not on others. And when we try to access the<br>
DOM of the element using #ControlOfTheInput it shows the element is undefined as if the<br>
DOM wasn't created.<br>
<strong>Expected behavior</strong></p>
<p dir="auto">It is expected that if the condition is true the input field should be accessible<br>
<strong>Minimal reproduction of the problem with instructions</strong></p>
<p dir="auto"><a href="https://plnkr.co/edit/EhLdqIt931SJB0MsvVVq" rel="nofollow">https://plnkr.co/edit/EhLdqIt931SJB0MsvVVq</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">To be able to conditional change form elements in a form when certain conditions have been fulfilled<br>
<strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.X</li>
</ul>
<ul dir="auto">
<li><strong>Browser:</strong> [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 ]</li>
</ul>
<ul dir="auto">
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p>
</li>
</ul> | 0 |
<p dir="auto">It would be nice to be able to dim files and folders that are listed in the .gitignore file.</p>
<p dir="auto">I'm not sure if this has been mentioned or not, before, but I couldn't find anything about it.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">Sorry to run on, but I think these would be some good additions!</p> | <p dir="auto">Similar to what atom provides in the project explorer:</p>
<ol dir="auto">
<li>New files are displayed green.</li>
<li>Modified are displayed yellow/orange.</li>
<li>Ignored files are displayed transparent-ish.</li>
</ol>
<p dir="auto">Thanks</p> | 1 |
<p dir="auto">d:<br>
/usr/local/bin/electron -> /usr/local/lib/node_modules/electron-prebuilt/cli.js</p>
<blockquote>
<p dir="auto">[email protected] postinstall /usr/local/lib/node_modules/electron-prebuilt<br>
node install.js</p>
</blockquote>
<p dir="auto">Downloading electron-v0.34.0-darwin-x64.zip<br>
[============================================>] 100.0% of 37.94 MB (250.83 kB/s)<br>
/usr/local/lib/node_modules/electron-prebuilt/install.js:15<br>
throw err<br>
^<br>
Error: EACCES, rename '/usr/local/lib/node_modules/electron-prebuilt/electron-tmp-download-15050-1445301881243/electron-v0.34.0-darwin-x64.zip'<br>
at Error (native)<br>
npm ERR! Darwin 15.0.0<br>
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "electron-prebuilt" "-g"<br>
npm ERR! node v0.12.7<br>
npm ERR! npm v2.11.3<br>
npm ERR! code ELIFECYCLE</p>
<p dir="auto">npm ERR! [email protected] postinstall: <code class="notranslate">node install.js</code><br>
npm ERR! Exit status 1<br>
npm ERR!<br>
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.<br>
npm ERR! This is most likely a problem with the electron-prebuilt package,<br>
npm ERR! not with npm itself.<br>
npm ERR! Tell the author that this fails on your system:<br>
npm ERR! node install.js<br>
npm ERR! You can get their info via:<br>
npm ERR! npm owner ls electron-prebuilt<br>
npm ERR! There is likely additional logging output above.</p>
<p dir="auto">npm ERR! Please include the following file with any support request:<br>
npm ERR! /Users/Aleff/npm-debug.log</p> | <p dir="auto">We've been burned by this a couple of times but to install globally you have to do <code class="notranslate">sudo npm install electron-prebuilt -g</code> 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.</p>
<p dir="auto">The work around is to install electron-prebuilt locally once, <code class="notranslate">npm install electron-prebuilt</code> to get the binary into the user folder cache, then install globally.</p>
<p dir="auto">I just wanted to point this out, it would be nice if this error didn't happen, it's not blocking me though.</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: windows 10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto"><a href="http://dubbo.apache.org/zh-cn/docs/admin/install/provider-demo.html" rel="nofollow">http://dubbo.apache.org/zh-cn/docs/admin/install/provider-demo.html</a> 说明文档中提到的dubbo-demo-provider,在clone git后并没有找到</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">希望说明文档中提供最新的dubbo-demo-provider位置,或者新的项目名</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.5</li>
<li>Operating System version: window</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">registry url timeout=10000</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">registry url timeout=3000<br>
Application run failed<br>
java.lang.IllegalStateException: zookeeper not connected<br>
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.(CuratorZookeeperClient.java:83)<br>
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperTransporter.createZookeeperClient(CuratorZookeeperTransporter.java:26)<br>
at org.apache.dubbo.remoting.zookeeper.support.AbstractZookeeperTransporter.connect(AbstractZookeeperTransporter.java:68)</p> | 0 |
<p dir="auto">While running density tests against a kubernetes cluster, we will occasionally run into nodes where the docker daemon becomes unresponsive. Symptoms include:</p>
<ul dir="auto">
<li><code class="notranslate">docker ps</code> hangs</li>
<li><code class="notranslate">kernel: unregister_netdevice: waiting for veth0123456 to become free. Usage count = 1</code> appears in journal output</li>
</ul>
<p dir="auto">Probably an upstream issue. But I would expect kubelet to notice that its docker deamon is unhealthy and send a 'NotReady' status back up to the controller manager. Instead, it stays at 'Ready' and the scheduler assigns pods to it, which will stay stuck in Pending.</p>
<p dir="auto">This is not quite the same as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="114323676" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/16601" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/16601/hovercard" href="https://github.com/kubernetes/kubernetes/issues/16601">#16601</a> but our mitigation is the same, we're forced to reboot the node.</p> | <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):<br>
test getsockopt: connection refused,<br>
getsockopt: connection refused,<br>
integration getsockopt: connection refused,<br>
integration test open file limit</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):<br>
NAME="Ubuntu"<br>
VERSION="16.04.1 LTS (Xenial Xerus)"<br>
ID=ubuntu<br>
ID_LIKE=debian<br>
PRETTY_NAME="Ubuntu 16.04.1 LTS"<br>
VERSION_ID="16.04"<br>
HOME_URL="<a href="http://www.ubuntu.com/" rel="nofollow">http://www.ubuntu.com/</a>"<br>
SUPPORT_URL="<a href="http://help.ubuntu.com/" rel="nofollow">http://help.ubuntu.com/</a>"<br>
BUG_REPORT_URL="<a href="http://bugs.launchpad.net/ubuntu/" rel="nofollow">http://bugs.launchpad.net/ubuntu/</a>"<br>
UBUNTU_CODENAME=xenial</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 4.4.0-47-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35537532" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/68" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/68/hovercard" href="https://github.com/kubernetes/kubernetes/pull/68">#68</a>-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Basically I am trying to run integration test on my local machine - as described here <a href="https://github.com/kubernetes/kubernetes/blob/master/docs/devel/testing.md#integration-tests">https://github.com/kubernetes/kubernetes/blob/master/docs/devel/testing.md#integration-tests</a></p>
<p dir="auto">Lots of them failing with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="unable to sync kubernetes service: Post http://127.0.0.1:33526/api/v1/namespaces/default/services: dial tcp 127.0.0.1:33526: getsockopt: connection refused"><pre class="notranslate"><code class="notranslate">unable to sync kubernetes service: Post http://127.0.0.1:33526/api/v1/namespaces/default/services: dial tcp 127.0.0.1:33526: getsockopt: connection refused
</code></pre></div>
<p dir="auto">I have a fresh copy of the master branch - no local changes. When I attached to etcd via strace the following lines caught my attention:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="futex(0x1744568, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
...
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=64*1024}) = 0"><pre class="notranslate"><code class="notranslate">futex(0x1744568, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
...
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=64*1024}) = 0
</code></pre></div>
<p dir="auto">Seems like I’ve reached the limit of opened files on my machine which was set to 1024. Moreover when I increased the limit to 65535 <strong>ALL</strong> test went “green”.</p>
<p dir="auto">For a newcomer like me it was a challenging task just to get a fresh copy, compile it and run the test.</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<ul dir="auto">
<li>
<p dir="auto">We could improve documentation - <a href="https://github.com/kubernetes/kubernetes/blob/master/docs/devel/testing.md#integration-tests">https://github.com/kubernetes/kubernetes/blob/master/docs/devel/testing.md#integration-tests</a> and explicitly state that one have to set resources limit to X</p>
</li>
<li>
<p dir="auto">We could improve tests to set resources limit on behalf of a user - this requires root privileges</p>
</li>
<li>
<p dir="auto">I haven’t checked the test code but perhaps we could make the test code more polite and limit the number of the request we are sending to the server/etcd</p>
</li>
</ul>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br>
Clone the repository, compile, run integration test</p> | 0 |
<p dir="auto">I think the following snippet should be possible (but it fails currently). Since <code class="notranslate">&'static MyTrait</code> can't be 0, if the first half of the layout is 0, then the enum must be the <code class="notranslate">Boxed</code> variant.</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use std::mem;
pub trait MyTrait {
fn zomg(&self);
}
enum Foo {
Inline(&'static MyTrait, [usize; 2]),
Boxed(Box<MyTrait>),
}
pub fn main() {
assert_eq!(2 * mem::size_of::<&'static MyTrait>(), mem::size_of::<Foo>());
}"><pre class="notranslate"><span class="pl-k">use</span> std<span class="pl-kos">::</span>mem<span class="pl-kos">;</span>
<span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">MyTrait</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">zomg</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-smi">self</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">enum</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
<span class="pl-v">Inline</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">static</span> <span class="pl-smi">MyTrait</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-smi">usize</span><span class="pl-kos">;</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">Boxed</span><span class="pl-kos">(</span><span class="pl-smi">Box</span><span class="pl-kos"><</span><span class="pl-smi">MyTrait</span><span class="pl-kos">></span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">assert_eq</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-c1">2</span> * mem::size_of::<&<span class="pl-c1">'</span><span class="pl-k">static</span> <span class="pl-v">MyTrait</span>><span class="pl-kos">(</span><span class="pl-kos">)</span>, mem::size_of::<<span class="pl-v">Foo</span>><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | <p dir="auto">The current implementation only handles enums of roughly the form:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="enum E {
A(ALeft..., Niche, ARight...),
B,
C
}"><pre class="notranslate"><span class="pl-k">enum</span> <span class="pl-smi">E</span> <span class="pl-kos">{</span>
<span class="pl-v">A</span><span class="pl-kos">(</span><span class="pl-smi">ALeft</span>...<span class="pl-kos">,</span> <span class="pl-smi">Niche</span><span class="pl-kos">,</span> <span class="pl-smi">ARight</span>...<span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">B</span><span class="pl-kos">,</span>
<span class="pl-v">C</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">This can be seen as a special-case, where B and C occupy 0 bytes, of:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="enum E {
A(ALeft..., Niche, ARight...),
B(B...),
C(C...)
}"><pre class="notranslate"><span class="pl-k">enum</span> <span class="pl-smi">E</span> <span class="pl-kos">{</span>
<span class="pl-v">A</span><span class="pl-kos">(</span><span class="pl-smi">ALeft</span>...<span class="pl-kos">,</span> <span class="pl-smi">Niche</span><span class="pl-kos">,</span> <span class="pl-smi">ARight</span>...<span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">B</span><span class="pl-kos">(</span><span class="pl-smi">B</span>...<span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">C</span><span class="pl-kos">(</span><span class="pl-smi">C</span>...<span class="pl-kos">)</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">As long as <code class="notranslate">B</code> and <code class="notranslate">C</code> can fit before or after <code class="notranslate">A</code>'s <code class="notranslate">Niche</code>, we can still apply the optimization.<br>
Also see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="98328835" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rfcs/issues/1230" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rfcs/issues/1230/hovercard?comment_id=345456535&comment_type=issue_comment" href="https://github.com/rust-lang/rfcs/issues/1230#issuecomment-345456535">rust-lang/rfcs#1230 (comment)</a> for the initial description.</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: apache-dubbo-2.7.4.1</li>
<li>Operating System version: mac os</li>
<li>Java version: jdk1.8.0_211</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>when running demo dubbo-demo-xml-provider a null pointer appears</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [27/12/19 00:41:45:876 CST] main INFO config.AbstractConfig: [DUBBO] The service ready on spring started. service: org.apache.dubbo.demo.DemoService, dubbo version: , current host: 192.168.0.100
Exception in thread "main" java.lang.NullPointerException
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$null$7(AbstractInterfaceConfig.java:632)
at java.util.Optional.orElseGet(Optional.java:267)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$useRegistryForConfigIfNecessary$8(AbstractInterfaceConfig.java:620)
at java.util.Optional.ifPresent(Optional.java:159)
at org.apache.dubbo.config.AbstractInterfaceConfig.useRegistryForConfigIfNecessary(AbstractInterfaceConfig.java:618)
at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:208)
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:303)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:370)
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:336)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:114)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:60)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at org.apache.dubbo.demo.provider.Application.main(Application.java:30)
[27/12/19 00:41:45:950 CST] Thread-0 INFO support.ClassPathXmlApplicationContext: Closing org.springframework.context.support.ClassPathXmlApplicationContext@2d363fb3: startup date [Fri Dec 27 00:41:44 CST 2019]; root of context hierarchy
[27/12/19 00:41:45:955 CST] Thread-0 INFO support.AbstractRegistryFactory: [DUBBO] Close all registries [], dubbo version: , current host: 192.168.0.100
"><pre class="notranslate"><code class="notranslate"> [27/12/19 00:41:45:876 CST] main INFO config.AbstractConfig: [DUBBO] The service ready on spring started. service: org.apache.dubbo.demo.DemoService, dubbo version: , current host: 192.168.0.100
Exception in thread "main" java.lang.NullPointerException
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$null$7(AbstractInterfaceConfig.java:632)
at java.util.Optional.orElseGet(Optional.java:267)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$useRegistryForConfigIfNecessary$8(AbstractInterfaceConfig.java:620)
at java.util.Optional.ifPresent(Optional.java:159)
at org.apache.dubbo.config.AbstractInterfaceConfig.useRegistryForConfigIfNecessary(AbstractInterfaceConfig.java:618)
at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:208)
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:303)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:370)
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:336)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:114)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:60)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at org.apache.dubbo.demo.provider.Application.main(Application.java:30)
[27/12/19 00:41:45:950 CST] Thread-0 INFO support.ClassPathXmlApplicationContext: Closing org.springframework.context.support.ClassPathXmlApplicationContext@2d363fb3: startup date [Fri Dec 27 00:41:44 CST 2019]; root of context hierarchy
[27/12/19 00:41:45:955 CST] Thread-0 INFO support.AbstractRegistryFactory: [DUBBO] Close all registries [], dubbo version: , current host: 192.168.0.100
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: master branch</li>
<li>Operating System version: macos</li>
<li>Java version: java11</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li><code class="notranslate">./mvnw package -DskipTests -Pjava8-vm-args -Prelease</code></li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">build success</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">build failed</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadoc) on project dubbo: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:23: error: package org.apache.logging.log4j does not exist
[ERROR] import org.apache.logging.log4j.LogManager;
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:35: error: package org.apache.logging.log4j does not exist
[ERROR] private static org.apache.logging.log4j.Level toLog4j2Level(Level level) {
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:57: error: package org.apache.logging.log4j does not exist
[ERROR] private static Level fromLog4j2Level(org.apache.logging.log4j.Level level) {
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2Logger.java:23: error: package org.apache.logging.log4j does not exist
[ERROR] private final org.apache.logging.log4j.Logger logger;
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2Logger.java:25: error: package org.apache.logging.log4j does not exist
[ERROR] public Log4j2Logger(org.apache.logging.log4j.Logger logger) {
[ERROR] ^
[ERROR]
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/xxx/Documents/incubator-dubbo/dubbo-all/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]"><pre class="notranslate"><code class="notranslate">[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadoc) on project dubbo: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:23: error: package org.apache.logging.log4j does not exist
[ERROR] import org.apache.logging.log4j.LogManager;
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:35: error: package org.apache.logging.log4j does not exist
[ERROR] private static org.apache.logging.log4j.Level toLog4j2Level(Level level) {
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:57: error: package org.apache.logging.log4j does not exist
[ERROR] private static Level fromLog4j2Level(org.apache.logging.log4j.Level level) {
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2Logger.java:23: error: package org.apache.logging.log4j does not exist
[ERROR] private final org.apache.logging.log4j.Logger logger;
[ERROR] ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2Logger.java:25: error: package org.apache.logging.log4j does not exist
[ERROR] public Log4j2Logger(org.apache.logging.log4j.Logger logger) {
[ERROR] ^
[ERROR]
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/xxx/Documents/incubator-dubbo/dubbo-all/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
</code></pre></div>
<h3 dir="auto">Solution</h3>
<p dir="auto"><code class="notranslate">log4j-core</code> was defined in <code class="notranslate">dubbo-common/pom.xml</code> as <code class="notranslate">provied</code><br>
change to default scope <code class="notranslate">compile</code></p> | 0 |
<p dir="auto">When a key is present in json object multiple times it doesn't raise a parse error and only last value is used. This should instead raise <code class="notranslate">json_parse_exception</code>.</p>
<p dir="auto"><strong>Elasticsearch version</strong>: verified on 2.x, 5.0.0-alpha3</p>
<p dir="auto"><strong>Steps to reproduce</strong>:</p>
<ol dir="auto">
<li><code class="notranslate">curl -X PUT localhost:9200/i -d '{"settings": {"number_of_replicas": 2}, "settings": {"number_of_shards": 1}}'</code></li>
<li><code class="notranslate">curl -X GET localhost:9200/i</code></li>
</ol> | <p dir="auto">Hello guys,</p>
<p dir="auto">This config worked in ES v1.7.2 but since i tried to use the configuration in ES v2.1 I have a error... So :</p>
<p dir="auto">I use this mapping :</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="PUT /my_index/_mapping/_default_
{
"_default_": {
"dynamic_date_formats" : [
"yyyy-MM-dd HH:mm:ss",
"yyyy-MM-dd HH:mm:ss||yyyyMMdd-HH:mm:ss||yyyyMMdd-HH:mm:ss.SSS"
],
"dynamic_templates": [
{
"template_1" : {
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string",
"index" : "not_analyzed"
}
}
}, {
"template_2" : {
"match" : "*@expire",
"match_mapping_type" : "date",
"mapping" : {
"type" : "string",
"index" : "not_analyzed"
}
}
}
]
}
}"><pre class="notranslate"><span class="pl-ii">PUT /my_index/_mapping/_default_</span>
{
<span class="pl-ent">"_default_"</span>: {
<span class="pl-ent">"dynamic_date_formats"</span> : [
<span class="pl-s"><span class="pl-pds">"</span>yyyy-MM-dd HH:mm:ss<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>yyyy-MM-dd HH:mm:ss||yyyyMMdd-HH:mm:ss||yyyyMMdd-HH:mm:ss.SSS<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"dynamic_templates"</span>: [
{
<span class="pl-ent">"template_1"</span> : {
<span class="pl-ent">"match"</span> : <span class="pl-s"><span class="pl-pds">"</span>*<span class="pl-pds">"</span></span>,
<span class="pl-ent">"match_mapping_type"</span> : <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>,
<span class="pl-ent">"mapping"</span> : {
<span class="pl-ent">"type"</span> : <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>,
<span class="pl-ent">"index"</span> : <span class="pl-s"><span class="pl-pds">"</span>not_analyzed<span class="pl-pds">"</span></span>
}
}
}, {
<span class="pl-ent">"template_2"</span> : {
<span class="pl-ent">"match"</span> : <span class="pl-s"><span class="pl-pds">"</span>*@expire<span class="pl-pds">"</span></span>,
<span class="pl-ent">"match_mapping_type"</span> : <span class="pl-s"><span class="pl-pds">"</span>date<span class="pl-pds">"</span></span>,
<span class="pl-ent">"mapping"</span> : {
<span class="pl-ent">"type"</span> : <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>,
<span class="pl-ent">"index"</span> : <span class="pl-s"><span class="pl-pds">"</span>not_analyzed<span class="pl-pds">"</span></span>
}
}
}
]
}
}</pre></div>
<p dir="auto">And after a first type insert, I get the expected result. But if I try to insert a second or third type like :</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="POST /my_index/my_type
{
"source":"my_source",
"country":"my_country",
"company":"my_company",
"server":"my_server",
"@timestamp":"2016-01-01 00:07:10"
}"><pre class="notranslate"><span class="pl-ii">POST /my_index/my_type</span>
{
<span class="pl-ent">"source"</span>:<span class="pl-s"><span class="pl-pds">"</span>my_source<span class="pl-pds">"</span></span>,
<span class="pl-ent">"country"</span>:<span class="pl-s"><span class="pl-pds">"</span>my_country<span class="pl-pds">"</span></span>,
<span class="pl-ent">"company"</span>:<span class="pl-s"><span class="pl-pds">"</span>my_company<span class="pl-pds">"</span></span>,
<span class="pl-ent">"server"</span>:<span class="pl-s"><span class="pl-pds">"</span>my_server<span class="pl-pds">"</span></span>,
<span class="pl-ent">"@timestamp"</span>:<span class="pl-s"><span class="pl-pds">"</span>2016-01-01 00:07:10<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto">Result return is :</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "failed to parse [@timestamp]"
}
],
"type": "mapper_parsing_exception",
"reason": "failed to parse [@timestamp]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "Invalid format: \"2016-01-01 00:07:10\" is malformed at \" 00:07:10\""
}
},
"status": 400
}"><pre class="notranslate">{
<span class="pl-ent">"error"</span>: {
<span class="pl-ent">"root_cause"</span>: [
{
<span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>mapper_parsing_exception<span class="pl-pds">"</span></span>,
<span class="pl-ent">"reason"</span>: <span class="pl-s"><span class="pl-pds">"</span>failed to parse [@timestamp]<span class="pl-pds">"</span></span>
}
],
<span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>mapper_parsing_exception<span class="pl-pds">"</span></span>,
<span class="pl-ent">"reason"</span>: <span class="pl-s"><span class="pl-pds">"</span>failed to parse [@timestamp]<span class="pl-pds">"</span></span>,
<span class="pl-ent">"caused_by"</span>: {
<span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>illegal_argument_exception<span class="pl-pds">"</span></span>,
<span class="pl-ent">"reason"</span>: <span class="pl-s"><span class="pl-pds">"</span>Invalid format: <span class="pl-cce">\"</span>2016-01-01 00:07:10<span class="pl-cce">\"</span> is malformed at <span class="pl-cce">\"</span> 00:07:10<span class="pl-cce">\"</span><span class="pl-pds">"</span></span>
}
},
<span class="pl-ent">"status"</span>: <span class="pl-c1">400</span>
}</pre></div>
<p dir="auto">If I try to insert it on the first type, this is working... Perhaps bug, or just my mistake but i do not understand.</p>
<p dir="auto">FYI: if i swap the order of the type inserted, it is always the first that it work correctly.</p> | 0 |
<p dir="auto">Hoping to get more eyes on this question: <a href="https://stackoverflow.com/questions/53348524/integrate-flutter-into-cocoatouch-sdk" rel="nofollow">https://stackoverflow.com/questions/53348524/integrate-flutter-into-cocoatouch-sdk</a>. Does my approach seem ok here? Is the ability to integrate flutter into iOS or Android frameworks a goal of the project?</p> | <h2 dir="auto">Use case</h2>
<p dir="auto">Now I have a iOS framework to be used within other apps to integrate account and use center<br>
features. Since we have framework on both iOS and android, I want to use flutter to write some<br>
new pages proposed.</p>
<h2 dir="auto">Proposal</h2>
<p dir="auto">Now how add-to-app works is that flutter has to depend on iOS or android Lifecycles if I am correct, so in a iOS framework we have no access to host app's appDelegate or that would be additional work for our framework users. So I wonder is there a solution for that, Thank you very much and wish flutter best and cheer for the flutter team.</p> | 1 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.32.2]</li>
<li>Operating System: [Windows10]</li>
<li>Browser: [Chromium]</li>
<li>Other info: Teamcity</li>
</ul>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import type { PlaywrightTestConfig } from '@playwright/test';
import { devices } from '@playwright/test';
/**
* Read environment variables from file.
* https://github.com/motdotla/dotenv
*/
// require('dotenv').config();
/**
* See https://playwright.dev/docs/test-configuration.
*/
const config: PlaywrightTestConfig = {
testDir: './tests',
/* Maximum time one test can run for. */
timeout: 1200 * 1000,
/* Maximum time in milliseconds the whole test suite can run. Zero timeout (default) disables this behavior. */
globalTimeout: 60 * 60 * 1000,
expect: {
/**
* Maximum time expect() should wait for the condition to be met.
* For example in `await expect(locator).toHaveText();`
*/
timeout: 60000
},
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
globalSetup: require.resolve('./global-setup'),
use: {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
actionTimeout: 0,
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: process.env.BaseUrl || 'http://localhost:54195/',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'retain-on-failure',
// Tell all tests to load signed-in state from 'storageState.json'.
storageState: 'storageState.json',
// Record a video for every test
video: 'off',
testIdAttribute: 'data-field'
},
/* Configure projects for major browsers */
projects: [
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
},
},
{
name: 'firefox',
use: {
...devices['Desktop Firefox'],
},
},
{
name: 'webkit',
use: {
...devices['Desktop Safari'],
},
},
/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: {
// ...devices['Pixel 5'],
// },
// },
// {
// name: 'Mobile Safari',
// use: {
// ...devices['iPhone 12'],
// },
// },
/* Test against branded browsers. */
// {
// name: 'Microsoft Edge',
// use: {
// channel: 'msedge',
// },
// },
// {
// name: 'Google Chrome',
// use: {
// channel: 'chrome',
// },
// },
],
/* Folder for test artifacts such as screenshots, videos, traces, etc. */
outputDir: 'test-results/',
/* Run your local dev server before starting the tests */
//webServer: {
//command: 'npm run start',
//port: 3000,
//reuseExistingServer: !process.env.CI
//},
};
export default config;
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">type</span> <span class="pl-kos">{</span> <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * Read environment variables from file.</span>
<span class="pl-c"> * https://github.com/motdotla/dotenv</span>
<span class="pl-c"> */</span>
<span class="pl-c">// require('dotenv').config();</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * See https://playwright.dev/docs/test-configuration.</span>
<span class="pl-c"> */</span>
<span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">testDir</span>: <span class="pl-s">'./tests'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Maximum time one test can run for. */</span>
<span class="pl-c1">timeout</span>: <span class="pl-c1">1200</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span>
<span class="pl-c">/* Maximum time in milliseconds the whole test suite can run. Zero timeout (default) disables this behavior. */</span>
<span class="pl-c1">globalTimeout</span>: <span class="pl-c1">60</span> <span class="pl-c1">*</span> <span class="pl-c1">60</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span>
<span class="pl-c1">expect</span>: <span class="pl-kos">{</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * Maximum time expect() should wait for the condition to be met.</span>
<span class="pl-c"> * For example in `await expect(locator).toHaveText();`</span>
<span class="pl-c"> */</span>
<span class="pl-c1">timeout</span>: <span class="pl-c1">60000</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">/* Run tests in files in parallel */</span>
<span class="pl-c1">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c">/* Fail the build on CI if you accidentally left test.only in the source code. */</span>
<span class="pl-c1">forbidOnly</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span>
<span class="pl-c">/* Retry on CI only */</span>
<span class="pl-c1">retries</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">2</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span>
<span class="pl-c">/* Opt out of parallel tests on CI. */</span>
<span class="pl-c1">workers</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">1</span> : <span class="pl-c1">undefined</span><span class="pl-kos">,</span>
<span class="pl-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span>
<span class="pl-c1">reporter</span>: <span class="pl-s">'html'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */</span>
<span class="pl-c1">globalSetup</span>: <span class="pl-en">require</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">'./global-setup'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
<span class="pl-c">/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */</span>
<span class="pl-c1">actionTimeout</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span>
<span class="pl-c">/* Base URL to use in actions like `await page.goto('/')`. */</span>
<span class="pl-c1">baseURL</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">BaseUrl</span> <span class="pl-c1">||</span> <span class="pl-s">'http://localhost:54195/'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */</span>
<span class="pl-c1">trace</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span>
<span class="pl-c">// Tell all tests to load signed-in state from 'storageState.json'.</span>
<span class="pl-c1">storageState</span>: <span class="pl-s">'storageState.json'</span><span class="pl-kos">,</span>
<span class="pl-c">// Record a video for every test</span>
<span class="pl-c1">video</span>: <span class="pl-s">'off'</span><span class="pl-kos">,</span>
<span class="pl-c1">testIdAttribute</span>: <span class="pl-s">'data-field'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">/* Configure projects for major browsers */</span>
<span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'firefox'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Firefox'</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'webkit'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Safari'</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">/* Test against mobile viewports. */</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Mobile Chrome',</span>
<span class="pl-c">// use: {</span>
<span class="pl-c">// ...devices['Pixel 5'],</span>
<span class="pl-c">// },</span>
<span class="pl-c">// },</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Mobile Safari',</span>
<span class="pl-c">// use: {</span>
<span class="pl-c">// ...devices['iPhone 12'],</span>
<span class="pl-c">// },</span>
<span class="pl-c">// },</span>
<span class="pl-c">/* Test against branded browsers. */</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Microsoft Edge',</span>
<span class="pl-c">// use: {</span>
<span class="pl-c">// channel: 'msedge',</span>
<span class="pl-c">// },</span>
<span class="pl-c">// },</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Google Chrome',</span>
<span class="pl-c">// use: {</span>
<span class="pl-c">// channel: 'chrome',</span>
<span class="pl-c">// },</span>
<span class="pl-c">// },</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c">/* Folder for test artifacts such as screenshots, videos, traces, etc. */</span>
<span class="pl-c1">outputDir</span>: <span class="pl-s">'test-results/'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Run your local dev server before starting the tests */</span>
<span class="pl-c">//webServer: {</span>
<span class="pl-c">//command: 'npm run start',</span>
<span class="pl-c">//port: 3000,</span>
<span class="pl-c">//reuseExistingServer: !process.env.CI</span>
<span class="pl-c">//},</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">config</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong><br>
Run a test using Teamcity</p>
<p dir="auto">test starts to run normally</p>
<p dir="auto">[Describe expected behavior]</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">When running a single test using Teamcity I get a message that playwright is just installed and needs to download browsers. For some reason it looks for Chromium inside the Windows folder? I couldn't find anything about this in the playwright documentation. When I run the test without Teamcity it runs perfectly fine. I've tried setting PLAYWRIGHT_BROWSERS_PATH=%USERPROFILE%\pw-browsers, but it still looks for Chromium in the windows directory.</p>
<code class="notranslate">
[12:46:07 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13916&logView=linear&linesState=13916)Step 3/108: Install Playwright (Command Line)
[12:46:07 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13919&logView=linear&linesState=13919) Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script16450937878911554956.cmd
[12:46:07 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13920&logView=linear&linesState=13920) in directory: C:\TeamCity\buildAgent\work\4c9a3925e6c1abd3\playwright
[12:46:15 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13921&logView=linear&linesState=13921)
[12:46:15 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13922&logView=linear&linesState=13922) added 5 packages, and audited 6 packages in 5s
[12:46:15 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13923&logView=linear&linesState=13923)
[12:46:15 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13924&logView=linear&linesState=13924) found 0 vulnerabilities
[12:46:15 ](http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13925&logView=linear&linesState=13925) Process exited with code 0
</code><p dir="auto"><code class="notranslate"><a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13928&logView=linear&linesState=13928" rel="nofollow">12:46:15 </a>Step 4/108: Run playwright single test (Command Line)<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13931&logView=linear&linesState=13931" rel="nofollow">12:46:15 </a> Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script6789073163919943269.cmd<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13932&logView=linear&linesState=13932" rel="nofollow">12:46:15 </a> in directory: C:\TeamCity\buildAgent\work\4c9a3925e6c1abd3\playwright<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13933&logView=linear&linesState=13933" rel="nofollow">12:46:17 </a><br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13934&logView=linear&linesState=13934" rel="nofollow">12:46:17 </a><br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13935&logView=linear&linesState=13935" rel="nofollow">12:46:17 </a> [1A [2KError: browserType.launch: Executable doesn't exist at C:\windows\system32\config\systemprofile\pw-browsers\pw-browsers\chromium-1055\chrome-win\chrome.exe<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13936&logView=linear&linesState=13936" rel="nofollow">12:46:17 </a> ╔�������������������������������������������������������������������������╗<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13937&logView=linear&linesState=13937" rel="nofollow">12:46:17 </a> â•‘ Looks like Playwright Test or Playwright was just installed or updated. â•‘<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13938&logView=linear&linesState=13938" rel="nofollow">12:46:17 </a> â•‘ Please run the following command to download new browsers: â•‘<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13939&logView=linear&linesState=13939" rel="nofollow">12:46:17 </a> â•‘ â•‘<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13940&logView=linear&linesState=13940" rel="nofollow">12:46:17 </a> â•‘ npx playwright install â•‘<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13941&logView=linear&linesState=13941" rel="nofollow">12:46:17 </a> â•‘ â•‘<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13942&logView=linear&linesState=13942" rel="nofollow">12:46:17 </a> â•‘ <3 Playwright Team â•‘<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13943&logView=linear&linesState=13943" rel="nofollow">12:46:17 </a> ╚��������������������������������������������������������������������������<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13944&logView=linear&linesState=13944" rel="nofollow">12:46:17 </a><br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13945&logView=linear&linesState=13945" rel="nofollow">12:46:17 </a> at ..\global-setup.ts:6<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13956&logView=linear&linesState=13956" rel="nofollow">12:46:17 </a><br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13957&logView=linear&linesState=13957" rel="nofollow">12:46:17 </a><br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13958&logView=linear&linesState=13958" rel="nofollow">12:46:17 </a> [1A [2K<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13959&logView=linear&linesState=13959" rel="nofollow">12:46:17 </a> To open last HTML report run:<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13960&logView=linear&linesState=13960" rel="nofollow">12:46:17 </a><br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13961&logView=linear&linesState=13961" rel="nofollow">12:46:17 </a> npx playwright show-report<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13962&logView=linear&linesState=13962" rel="nofollow">12:46:17 </a><br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13963&logView=linear&linesState=13963" rel="nofollow">12:46:17 </a> Process exited with code 1<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13965&logView=linear&linesState=13965" rel="nofollow">12:46:17 </a> Process exited with code 1 (Step: Run playwright single test (Command Line))<br>
<a href="http://localhost:8111/buildConfiguration/Inx2283Playwright_Ci/412?buildTab=log&focusLine=13966&logView=linear&linesState=13966" rel="nofollow">12:46:17 </a> Step Run playwright single test (Command Line) failed<br>
</code></p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.31.2]</li>
<li>Operating System: [All]</li>
<li>Browser: [Chromium ( maybe all )]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
trace: "retain-on-failure",
"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-s1">trace</span>: <span class="pl-s">"retain-on-failure"</span><span class="pl-kos">,</span></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test.describe("Sample test", () => {
test('How to kill trace', async ({page}) => {
await page.goto('https://playwright.dev/');
await page.locator("[class*=github-btn] a]").click()
})
})"><pre class="notranslate"><span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">"Sample test"</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'How to kill trace'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span>page<span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">"[class*=github-btn] a]"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test]</li>
<li>test fails</li>
<li>open trace</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">trace opened, with errors from the console</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">blank screen in place of a trace, only after opening browser's console one could see a broken locator</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="index.f6c909e6.js:40 Error: Unexpected token "]" while parsing selector "[class*=github-btn] a]"
at h (index.f6c909e6.js:41:3984)
at A (index.f6c909e6.js:41:5695)
at M (index.f6c909e6.js:41:4966)
at S (index.f6c909e6.js:41:4664)
at T (index.f6c909e6.js:41:4572)
at HS (index.f6c909e6.js:41:5837)
at index.f6c909e6.js:41:6507
at Array.map (<anonymous>)
at W0 (index.f6c909e6.js:41:6383)
at B0 (index.f6c909e6.js:41:10836)
Cc @ index.f6c909e6.js:40
index.f6c909e6.js:41 Uncaught (in promise) Error: Unexpected token "]" while parsing selector "[class*=github-btn] a]"
at h (index.f6c909e6.js:41:3984)
at A (index.f6c909e6.js:41:5695)
at M (index.f6c909e6.js:41:4966)
at S (index.f6c909e6.js:41:4664)
at T (index.f6c909e6.js:41:4572)
at HS (index.f6c909e6.js:41:5837)
at index.f6c909e6.js:41:6507
at Array.map (<anonymous>)
at W0 (index.f6c909e6.js:41:6383)
at B0 (index.f6c909e6.js:41:10836)"><pre class="notranslate"><span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">40</span> Error: <span class="pl-v">Unexpected</span> <span class="pl-s1">token</span> <span class="pl-s">"]"</span> <span class="pl-s1">while</span> <span class="pl-s1">parsing</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class*=github-btn] a]"</span>
<span class="pl-en">at</span> <span class="pl-s1">h</span> <span class="pl-kos">(</span><span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">41</span>:<span class="pl-c1">3984</span><span class="pl-kos">)</span>
<span class="pl-en">at</span> <span class="pl-v">A</span> <span class="pl-kos">(</span><span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">41</span>:<span class="pl-c1">5695</span><span class="pl-kos">)</span>
<span class="pl-en">at</span> <span class="pl-v">M</span> <span class="pl-kos">(</span><span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">41</span>:<span class="pl-c1">4966</span><span class="pl-kos">)</span>
<span class="pl-en">at</span> <span class="pl-v">S</span> <span class="pl-kos">(</span><span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">41</span>:<span class="pl-c1">4664</span><span class="pl-kos">)</span>
<span class="pl-en">at</span> <span class="pl-v">T</span> <span class="pl-kos">(</span><span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">41</span>:<span class="pl-c1">4572</span><span class="pl-kos">)</span>
<span class="pl-en">at</span> <span class="pl-c1">HS</span> <span class="pl-kos">(</span><span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">41</span>:<span class="pl-c1">5837</span><span class="pl-kos">)</span>
<span class="pl-s1">at</span> <span class="pl-s1">index</span><span class="pl-kos">.</span><span class="pl-c1">f6c909e6</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">41</span>:<span class="pl-c1">6507</span>
<span class="pl-s1">at</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">map</span> <span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-ent">anonymous</span><span class="pl-c1">></span>)
at W0 (index.f6c909e6.js:41:6383)
at B0 (index.f6c909e6.js:41:10836)
Cc @ index.f6c909e6.js:40
index.f6c909e6.js:41 Uncaught (in promise) Error: Unexpected token "]" while parsing selector "[class*=github-btn] a]"
at h (index.f6c909e6.js:41:3984)
at A (index.f6c909e6.js:41:5695)
at M (index.f6c909e6.js:41:4966)
at S (index.f6c909e6.js:41:4664)
at T (index.f6c909e6.js:41:4572)
at HS (index.f6c909e6.js:41:5837)
at index.f6c909e6.js:41:6507
at Array.map (<span class="pl-c1"><</span><span class="pl-ent">anonymous</span><span class="pl-c1">></span>)
at W0 (index.f6c909e6.js:41:6383)
at B0 (index.f6c909e6.js:41:10836)</pre></div> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV =>4.1.2-1</li>
<li>Operating System / Platform => Linux (Arch)</li>
<li>Compiler => gcc (but not relevant)</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">cap=cv2.VideoCapture (this is python 3 code!)<br>
cap.get(cv2.CAP_PROP_POS_MSEC) does not work, if not cap.read has been called before.<br>
The current version does not seem to read the position in milliseconds, if a cap.read() has not been issued before the query. It works in Version 4.1.1-1</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">This python3 code shows the problem:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import cv2
cap=cv2.VideoCapture("set/your/file/here")
w = cap.get(cv2.CAP_PROP_FRAME_WIDTH)
cnt = cap.get(cv2.CAP_PROP_FRAME_COUNT)
print("Opencv width %d frames %d"%(w,cnt))
cap.read()
ts= cap.get(cv2.CAP_PROP_POS_MSEC)
print("ts @ frame 0 after read %.3f"%ts)
#set pos
cap.set(cv2.CAP_PROP_POS_FRAMES,5)
ts= cap.get(cv2.CAP_PROP_POS_MSEC)
print("ts @ frame 5 after setPos %.3f"%ts)
ret,frame=cap.retrieve()
ts= cap.get(cv2.CAP_PROP_POS_MSEC)
print("ts @ frame 5 after retrieve %.3f"%ts)
ret,frame=cap.read()
ts= cap.get(cv2.CAP_PROP_POS_MSEC)
print("ts @ frame 5 after read %.3f"%ts)
cap.release()
if __name__ == '__main__':
pass"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">cv2</span>
<span class="pl-s1">cap</span><span class="pl-c1">=</span><span class="pl-s1">cv2</span>.<span class="pl-v">VideoCapture</span>(<span class="pl-s">"set/your/file/here"</span>)
<span class="pl-s1">w</span> <span class="pl-c1">=</span> <span class="pl-s1">cap</span>.<span class="pl-en">get</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_PROP_FRAME_WIDTH</span>)
<span class="pl-s1">cnt</span> <span class="pl-c1">=</span> <span class="pl-s1">cap</span>.<span class="pl-en">get</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_PROP_FRAME_COUNT</span>)
<span class="pl-en">print</span>(<span class="pl-s">"Opencv width %d frames %d"</span><span class="pl-c1">%</span>(<span class="pl-s1">w</span>,<span class="pl-s1">cnt</span>))
<span class="pl-s1">cap</span>.<span class="pl-en">read</span>()
<span class="pl-s1">ts</span><span class="pl-c1">=</span> <span class="pl-s1">cap</span>.<span class="pl-en">get</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_PROP_POS_MSEC</span>)
<span class="pl-en">print</span>(<span class="pl-s">"ts @ frame 0 after read %.3f"</span><span class="pl-c1">%</span><span class="pl-s1">ts</span>)
<span class="pl-c">#set pos</span>
<span class="pl-s1">cap</span>.<span class="pl-en">set</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_PROP_POS_FRAMES</span>,<span class="pl-c1">5</span>)
<span class="pl-s1">ts</span><span class="pl-c1">=</span> <span class="pl-s1">cap</span>.<span class="pl-en">get</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_PROP_POS_MSEC</span>)
<span class="pl-en">print</span>(<span class="pl-s">"ts @ frame 5 after setPos %.3f"</span><span class="pl-c1">%</span><span class="pl-s1">ts</span>)
<span class="pl-s1">ret</span>,<span class="pl-s1">frame</span><span class="pl-c1">=</span><span class="pl-s1">cap</span>.<span class="pl-en">retrieve</span>()
<span class="pl-s1">ts</span><span class="pl-c1">=</span> <span class="pl-s1">cap</span>.<span class="pl-en">get</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_PROP_POS_MSEC</span>)
<span class="pl-en">print</span>(<span class="pl-s">"ts @ frame 5 after retrieve %.3f"</span><span class="pl-c1">%</span><span class="pl-s1">ts</span>)
<span class="pl-s1">ret</span>,<span class="pl-s1">frame</span><span class="pl-c1">=</span><span class="pl-s1">cap</span>.<span class="pl-en">read</span>()
<span class="pl-s1">ts</span><span class="pl-c1">=</span> <span class="pl-s1">cap</span>.<span class="pl-en">get</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_PROP_POS_MSEC</span>)
<span class="pl-en">print</span>(<span class="pl-s">"ts @ frame 5 after read %.3f"</span><span class="pl-c1">%</span><span class="pl-s1">ts</span>)
<span class="pl-s1">cap</span>.<span class="pl-en">release</span>()
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-k">pass</span></pre></div>
<p dir="auto">Result for Version 4.1.2-1:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Opencv width 720 frames 9000
ts @ frame 0 after read 0.000
ts @ frame 5 after setPos -2969.967
ts @ frame 5 after retrieve -2969.967
ts @ frame 5 after read 520.000"><pre class="notranslate"><code class="notranslate">Opencv width 720 frames 9000
ts @ frame 0 after read 0.000
ts @ frame 5 after setPos -2969.967
ts @ frame 5 after retrieve -2969.967
ts @ frame 5 after read 520.000
</code></pre></div>
<p dir="auto">Result for Version 4.1.1-1:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Opencv width 720 frames 9000
ts @ frame 0 after read 40.000
ts @ frame 5 after setPos 480.000
ts @ frame 5 after retrieve 480.000
ts @ frame 5 after read 520.000"><pre class="notranslate"><code class="notranslate">Opencv width 720 frames 9000
ts @ frame 0 after read 40.000
ts @ frame 5 after setPos 480.000
ts @ frame 5 after retrieve 480.000
ts @ frame 5 after read 520.000
</code></pre></div> | <p dir="auto">Transferred from <a href="http://code.opencv.org/issues/3006" rel="nofollow">http://code.opencv.org/issues/3006</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| Hans Meine on 2013-05-03 10:57
|| Priority: Normal
|| Affected: branch 'master' (2.4.9)
|| Category: highgui-camera
|| Tracker: Bug
|| Difficulty: None
|| PR:
|| Platform: None / None"><pre class="notranslate"><code class="notranslate">|| Hans Meine on 2013-05-03 10:57
|| Priority: Normal
|| Affected: branch 'master' (2.4.9)
|| Category: highgui-camera
|| Tracker: Bug
|| Difficulty: None
|| PR:
|| Platform: None / None
</code></pre></div>
<h2 dir="auto">libv4l capturing backend diverged from v4l backend</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Currently, we have cap_v4l.cpp and cap_libv4l.cpp with a lot of duplicated code, but also some unwanted differences.
For instance, the recent addition of CV_CAP_PROP_POS_MSEC support to the v4l backend was not merged to the libv4l backend.
Do we really want to maintain both completely separately?"><pre class="notranslate"><code class="notranslate">Currently, we have cap_v4l.cpp and cap_libv4l.cpp with a lot of duplicated code, but also some unwanted differences.
For instance, the recent addition of CV_CAP_PROP_POS_MSEC support to the v4l backend was not merged to the libv4l backend.
Do we really want to maintain both completely separately?
</code></pre></div>
<h2 dir="auto">History</h2> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide a description of the new feature</h2>
<p dir="auto">Please respect <code class="notranslate">appwiz.cpl</code>, <code class="notranslate">ncpa.cpl</code>, or <code class="notranslate">gpedit.msc</code>. Actually, anything respected in start menu should be respected in PT Run. This will pave the way to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="672454465" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/5571" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/5571/hovercard" href="https://github.com/microsoft/PowerToys/issues/5571">#5571</a> / <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="634906871" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/4203" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/4203/hovercard" href="https://github.com/microsoft/PowerToys/issues/4203">#4203</a>.</p>
<p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">The titel say almost everything here. But a funktion for saving how application is setup.<br>
So you can add this settings back if Computer get problematic</p> | 0 |
<p dir="auto">It does work occasionally (5% of the time, maybe 10%). Most of the time thou it just hangs</p>
<p dir="auto">Console output</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +60 ms] executing: [/Users/sandervanderwal/Developer/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +38 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git rev-parse --abbrev-ref HEAD
[ +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git ls-remote --get-url origin
[ +9 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git log -n 1 --pretty=format:%H
[ +10 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 9dfc0f3aaa4c31557826fc32bb8b04e3f18ac4d3
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git log -n 1 --pretty=format:%ar
[ +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 5 days ago
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +16 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.10.1-47-g9dfc0f3aa
[ +246 ms] executing: /Users/sandervanderwal/Library/Android/sdk/platform-tools/adb devices -l
[ +7 ms] Exit code 0 from: /Users/sandervanderwal/Library/Android/sdk/platform-tools/adb devices -l
[ ] List of devices attached
[ +4 ms] executing: idevice_id -h
[ +30 ms] /usr/bin/xcrun simctl list --json devices
[ +352 ms] Found plugin image_picker at /Users/sandervanderwal/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.10/
[ +70 ms] Found plugin image_picker at /Users/sandervanderwal/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.10/
[{"event":"daemon.connected","params":{"version":"0.4.2","pid":10427}}]
[{"event":"app.start","params":{"appId":"dd0d4ec4-8536-40cb-87ec-f44bb2a6eba2","deviceId":"62E21162-0AEB-425A-A406-4F12601897D2","directory":"/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp","supportsRestart":true}}]
[+1200 ms] Launching lib/main.dart on iPhone 6 in debug mode...
[ +9 ms] executing: /usr/bin/defaults read /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info CFBundleIdentifier
[ +49 ms] Exit code 0 from: /usr/bin/defaults read /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info CFBundleIdentifier
[ ] $(PRODUCT_BUNDLE_IDENTIFIER)
[ +16 ms] Building Runner.app for 62E21162-0AEB-425A-A406-4F12601897D2.
[ +14 ms] executing: script /dev/null /usr/bin/log stream --style syslog --predicate processImagePath CONTAINS "62E21162-0AEB-425A-A406-4F12601897D2"
[ +48 ms] [DEVICE LOG] log: Must be admin to run 'stream' command
[ +9 ms] [DEVICE LOG] Script started, output file is /dev/null
[ ] [DEVICE LOG]
[ ] [DEVICE LOG] Script done, output file is /dev/null
[ ] log: Must be admin to run 'stream' command
[ ] Script started, output file is /dev/null
[ ] Script done, output file is /dev/null
[ +217 ms] Skipping kernel compilation. Fingerprint match.
[ +205 ms] Building bundle
[ ] Writing asset files to build/flutter_assets
[ +66 ms] Wrote build/flutter_assets
[ +6 ms] Using legacy Xcode build system.
[ +14 ms] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/] /usr/bin/xcodebuild -list
[+1203 ms] Exit code 0 from: /usr/bin/xcodebuild -list
[ ] Information about project "Runner":
Targets:
Runner
Build Configurations:
Debug
Release
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes:
Runner
[ +1 ms] Trying to resolve native pub services.
[ +1 ms] Looking for YAML at 'pubspec.yaml'
[ ] No services specified in the manifest
[ ] Found 0 service definition(s).
[ ] Copying service frameworks to '/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Frameworks'.
[ ] Creating service definitions manifest at '/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/ServiceDefinitions.json'
[ +17 ms] Found plugin image_picker at /Users/sandervanderwal/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.10/
[ +16 ms] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj -target Runner -showBuildSettings
[+1364 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj -target Runner -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = NO
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = sandervanderwal
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
ARCHS = armv7 arm64
ARCHS_STANDARD = armv7 arm64
ARCHS_STANDARD_32_64_BIT = armv7 arm64
ARCHS_STANDARD_32_BIT = armv7
ARCHS_STANDARD_64_BIT = arm64
ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64
ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
BUILD_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
CACHE_ROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CCHROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
CODE_SIGN_IDENTITY = iPhone Developer
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Release
CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
CONFIGURATION_TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator12.0
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = arm64
CURRENT_PROJECT_VERSION = 1
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0
DERIVED_FILES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
EFFECTIVE_PLATFORM_NAME = -iphoneos
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBEDDED_PROFILE_NAME = embedded.mobileprovision
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_NS_ASSERTIONS = NO
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = NO
ENTITLEMENTS_ALLOWED = YES
ENTITLEMENTS_DESTINATION = Signature
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_BUILD_NAME = 1.0.0
FLUTTER_BUILD_NUMBER = 1
FLUTTER_FRAMEWORK_DIR = /Users/sandervanderwal/Developer/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/sandervanderwal/Developer/flutter
FLUTTER_TARGET = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 COCOAPODS=1
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_THUMB_SUPPORT = YES
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/sandervanderwal
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = sandervanderwal
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 8.0
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_arm64 =
LINK_FILE_LIST_normal_armv7 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 18B45d
MAC_OS_X_VERSION_ACTUAL = 101401
MAC_OS_X_VERSION_MAJOR = 101400
MAC_OS_X_VERSION_MINOR = 1401
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/Runner.app
MODULE_CACHE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
MTL_ENABLE_DEBUG_INFO = NO
NATIVE_ARCH = armv7
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJECT_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal
OBJROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
ONLY_ACTIVE_ARCH = NO
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers"
OTHER_LDFLAGS = -framework "Flutter" -framework "image_picker" -framework "Flutter" -framework "image_picker"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:~/Developer/flutter/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
PLATFORM_DISPLAY_NAME = iOS
PLATFORM_NAME = iphoneos
PLATFORM_PREFERRED_ARCH = arm64
PLATFORM_PRODUCT_BUILD_VERSION = 16A366
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
PODS_PODFILE_DIR_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/.
PODS_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.maxdoro.InSZicht.waarnemingenapp
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/DerivedSources
PROJECT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
PROJECT_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build
PROJECT_TEMP_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
PROVISIONING_PROFILE_REQUIRED = YES
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
RESOURCE_RULES_REQUIRED = YES
REZ_COLLECTOR_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
SDK_DIR_iphoneos12_0 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
SDK_NAME = iphoneos12.0
SDK_NAMES = iphoneos12.0
SDK_PRODUCT_BUILD_VERSION = 16A366
SDK_VERSION = 12.0
SDK_VERSION_ACTUAL = 120000
SDK_VERSION_MAJOR = 120000
SDK_VERSION_MINOR = 000
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/SharedPrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
SRCROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = YES
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_COMPILATION_MODE = wholemodule
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -O
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = On
SWIFT_VERSION = 4.0
SYMROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1,2
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 501
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = sandervanderwal
USER_APPS_DIR = /Users/sandervanderwal/Applications
USER_LIBRARY_DIR = /Users/sandervanderwal/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = YES
VALID_ARCHS = arm64 armv7 armv7s
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = sandervanderwal
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_PRODUCT_BUILD_VERSION = 10A254a
XCODE_VERSION_ACTUAL = 1000
XCODE_VERSION_MAJOR = 1000
XCODE_VERSION_MINOR = 1000
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = arm64
variant = normal
[ +13 ms] executing: pod --version
[ +528 ms] 1.5.3
Starting Xcode build...
[{"event":"app.progress","params":{"appId":"dd0d4ec4-8536-40cb-87ec-f44bb2a6eba2","id":"0","progressId":null,"message":"Starting Xcode build..."}}]
[ +6 ms] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios -sdk iphonesimulator -arch x86_64
[+8124 ms] === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
[{"event":"app.progress","params":{"appId":"dd0d4ec4-8536-40cb-87ec-f44bb2a6eba2","id":"0","progressId":null,"finished":true}}]
[ +10 ms] Xcode build done. 8.1s
[ ] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[+1225 ms] Exit code 0 from: /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = YES
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = sandervanderwal
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
ARCHS = x86_64
ARCHS_STANDARD = i386 x86_64
ARCHS_STANDARD_32_64_BIT = i386 x86_64
ARCHS_STANDARD_32_BIT = i386
ARCHS_STANDARD_64_BIT = x86_64
ARCHS_STANDARD_INCLUDING_64_BIT = i386 x86_64
ARCHS_UNIVERSAL_IPHONE_OS = i386 x86_64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
BUILD_ROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Products
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
CACHE_ROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CCHROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneSimulatorCodeSignContext
CODE_SIGN_IDENTITY = -
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Debug
CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
CONFIGURATION_TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_DEVICE_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
CORRESPONDING_DEVICE_PLATFORM_NAME = iphoneos
CORRESPONDING_DEVICE_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
CORRESPONDING_DEVICE_SDK_NAME = iphoneos12.0
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = x86_64
CURRENT_PROJECT_VERSION = 1
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = mios-simulator-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -mios-simulator-version-min=
DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_simulator_version_min
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0
DERIVED_FILES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
EFFECTIVE_PLATFORM_NAME = -iphonesimulator
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
ENTITLEMENTS_DESTINATION = __entitlements
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_BUILD_NAME = 1.0.0
FLUTTER_BUILD_NUMBER = 1
FLUTTER_FRAMEWORK_DIR = /Users/sandervanderwal/Developer/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/sandervanderwal/Developer/flutter
FLUTTER_TARGET = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_DYNAMIC_NO_PIC = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_OBJC_LEGACY_DISPATCH = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1 COCOAPODS=1
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/sandervanderwal
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = sandervanderwal
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 8.0
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-LinkMap-normal-x86_64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_x86_64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LLVM_TARGET_TRIPLE_SUFFIX = -simulator
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 18B45d
MAC_OS_X_VERSION_ACTUAL = 101401
MAC_OS_X_VERSION_MAJOR = 101400
MAC_OS_X_VERSION_MINOR = 1401
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/Runner.app
MODULE_CACHE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
MTL_ENABLE_DEBUG_INFO = YES
NATIVE_ARCH = i386
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJC_ABI_VERSION = 2
OBJECT_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal
OBJROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex
ONLY_ACTIVE_ARCH = YES
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers"
OTHER_LDFLAGS = -framework "Flutter" -framework "image_picker" -framework "Flutter" -framework "image_picker"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:~/Developer/flutter/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
PLATFORM_DISPLAY_NAME = iOS Simulator
PLATFORM_NAME = iphonesimulator
PLATFORM_PREFERRED_ARCH = x86_64
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
PODS_PODFILE_DIR_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/.
PODS_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.maxdoro.InSZicht.waarnemingenapp
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/DerivedSources
PROJECT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
PROJECT_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build
PROJECT_TEMP_ROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
REZ_COLLECTOR_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
SDK_DIR_iphonesimulator12_0 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
SDK_NAME = iphonesimulator12.0
SDK_NAMES = iphonesimulator12.0
SDK_PRODUCT_BUILD_VERSION = 16A366
SDK_VERSION = 12.0
SDK_VERSION_ACTUAL = 120000
SDK_VERSION_MAJOR = 120000
SDK_VERSION_MINOR = 000
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/PrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
SRCROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = NO
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -Onone
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = On
SWIFT_VERSION = 4.0
SYMROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Products
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1,2
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_ROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 501
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = sandervanderwal
USER_APPS_DIR = /Users/sandervanderwal/Applications
USER_LIBRARY_DIR = /Users/sandervanderwal/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = NO
VALID_ARCHS = i386 x86_64
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = sandervanderwal
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_PRODUCT_BUILD_VERSION = 10A254a
XCODE_VERSION_ACTUAL = 1000
XCODE_VERSION_MAJOR = 1000
XCODE_VERSION_MINOR = 1000
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = x86_64
variant = normal
[ +203 ms] executing: /usr/bin/xcrun simctl install 62E21162-0AEB-425A-A406-4F12601897D2 /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/iphonesimulator/Runner.app
[ +757 ms] executing: /usr/bin/xcrun simctl launch 62E21162-0AEB-425A-A406-4F12601897D2 com.maxdoro.InSZicht.waarnemingenapp --enable-dart-profiling --enable-checked-mode --start-paused --observatory-port=0
[ +467 ms] com.maxdoro.InSZicht.waarnemingenapp: 10697
[ ] Waiting for observatory port to be available..."><pre class="notranslate"><code class="notranslate">[ +60 ms] executing: [/Users/sandervanderwal/Developer/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +38 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git rev-parse --abbrev-ref HEAD
[ +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git ls-remote --get-url origin
[ +9 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git log -n 1 --pretty=format:%H
[ +10 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 9dfc0f3aaa4c31557826fc32bb8b04e3f18ac4d3
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git log -n 1 --pretty=format:%ar
[ +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 5 days ago
[ ] executing: [/Users/sandervanderwal/Developer/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +16 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.10.1-47-g9dfc0f3aa
[ +246 ms] executing: /Users/sandervanderwal/Library/Android/sdk/platform-tools/adb devices -l
[ +7 ms] Exit code 0 from: /Users/sandervanderwal/Library/Android/sdk/platform-tools/adb devices -l
[ ] List of devices attached
[ +4 ms] executing: idevice_id -h
[ +30 ms] /usr/bin/xcrun simctl list --json devices
[ +352 ms] Found plugin image_picker at /Users/sandervanderwal/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.10/
[ +70 ms] Found plugin image_picker at /Users/sandervanderwal/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.10/
[{"event":"daemon.connected","params":{"version":"0.4.2","pid":10427}}]
[{"event":"app.start","params":{"appId":"dd0d4ec4-8536-40cb-87ec-f44bb2a6eba2","deviceId":"62E21162-0AEB-425A-A406-4F12601897D2","directory":"/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp","supportsRestart":true}}]
[+1200 ms] Launching lib/main.dart on iPhone 6 in debug mode...
[ +9 ms] executing: /usr/bin/defaults read /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info CFBundleIdentifier
[ +49 ms] Exit code 0 from: /usr/bin/defaults read /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info CFBundleIdentifier
[ ] $(PRODUCT_BUNDLE_IDENTIFIER)
[ +16 ms] Building Runner.app for 62E21162-0AEB-425A-A406-4F12601897D2.
[ +14 ms] executing: script /dev/null /usr/bin/log stream --style syslog --predicate processImagePath CONTAINS "62E21162-0AEB-425A-A406-4F12601897D2"
[ +48 ms] [DEVICE LOG] log: Must be admin to run 'stream' command
[ +9 ms] [DEVICE LOG] Script started, output file is /dev/null
[ ] [DEVICE LOG]
[ ] [DEVICE LOG] Script done, output file is /dev/null
[ ] log: Must be admin to run 'stream' command
[ ] Script started, output file is /dev/null
[ ] Script done, output file is /dev/null
[ +217 ms] Skipping kernel compilation. Fingerprint match.
[ +205 ms] Building bundle
[ ] Writing asset files to build/flutter_assets
[ +66 ms] Wrote build/flutter_assets
[ +6 ms] Using legacy Xcode build system.
[ +14 ms] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/] /usr/bin/xcodebuild -list
[+1203 ms] Exit code 0 from: /usr/bin/xcodebuild -list
[ ] Information about project "Runner":
Targets:
Runner
Build Configurations:
Debug
Release
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes:
Runner
[ +1 ms] Trying to resolve native pub services.
[ +1 ms] Looking for YAML at 'pubspec.yaml'
[ ] No services specified in the manifest
[ ] Found 0 service definition(s).
[ ] Copying service frameworks to '/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Frameworks'.
[ ] Creating service definitions manifest at '/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/ServiceDefinitions.json'
[ +17 ms] Found plugin image_picker at /Users/sandervanderwal/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.10/
[ +16 ms] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj -target Runner -showBuildSettings
[+1364 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj -target Runner -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = NO
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = sandervanderwal
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
ARCHS = armv7 arm64
ARCHS_STANDARD = armv7 arm64
ARCHS_STANDARD_32_64_BIT = armv7 arm64
ARCHS_STANDARD_32_BIT = armv7
ARCHS_STANDARD_64_BIT = arm64
ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64
ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
BUILD_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
CACHE_ROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CCHROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
CODE_SIGN_IDENTITY = iPhone Developer
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Release
CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
CONFIGURATION_TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator12.0
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = arm64
CURRENT_PROJECT_VERSION = 1
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0
DERIVED_FILES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
EFFECTIVE_PLATFORM_NAME = -iphoneos
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBEDDED_PROFILE_NAME = embedded.mobileprovision
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_NS_ASSERTIONS = NO
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = NO
ENTITLEMENTS_ALLOWED = YES
ENTITLEMENTS_DESTINATION = Signature
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_BUILD_NAME = 1.0.0
FLUTTER_BUILD_NUMBER = 1
FLUTTER_FRAMEWORK_DIR = /Users/sandervanderwal/Developer/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/sandervanderwal/Developer/flutter
FLUTTER_TARGET = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 COCOAPODS=1
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_THUMB_SUPPORT = YES
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/sandervanderwal
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = sandervanderwal
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 8.0
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_arm64 =
LINK_FILE_LIST_normal_armv7 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 18B45d
MAC_OS_X_VERSION_ACTUAL = 101401
MAC_OS_X_VERSION_MAJOR = 101400
MAC_OS_X_VERSION_MINOR = 1401
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/Runner.app
MODULE_CACHE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
MTL_ENABLE_DEBUG_INFO = NO
NATIVE_ARCH = armv7
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJECT_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal
OBJROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
ONLY_ACTIVE_ARCH = NO
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/image_picker/image_picker.framework/Headers"
OTHER_LDFLAGS = -framework "Flutter" -framework "image_picker" -framework "Flutter" -framework "image_picker"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:~/Developer/flutter/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
PLATFORM_DISPLAY_NAME = iOS
PLATFORM_NAME = iphoneos
PLATFORM_PREFERRED_ARCH = arm64
PLATFORM_PRODUCT_BUILD_VERSION = 16A366
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
PODS_PODFILE_DIR_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/.
PODS_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.maxdoro.InSZicht.waarnemingenapp
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/DerivedSources
PROJECT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
PROJECT_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build
PROJECT_TEMP_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
PROVISIONING_PROFILE_REQUIRED = YES
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
RESOURCE_RULES_REQUIRED = YES
REZ_COLLECTOR_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
SDK_DIR_iphoneos12_0 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
SDK_NAME = iphoneos12.0
SDK_NAMES = iphoneos12.0
SDK_PRODUCT_BUILD_VERSION = 16A366
SDK_VERSION = 12.0
SDK_VERSION_ACTUAL = 120000
SDK_VERSION_MAJOR = 120000
SDK_VERSION_MINOR = 000
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/SharedPrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
SRCROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = YES
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_COMPILATION_MODE = wholemodule
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -O
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = On
SWIFT_VERSION = 4.0
SYMROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1,2
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Release-iphoneos
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILES_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 501
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = sandervanderwal
USER_APPS_DIR = /Users/sandervanderwal/Applications
USER_LIBRARY_DIR = /Users/sandervanderwal/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = YES
VALID_ARCHS = arm64 armv7 armv7s
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = sandervanderwal
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_PRODUCT_BUILD_VERSION = 10A254a
XCODE_VERSION_ACTUAL = 1000
XCODE_VERSION_MAJOR = 1000
XCODE_VERSION_MINOR = 1000
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = arm64
variant = normal
[ +13 ms] executing: pod --version
[ +528 ms] 1.5.3
Starting Xcode build...
[{"event":"app.progress","params":{"appId":"dd0d4ec4-8536-40cb-87ec-f44bb2a6eba2","id":"0","progressId":null,"message":"Starting Xcode build..."}}]
[ +6 ms] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios -sdk iphonesimulator -arch x86_64
[+8124 ms] === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
[{"event":"app.progress","params":{"appId":"dd0d4ec4-8536-40cb-87ec-f44bb2a6eba2","id":"0","progressId":null,"finished":true}}]
[ +10 ms] Xcode build done. 8.1s
[ ] executing: [/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[+1225 ms] Exit code 0 from: /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = YES
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = sandervanderwal
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
ARCHS = x86_64
ARCHS_STANDARD = i386 x86_64
ARCHS_STANDARD_32_64_BIT = i386 x86_64
ARCHS_STANDARD_32_BIT = i386
ARCHS_STANDARD_64_BIT = x86_64
ARCHS_STANDARD_INCLUDING_64_BIT = i386 x86_64
ARCHS_UNIVERSAL_IPHONE_OS = i386 x86_64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
BUILD_ROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Products
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
CACHE_ROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CCHROOT = /var/folders/_x/10yfn4t50h5bnlr5ys8b8tph0000gn/C/com.apple.DeveloperTools/10.0-10A254a/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneSimulatorCodeSignContext
CODE_SIGN_IDENTITY = -
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Debug
CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
CONFIGURATION_TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_DEVICE_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
CORRESPONDING_DEVICE_PLATFORM_NAME = iphoneos
CORRESPONDING_DEVICE_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
CORRESPONDING_DEVICE_SDK_NAME = iphoneos12.0
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = x86_64
CURRENT_PROJECT_VERSION = 1
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = mios-simulator-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -mios-simulator-version-min=
DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_simulator_version_min
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0
DERIVED_FILES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
EFFECTIVE_PLATFORM_NAME = -iphonesimulator
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
ENTITLEMENTS_DESTINATION = __entitlements
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_BUILD_NAME = 1.0.0
FLUTTER_BUILD_NUMBER = 1
FLUTTER_FRAMEWORK_DIR = /Users/sandervanderwal/Developer/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/sandervanderwal/Developer/flutter
FLUTTER_TARGET = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker" "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods/../.symlinks/flutter/ios" /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_DYNAMIC_NO_PIC = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_OBJC_LEGACY_DISPATCH = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1 COCOAPODS=1
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/sandervanderwal
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = sandervanderwal
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 8.0
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-LinkMap-normal-x86_64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_x86_64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LLVM_TARGET_TRIPLE_SUFFIX = -simulator
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 18B45d
MAC_OS_X_VERSION_ACTUAL = 101401
MAC_OS_X_VERSION_MAJOR = 101400
MAC_OS_X_VERSION_MINOR = 1401
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/Runner.app
MODULE_CACHE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
MTL_ENABLE_DEBUG_INFO = YES
NATIVE_ARCH = i386
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJC_ABI_VERSION = 2
OBJECT_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal
OBJROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex
ONLY_ACTIVE_ARCH = YES
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers" -iquote "/Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/image_picker/image_picker.framework/Headers"
OTHER_LDFLAGS = -framework "Flutter" -framework "image_picker" -framework "Flutter" -framework "image_picker"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:~/Developer/flutter/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
PLATFORM_DISPLAY_NAME = iOS Simulator
PLATFORM_NAME = iphonesimulator
PLATFORM_PREFERRED_ARCH = x86_64
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
PODS_PODFILE_DIR_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/.
PODS_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.maxdoro.InSZicht.waarnemingenapp
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/DerivedSources
PROJECT_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
PROJECT_FILE_PATH = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build
PROJECT_TEMP_ROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
REZ_COLLECTOR_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
SDK_DIR_iphonesimulator12_0 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
SDK_NAME = iphonesimulator12.0
SDK_NAMES = iphonesimulator12.0
SDK_PRODUCT_BUILD_VERSION = 16A366
SDK_VERSION = 12.0
SDK_VERSION_ACTUAL = 120000
SDK_VERSION_MAJOR = 120000
SDK_VERSION_MINOR = 000
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/PrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
SRCROOT = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = NO
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -Onone
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = On
SWIFT_VERSION = 4.0
SYMROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Products
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1,2
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/Debug-iphonesimulator
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILES_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILE_DIR = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_ROOT = /Users/sandervanderwal/Library/Developer/Xcode/DerivedData/Runner-gpzuxnerozcwwthanxgoxtjefawf/Build/Intermediates.noindex
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 501
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = sandervanderwal
USER_APPS_DIR = /Users/sandervanderwal/Applications
USER_LIBRARY_DIR = /Users/sandervanderwal/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = NO
VALID_ARCHS = i386 x86_64
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = sandervanderwal
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_PRODUCT_BUILD_VERSION = 10A254a
XCODE_VERSION_ACTUAL = 1000
XCODE_VERSION_MAJOR = 1000
XCODE_VERSION_MINOR = 1000
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = x86_64
variant = normal
[ +203 ms] executing: /usr/bin/xcrun simctl install 62E21162-0AEB-425A-A406-4F12601897D2 /Users/sandervanderwal/Projects/maxdoro/waarnemingenapp/build/ios/iphonesimulator/Runner.app
[ +757 ms] executing: /usr/bin/xcrun simctl launch 62E21162-0AEB-425A-A406-4F12601897D2 com.maxdoro.InSZicht.waarnemingenapp --enable-dart-profiling --enable-checked-mode --start-paused --observatory-port=0
[ +467 ms] com.maxdoro.InSZicht.waarnemingenapp: 10697
[ ] Waiting for observatory port to be available...
</code></pre></div> | <p dir="auto"><em><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/csterritt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/csterritt">@csterritt</a> commented on Jun 12, 2018, 12:07 AM UTC:</em></p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Ran <code class="notranslate">flutter create first_try</code>, cd'd into that directory. <code class="notranslate">flutter run</code> works, comes up fine in the iOS emulator. I can run in IntelliJ with the "Run" command (green triangle), but no hot-reload.</p>
<p dir="auto">If I run with "Debug" command (green bug), I get the empty white screen on the iOS emulator, and the following output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone X in debug mode...
log: Must be admin to run 'stream' command
Script started, output file is /dev/null
Script done, output file is /dev/null
Starting Xcode build...
Xcode build done.
"><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone X in debug mode...
log: Must be admin to run 'stream' command
Script started, output file is /dev/null
Script done, output file is /dev/null
Starting Xcode build...
Xcode build done.
</code></pre></div>
<h2 dir="auto">Version info</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter doctor -v
[✓] Flutter (Channel beta, v0.4.4, on Mac OS X 10.13.5 17F77, locale en-US)
• Flutter version 0.4.4 at /Volumes/Second/Chris/hacks/flutter/flutter
• Framework revision f9bb4289e9 (4 weeks ago), 2018-05-11 21:44:54 -0700
• Engine revision 06afdfe54e
• Dart version 2.0.0-dev.54.0.flutter-46ab040e58
[!] Android toolchain - develop for Android devices (Android SDK 28.0.0)
• Android SDK at /Users/chris/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.0
• Java binary at: /Users/chris/hacks/flutter/jdk-10.0.1.jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 10.0.1+10)
✗ Android license status unknown.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4, Build version 9F1027a
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✗] Android Studio (not installed)
• Android Studio not found; download from [https://developer.android.com/studio/index.html](https://developer.android.com/studio/index.html)
(or visit [https://flutter.io/setup/#android-setup](https://flutter.io/setup/#android-setup) for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2018.1.4)
• IntelliJ at /Users/chris/Applications/IntelliJ IDEA CE.app
• Flutter plugin version 25.0.2
• Dart plugin version 181.4892.1
[!] VS Code (version 1.24.0)
• VS Code at /Users/chris/Applications/Visual Studio Code.app/Contents
• Dart Code extension not installed; install from
[https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code](https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code)
[✓] Connected devices (1 available)
• iPhone X • D34D5096-B3F9-4930-822B-48D3BD71B83D • ios • iOS 11.4 (simulator)
! Doctor found issues in 3 categories."><pre class="notranslate"><code class="notranslate">$ flutter doctor -v
[✓] Flutter (Channel beta, v0.4.4, on Mac OS X 10.13.5 17F77, locale en-US)
• Flutter version 0.4.4 at /Volumes/Second/Chris/hacks/flutter/flutter
• Framework revision f9bb4289e9 (4 weeks ago), 2018-05-11 21:44:54 -0700
• Engine revision 06afdfe54e
• Dart version 2.0.0-dev.54.0.flutter-46ab040e58
[!] Android toolchain - develop for Android devices (Android SDK 28.0.0)
• Android SDK at /Users/chris/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.0
• Java binary at: /Users/chris/hacks/flutter/jdk-10.0.1.jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 10.0.1+10)
✗ Android license status unknown.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4, Build version 9F1027a
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✗] Android Studio (not installed)
• Android Studio not found; download from [https://developer.android.com/studio/index.html](https://developer.android.com/studio/index.html)
(or visit [https://flutter.io/setup/#android-setup](https://flutter.io/setup/#android-setup) for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2018.1.4)
• IntelliJ at /Users/chris/Applications/IntelliJ IDEA CE.app
• Flutter plugin version 25.0.2
• Dart plugin version 181.4892.1
[!] VS Code (version 1.24.0)
• VS Code at /Users/chris/Applications/Visual Studio Code.app/Contents
• Dart Code extension not installed; install from
[https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code](https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code)
[✓] Connected devices (1 available)
• iPhone X • D34D5096-B3F9-4930-822B-48D3BD71B83D • ios • iOS 11.4 (simulator)
! Doctor found issues in 3 categories.
</code></pre></div>
<p dir="auto"><em>This issue was moved by <a href="https://github.com/devoncarew">devoncarew</a> from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="331392362" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter-intellij/issues/2360" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter-intellij/issues/2360/hovercard" href="https://github.com/flutter/flutter-intellij/issues/2360">flutter/flutter-intellij/issues/2360</a>.</em></p> | 1 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
Bug</p>
<p dir="auto"><strong>What is the current behavior?</strong><br>
A bunch of async child chunks in my application require a common dependency (which lives within my repo). The common dependency also has its own 3rd party dependencies (in node_modules). Webpack creates two output chunks which <strong>both</strong> include the 3rd party dependencies:</p>
<ul dir="auto">
<li>childA~childB~childC</li>
<li>vendors~childA~childB~childC</li>
</ul>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<ul dir="auto">
<li>Use default chunk-splitting behavior</li>
<li>Have several async child chunks</li>
<li>Have a large common 1st party (non-node_modules) dependency between those chunks</li>
<li>1st party common dependency has large 3rd party dependencies</li>
</ul>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
The 3rd party code should only be present in one chunk, not both.</p>
<p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.</strong><br>
Webpack: v4.0.0-beta.0<br>
Node: 8.x</p> | <h2 dir="auto">Feature request</h2>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
When using the default optimization with Webpack 4.8.2, the compiled code should be able to run on Safari 10.</p>
<p dir="auto">However, the default UglifyJs configuration when using the default optimization with Webpack does not allow this to happen.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8270120/48293125-6cd20100-e432-11e8-995d-f4a6419971d6.png"><img src="https://user-images.githubusercontent.com/8270120/48293125-6cd20100-e432-11e8-995d-f4a6419971d6.png" alt="screen shot 2018-11-09 at 3 15 22 pm" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong><br>
Some code will error on load on Safari 10.</p>
<p dir="auto"><strong>How should this be implemented in your opinion?</strong><br>
The override that I've specified in my config to prevent this error is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" optimization: {
minimizer: [
new UglifyJsPlugin({
cache: true,
parallel: true,
uglifyOptions: {
mangle: {
safari10: true,
},
},
}),
],
},
"><pre class="notranslate"><code class="notranslate"> optimization: {
minimizer: [
new UglifyJsPlugin({
cache: true,
parallel: true,
uglifyOptions: {
mangle: {
safari10: true,
},
},
}),
],
},
</code></pre></div>
<p dir="auto"><strong>Are you willing to work on this yourself?</strong><br>
possibly</p> | 0 |
<h2 dir="auto">🚀 Feature</h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class A(nn.Module):
def forward(self, x):
if torch.jit.is_scripting() or not torch.jit.is_tracing():
return x + 1
else:
return x + 2
a = A()
script = torch.jit.script(a)"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">A</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>):
<span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">x</span>):
<span class="pl-k">if</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">is_scripting</span>() <span class="pl-c1">or</span> <span class="pl-c1">not</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">is_tracing</span>():
<span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>
<span class="pl-k">else</span>:
<span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">+</span> <span class="pl-c1">2</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-v">A</span>()
<span class="pl-s1">script</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">script</span>(<span class="pl-s1">a</span>)</pre></div>
<p dir="auto">prints</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeError:
Python builtin <built-in method _is_tracing of PyCapsule object at 0x7fd9ad2d8e70> is currently not supported in Torchscript:
File "/torch/jit/_trace.py", line 979
code with ``torch.jit.trace``) and ``False`` otherwise.
"""
return torch._C._is_tracing()
~~~~~~~~~~~~~~~~~~~~ <--- HERE
'is_tracing' is being compiled since it was called from 'A.forward'
File "a.py", line 20
def forward(self, x):
if torch.jit.is_scripting() or not torch.jit.is_tracing():
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
return x + 1
else: "><pre class="notranslate"><code class="notranslate">RuntimeError:
Python builtin <built-in method _is_tracing of PyCapsule object at 0x7fd9ad2d8e70> is currently not supported in Torchscript:
File "/torch/jit/_trace.py", line 979
code with ``torch.jit.trace``) and ``False`` otherwise.
"""
return torch._C._is_tracing()
~~~~~~~~~~~~~~~~~~~~ <--- HERE
'is_tracing' is being compiled since it was called from 'A.forward'
File "a.py", line 20
def forward(self, x):
if torch.jit.is_scripting() or not torch.jit.is_tracing():
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
return x + 1
else:
</code></pre></div>
<h2 dir="auto">Motivation</h2>
<p dir="auto">we have some code that works in eager & scripting mode, but need a different codepath in tracing mode to handle dynamic shapes.</p>
<p dir="auto">Workaround: this works, at the cost of duplicating the eager/scripting codeblock:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" if torch.jit.is_scripting():
return x + 1
else:
if not torch.jit.is_tracing():
return x + 1
else:
return x + 2"><pre class="notranslate"> <span class="pl-k">if</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">is_scripting</span>():
<span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>
<span class="pl-k">else</span>:
<span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">is_tracing</span>():
<span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>
<span class="pl-k">else</span>:
<span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">+</span> <span class="pl-c1">2</span></pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gmagogsfm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gmagogsfm">@gmagogsfm</a></p> | <p dir="auto">The gather function gives incorrect gradients on both CPU and GPU when using repeated indices; no warnings or errors are raised, and the documentation doesn't say anything about this. I've seen this discussed a bit on slack, but couldn't find any issues for it on GitHub.</p>
<p dir="auto">Here's a small test case (using PyTorch 0.1.12_2 on Ubuntu 16.04):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch
from torch.autograd import Variable
def gather_test(dtype):
x = torch.FloatTensor([0.1])
i = torch.LongTensor([0, 0])
x = Variable(x.type(dtype), requires_grad=True)
i = Variable(i.type(dtype).long())
y = x.gather(0, i)
dy = torch.FloatTensor([0.2, 0.3]).type(dtype)
y.backward(dy)
print('dtype: ', dtype)
print('x: ', x.data.cpu().numpy())
print('i: ', i.data.cpu().numpy())
print('y: ', y.data.cpu().numpy())
print('dy: ', dy.cpu().numpy())
print('dx: ', x.grad.data.cpu().numpy())
gather_test(torch.FloatTensor)
gather_test(torch.cuda.FloatTensor)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span>
<span class="pl-k">from</span> <span class="pl-s1">torch</span>.<span class="pl-s1">autograd</span> <span class="pl-k">import</span> <span class="pl-v">Variable</span>
<span class="pl-k">def</span> <span class="pl-en">gather_test</span>(<span class="pl-s1">dtype</span>):
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-c1">0.1</span>])
<span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">LongTensor</span>([<span class="pl-c1">0</span>, <span class="pl-c1">0</span>])
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">x</span>.<span class="pl-en">type</span>(<span class="pl-s1">dtype</span>), <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">i</span>.<span class="pl-en">type</span>(<span class="pl-s1">dtype</span>).<span class="pl-en">long</span>())
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">gather</span>(<span class="pl-c1">0</span>, <span class="pl-s1">i</span>)
<span class="pl-s1">dy</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-c1">0.2</span>, <span class="pl-c1">0.3</span>]).<span class="pl-en">type</span>(<span class="pl-s1">dtype</span>)
<span class="pl-s1">y</span>.<span class="pl-en">backward</span>(<span class="pl-s1">dy</span>)
<span class="pl-en">print</span>(<span class="pl-s">'dtype: '</span>, <span class="pl-s1">dtype</span>)
<span class="pl-en">print</span>(<span class="pl-s">'x: '</span>, <span class="pl-s1">x</span>.<span class="pl-s1">data</span>.<span class="pl-en">cpu</span>().<span class="pl-en">numpy</span>())
<span class="pl-en">print</span>(<span class="pl-s">'i: '</span>, <span class="pl-s1">i</span>.<span class="pl-s1">data</span>.<span class="pl-en">cpu</span>().<span class="pl-en">numpy</span>())
<span class="pl-en">print</span>(<span class="pl-s">'y: '</span>, <span class="pl-s1">y</span>.<span class="pl-s1">data</span>.<span class="pl-en">cpu</span>().<span class="pl-en">numpy</span>())
<span class="pl-en">print</span>(<span class="pl-s">'dy: '</span>, <span class="pl-s1">dy</span>.<span class="pl-en">cpu</span>().<span class="pl-en">numpy</span>())
<span class="pl-en">print</span>(<span class="pl-s">'dx: '</span>, <span class="pl-s1">x</span>.<span class="pl-s1">grad</span>.<span class="pl-s1">data</span>.<span class="pl-en">cpu</span>().<span class="pl-en">numpy</span>())
<span class="pl-en">gather_test</span>(<span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>)
<span class="pl-en">gather_test</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">FloatTensor</span>)</pre></div>
<p dir="auto">This gives the output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dtype: <class 'torch.FloatTensor'>
x: [ 0.1]
i: [0 0]
y: [ 0.1 0.1]
dy: [ 0.2 0.30000001]
dx: [ 0.30000001]
dtype: <class 'torch.cuda.FloatTensor'>
x: [ 0.1]
i: [0 0]
y: [ 0.1 0.1]
dy: [ 0.2 0.30000001]
dx: [ 0.30000001]"><pre class="notranslate"><code class="notranslate">dtype: <class 'torch.FloatTensor'>
x: [ 0.1]
i: [0 0]
y: [ 0.1 0.1]
dy: [ 0.2 0.30000001]
dx: [ 0.30000001]
dtype: <class 'torch.cuda.FloatTensor'>
x: [ 0.1]
i: [0 0]
y: [ 0.1 0.1]
dy: [ 0.2 0.30000001]
dx: [ 0.30000001]
</code></pre></div>
<p dir="auto">For this example I expect dx to be [0.5] since the first element of x is duplicated to both elements of y; however instead of summing the elements of dy, the gather backward pass simply chooses one of the elements of dy corresponding to the element of x.</p>
<p dir="auto">In this particular example we could use <code class="notranslate">index_select</code> instead of <code class="notranslate">gather</code>, but there are a lot of situations where <code class="notranslate">index_select</code> cannot substitute for <code class="notranslate">gather</code>; it would thus be extremely useful if <code class="notranslate">gather</code> could support repeated indices.</p> | 0 |
<p dir="auto">I have noticed that running <code class="notranslate">Base.runtests(["core"])</code> fails, but running <code class="notranslate">make test-core</code> does not. This is reproducible on linux x86_64 and macOS aarch64 on both latest <code class="notranslate">master</code> (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/63f5b8a1654a77a91eccd619a665da5080ea6058/hovercard" href="https://github.com/JuliaLang/julia/commit/63f5b8a1654a77a91eccd619a665da5080ea6058"><tt>63f5b8a</tt></a> as of this writing) and <code class="notranslate">v1.7.0</code>, but not on anything earlier, like <code class="notranslate">1.6.4</code>.</p>
<p dir="auto">These three tests fail: </p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/JuliaLang/julia/blob/63f5b8a1654a77a91eccd619a665da5080ea6058/test/core.jl#L3521-L3523">julia/test/core.jl</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 3521 to 3523
in
<a data-pjax="true" class="commit-tease-sha" href="/JuliaLang/julia/commit/63f5b8a1654a77a91eccd619a665da5080ea6058">63f5b8a</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L3521" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="3521"></td>
<td id="LC3521" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">@test_throws</span> ErrorException Vararg{Int, N} <span class="pl-k">where</span> N<span class="pl-k"><:</span><span class="pl-c1">T</span> <span class="pl-k">where</span> T </td>
</tr>
<tr class="border-0">
<td id="L3522" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="3522"></td>
<td id="LC3522" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">@test_throws</span> ErrorException Vararg{Int, N} <span class="pl-k">where</span> N<span class="pl-k"><:</span><span class="pl-c1">Integer</span> </td>
</tr>
<tr class="border-0">
<td id="L3523" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="3523"></td>
<td id="LC3523" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">@test_throws</span> ErrorException Vararg{Int, N} <span class="pl-k">where</span> N<span class="pl-k">>:</span><span class="pl-c1">Integer</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">Intriguingly, when input directly into the REPL of a new session, these statements do not cause a problem on 1.6.4 or 1.7, although they do give different answers:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ julia-1.7.0 -E 'Vararg{Int, N} where N<:T where T'
Vararg{Int64}
$ julia-1.6.4 -E 'Vararg{Int, N} where N<:T where T'
Vararg{Int64, N} where {T, N<:T}"><pre class="notranslate"><code class="notranslate">$ julia-1.7.0 -E 'Vararg{Int, N} where N<:T where T'
Vararg{Int64}
$ julia-1.6.4 -E 'Vararg{Int, N} where N<:T where T'
Vararg{Int64, N} where {T, N<:T}
</code></pre></div>
<p dir="auto">I'm not sure what changes occur to the running Julia session when running <code class="notranslate">make test-core</code>. Is it expected that, at all times, these tests should cause errors?</p> | <p dir="auto">In Julia 1.5-rc1, recursive calls were easy to find in the stacktrace:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> @noinline countdown(x = 10) = x == 0 ? error("hi") : countdown(x - 1)
countdown (generic function with 2 methods)
julia> countdown()
ERROR: hi
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] countdown(::Int64) at ./REPL[1]:1 (repeats 12 times)
[3] top-level scope at REPL[2]:1"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">@noinline</span> <span class="pl-en">countdown</span>(x <span class="pl-k">=</span> <span class="pl-c1">10</span>) <span class="pl-k">=</span> x <span class="pl-k">==</span> <span class="pl-c1">0</span> <span class="pl-k">?</span> <span class="pl-c1">error</span>(<span class="pl-s"><span class="pl-pds">"</span>hi<span class="pl-pds">"</span></span>) <span class="pl-k">:</span> <span class="pl-c1">countdown</span>(x <span class="pl-k">-</span> <span class="pl-c1">1</span>)
countdown (generic <span class="pl-k">function</span> with <span class="pl-c1">2</span> methods)
julia<span class="pl-k">></span> <span class="pl-c1">countdown</span>()
ERROR<span class="pl-k">:</span> hi
Stacktrace<span class="pl-k">:</span>
[<span class="pl-c1">1</span>] <span class="pl-c1">error</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>error<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">33</span>
[<span class="pl-c1">2</span>] <span class="pl-c1">countdown</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>REPL[<span class="pl-c1">1</span>]<span class="pl-k">:</span><span class="pl-c1">1</span> (repeats <span class="pl-c1">12</span> times)
[<span class="pl-c1">3</span>] top<span class="pl-k">-</span>level scope at REPL[<span class="pl-c1">2</span>]<span class="pl-k">:</span><span class="pl-c1">1</span></pre></div>
<p dir="auto">See <code class="notranslate">(repeats 12 times)</code> in the above stacktrace.</p>
<p dir="auto">On the other hand, in Julia 1.6.0-DEV.503, there is no indication of recursive calls:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> countdown()
ERROR: hi
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] countdown(x::Int64)
@ Main ./REPL[69]:1
[3] top-level scope
@ REPL[70]:1"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">countdown</span>()
ERROR<span class="pl-k">:</span> hi
Stacktrace<span class="pl-k">:</span>
[<span class="pl-c1">1</span>] <span class="pl-c1">error</span>(s<span class="pl-k">::</span><span class="pl-c1">String</span>)
@ Base <span class="pl-k">./</span>error<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">33</span>
[<span class="pl-c1">2</span>] <span class="pl-c1">countdown</span>(x<span class="pl-k">::</span><span class="pl-c1">Int64</span>)
@ Main <span class="pl-k">./</span>REPL[<span class="pl-c1">69</span>]<span class="pl-k">:</span><span class="pl-c1">1</span>
[<span class="pl-c1">3</span>] top<span class="pl-k">-</span>level scope
@ REPL[<span class="pl-c1">70</span>]<span class="pl-k">:</span><span class="pl-c1">1</span></pre></div>
<p dir="auto">It'd be great if we can bring back something like <code class="notranslate">(repeats 12 times)</code> in the old stacktrace printing.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkrumbiegel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkrumbiegel">@jkrumbiegel</a></p> | 0 |
<p dir="auto">This clone seems to be cloning two target5 elements to the left well instead of one.<br>
$("#target5").clone().appendTo("#left-well");</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Clone an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<h2 dir="auto">Issue</h2>
<p dir="auto">I believe I've found bug in the phone simulation in <strong>Waypoint: Clone an Element Using jQuery</strong>:</p>
<p dir="auto">I entered the code to clone <code class="notranslate">target5</code> and append it to <code class="notranslate">left-well</code>, and now I see three <strong>target5</strong> buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:</p>
<ul dir="auto">
<li>Waypoint: Target the Parent of an Element Using jQuery</li>
<li>Waypoint: Target the Children of an Element Using jQuery</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qualitymanifest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qualitymanifest">@qualitymanifest</a> confirms this issue on his <strong>Linux</strong> box.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png"><img src="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">My code:</h2>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | 1 |
<p dir="auto">This is a reduced version of the issue raised at <a href="https://discourse.julialang.org/t/type-unstable-keyword-constructor-on-parameterized-type/8852" rel="nofollow">https://discourse.julialang.org/t/type-unstable-keyword-constructor-on-parameterized-type/8852</a></p>
<p dir="auto">I think its a bug, but I could be wrong.</p>
<p dir="auto">Basically, the presence of (even unused) keyword args in an inner constructor spoils type-stability.</p>
<p dir="auto">On 0.6.1</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> struct Foo
Foo(; kwargs...) = new()
end
julia> @code_warntype Foo()
Variables:
#self#::Type{Foo}
Body:
begin
return ((Core.getfield)($(QuoteNode(Core.Box(#call#1))), :contents)::Any)($(Expr(:foreigncall, :(:jl_alloc_array_1d), Array{Any,1}, svec(Any, Int64), Array{Any,1}, 0, 0, 0)), #self#::Type{Foo})::Any
end::Any"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-k">struct</span> Foo
<span class="pl-en">Foo</span>(; kwargs<span class="pl-k">...</span>) <span class="pl-k">=</span> <span class="pl-c1">new</span>()
<span class="pl-k">end</span>
julia<span class="pl-k">></span> <span class="pl-c1">@code_warntype</span> <span class="pl-c1">Foo</span>()
Variables<span class="pl-k">:</span>
<span class="pl-c"><span class="pl-c">#</span>self#::Type{Foo}</span>
Body<span class="pl-k">:</span>
<span class="pl-k">begin</span>
<span class="pl-k">return</span> ((Core<span class="pl-k">.</span>getfield)(<span class="pl-k">$</span>(<span class="pl-c1">QuoteNode</span>(Core<span class="pl-k">.</span><span class="pl-c1">Box</span>(<span class="pl-c"><span class="pl-c">#</span>call#1))), :contents)::Any)($(Expr(:foreigncall, :(:jl_alloc_array_1d), Array{Any,1}, svec(Any, Int64), Array{Any,1}, 0, 0, 0)), #self#::Type{Foo})::Any</span>
<span class="pl-k">end</span><span class="pl-k">::</span><span class="pl-c1">Any</span></pre></div>
<p dir="auto">and current master (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/251a501def6a52d497784ad1ca8206579d814bce/hovercard" href="https://github.com/JuliaLang/julia/commit/251a501def6a52d497784ad1ca8206579d814bce"><tt>251a501</tt></a>)</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> struct Foo
Foo(; kwargs...) = new()
end
julia> @code_warntype Foo()
Variables:
#self#::Type{Foo}
#Foo#1@_3::Nothing
Body:
begin
Core.SSAValue(0) = $(QuoteNode(Core.Box(getfield(, Symbol("##Foo#1#2"))())))
Core.SSAValue(1) = (Core.isdefined)(Core.SSAValue(0), :contents)::Bool
unless Core.SSAValue(1) goto 5
goto 8
5:
Core.NewvarNode(:(#Foo#1@_3::Nothing))
#Foo#1@_3::Nothing
8:
Core.SSAValue(2) = (Core.getfield)(Core.SSAValue(0), :contents)::Any
Core.SSAValue(5) = (Core.SSAValue(2))($(QuoteNode(Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}())), #self#::Type{Foo})::Any
return Core.SSAValue(5)
end::Any
"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-k">struct</span> Foo
<span class="pl-en">Foo</span>(; kwargs<span class="pl-k">...</span>) <span class="pl-k">=</span> <span class="pl-c1">new</span>()
<span class="pl-k">end</span>
julia<span class="pl-k">></span> <span class="pl-c1">@code_warntype</span> <span class="pl-c1">Foo</span>()
Variables<span class="pl-k">:</span>
<span class="pl-c"><span class="pl-c">#</span>self#::Type{Foo}</span>
<span class="pl-c"><span class="pl-c">#</span>Foo#1@_3::Nothing</span>
Body<span class="pl-k">:</span>
<span class="pl-k">begin</span>
Core<span class="pl-k">.</span><span class="pl-en">SSAValue</span>(<span class="pl-c1">0</span>) <span class="pl-k">=</span> <span class="pl-k">$</span>(<span class="pl-c1">QuoteNode</span>(Core<span class="pl-k">.</span><span class="pl-c1">Box</span>(<span class="pl-c1">getfield</span>(, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##Foo#1#2<span class="pl-pds">"</span></span>))())))
Core<span class="pl-k">.</span><span class="pl-en">SSAValue</span>(<span class="pl-c1">1</span>) <span class="pl-k">=</span> (Core<span class="pl-k">.</span>isdefined)(Core<span class="pl-k">.</span><span class="pl-c1">SSAValue</span>(<span class="pl-c1">0</span>), <span class="pl-c1">:contents</span>)<span class="pl-k">::</span><span class="pl-c1">Bool</span>
unless Core<span class="pl-k">.</span><span class="pl-c1">SSAValue</span>(<span class="pl-c1">1</span>) goto <span class="pl-c1">5</span>
goto <span class="pl-c1">8</span>
<span class="pl-c1">5</span><span class="pl-k">:</span>
Core<span class="pl-k">.</span><span class="pl-c1">NewvarNode</span>(:(<span class="pl-c"><span class="pl-c">#</span>Foo#1@_3::Nothing))</span>
<span class="pl-c"><span class="pl-c">#</span>Foo#1@_3::Nothing</span>
<span class="pl-c1">8</span><span class="pl-k">:</span>
Core<span class="pl-k">.</span><span class="pl-en">SSAValue</span>(<span class="pl-c1">2</span>) <span class="pl-k">=</span> (Core<span class="pl-k">.</span>getfield)(Core<span class="pl-k">.</span><span class="pl-c1">SSAValue</span>(<span class="pl-c1">0</span>), <span class="pl-c1">:contents</span>)<span class="pl-k">::</span><span class="pl-c1">Any</span>
Core<span class="pl-k">.</span><span class="pl-en">SSAValue</span>(<span class="pl-c1">5</span>) <span class="pl-k">=</span> (Core<span class="pl-k">.</span><span class="pl-c1">SSAValue</span>(<span class="pl-c1">2</span>))(<span class="pl-k">$</span>(<span class="pl-c1">QuoteNode</span>(Base<span class="pl-k">.</span>Iterators<span class="pl-k">.</span><span class="pl-c1">Pairs</span><span class="pl-c1">{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}</span>())), <span class="pl-c"><span class="pl-c">#</span>self#::Type{Foo})::Any</span>
<span class="pl-k">return</span> Core<span class="pl-k">.</span><span class="pl-c1">SSAValue</span>(<span class="pl-c1">5</span>)
<span class="pl-k">end</span><span class="pl-k">::</span><span class="pl-c1">Any</span>
</pre></div> | <p dir="auto">I find constructors taking keyword arguments are a lot slower than constructors that don't. For example,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> immutable PositionalArg
x::Int
PositionalArg(x::Int=1) = new(x)
end
julia> immutable KeywordArg
x::Int
KeywordArg(;x::Int=1) = new(x)
end
julia> using BenchmarkTools
julia> @benchmark PositionalArg()
BenchmarkTools.Trial:
memory estimate: 0.00 bytes
allocs estimate: 0
--------------
minimum time: 2.087 ns (0.00% GC)
median time: 2.092 ns (0.00% GC)
mean time: 2.381 ns (0.00% GC)
maximum time: 386.548 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000
time tolerance: 5.00%
memory tolerance: 1.00%
julia> @benchmark KeywordArg()
BenchmarkTools.Trial:
memory estimate: 16.00 bytes
allocs estimate: 1
--------------
minimum time: 75.253 ns (0.00% GC)
median time: 78.912 ns (0.00% GC)
mean time: 101.540 ns (1.62% GC)
maximum time: 26.617 μs (0.00% GC)
--------------
samples: 10000
evals/sample: 970
time tolerance: 5.00%
memory tolerance: 1.00%"><pre class="notranslate"><code class="notranslate">julia> immutable PositionalArg
x::Int
PositionalArg(x::Int=1) = new(x)
end
julia> immutable KeywordArg
x::Int
KeywordArg(;x::Int=1) = new(x)
end
julia> using BenchmarkTools
julia> @benchmark PositionalArg()
BenchmarkTools.Trial:
memory estimate: 0.00 bytes
allocs estimate: 0
--------------
minimum time: 2.087 ns (0.00% GC)
median time: 2.092 ns (0.00% GC)
mean time: 2.381 ns (0.00% GC)
maximum time: 386.548 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000
time tolerance: 5.00%
memory tolerance: 1.00%
julia> @benchmark KeywordArg()
BenchmarkTools.Trial:
memory estimate: 16.00 bytes
allocs estimate: 1
--------------
minimum time: 75.253 ns (0.00% GC)
median time: 78.912 ns (0.00% GC)
mean time: 101.540 ns (1.62% GC)
maximum time: 26.617 μs (0.00% GC)
--------------
samples: 10000
evals/sample: 970
time tolerance: 5.00%
memory tolerance: 1.00%
</code></pre></div>
<p dir="auto">Such a huge difference seems to be caused by the additional allocations that constructors with keyword arguments use. However, I'm not sure if that has to be the case, because ordinary functions don't seem to be using additional allocations when taking keyword arguments:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> posarg(x::Int=1) = x
posarg (generic function with 2 methods)
julia> kwdarg(;x::Int=1) = x
kwdarg (generic function with 1 method)
julia> @benchmark posarg()
BenchmarkTools.Trial:
memory estimate: 0.00 bytes
allocs estimate: 0
--------------
minimum time: 1.997 ns (0.00% GC)
median time: 1.998 ns (0.00% GC)
mean time: 2.282 ns (0.00% GC)
maximum time: 95.239 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000
time tolerance: 5.00%
memory tolerance: 1.00%
julia> @benchmark kwdarg()
BenchmarkTools.Trial:
memory estimate: 0.00 bytes
allocs estimate: 0
--------------
minimum time: 1.997 ns (0.00% GC)
median time: 1.998 ns (0.00% GC)
mean time: 2.042 ns (0.00% GC)
maximum time: 273.882 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000
time tolerance: 5.00%
memory tolerance: 1.00%"><pre class="notranslate"><code class="notranslate">julia> posarg(x::Int=1) = x
posarg (generic function with 2 methods)
julia> kwdarg(;x::Int=1) = x
kwdarg (generic function with 1 method)
julia> @benchmark posarg()
BenchmarkTools.Trial:
memory estimate: 0.00 bytes
allocs estimate: 0
--------------
minimum time: 1.997 ns (0.00% GC)
median time: 1.998 ns (0.00% GC)
mean time: 2.282 ns (0.00% GC)
maximum time: 95.239 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000
time tolerance: 5.00%
memory tolerance: 1.00%
julia> @benchmark kwdarg()
BenchmarkTools.Trial:
memory estimate: 0.00 bytes
allocs estimate: 0
--------------
minimum time: 1.997 ns (0.00% GC)
median time: 1.998 ns (0.00% GC)
mean time: 2.042 ns (0.00% GC)
maximum time: 273.882 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000
time tolerance: 5.00%
memory tolerance: 1.00%
</code></pre></div>
<p dir="auto">Is this a matter that can be fixed easily, or I need to refrain from using keyword arguments in constructors?</p>
<p dir="auto">Here is the version info:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> versioninfo()
Julia Version 0.6.0-dev.1636
Commit 99b6a8c* (2016-12-20 13:46 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin16.0.0)
CPU: Intel(R) Core(TM)2 Duo CPU T9900 @ 3.06GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.7.1 (ORCJIT, penryn)"><pre class="notranslate"><code class="notranslate">julia> versioninfo()
Julia Version 0.6.0-dev.1636
Commit 99b6a8c* (2016-12-20 13:46 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin16.0.0)
CPU: Intel(R) Core(TM)2 Duo CPU T9900 @ 3.06GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.7.1 (ORCJIT, penryn)
</code></pre></div> | 1 |
<p dir="auto">Version: 1.0.0<br>
OS Version: Microsoft Windows NT 10.0.20180.0<br>
IntPtr Length: 8<br>
x64: True<br>
Date: 08/04/2020 23:28:07<br>
Exception:<br>
System.ObjectDisposedException: Cannot access a disposed object.<br>
Object name: 'Timer'.<br>
at System.Timers.Timer.set_Enabled(Boolean value)<br>
at System.Timers.Timer.Start()<br>
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.UpdateIsVisibleCache()<br>
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br>
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br>
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br>
at System.Windows.Window.SetRootVisual()<br>
at System.Windows.Window.SetRootVisualAndUpdateSTC()<br>
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br>
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br>
at System.Windows.Window.CreateSourceWindowDuringShow()<br>
at System.Windows.Window.SafeCreateWindowDuringShow()<br>
at System.Windows.Window.ShowHelper(Object booleanBox)<br>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br>
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2>
<ul dir="auto">
<li>Windows build number: [run "winver"]</li>
<li>PowerToys version:</li>
<li>PowerToy module:</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<ol dir="auto">
<li>…</li>
<li>…</li>
<li>…</li>
</ol>
<h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3>
<p dir="auto"><em>What is the expected result of the above steps?</em></p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3>
<p dir="auto"><em>What is the actual result of the above steps?</em></p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2>
<p dir="auto"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p> | <p dir="auto">Popup tells me to give y'all this.</p>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p>
<p dir="auto">Version: 1.0.0<br>
OS Version: Microsoft Windows NT 10.0.19041.0<br>
IntPtr Length: 8<br>
x64: True<br>
Date: 07/31/2020 17:29:59<br>
Exception:<br>
System.ObjectDisposedException: Cannot access a disposed object.<br>
Object name: 'Timer'.<br>
at System.Timers.Timer.set_Enabled(Boolean value)<br>
at System.Timers.Timer.Start()<br>
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.UpdateIsVisibleCache()<br>
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br>
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br>
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br>
at System.Windows.Window.SetRootVisual()<br>
at System.Windows.Window.SetRootVisualAndUpdateSTC()<br>
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br>
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br>
at System.Windows.Window.CreateSourceWindowDuringShow()<br>
at System.Windows.Window.SafeCreateWindowDuringShow()<br>
at System.Windows.Window.ShowHelper(Object booleanBox)<br>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br>
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p> | 1 |
<p dir="auto">Lifecycle interfaces implementations in superclasses seem to be already supported (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="106883319" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/4222" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/4222/hovercard" href="https://github.com/angular/angular/pull/4222">#4222</a>)</p>
<p dir="auto">It would be great for <code class="notranslate">@Input()</code>, <code class="notranslate">@Output()</code>, <code class="notranslate">@HostBinding()</code> to also be supported for reusable implementations (like behaviors in Polymer).</p> | <p dir="auto">Currently, when classes with decorators are used in an inheritance chain, the results are undefined.</p>
<p dir="auto">Consider the following two components:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Component({selector: 'a', inputs: ['metaFoo'])
class A {
@Input() fieldFoo;
metaFoo;
}
@Component({selector: 'b', inputs: ['metaBar']}
class B extends A {
@Input() fieldBar;
metaBar;
}"><pre class="notranslate"><code class="notranslate">@Component({selector: 'a', inputs: ['metaFoo'])
class A {
@Input() fieldFoo;
metaFoo;
}
@Component({selector: 'b', inputs: ['metaBar']}
class B extends A {
@Input() fieldBar;
metaBar;
}
</code></pre></div>
<p dir="auto">Currently, using component <code class="notranslate">B</code> in JIT mode does not cause an error, but only inputs <code class="notranslate">fieldBar</code> and <code class="notranslate">metaBar</code> will be understood by Angular. This is because the decorators result in properties being defined on the class functions, and those properties are subject to shadowing via prototypical inheritance. So <code class="notranslate">B.annotations</code> (where the <code class="notranslate">@Component</code> metadata lives) shadows <code class="notranslate">A.annotations</code>, and <code class="notranslate">B.propMetadata</code> (where the <code class="notranslate">@Input</code>s live) shadows <code class="notranslate">A.propMetadata</code>.</p>
<p dir="auto">If the <code class="notranslate">@Input() fieldBar</code> from <code class="notranslate">B</code> is removed, however, then <code class="notranslate">B</code> will have no property metadata, and so the lookup for<code class="notranslate">B.propMetadata</code> will reach <code class="notranslate">A.propMetadata</code> via the prototype chain and suddenly the <code class="notranslate">fieldFoo</code> input will become visible to Angular.</p>
<p dir="auto">There is no provision in the spec for inheritance of decorator metadata. However, Angular could be made to support well-defined rules of inheritance for its own decorators.</p>
<p dir="auto">Here is one set of rules which I believe covers most of the cases where users attempt to inherit components:</p>
<ul dir="auto">
<li>Class-level decorators (<code class="notranslate">@Component</code> and friends) have their metadata merged according to the merge rules:
<ul dir="auto">
<li>Metadata objects are merged property by property.</li>
<li>For properties with primitive values, a subclass value, if present, overwrites a superclass value.</li>
<li>For properties with array values, the arrays are concatenated, superclass first.</li>
<li>If the subclass provides no value, the superclass value, if present, is used.</li>
</ul>
</li>
<li>Property-level decorators (<code class="notranslate">@Input</code>, etc) on superclasses are included in compilation.
<ul dir="auto">
<li><code class="notranslate">@Input</code>s with the same name on the superclass and subclass should have the same behavior as two <code class="notranslate">@Input</code>s with the same name on the same class.</li>
</ul>
</li>
</ul>
<p dir="auto">Applying these rules would change the behavior of the above example, so component <code class="notranslate">B</code> would have all 4 defined inputs recognized.</p>
<p dir="auto">For JIT mode, this requires two changes to Angular.</p>
<p dir="auto">First, the class-level decorators would be changed to check for metadata on the superclass, and perform the merging operation if present.</p>
<p dir="auto">Secondly, the runtime compiler would need to consider superclass metadata when checking for property annotations.</p>
<p dir="auto">For the AOT compiler, the semantics would have to be built into the compiler itself as the decorators don't execute during AOT compilation.</p> | 1 |
<p dir="auto">This is the original image:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/784063/8439742/bbe02ae8-1f22-11e5-8676-c7a1d525782d.jpg"><img src="https://cloud.githubusercontent.com/assets/784063/8439742/bbe02ae8-1f22-11e5-8676-c7a1d525782d.jpg" alt="9k_" style="max-width: 100%;"></a></p>
<p dir="auto">This is the image rendered using Glide and ImageView:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/784063/8439751/cd1b0864-1f22-11e5-96c8-f3ee83b75f72.png"><img src="https://cloud.githubusercontent.com/assets/784063/8439751/cd1b0864-1f22-11e5-96c8-f3ee83b75f72.png" alt="screen shot 2015-06-30 at 12 16 04 pm" style="max-width: 100%;"></a></p>
<p dir="auto">I'm already using the ARGB_8888 option with the following initialization code:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new GlideBuilder(this).setDecodeFormat(DecodeFormat.PREFER_ARGB_8888);"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-smi">GlideBuilder</span>(<span class="pl-smi">this</span>).<span class="pl-en">setDecodeFormat</span>(<span class="pl-smi">DecodeFormat</span>.<span class="pl-c1">PREFER_ARGB_8888</span>);</pre></div>
<p dir="auto">Switching to Picasso does seem to resolve the problem. What might be wrong here?</p> | <p dir="auto">Hi,<br>
I guess, when images are loaded from cache, it sets a weird background color on a JPG wich have white background. This only happens on Samsung S3.</p>
<p dir="auto">Thanks</p> | 1 |
<p dir="auto">This is a problem with the documentation of threejs, not threejs itself, I got redirected by the <a href="https://webchat.freenode.net/?channels=three.js" rel="nofollow">IRC chat</a> by a red colored user "bai" to place this bug here.</p>
<h1 dir="auto">Steps:</h1>
<ol dir="auto">
<li>go to <a href="https://threejs.org/docs/index.html#api/lights/DirectionalLight" rel="nofollow">https://threejs.org/docs/index.html#api/lights/DirectionalLight</a></li>
<li>Press middle mouse button on any link on the page, for example <code class="notranslate">DirectionalLightShadow</code></li>
</ol>
<h1 dir="auto">Expection:</h1>
<p dir="auto">Since it has the pointer cursor, I expect the browser to open the page on a new tab</p>
<h1 dir="auto">Reality:</h1>
<p dir="auto">The browser executes the scroll using middle mouse button interaction</p>
<h1 dir="auto">Why is this a problem</h1>
<p dir="auto">This is a problem because when new developers come to the documentation, and seeing an first impression from breaking the UX flow most people are used with, is a bad sign and encourages new people to go away.</p> | <p dir="auto">Hi mrdoob/team,</p>
<p dir="auto">Many times while going through the documentation I would like to ctrl/cmd+click on links pointing to particular class documentation to open in new tab. Because the elements don't even contain href attribute, it simply doesn't work. Similarly, I can't right click and "Open in new tab".</p>
<p dir="auto">I'm not providing an example because you can pick any documentation page and look for any documentation-linked class name to see the problem.</p>
<p dir="auto">The documentation of three.js is pretty good and I'm thankful! Just wondering if it'd not be too much work to perhaps update the onclick listener / setFragmentUrl function to consider if a modifier is pressed. (I understand the lack of href is because you want the doc page to be like an SPA).</p>
<p dir="auto">Thank you for your consideration and have a great day,<br>
Michal</p> | 1 |
<ul dir="auto">
<li>there is a really long line in the file</li>
<li>only happens when syntax highlighting</li>
<li>works fine as text</li>
<li>pastebin colors it right & fast for example</li>
</ul>
<p dir="auto"><a href="http://pastebin.com/Cx3zy9fm" rel="nofollow">http://pastebin.com/Cx3zy9fm</a></p>
<p dir="auto">thanks</p> | <p dir="auto">May be a known issue, but files with large embedded images such as github's public/enterprise/maintenance.html will often cause Atom to freeze (MacVim actually struggles as well).</p>
<p dir="auto">Seems some of them (github's public/maintenance.html for instance) work fine when in soft wrap mode, or until you move your cursor to the long line when out of soft wrap.</p> | 1 |
<p dir="auto">tabs,tab无法点击选中,组件tabs无法点击选中,只能默认选择第0个,是tabs无法得到tab的selected</p> | <p dir="auto">(I use material-ui@^0.14.4)<br>
I just come to copy this example from your doc (<a href="http://www.material-ui.com/#/components/tabs" rel="nofollow">http://www.material-ui.com/#/components/tabs</a>) to my app.<br>
I have no error in the console and neither the "console.log".<br>
When I click on a Tab, the ripple animation works fine, but the selection is never changing. I'm stuck on the first tab.</p>
<p dir="auto">Have I made something wrong ? Or there is a bug ?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from 'react';
import Tabs from 'material-ui/lib/tabs/tabs';
import Tab from 'material-ui/lib/tabs/tab';
export default class TabsExample extends React.Component {
constructor(props) {
super(props);
this.state = {
slideIndex: 0,
};
}
handleChange = (value) => {
console.log("Tab is changing to ",value);
this.setState({
slideIndex: value,
});
};
render() {
return (
<Tabs value={this.state.slideIndex} onChange={ this.handleChange } >
<Tab label="First Tab" value={0}>
<div>CONTENT 1</div>
</Tab>
<Tab label="Second Tab" value={1}>
<div>CONTENT 2</div>
</Tab>
</Tabs>
)
}
}"><pre class="notranslate"><code class="notranslate">import React from 'react';
import Tabs from 'material-ui/lib/tabs/tabs';
import Tab from 'material-ui/lib/tabs/tab';
export default class TabsExample extends React.Component {
constructor(props) {
super(props);
this.state = {
slideIndex: 0,
};
}
handleChange = (value) => {
console.log("Tab is changing to ",value);
this.setState({
slideIndex: value,
});
};
render() {
return (
<Tabs value={this.state.slideIndex} onChange={ this.handleChange } >
<Tab label="First Tab" value={0}>
<div>CONTENT 1</div>
</Tab>
<Tab label="Second Tab" value={1}>
<div>CONTENT 2</div>
</Tab>
</Tabs>
)
}
}
</code></pre></div>
<p dir="auto">Thanks !</p> | 1 |
<pre class="notranslate">I'm trying to profile a cgo package. See the attached test case.
When running with clang "top" looks like this:
Total: 526 samples
66 12.5% 12.5% 66 12.5% 000000000402483b
57 10.8% 23.4% 57 10.8% 0000000004024761
25 4.8% 28.1% 25 4.8% 0000000004018c22
18 3.4% 31.6% 18 3.4% 0000000004017bf7
11 2.1% 33.7% 11 2.1% 0000000004018c55
8 1.5% 35.2% 8 1.5% 0000000004017b64
8 1.5% 36.7% 8 1.5% 0000000004017c88
8 1.5% 38.2% 8 1.5% 0000000004018c60
7 1.3% 39.5% 7 1.3% 0000000004017b86
7 1.3% 40.9% 7 1.3% 0000000004018c45
When running with gcc 4.8 "top" looks like this:
Total: 531 samples
531 100.0% 100.0% 531 100.0% 000000000402567b
0 0.0% 100.0% 531 100.0% 0000000004018e60
In both cases I'm getting addresses instead of names. With gcc all the samples are
appearing as a single address. This happens with C or C++ code. C++ is attached. Rename
.cc to .c and comment out #ifdef in .h file to make C.
I'm running:
CX=g++-4.8 gotip test -c
./cgotest.test -test.cpuprofile=prof.out -test.bench=. -test.benchtime=3s -test.v
gotip tool pprof cgotest.test prof.out
Which compiler are you using (5g, 6g, 8g, gccgo)?
default w/ clang++
default w/ GNU g++ 4.8
default w/ clang
default w/ GNU gcc 4.8
Which operating system are you using?
Max OS X 10.8.5
Which version are you using? (run 'go version')
go version devel +d744da8c8cbf Wed Sep 25 16:18:33 2013 -0400 darwin/amd64
Please provide any additional information below.
gcc 4.8 is installed with `brew install gcc48`</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/6481/0/cgotest.zip" rel="nofollow">cgotest.zip</a> (695505 bytes)</li>
</ol> | <pre class="notranslate">from src/cmd/cgo/gcc.go:
1286 if isStructUnionClass(sub.Go) {
1287 // Use the typedef name for C code.
1288 typedef[sub.Go.(*ast.Ident).Name].C = t.C
1289 }
When handling one of Objective-C's internal types, go get github.com/andlabs/ui fails
with a nil pointer dereference panic at line 1288 above. Upon further investigation:
### sub.Go:&ast.Ident{NamePos:0, Name:"_Ctype_struct_objc_object",
Obj:(*ast.Object)(nil)} sub.Go.(*ast.Ident):&ast.Ident{NamePos:0,
Name:"_Ctype_struct_objc_object", Obj:(*ast.Object)(nil)}
....Name:"_Ctype_struct_objc_object"
typedef:map[string]*main.Type{"_Ctype_struct_objc_cache":(*main.Type)(0x2083eacc0),
"_Ctype_int":(*main.Type)(0x2084d7480),
"_Ctype_struct_objc_method_list":(*main.Type)(0x2084d7e00),
"_Ctype_SEL":(*main.Type)(0x2084d7b00),
"_Ctype_Class":(*main.Type)(0x2084d7040),
"_Ctype_long":(*main.Type)(0x2084d7280),
"_Ctype_struct_objc_ivar":(*main.Type)(0x2084d7700),
"_Ctype_Method":(*main.Type)(0x2083eac00),
"_Ctype_struct_objc_selector":(*main.Type)(0x2084d7a80),
"_Ctype_IMP":(*main.Type)(0x2084d7cc0),
"_Ctype_struct_objc_method":(*main.Type)(0x2084d7d80),
"_Ctype_uint":(*main.Type)(0x2084d7f80),
"_Ctype_Protocol":(*main.Type)(0x2083eb000),
"_Ctype_char":(*main.Type)(0x2084d71c0),
"_Ctype_struct_objc_ivar_list":(*main.Type)(0x2084d7780)}
t:&main.Type{Size:8, Align:-1, C:(*main.TypeRepr)(0x2084f66f0),
Go:(*ast.Ident)(0x2084e53c0), EnumValues:map[string]int64(nil), Typedef:""}
t.C:&main.TypeRepr{Repr:"Protocol", FormatArgs:[]interface {}(nil)}
### expr:(*main.Type)(nil)
so while all the parts of the typedef[...] line are valid, the typedef[...] expression
itself is not. I'm not sure what's going on here.
I'm running Mac OS X 10.8 with go version
go version devel +f39dff1bf0d4 Thu Jun 19 22:18:24 2014 +1000 darwin/amd64
and clang version
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
but people at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35140716" data-permission-text="Title is private" data-url="https://github.com/andlabs/ui/issues/9" data-hovercard-type="issue" data-hovercard-url="/andlabs/ui/issues/9/hovercard" href="https://github.com/andlabs/ui/issues/9">andlabs/ui#9</a> have different setups.
Thanks!</pre> | 0 |
<p dir="auto"><a href="http://www.celeryproject.org/" rel="nofollow">http://www.celeryproject.org/</a> says "Celery is easy to integrate with ... Flask, using the ... Flask-Celery add-on packages."</p>
<p dir="auto">Meanwhile, <a href="https://pypi.python.org/pypi/Flask-Celery" rel="nofollow">https://pypi.python.org/pypi/Flask-Celery</a> states in bold "FROM CELERY 3.0 THIS LIBRARY IS NO LONGER NECESSARY, INSTEAD YOU SHOULD USE THE STANDARD CELERY API."</p>
<p dir="auto">So the suggestion should be removed from the Celery project homepage?</p> | <p dir="auto"><a href="http://www.celeryproject.org/" rel="nofollow">http://www.celeryproject.org/</a> says "Celery is easy to integrate with ... Flask, using the ... Flask-Celery add-on packages."</p>
<p dir="auto">Meanwhile, <a href="https://pypi.python.org/pypi/Flask-Celery" rel="nofollow">https://pypi.python.org/pypi/Flask-Celery</a> states in bold "FROM CELERY 3.0 THIS LIBRARY IS NO LONGER NECESSARY, INSTEAD YOU SHOULD USE THE STANDARD CELERY API."</p>
<p dir="auto">So the suggestion should be removed from the Celery project homepage?</p>
<p dir="auto">(Moved from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="11282233" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/1205" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/1205/hovercard" href="https://github.com/celery/celery/issues/1205">celery/celery#1205</a> )</p> | 1 |
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">ansible 1.7 (devel <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/6bc056e012b94bc58295a18355b0f6a8f7b076f6/hovercard" href="https://github.com/ansible/ansible/commit/6bc056e012b94bc58295a18355b0f6a8f7b076f6"><tt>6bc056e</tt></a>) last updated 2014/06/02 19:46:03 (GMT -700)</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Mac OS X 10.9.3</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">Subsequent dependent roles are ignored when a role containing the dependency is conditionally skipped and the dependency is marked <code class="notranslate">allow_duplicates: no</code>.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">Playbook contains:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="roles:
- { role: role_a, when: false }
- role_b"><pre class="notranslate"><code class="notranslate">roles:
- { role: role_a, when: false }
- role_b
</code></pre></div>
<p dir="auto"><code class="notranslate">role_a</code> and <code class="notranslate">role_b</code> have dependencies in <code class="notranslate">meta/main.yml</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dependencies:
- role_c"><pre class="notranslate"><code class="notranslate">dependencies:
- role_c
</code></pre></div>
<p dir="auto"><code class="notranslate">role_c</code> disables duplicates in <code class="notranslate">meta/main.yml</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="allow_duplicates: no"><pre class="notranslate"><code class="notranslate">allow_duplicates: no
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<ol dir="auto">
<li><code class="notranslate">role_c</code> is skipped, <code class="notranslate">role_a</code> is skipped.</li>
<li><code class="notranslate">role_c</code> executes as a dependency of <code class="notranslate">role_b</code></li>
<li><code class="notranslate">role_b</code> executes.</li>
</ol>
<h5 dir="auto">Actual Results:</h5>
<ol dir="auto">
<li><code class="notranslate">role_c</code> is skipped, <code class="notranslate">role_a</code> is skipped.</li>
<li><code class="notranslate">role_b</code> executes, but <code class="notranslate">role_c</code> dependency is never satisfied.</li>
</ol> | <h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">master</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">If a role dependency is skipped, via:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
---
dependencies:
- { role: foo, when: false }"><pre class="notranslate">---
<span class="pl-ent">dependencies</span>:
- <span class="pl-s">{ role: foo, when: false }</span></pre></div>
<p dir="auto">Then it's children are also skipped, even if they are required by other roles.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# roles/foo/meta/main.yml
---
dependencies:
- { role: child, when: false }"><pre class="notranslate"><code class="notranslate"># roles/foo/meta/main.yml
---
dependencies:
- { role: child, when: false }
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# roles/bar/meta/main.yml
---
dependencies:
- { role: child }"><pre class="notranslate"><code class="notranslate"># roles/bar/meta/main.yml
---
dependencies:
- { role: child }
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# roles/parent/meta/main.yml
---
dependencies:
- { role: foo }
- { role: bar }"><pre class="notranslate"><code class="notranslate"># roles/parent/meta/main.yml
---
dependencies:
- { role: foo }
- { role: bar }
</code></pre></div>
<p dir="auto">If the <em>parent</em> role is used, then <em>child</em> will never be executed.</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">Roles are re-run if required by subsequent roles, and have not been run already (under no-duplicate roles policy).</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">Role is skipped for the rest of the play.</p> | 1 |
<p dir="auto">A clear and concise description of what the bug is.</p>
<h4 dir="auto">How to reproduce the bug</h4>
<p dir="auto">set a <code class="notranslate">LOG_FORMAT</code> , e.g. <code class="notranslate">'{"severity":"%(levelname)s","message":"%(message)s","timestamp":"%(asctime)s"}'</code></p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">all logs respect it</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">some log messages get logged duplicated, once with and once w/o the format</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Serving from cache │
{"severity":"INFO","message":"Serving from cache","timestamp":"2023-04-28 15:47:30,865"}
Cache key: 7003a08fde69f54ab83686bded041a57
{"severity":"INFO","message":"Cache key: 7003a08fde69f54ab83686bded041a57","timestamp":"2023-04-28 15:47:30,877"}
The field `timeseries_limit` is deprecated, please use `series_limit` instead.
{"severity":"WARNING","message":"The field `timeseries_limit` is deprecated, please use `series_limit` instead.","timestamp":"2023-04-28 15:48:00,513"}"><pre class="notranslate"><code class="notranslate">Serving from cache │
{"severity":"INFO","message":"Serving from cache","timestamp":"2023-04-28 15:47:30,865"}
Cache key: 7003a08fde69f54ab83686bded041a57
{"severity":"INFO","message":"Cache key: 7003a08fde69f54ab83686bded041a57","timestamp":"2023-04-28 15:47:30,877"}
The field `timeseries_limit` is deprecated, please use `series_limit` instead.
{"severity":"WARNING","message":"The field `timeseries_limit` is deprecated, please use `series_limit` instead.","timestamp":"2023-04-28 15:48:00,513"}
</code></pre></div>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>superset version: <code class="notranslate">2.1</code></li>
</ul>
<h3 dir="auto">Checklist</h3>
<p dir="auto">Make sure to follow these steps before submitting your issue - thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>
<h3 dir="auto">Additional context</h3>
<p dir="auto">Add any other context about the problem here.</p> | <p dir="auto">Every log message (except event logs) is logged 2 times, once in the custom format set in the "superset_config.py" (or the default one in "config.py" if not set otherwise) and the second time just the message without any context.</p>
<h4 dir="auto">How to reproduce the bug</h4>
<ol dir="auto">
<li>Run apache/superset image locally with docker</li>
<li>Look at logs</li>
</ol>
<h3 dir="auto">Expected results</h3>
<p dir="auto">See every log entry once</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">See every log entry twice</p>
<h3 dir="auto">Logs from docker logs</h3>
<p dir="auto"><code class="notranslate">logging was configured successfully</code><br>
<code class="notranslate">2022-09-29 12:14:17,528:INFO:superset.utils.logging_configurator:logging was configured successfully</code></p> | 1 |
<p dir="auto">for both groups of tests, the import would be</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from transformers.testing_utils import slow"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">transformers</span>.<span class="pl-s1">testing_utils</span> <span class="pl-k">import</span> <span class="pl-s1">slow</span></pre></div>
<p dir="auto">Motivation: I was about to rewrite the @slow decorator today and felt that this was cleaner.</p>
<p dir="auto">Any objections? <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/julien-c/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/julien-c">@julien-c</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LysandreJik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LysandreJik">@LysandreJik</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thomwolf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thomwolf">@thomwolf</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sgugger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sgugger">@sgugger</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patrickvonplaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patrickvonplaten">@patrickvonplaten</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mfuntowicz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mfuntowicz">@mfuntowicz</a><br>
@anyoneelseimforgetting</p> | <h2 dir="auto">Environment info</h2>
<h2 dir="auto">Environment info</h2>
<ul dir="auto">
<li><code class="notranslate">transformers</code> version: 4.4.2</li>
<li>Platform:</li>
<li>Python version: 3.7.6</li>
<li>PyTorch version (GPU?): torch 1.5.0</li>
<li>Tensorflow version (GPU?):</li>
<li>Using GPU in script?: no ( I just mentionned the number of gpu in a shell script and launch (ex . #SBATCH --partition=gpu_p2; #SBATCH --qos=qos_gpu-dev ; #SBATCH --cpus-per-task=3 )</li>
<li>Using distributed or parallel set-up in script?: no</li>
</ul>
<h3 dir="auto">Who can help</h3>
<ul dir="auto">
<li>albert, bert, xlm: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LysandreJik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LysandreJik">@LysandreJik</a></li>
</ul>
<p dir="auto">Library:</p>
<ul dir="auto">
<li>tokenizers: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LysandreJik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LysandreJik">@LysandreJik</a></li>
<li>pipelines: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LysandreJik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LysandreJik">@LysandreJik</a></li>
</ul>
<p dir="auto">Documentation: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sgugger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sgugger">@sgugger</a></p>
<p dir="auto">Model I am using (FlauBERT):</p>
<p dir="auto">The problem arises when downloading the model from transformers library:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> the official example scripts: (I did not change much , pretty close to the original)</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def get_flaubert_layer(texte):
modelname ='flaubert-small-cased'
flaubert, log = FlaubertModel.from_pretrained(modelname, output_loading_info=True)
flaubert_tokenizer = FlaubertTokenizer.from_pretrained(modelname, do_lowercase=False)
tokenized = texte.apply((lambda x: flaubert_tokenizer.encode(x, add_special_tokens=True)))
max_len = 0
for i in tokenized.values:
if len(i) > max_len:
max_len = len(i)
padded = np.array([i + [0] * (max_len - len(i)) for i in tokenized.values])
token_ids = torch.tensor(padded)
with torch.no_grad():
last_layer = flaubert(token_ids)[0][:,0,:].numpy()
return last_layer, modelname
### What I added to the code
def read_file(filename):
sentences = pd.read_excel(filename, sheet_name= 0)
data_id = sentences.identifiant
print("Total phrases: ", len(data_id))
data = sentences.verbatim
data_label = sentences.etiquette
classes = sentences['etiquette'].unique()
len_classes = len(classes)
return data_id, data, data_label, len_classes
def cross_validation_prediction(id_, texte, ylabels, file_, len_classes):
features, modelname = get_flaubert_layer(texte)"><pre class="notranslate"><code class="notranslate">def get_flaubert_layer(texte):
modelname ='flaubert-small-cased'
flaubert, log = FlaubertModel.from_pretrained(modelname, output_loading_info=True)
flaubert_tokenizer = FlaubertTokenizer.from_pretrained(modelname, do_lowercase=False)
tokenized = texte.apply((lambda x: flaubert_tokenizer.encode(x, add_special_tokens=True)))
max_len = 0
for i in tokenized.values:
if len(i) > max_len:
max_len = len(i)
padded = np.array([i + [0] * (max_len - len(i)) for i in tokenized.values])
token_ids = torch.tensor(padded)
with torch.no_grad():
last_layer = flaubert(token_ids)[0][:,0,:].numpy()
return last_layer, modelname
### What I added to the code
def read_file(filename):
sentences = pd.read_excel(filename, sheet_name= 0)
data_id = sentences.identifiant
print("Total phrases: ", len(data_id))
data = sentences.verbatim
data_label = sentences.etiquette
classes = sentences['etiquette'].unique()
len_classes = len(classes)
return data_id, data, data_label, len_classes
def cross_validation_prediction(id_, texte, ylabels, file_, len_classes):
features, modelname = get_flaubert_layer(texte)
</code></pre></div>
<p dir="auto">The tasks I am working on is:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> my own task or dataset: I just want to use the model of FlauBert to producve vectors for my dataset that's all</li>
</ul>
<h2 dir="auto">To reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>get the requirements (librairies mentionned above)</li>
<li>Final part of the script to reproduce it :</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="filename = 'test'
fil = filename + ".xlsx"
os.chdir('/linkhome/rech/genlig01/umg16uw/Test_CLASS_avec_FlauBert/corpus')
print("File preprocessing: " , fil)
id_, texte_, ylabels_, len_classes_ = read_file(fil)
cross_validation_prediction(id_, texte_, ylabels_, filename, len_classes_)
"><pre class="notranslate"><code class="notranslate">filename = 'test'
fil = filename + ".xlsx"
os.chdir('/linkhome/rech/genlig01/umg16uw/Test_CLASS_avec_FlauBert/corpus')
print("File preprocessing: " , fil)
id_, texte_, ylabels_, len_classes_ = read_file(fil)
cross_validation_prediction(id_, texte_, ylabels_, filename, len_classes_)
</code></pre></div>
<ol start="3" dir="auto">
<li>stack trace error :</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Loading pytorch-gpu/py3/1.5.0
Loading requirement: cuda/10.1.2 nccl/2.5.6-2-cuda cudnn/10.1-v7.5.1.10
gcc/8.2.0 intel-compilers/19.0.4 openmpi/4.0.1-cuda
Traceback (most recent call last):
File "test.py", line 227, in <module>
cross_validation_prediction(id_, texte_, ylabels_, filename, len_classes_)
File "test.py", line 107, in cross_validation_prediction
features, modelname = get_flaubert_layer(texte)
File "test.py", line 56, in get_flaubert_layer
flaubert, log = FlaubertModel.from_pretrained(modelname, output_loading_info=True)
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/modeling_utils.py", line 986, in from_pretrained
**kwargs,
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/configuration_utils.py", line 386, in from_pretrained
config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/configuration_utils.py", line 438, in get_config_dict
use_auth_token=use_auth_token,
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/file_utils.py", line 1142, in cached_path
local_files_only=local_files_only,
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/file_utils.py", line 1349, in get_from_cache
"Connection error, and we cannot find the requested files in the cached path."
ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.
srun: error: jean-zay-ia808: task 0: Exited with exit code 1
srun: Terminating job step 841126.0"><pre class="notranslate"><code class="notranslate">Loading pytorch-gpu/py3/1.5.0
Loading requirement: cuda/10.1.2 nccl/2.5.6-2-cuda cudnn/10.1-v7.5.1.10
gcc/8.2.0 intel-compilers/19.0.4 openmpi/4.0.1-cuda
Traceback (most recent call last):
File "test.py", line 227, in <module>
cross_validation_prediction(id_, texte_, ylabels_, filename, len_classes_)
File "test.py", line 107, in cross_validation_prediction
features, modelname = get_flaubert_layer(texte)
File "test.py", line 56, in get_flaubert_layer
flaubert, log = FlaubertModel.from_pretrained(modelname, output_loading_info=True)
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/modeling_utils.py", line 986, in from_pretrained
**kwargs,
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/configuration_utils.py", line 386, in from_pretrained
config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/configuration_utils.py", line 438, in get_config_dict
use_auth_token=use_auth_token,
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/file_utils.py", line 1142, in cached_path
local_files_only=local_files_only,
File "/gpfslocalsup/pub/anaconda-py3/2020.02/envs/pytorch-gpu-1.5.0/lib/python3.7/site-packages/transformers/file_utils.py", line 1349, in get_from_cache
"Connection error, and we cannot find the requested files in the cached path."
ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.
srun: error: jean-zay-ia808: task 0: Exited with exit code 1
srun: Terminating job step 841126.0
</code></pre></div>
<p dir="auto">I expected the model to load and get the vectors in the appropriate varaible, instead Iget this error above.<br>
I have internet and when trying to do it locally and not on the server with small sample it works but when I load a vritual env with the specific library I get this error;</p> | 0 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-give-a-background-color-to-a-div-element" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-give-a-background-color-to-a-div-element</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">This happens on all Waypoints I've tried since the update. It did not happen prior. Here's a video of the behavior:<br>
<a href="http://www.screencast.com/t/925RcgPZ" rel="nofollow">http://www.screencast.com/t/925RcgPZ</a></p>
<p dir="auto">Mac OS X Yosemite<br>
10.10.4 (14E46)<br>
Safari Version 8.0.7 (10600.7.12)</p> | <h4 dir="auto">Issue Description</h4>
<p dir="auto">As a developer, having a notification on beta challenges that tests are incomplete would help me find issues to work on.</p>
<p dir="auto">As a product owner, having a notification of missing tests on beta challenges will reduce the number of incoming tickets and duplicate tickets because users will know the challenge is incomplete.</p>
<p dir="auto">Additionally, I think this could be easier for users to spot opportunities to work on the project.</p>
<p dir="auto">example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "id": "587d7b89367417b2b2512b48",
"title": "Use the Spread Operator",
"description": [
"ES6 introduces the <dfn>spread operator</dfn>, which allows us to expand arrays and other expressions in places where multiple parameters or elements are expected.",
"The ES5 code below uses <code>apply()</code> to compute the maximum value in an array:",
"<blockquote>var arr = [6, 89, 3, 45];<br>var maximus = Math.max.apply(null, arr); // returns 89</blockquote>",
"We had to use <code>Math.max.apply(null, arr)</code> because <code>Math.max(arr)</code> returns <code>NaN</code>. <code>Math.max()</code> expects comma-separated arguments, but not an array.",
"The spread operator makes this syntax much better to read and maintain.",
"<blockquote>const arr = [6, 89, 3, 45];<br>const maximus = Math.max(...arr); // returns 89</blockquote>",
"<code>...arr</code> returns an unpacked array. In other words, it <em>spreads</em> the array.",
"However, the spread operator only works in-place, like in an argument to a function or in an array literal. The following code will not work:",
"<blockquote>const spreaded = ...arr; // will throw a syntax error</blockquote>",
"<hr>",
"Copy all contents of <code>arr1</code> into another array <code>arr2</code> using the spread operator."
],
"challengeSeed": [
"const arr1 = ['JAN', 'FEB', 'MAR', 'APR', 'MAY'];",
"const arr2 = [];",
"// change code below this line",
"// change code above this line",
"arr1.push('JUN');",
"console.log(arr2); // arr2 should not be affected"
],
"tests": [
"// Test arr2 is correct copy of arr1",
"// Test arr1 has changed",
"// Test spread operator was used"
]"><pre class="notranslate"><code class="notranslate"> "id": "587d7b89367417b2b2512b48",
"title": "Use the Spread Operator",
"description": [
"ES6 introduces the <dfn>spread operator</dfn>, which allows us to expand arrays and other expressions in places where multiple parameters or elements are expected.",
"The ES5 code below uses <code>apply()</code> to compute the maximum value in an array:",
"<blockquote>var arr = [6, 89, 3, 45];<br>var maximus = Math.max.apply(null, arr); // returns 89</blockquote>",
"We had to use <code>Math.max.apply(null, arr)</code> because <code>Math.max(arr)</code> returns <code>NaN</code>. <code>Math.max()</code> expects comma-separated arguments, but not an array.",
"The spread operator makes this syntax much better to read and maintain.",
"<blockquote>const arr = [6, 89, 3, 45];<br>const maximus = Math.max(...arr); // returns 89</blockquote>",
"<code>...arr</code> returns an unpacked array. In other words, it <em>spreads</em> the array.",
"However, the spread operator only works in-place, like in an argument to a function or in an array literal. The following code will not work:",
"<blockquote>const spreaded = ...arr; // will throw a syntax error</blockquote>",
"<hr>",
"Copy all contents of <code>arr1</code> into another array <code>arr2</code> using the spread operator."
],
"challengeSeed": [
"const arr1 = ['JAN', 'FEB', 'MAR', 'APR', 'MAY'];",
"const arr2 = [];",
"// change code below this line",
"// change code above this line",
"arr1.push('JUN');",
"console.log(arr2); // arr2 should not be affected"
],
"tests": [
"// Test arr2 is correct copy of arr1",
"// Test arr1 has changed",
"// Test spread operator was used"
]
</code></pre></div> | 0 |
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.): No</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): rbd</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): Bug Report</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto">Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:45:16Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}<br>
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.6", GitCommit:"ae4550cc9c89a593bcda6678df201db1b208133b", GitTreeState:"clean", BuildDate:"2016-08-26T18:06:06Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: Baremetal (Supermicro 1028R)</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): CoreOS 1068.10.0</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 4.6.3-coreos</li>
<li><strong>Install tools</strong>: custom</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">I first deployed a new pod (via deployment) for running Grafana, using two Ceph RBD volumes (for <code class="notranslate">/var/lib/grafana</code> and <code class="notranslate">/etc/grafana</code>).</p>
<p dir="auto">I then found that I'd mounted a volume over the default config with the <code class="notranslate">/etc/grafana</code> mount and decided to just skip that for now and remove that volume. I applied a new version of the deployment with just the RBD for <code class="notranslate">/var/lib/grafana</code>. It got created on a different node and was unable to mount the volume because it was already mounted on the first node.</p>
<p dir="auto">On investigation, I found that the original node still had the RBD volumes mapped and mounted. The kubelet logs indicate "success" when tearing down the volumes:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.809860 766 reconciler.go:179] UnmountVolume operation started for volume "kubernetes.io/secret/6e4e5190-7617-11e6-b97e-0015c5edcf5a-default-token-a7f06" (spec.Name: "default-token-a7f06") from pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-001
5c5edcf5a").
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.809897 766 reconciler.go:179] UnmountVolume operation started for volume "kubernetes.io/rbd/6e4e5190-7617-
11e6-b97e-0015c5edcf5a-grafana-cfg" (spec.Name: "grafana-cfg") from pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a").
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.809915 766 reconciler.go:179] UnmountVolume operation started for volume "kubernetes.io/rbd/6e4e5190-7617-11e6-b97e-0015c5edcf5a-grafana-data" (spec.Name: "grafana-data") from pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a").
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.840960 766 operation_executor.go:843] UnmountVolume.TearDown succeeded for volume "kubernetes.io/secret/6e4e5190-7617-11e6-b97e-0015c5edcf5a-default-token-a7f06" (OuterVolumeSpecName: "default-token-a7f06") pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a"). InnerVolumeSpecName "default-token-a7f06". PluginName "kubernetes.io/secret", VolumeGidValue ""
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.843030 766 operation_executor.go:843] UnmountVolume.TearDown succeeded for volume "kubernetes.io/rbd/6e4e5190-7617-11e6-b97e-0015c5edcf5a-grafana-data" (OuterVolumeSpecName: "grafana-data") pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a"). InnerVolumeSpecName "grafana-data". PluginName "kubernetes.io/rbd", VolumeGidValue ""
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.844789 766 operation_executor.go:843] UnmountVolume.TearDown succeeded for volume "kubernetes.io/rbd/6e4e5190-7617-11e6-b97e-0015c5edcf5a-grafana-cfg" (OuterVolumeSpecName: "grafana-cfg") pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a"). InnerVolumeSpecName "grafana-cfg". PluginName "kubernetes.io/rbd", VolumeGidValue """><pre class="notranslate"><code class="notranslate">Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.809860 766 reconciler.go:179] UnmountVolume operation started for volume "kubernetes.io/secret/6e4e5190-7617-11e6-b97e-0015c5edcf5a-default-token-a7f06" (spec.Name: "default-token-a7f06") from pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-001
5c5edcf5a").
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.809897 766 reconciler.go:179] UnmountVolume operation started for volume "kubernetes.io/rbd/6e4e5190-7617-
11e6-b97e-0015c5edcf5a-grafana-cfg" (spec.Name: "grafana-cfg") from pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a").
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.809915 766 reconciler.go:179] UnmountVolume operation started for volume "kubernetes.io/rbd/6e4e5190-7617-11e6-b97e-0015c5edcf5a-grafana-data" (spec.Name: "grafana-data") from pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a").
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.840960 766 operation_executor.go:843] UnmountVolume.TearDown succeeded for volume "kubernetes.io/secret/6e4e5190-7617-11e6-b97e-0015c5edcf5a-default-token-a7f06" (OuterVolumeSpecName: "default-token-a7f06") pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a"). InnerVolumeSpecName "default-token-a7f06". PluginName "kubernetes.io/secret", VolumeGidValue ""
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.843030 766 operation_executor.go:843] UnmountVolume.TearDown succeeded for volume "kubernetes.io/rbd/6e4e5190-7617-11e6-b97e-0015c5edcf5a-grafana-data" (OuterVolumeSpecName: "grafana-data") pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a"). InnerVolumeSpecName "grafana-data". PluginName "kubernetes.io/rbd", VolumeGidValue ""
Sep 08 23:03:04 AF002385 docker[630]: I0908 23:03:04.844789 766 operation_executor.go:843] UnmountVolume.TearDown succeeded for volume "kubernetes.io/rbd/6e4e5190-7617-11e6-b97e-0015c5edcf5a-grafana-cfg" (OuterVolumeSpecName: "grafana-cfg") pod "6e4e5190-7617-11e6-b97e-0015c5edcf5a" (UID: "6e4e5190-7617-11e6-b97e-0015c5edcf5a"). InnerVolumeSpecName "grafana-cfg". PluginName "kubernetes.io/rbd", VolumeGidValue ""
</code></pre></div>
<p dir="auto">You can see that each volume appears twice in the output of <code class="notranslate">mount</code> (which is true of apparently everything under <code class="notranslate">/var/lib/kubelet</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/dev/rbd0 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-cfg type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)
/dev/rbd0 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-cfg type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)
/dev/rbd1 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-data type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)
/dev/rbd1 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-data type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)"><pre class="notranslate"><code class="notranslate">/dev/rbd0 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-cfg type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)
/dev/rbd0 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-cfg type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)
/dev/rbd1 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-data type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)
/dev/rbd1 on /var/lib/kubelet/plugins/kubernetes.io/rbd/rbd/docker-image-grafana-data type xfs (rw,relatime,seclabel,attr2,inode64,sunit=8192,swidth=8192,noquota)
</code></pre></div>
<p dir="auto">I expect this might be related to recent changes I had to make to how I'm running Docker and Kubelet in order to make secret mounts under Kubernetes 1.3 work. (Bindmounting /var/lib/kubelet onto itself and then marking it shared, per some updated hyperkube instructions... that I can no longer find.) See below for details of how I'm running kubelet.</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">That the original node would successfully unmount and unmap the rbd volumes.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto">Delete a pod with an RBD volume running in a kubelet, possibly with my specific options. (See below.)</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto">Here's the systemd unit for running the kubelet:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Unit]
Description=Kubernetes Worker Node
Wants=network-online.target
After=network-online.target
[Service]
ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests
ExecStartPre=-/usr/bin/docker kill kubelet
ExecStartPre=-/usr/bin/docker rm kubelet
ExecStartPre=/usr/bin/bash -c "/usr/bin/mountpoint -q /var/lib/kubelet || /usr/bin/mount --bind /var/lib/kubelet /var/lib/kubelet"
ExecStartPre=/usr/bin/mount --make-shared /var/lib/kubelet
ExecStartPre=/usr/bin/docker pull docker.imvu.com/kubernetes/hyperkube:v1.3.6
ExecStart=/usr/bin/docker run \
--name kubelet \
-v /etc/kubernetes:/etc/kubernetes \
-v /etc/ssl:/etc/ssl:ro \
-v /etc/ceph:/etc/ceph \
-v /usr/sbin/modprobe:/sbin/modprobe:ro \
-v /lib/modules:/lib/modules:ro \
-v /dev:/dev \
-v /root/.docker/config.json:/root/.docker/config.json:ro \
-e HOME=/root/ \
--net=host \
--pid=host \
--privileged \
--volume=/:/rootfs:ro \
--volume=/sys:/sys:rw \
--volume=/var/lib/docker/:/var/lib/docker:rw \
--volume=/var/lib/kubelet/:/var/lib/kubelet:rw,shared \
--volume=/var/run:/var/run:rw \
docker.imvu.com/kubernetes/hyperkube:v1.3.6 \
/hyperkube kubelet \
--containerized \
--api-servers=https://10.2.0.24 \
--register-node=true \
--allow-privileged=true \
--config=/etc/kubernetes/manifests \
--cluster-dns=10.96.0.2 \
--cluster-domain=k8s.prod.imvu.com \
--kubeconfig=/etc/kubernetes/worker-kubeconfig.yaml \
--kube-reserved=cpu=500m,memory=128Mi \
--node-labels=%s \
--tls-cert-file=/etc/ssl/host-cert.pem \
--tls-private-key-file=/etc/ssl/host-key.pem
Restart=always
RestartSec=10"><pre class="notranslate"><code class="notranslate">[Unit]
Description=Kubernetes Worker Node
Wants=network-online.target
After=network-online.target
[Service]
ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests
ExecStartPre=-/usr/bin/docker kill kubelet
ExecStartPre=-/usr/bin/docker rm kubelet
ExecStartPre=/usr/bin/bash -c "/usr/bin/mountpoint -q /var/lib/kubelet || /usr/bin/mount --bind /var/lib/kubelet /var/lib/kubelet"
ExecStartPre=/usr/bin/mount --make-shared /var/lib/kubelet
ExecStartPre=/usr/bin/docker pull docker.imvu.com/kubernetes/hyperkube:v1.3.6
ExecStart=/usr/bin/docker run \
--name kubelet \
-v /etc/kubernetes:/etc/kubernetes \
-v /etc/ssl:/etc/ssl:ro \
-v /etc/ceph:/etc/ceph \
-v /usr/sbin/modprobe:/sbin/modprobe:ro \
-v /lib/modules:/lib/modules:ro \
-v /dev:/dev \
-v /root/.docker/config.json:/root/.docker/config.json:ro \
-e HOME=/root/ \
--net=host \
--pid=host \
--privileged \
--volume=/:/rootfs:ro \
--volume=/sys:/sys:rw \
--volume=/var/lib/docker/:/var/lib/docker:rw \
--volume=/var/lib/kubelet/:/var/lib/kubelet:rw,shared \
--volume=/var/run:/var/run:rw \
docker.imvu.com/kubernetes/hyperkube:v1.3.6 \
/hyperkube kubelet \
--containerized \
--api-servers=https://10.2.0.24 \
--register-node=true \
--allow-privileged=true \
--config=/etc/kubernetes/manifests \
--cluster-dns=10.96.0.2 \
--cluster-domain=k8s.prod.imvu.com \
--kubeconfig=/etc/kubernetes/worker-kubeconfig.yaml \
--kube-reserved=cpu=500m,memory=128Mi \
--node-labels=%s \
--tls-cert-file=/etc/ssl/host-cert.pem \
--tls-private-key-file=/etc/ssl/host-key.pem
Restart=always
RestartSec=10
</code></pre></div>
<p dir="auto">(The %s is replaced with a string at generation time.)</p>
<p dir="auto"><code class="notranslate">docker.imvu.com/kubernetes/hyperkube:v1.3.6</code> is a customized image based on the upstream hyperkube Dockerfile, with some extra packages and rebased on top of a version of Ubuntu that we ensure has all security updates. Here's the Dockerfile for it:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM docker.imvu.com/base/ubuntu:16.04
ADD docker/kubernetes/hyperkube/ceph-release.asc /tmp/ceph-release.asc
RUN apt-key add /tmp/ceph-release.asc
ADD docker/kubernetes/hyperkube/ceph.list /etc/apt/sources.list.d/ceph.list
RUN apt-get update
RUN apt-get-for-docker.sh \
ca-certificates \
ceph-common \
conntrack \
curl \
ethtool \
file \
git \
iptables \
socat \
nfs-common \
util-linux
RUN cp /usr/bin/nsenter /nsenter
COPY docker/kubernetes/hyperkube/hyperkube /hyperkube
RUN chmod a+rx /hyperkube
RUN ln -s /hyperkube /kubelet"><pre class="notranslate"><code class="notranslate">FROM docker.imvu.com/base/ubuntu:16.04
ADD docker/kubernetes/hyperkube/ceph-release.asc /tmp/ceph-release.asc
RUN apt-key add /tmp/ceph-release.asc
ADD docker/kubernetes/hyperkube/ceph.list /etc/apt/sources.list.d/ceph.list
RUN apt-get update
RUN apt-get-for-docker.sh \
ca-certificates \
ceph-common \
conntrack \
curl \
ethtool \
file \
git \
iptables \
socat \
nfs-common \
util-linux
RUN cp /usr/bin/nsenter /nsenter
COPY docker/kubernetes/hyperkube/hyperkube /hyperkube
RUN chmod a+rx /hyperkube
RUN ln -s /hyperkube /kubelet
</code></pre></div>
<p dir="auto">The hyperkube binary there is the one from the 1.3.6 release tarball.</p> | <p dir="auto">The <code class="notranslate">containerPort</code> attribute in the pod manifest could be inferred from the image metadata when not supplied by the developer.</p>
<p dir="auto">That way developers won't have to duplicate the information they already put in EXPOSE in their Dockerfile.</p>
<p dir="auto">This information looks available through the remote API on <code class="notranslate">/image</code> resources under the <code class="notranslate">PortSpecs</code> attribute:<br>
<a href="https://docs.docker.com/reference/api/docker_remote_api_v1.13/#inspect-an-image" rel="nofollow">https://docs.docker.com/reference/api/docker_remote_api_v1.13/#inspect-an-image</a></p> | 0 |
<p dir="auto">Can support rtl layout like this repo:<br>
<a href="https://github.com/morteza/bootstrap-rtl">https://github.com/morteza/bootstrap-rtl</a></p> | <p dir="auto">I'm not speaking any RTL languages, but since I'm working on a project supporting RTL, I was wondering if <a href="http://getbootstrap.com/css/#forms-control-validation" rel="nofollow">form-groups</a> shouldn't align the icon inside a input to the left-side. Maybe a native speaker of an RTL can share their thoughts on this.</p> | 1 |
<blockquote>
<p dir="auto">Issue originally made by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergus">@bergus</a></p>
</blockquote>
<h3 dir="auto">Bug information</h3>
<ul dir="auto">
<li><strong>Babel version:</strong> v6.x (babel.io/repl)</li>
</ul>
<h3 dir="auto">Options</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="plain preset es-2015, nothing else"><pre class="notranslate"><code class="notranslate">plain preset es-2015, nothing else
</code></pre></div>
<h3 dir="auto">Input code</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""use strict";
function foo1() {
for (let bar = 2; bar < 3; bar++) {
let bar = 4;
}
}
function foo2() {
var bar;
for (let bar = 2; bar < 3; bar++) {
let bar = 4;
}
}"><pre class="notranslate"><code class="notranslate">"use strict";
function foo1() {
for (let bar = 2; bar < 3; bar++) {
let bar = 4;
}
}
function foo2() {
var bar;
for (let bar = 2; bar < 3; bar++) {
let bar = 4;
}
}
</code></pre></div>
<p dir="auto">[[ https://babeljs.io/repl/#?evaluate=true&lineWrap=false&presets=es2015&code="use%20strict"%3Bfunction%20foo1()%20{%20%20for%20(let%20bar%20%3D%202%3B%20bar%20<%203%3B%20bar%2B%2B)%20{%20%20%20%20let%20bar%20%3D%204%3B%20%20}}function%20foo2()%20{%20%20var%20bar%3B%20%20for%20(let%20bar%20%3D%202%3B%20bar%20<%203%3B%20bar%2B%2B)%20{%20%20%20%20let%20bar%20%3D%204%3B%20%20}} | produces ]]</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""use strict";
function foo1() {
for (var bar = 2; bar < 3; bar++) {
var bar = 4;
}
}
function foo2() {
var bar;
for (var bar = 2; bar < 3; bar++) {
var _bar = 4;
}
}"><pre class="notranslate"><code class="notranslate">"use strict";
function foo1() {
for (var bar = 2; bar < 3; bar++) {
var bar = 4;
}
}
function foo2() {
var bar;
for (var bar = 2; bar < 3; bar++) {
var _bar = 4;
}
}
</code></pre></div>
<h3 dir="auto">Description</h3>
<p dir="auto">In <code class="notranslate">foo1</code> it should produce two different <code class="notranslate">bar</code> variables - the one in the body of the loop is block-scoped and not the same as the one created by the loop. See also <a href="http://stackoverflow.com/q/37855990/1048572" rel="nofollow">http://stackoverflow.com/q/37855990/1048572</a></p>
<p dir="auto">Now that might be a simple bug, but it's getting weird in <code class="notranslate">foo2</code> where a function-level <code class="notranslate">bar</code> is introduced (both <code class="notranslate">let</code> and <code class="notranslate">var</code> and parameters reproduce this). Here the <code class="notranslate">bar</code> variables of the loop and the body are indeed separated as expected, but the one of the loop header collides with the function-scope one. This does usually work - as long as there is no <code class="notranslate">let</code> declaration in the loop body.</p> | <blockquote>
<p dir="auto">Issue originally reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Faithree/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Faithree">@Faithree</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="259720195" data-permission-text="Title is private" data-url="https://github.com/babel/babel-preset-env/issues/422" data-hovercard-type="issue" data-hovercard-url="/babel/babel-preset-env/issues/422/hovercard" href="https://github.com/babel/babel-preset-env/issues/422">babel/babel-preset-env#422</a></p>
</blockquote>
<p dir="auto">Somebody tell me how to do it? In addition to using polyfill</p> | 0 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto"><strong>Expected/desired behavior</strong></p>
<p dir="auto">Reposted from router v3 repo via <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/choeller/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/choeller">@choeller</a></p>
<p dir="auto">With the deprecated Router it was possible to add additional data to a Route-Configuration like this:</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RouteConfig/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RouteConfig">@RouteConfig</a>([<br>
{path: '/about', component: AboutComponent, name: 'About', data: {title :"About us"}},<br>
])<br>
with this information it was possible to do some generic operations when activating the route (e.g. setting the page title via Title-Service. It would be cool to have this possibility again.</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://plnkr.co" rel="nofollow">https://plnkr.co</a> or similar (you can use this template as a starting point: <a href="http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5" rel="nofollow">http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5</a>).</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.X</li>
<li><strong>Browser:</strong> [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 ]</li>
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5 | Dart]</li>
</ul> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[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"><pre class="notranslate"><code class="notranslate">[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
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
Try creating a ngFor look in a component template with an invalid statement (in this case the prefixed <code class="notranslate">let</code> token is missing):</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" <div *ngFor="item of items" class="item">
{{ item }}
</div> "><pre class="notranslate"> <span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">*ngFor</span>="<span class="pl-s">item of items</span>" <span class="pl-c1">class</span>="<span class="pl-s">item</span>"<span class="pl-kos">></span>
{{ item }}
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span> </pre></div>
<p dir="auto"><strong>Expected behavior</strong><br>
It would be nice to have a clear error message that informs the user that the ngFor expression is invalid, instead of something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: Template parse errors:
Can't bind to 'ngFor' since it isn't a known property of 'div'. ("
<div [ERROR ->]*ngFor="item of items" class="item">
{{ item }}
</div>"><pre class="notranslate"><code class="notranslate">Error: Template parse errors:
Can't bind to 'ngFor' since it isn't a known property of 'div'. ("
<div [ERROR ->]*ngFor="item of items" class="item">
{{ item }}
</div>
</code></pre></div>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
Just follow the steps above.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
NgFor is the most important templating feature in Angular and it looks like this error can show up quite a bit. Let's make this easier on the user.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
Works anywhere. This is in the angular/angular project.</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X<br>
4.0.0</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> [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 ]<br>
Chrome (running on Karma).</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
TS</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
This is running in runtime. Not sure how this looks post AOT.</p>
</li>
</ul> | 0 |
<ul dir="auto">
<li>Electron version:<br>
Electron 1.3.0</li>
<li>Operating system:<br>
Windows 7 - Windows 10</li>
</ul>
<p dir="auto">Issue:<br>
After the new so far not officially released Brave version has included that update towards Electron 1.3.0 there are rendering glitches/tearing effects when scrolling down with deactivated hardware acceleration. There are also some when activating it, but so far deactivating hardware acceleration has removed that white lines/glitches/tearings when scrolling.</p>
<p dir="auto">This is no longer the case after that update to Electron 1.3.0</p>
<p dir="auto">Can be avoided in other Chromium based browsers that deactivating smooth scrolling is used, which is missing in Electron. You plan to add that option? Problem is that Google will also remove that feature at one point from the flags, could you find a way to keep that in Electron somehow then?</p> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>6.0.9</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>window7</li>
</ul>
</li>
<li><strong>Nodejs version:</strong>
<ul dir="auto">
<li>12.10.0</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">boot the app normal</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">black screen on started</p> | 0 |
<p dir="auto">I get this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="src/lib.rs:57:7: 57:10 warning: unused variable: `enc`, #[warn(unused_variables)] on by default
src/lib.rs:57 let enc = EncodingOverride::lookup("ascii".as_bytes());
^~~
rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/CodeGen/LexicalScopes.cpp:179: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(llvm::MDNode*): Assertion `DISubprogram(Scope).describes(MF->getFunction())' failed.
Could not compile `rust_url_capi`."><pre class="notranslate"><code class="notranslate">src/lib.rs:57:7: 57:10 warning: unused variable: `enc`, #[warn(unused_variables)] on by default
src/lib.rs:57 let enc = EncodingOverride::lookup("ascii".as_bytes());
^~~
rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/CodeGen/LexicalScopes.cpp:179: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(llvm::MDNode*): Assertion `DISubprogram(Scope).describes(MF->getFunction())' failed.
Could not compile `rust_url_capi`.
</code></pre></div>
<p dir="auto">It seems to be a compiler bug.<br>
It occurs at this line, since commenting it seems to fix the problem:<br>
<a href="https://github.com/valenting/rust-url-capi/blob/64c0a049bbffdb2676d39e0bc97ba0c5abb66ba6/src/lib.rs#L57">https://github.com/valenting/rust-url-capi/blob/64c0a049bbffdb2676d39e0bc97ba0c5abb66ba6/src/lib.rs#L57</a></p>
<p dir="auto">My guess is that the problem occurs because from rust_url_capi lib.rs:57-> rust-url encoding.rs:44 -> rust-encoding label.rs:13</p> | <h3 dir="auto">STR</h3>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![crate_type = "staticlib"]
#![feature(core)]
#![feature(lang_items)]
#![feature(no_std)]
#![no_std]
extern crate core;
mod lang_items {
use core::fmt::Arguments;
#[lang = "stack_exhausted"]
extern "C" fn stack_exhausted() { }
#[lang = "eh_personality"]
extern "C" fn eh_personality() { }
#[lang = "panic_fmt"]
fn panic_fmt(_: &Arguments, _: &(&'static str, usize)) -> ! {
loop {}
}
}
pub enum Input {
Floating,
}
pub mod low {
use super::Mode;
pub enum Pin {
_0,
}
pub struct Cr(u32);
impl Cr {
pub fn set(&mut self, pin: Pin, mode: Mode) {
self.0 |= mode.value() << (4 * pin as u8)
}
}
}
pub mod high {
use super::Mode;
pub enum Pin {
_8,
}
pub struct Cr(u32);
impl Cr {
pub fn set(&mut self, pin: Pin, mode: Mode) {
self.0 |= mode.value() << (4 * pin as u8)
}
}
}
pub enum Mode { Input(Input) }
impl Mode {
fn value(&self) -> u32 {
match *self {
Mode::Input(Input::Floating) => 4,
}
}
}"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>crate_type = <span class="pl-s">"staticlib"</span><span class="pl-kos">]</span></span>
<span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>core<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>lang_items<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>no_std<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-c1">#!<span class="pl-kos">[</span>no_std<span class="pl-kos">]</span></span>
<span class="pl-k">extern</span> <span class="pl-k">crate</span> core<span class="pl-kos">;</span>
<span class="pl-k">mod</span> lang_items <span class="pl-kos">{</span>
<span class="pl-k">use</span> core<span class="pl-kos">::</span>fmt<span class="pl-kos">::</span><span class="pl-v">Arguments</span><span class="pl-kos">;</span>
<span class="pl-c1">#<span class="pl-kos">[</span>lang = <span class="pl-s">"stack_exhausted"</span><span class="pl-kos">]</span></span>
<span class="pl-k">extern</span> <span class="pl-s">"C"</span> <span class="pl-k">fn</span> <span class="pl-en">stack_exhausted</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span>
<span class="pl-c1">#<span class="pl-kos">[</span>lang = <span class="pl-s">"eh_personality"</span><span class="pl-kos">]</span></span>
<span class="pl-k">extern</span> <span class="pl-s">"C"</span> <span class="pl-k">fn</span> <span class="pl-en">eh_personality</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span>
<span class="pl-c1">#<span class="pl-kos">[</span>lang = <span class="pl-s">"panic_fmt"</span><span class="pl-kos">]</span></span>
<span class="pl-k">fn</span> <span class="pl-en">panic_fmt</span><span class="pl-kos">(</span>_<span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-smi">Arguments</span><span class="pl-kos">,</span> _<span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">static</span> <span class="pl-smi">str</span><span class="pl-kos">,</span> <span class="pl-smi">usize</span><span class="pl-kos">)</span><span class="pl-kos">)</span> -> ! <span class="pl-kos">{</span>
<span class="pl-k">loop</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">Input</span> <span class="pl-kos">{</span>
<span class="pl-v">Floating</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">mod</span> low <span class="pl-kos">{</span>
<span class="pl-k">use</span> <span class="pl-k">super</span><span class="pl-kos">::</span><span class="pl-v">Mode</span><span class="pl-kos">;</span>
<span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">Pin</span> <span class="pl-kos">{</span>
_0<span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">Cr</span><span class="pl-kos">(</span><span class="pl-smi">u32</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">impl</span> <span class="pl-smi">Cr</span> <span class="pl-kos">{</span>
<span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">,</span> <span class="pl-s1">pin</span><span class="pl-kos">:</span> <span class="pl-smi">Pin</span><span class="pl-kos">,</span> <span class="pl-s1">mode</span><span class="pl-kos">:</span> <span class="pl-smi">Mode</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">0</span> |= mode<span class="pl-kos">.</span><span class="pl-en">value</span><span class="pl-kos">(</span><span class="pl-kos">)</span> << <span class="pl-kos">(</span><span class="pl-c1">4</span> <span class="pl-c1">*</span> pin <span class="pl-k">as</span> <span class="pl-smi">u8</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">mod</span> high <span class="pl-kos">{</span>
<span class="pl-k">use</span> <span class="pl-k">super</span><span class="pl-kos">::</span><span class="pl-v">Mode</span><span class="pl-kos">;</span>
<span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">Pin</span> <span class="pl-kos">{</span>
_8<span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">Cr</span><span class="pl-kos">(</span><span class="pl-smi">u32</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">impl</span> <span class="pl-smi">Cr</span> <span class="pl-kos">{</span>
<span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">,</span> <span class="pl-s1">pin</span><span class="pl-kos">:</span> <span class="pl-smi">Pin</span><span class="pl-kos">,</span> <span class="pl-s1">mode</span><span class="pl-kos">:</span> <span class="pl-smi">Mode</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">0</span> |= mode<span class="pl-kos">.</span><span class="pl-en">value</span><span class="pl-kos">(</span><span class="pl-kos">)</span> << <span class="pl-kos">(</span><span class="pl-c1">4</span> <span class="pl-c1">*</span> pin <span class="pl-k">as</span> <span class="pl-smi">u8</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">Mode</span> <span class="pl-kos">{</span> <span class="pl-v">Input</span><span class="pl-kos">(</span><span class="pl-smi">Input</span><span class="pl-kos">)</span> <span class="pl-kos">}</span>
<span class="pl-k">impl</span> <span class="pl-smi">Mode</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">value</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">u32</span> <span class="pl-kos">{</span>
<span class="pl-k">match</span> <span class="pl-c1">*</span><span class="pl-smi">self</span> <span class="pl-kos">{</span>
<span class="pl-smi">Mode</span><span class="pl-kos">::</span><span class="pl-v">Input</span><span class="pl-kos">(</span><span class="pl-smi">Input</span><span class="pl-kos">::</span><span class="pl-v">Floating</span><span class="pl-kos">)</span> => <span class="pl-c1">4</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Output</h3>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/CodeGen/LexicalScopes.cpp:179: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(llvm::MDNode*): Assertion `DISubprogram(Scope).describes(MF->getFunction())' failed."><pre class="notranslate">rustc<span class="pl-kos">:</span> /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/<span class="pl-v">CodeGen</span>/<span class="pl-v">LexicalScopes</span><span class="pl-kos">.</span><span class="pl-c1">cpp</span><span class="pl-kos">:</span><span class="pl-c1">179</span><span class="pl-kos">:</span> llvm<span class="pl-kos">::</span><span class="pl-v">LexicalScope</span><span class="pl-c1">*</span> llvm<span class="pl-kos">::</span><span class="pl-smi">LexicalScopes</span><span class="pl-kos">::</span>getOrCreateRegularScope<span class="pl-kos">(</span>llvm<span class="pl-kos">::</span><span class="pl-v">MDNode</span><span class="pl-c1">*</span><span class="pl-kos">)</span><span class="pl-kos">:</span> <span class="pl-v">Assertion</span> `<span class="pl-v">DISubprogram</span><span class="pl-kos">(</span><span class="pl-v">Scope</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">describes</span><span class="pl-kos">(</span><span class="pl-v">MF</span>-><span class="pl-en">getFunction</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-c1">'</span> failed<span class="pl-kos">.</span></pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/michaelwoerister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/michaelwoerister">@michaelwoerister</a> Same error message as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="44545253" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/17677" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/17677/hovercard" href="https://github.com/rust-lang/rust/issues/17677">#17677</a>, but I don't know if it's the same bug, this one needs <code class="notranslate">-O</code>.</p> | 1 |
<p dir="auto">Hi,</p>
<p dir="auto">We use Visual Studio 2013 Premium Update 4 and develop applications in TypeScript 1.4. We have a very serious issue, when we start debugging the code, entering into another method in another class would freeze the whole Visual Studio. It is then stalled for at least few minutes. The only way to quickly work with the Visual Studio again is by terminating the Visual Studio process from the task manager and restart the application again.</p>
<p dir="auto">Any ideas on how to solve this issue? Thanks in advance.</p>
<p dir="auto">By the way, I posted the same thing in CodePlex, I received a reply asking me to use GitHub instead. Reference link: <a href="https://typescript.codeplex.com/workitem/2657" rel="nofollow">https://typescript.codeplex.com/workitem/2657</a></p>
<p dir="auto">Thanks again.</p> | <p dir="auto">I've been using TypeScript successfully in my project for a while now (love it!), but after making some changes to my code recently I've run into an issue where Visual Studio now hangs whenever I step into a function while debugging. I won't claim that my changes were bug-free, but bringing Visual Studio to a full stop doesn't seem like something my changes should have caused. Also, I continue to see this behavior after reverting those recent changes to a point where I'm certain things were still working fine with TypeScript.</p>
<p dir="auto">I'm running Visual Studio Ultimate 2013 Update 4 and I did a repair installation on it while struggling with this problem. I originally was using TypeScript v1.0 but upgraded to v1.4 in hopes it would solve the problem, but it did not. I'd be happy to provide logs and traces and so forth if someone can tell me where to find them.</p> | 1 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Forgive me if I've misconfigured something, but it seems like if I <code class="notranslate">import {Toggle} from 'react-powerplug'</code> in chunk A and <code class="notranslate">import {Interval} from 'react-powerplug'</code> in chunk B, all of the <code class="notranslate">react-powerplug</code> code winds up in chunk A, because <code class="notranslate">react-powerplug</code> exports a single rollup bundled js module.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><a href="https://github.com/jedwards1211/webpack-code-splitting-issue">https://github.com/jedwards1211/webpack-code-splitting-issue</a><br>
just clone, <code class="notranslate">yarn install</code> and run <code class="notranslate">webpack</code>. The output <code class="notranslate">dist/main.js</code> will contain all of the code being used from <code class="notranslate">react-powerplug</code>; the <code class="notranslate">dist/1.js</code> chunk imports <code class="notranslate">Interval</code> from <code class="notranslate">main.js</code>.</p>
<p dir="auto">Here is what the relevant code looks like:</p>
<h3 dir="auto"><code class="notranslate">src/index.js</code></h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {Toggle} from 'react-powerplug'
console.log(Toggle)
import('./chunk-b')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-v">Toggle</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-powerplug'</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Toggle</span><span class="pl-kos">)</span>
<span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">'./chunk-b'</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">The output <code class="notranslate">dist/main.js</code> on my machine contained all of the code I used from <code class="notranslate">react-powerplug</code>, whereas <code class="notranslate">dist/1.js</code> just imports <code class="notranslate">Interval</code> from <code class="notranslate">main.js</code>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{3:function(o,n,s){"use strict";s.r(n);var w=s(1);console.log(w.a)}}]);"><pre class="notranslate"><span class="pl-kos">(</span><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">webpackJsonp</span><span class="pl-c1">=</span><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">webpackJsonp</span><span class="pl-c1">||</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">,</span><span class="pl-kos">{</span><span class="pl-c1">3</span>:<span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">o</span><span class="pl-kos">,</span><span class="pl-s1">n</span><span class="pl-kos">,</span><span class="pl-s1">s</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-s">"use strict"</span><span class="pl-kos">;</span><span class="pl-s1">s</span><span class="pl-kos">.</span><span class="pl-en">r</span><span class="pl-kos">(</span><span class="pl-s1">n</span><span class="pl-kos">)</span><span class="pl-kos">;</span><span class="pl-k">var</span> <span class="pl-s1">w</span><span class="pl-c1">=</span><span class="pl-s1">s</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">w</span><span class="pl-kos">.</span><span class="pl-c1">a</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h3 dir="auto"><code class="notranslate">src/chunk-b.js</code></h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {Interval} from 'react-powerplug'
console.log(Interval)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-v">Interval</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-powerplug'</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Interval</span><span class="pl-kos">)</span></pre></div>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Code for <code class="notranslate">react-powerplug</code>'s <code class="notranslate">Toggle</code> winds up in <code class="notranslate">main.js</code>, and code for <code class="notranslate">Interval</code> winds up in <code class="notranslate">1.js</code>.</p>
<p dir="auto">Given that it's becoming popular to release packages as rollup bundles, I want to make sure webpack will be able to include part of that rollup bundle in one chunk, and another part of the bundle in another.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 4.16.2<br>
Node.js version: 8<br>
Operating System: macOS</p> | <h2 dir="auto">Feature request</h2>
<p dir="auto">Here is the bug-ish issue I'm running into:</p>
<p dir="auto"><a href="https://github.com/jedwards1211/webpack-code-splitting-issue/tree/two-async-chunks">https://github.com/jedwards1211/webpack-code-splitting-issue/tree/two-async-chunks</a></p>
<h3 dir="auto"><code class="notranslate">index.js</code></h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import('./chunk1.js')
import('./chunk2.js')"><pre class="notranslate"><span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">'./chunk1.js'</span><span class="pl-kos">)</span>
<span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">'./chunk2.js'</span><span class="pl-kos">)</span></pre></div>
<h3 dir="auto"><code class="notranslate">chunk1.js</code></h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { Toggle } from 'react-powerplug';
console.log(Toggle)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">Toggle</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-powerplug'</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Toggle</span><span class="pl-kos">)</span></pre></div>
<h3 dir="auto"><code class="notranslate">chunk2.js</code></h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { Value } from 'react-powerplug';
console.log(Value)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">Value</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-powerplug'</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Value</span><span class="pl-kos">)</span></pre></div>
<h3 dir="auto"><code class="notranslate">webpack.config.js</code></h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// webpack.config.js
module.exports = {
mode: 'production',
externals: {
'react': 'React'
},
}"><pre class="notranslate"><span class="pl-c">// webpack.config.js</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">mode</span>: <span class="pl-s">'production'</span><span class="pl-kos">,</span>
<span class="pl-c1">externals</span>: <span class="pl-kos">{</span>
<span class="pl-s">'react'</span>: <span class="pl-s">'React'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">webpack it on the command line</p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
<code class="notranslate">dist/1.js</code> contains <code class="notranslate">Toggle</code> but not <code class="notranslate">Value</code>.<br>
<code class="notranslate">dist/2.js</code> contains <code class="notranslate">Value</code> but not <code class="notranslate">Toggle</code>.</p>
<p dir="auto"><strong>Current behavior</strong><br>
<code class="notranslate">dist/1.js</code> contains both <code class="notranslate">Toggle</code> and <code class="notranslate">Value</code>.<br>
<code class="notranslate">dist/2.js</code> contains both <code class="notranslate">Toggle</code> and <code class="notranslate">Value</code>.</p>
<p dir="auto">It seems that the tree shaking is applied to <code class="notranslate">react-powerplug</code> main module itself, irrespective of the individual chunks that are importing from it.</p>
<p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong><br>
Many packages nowadays use rollup to bundle their code into a single JS module and distribute that one file (or maybe one bundle for ES5, one bundle for ES2015). As such, I want to be confident that Webpack will eliminate dead code effectively when several different chunks of my app are importing from a rollup bundle.</p>
<p dir="auto"><strong>How should this be implemented in your opinion?</strong><br>
Hopefully, tree-shaking can be performed on <code class="notranslate">react-powerplug</code> for the import in <code class="notranslate">chunk1.js</code>, and then a second, different round of tree-shaking can be performed for the import in <code class="notranslate">chunk2.js</code>. Right now it seems like Webpack is only performing one tree-shaking operation on <code class="notranslate">react-powerplug</code> based upon all imports from it from all chunks in my app.</p>
<p dir="auto"><strong>Are you willing to work on this yourself?</strong><br>
I would need a lot of guidance, as this seems like this might require a significant refactor</p> | 1 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Microsoft Windows [Version 10.0.18362.295]</p>
<p dir="auto">Any other software?<br>
Not applicable</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Open multiple tabs</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">As the number of tabs increase, I would expect the tab bar to behave like tabs from a web browser: the size of the tab would shrink in order to make space for the newly created tab.</p>
<p dir="auto">If the above doesn't happen, I would expect a setting that would limit how much text is displayed in a particular tab, so that one long tab doesn't take the entire tab bar real-estate.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Tabs do not shrink nor is the text in one tab limited, causing one tab with a lot of text to take up the entire tab bar real estate.<br>
The new tabTitle setting does not fix this issue, since long tab bars are created by the shell writing to them (such as a Razzle build environment).</p> | <ul dir="auto">
<li>
<p dir="auto">Your Windows build number: (Type <code class="notranslate">ver</code> at a Windows Command Prompt)<br>
Microsoft Windows [Version 10.0.18362.86]</p>
</li>
<li>
<p dir="auto">What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)<br>
In conhost or Windows Terminal, using both Vim.exe and WSL Vim, background color rendering becomes broken if a background color >16 or true colors is used.</p>
</li>
</ul>
<p dir="auto">With an example file, e.g. <a href="https://github.com/GilbertsHub/web-utils/blob/master/cgibinIntercept.sh">https://github.com/GilbertsHub/web-utils/blob/master/cgibinIntercept.sh</a>:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="vim -u NONE cgibinIntercept.sh +"hi Normal ctermbg=17" # for Windows: +"set t_Co=256"
# scroll down with CTRL-D"><pre class="notranslate">vim -u NONE cgibinIntercept.sh +<span class="pl-s"><span class="pl-pds">"</span>hi Normal ctermbg=17<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span> for Windows: +"set t_Co=256"</span>
<span class="pl-c"><span class="pl-c">#</span> scroll down with CTRL-D</span></pre></div>
<p dir="auto">In general it is much easier to reproduce in WSL than Vim.exe, because it doesn't seem to occur after the initial scroll on Vim.exe and the effects are a bit different as described below. I can reproduce with any combination of conhost/terminal and Vim 8.1.883 on Ubuntu/8.0 on Debian/8.1 on Win32. Does not reproduce with neovim (v0.4.0-430-g8698830cb).</p>
<p dir="auto">A few cases of example behavior:</p>
<ul dir="auto">
<li>Debian with conhost, Vim from official repository</li>
</ul>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ sudo apt install vim
$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 30 2017 18:21:38)
Included patches: 1-197, 322, 377-378, 550, 703, 706-707"><pre class="notranslate">$ sudo apt install vim
$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 30 2017 18:21:38)
Included patches: 1-197, 322, 377-378, 550, 703, 706-707</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7876996/57801234-26729d00-7708-11e9-8006-c1adc1bbbbcf.png"><img src="https://user-images.githubusercontent.com/7876996/57801234-26729d00-7708-11e9-8006-c1adc1bbbbcf.png" alt="vim-bg" style="max-width: 100%;"></a><br>
Same behavior in the new terminal.</p>
<ul dir="auto">
<li>
<p dir="auto">Vim.exe on conhost cmd.exe installed from <a href="https://github.com/vim/vim-win32-installer/releases/download/v8.1.1099/gvim_8.1.1099_x64.exe">https://github.com/vim/vim-win32-installer/releases/download/v8.1.1099/gvim_8.1.1099_x64.exe</a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7876996/57803566-959ec000-770d-11e9-8c95-8a0ee6c13ef8.png"><img src="https://user-images.githubusercontent.com/7876996/57803566-959ec000-770d-11e9-8c95-8a0ee6c13ef8.png" alt="vim-bg-conhost" style="max-width: 100%;"></a><br>
Background color is wrong on the text part but correct otherwise (purple, although this seems to depend on active colorscheme) but is fixed after a Ctrl-L redraw.</p>
</li>
<li>
<p dir="auto">Vim.exe on Terminal cmd.exe, same as above<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7876996/57802546-13ad9780-770b-11e9-88c6-1cba57e4fa9d.png"><img src="https://user-images.githubusercontent.com/7876996/57802546-13ad9780-770b-11e9-88c6-1cba57e4fa9d.png" alt="vim-bg-terminal" style="max-width: 100%;"></a><br>
Background color is again wrong, but the background highlight completely disappears after a Ctrl-L redraw.</p>
</li>
</ul>
<ul dir="auto">
<li>What's wrong / what should be happening instead:<br>
Background rendered the whole width of the window, e.g. in wsltty:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7876996/57802542-101a1080-770b-11e9-93dd-338d8410e04f.png"><img src="https://user-images.githubusercontent.com/7876996/57802542-101a1080-770b-11e9-93dd-338d8410e04f.png" alt="vim-bg-wsltty" style="max-width: 100%;"></a></li>
</ul>
<p dir="auto">The effect is very similar to the issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="411144223" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/375" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/375/hovercard" href="https://github.com/microsoft/terminal/issues/375">#375</a>, however that one happens with bg color set to <16 (<code class="notranslate">darkBlue</code>). However I cannot reproduce that issue anymore, including the terminal bg change.</p>
<p dir="auto">The issues for Win32 and Linux versions might be separate, since their effects are pretty different as described above.</p>
<p dir="auto">I also haven't been able to reproduce this using VT sequences, but I hope the bug report is still useful.</p> | 0 |
<p dir="auto"><strong>Original</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@dec
export class C {
}"><pre class="notranslate">@<span class="pl-s1">dec</span>
<span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">C</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var C = (function () {
function C() {
}
return C;
}());
C = __decorate([
dec
], C);
exports.C = C;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">C</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">C</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-v">C</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">C</span> <span class="pl-c1">=</span> <span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">dec</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">C</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">C</span> <span class="pl-c1">=</span> <span class="pl-v">C</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Actual</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="exports.C = (function () {
function C() {
}
return C;
}());
C = __decorate([
dec
], C);"><pre class="notranslate"><span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">C</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">C</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-v">C</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">C</span> <span class="pl-c1">=</span> <span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">dec</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">C</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<ul dir="auto">
<li>decoratorOnClass2</li>
</ul> | <p dir="auto"><strong>Expected</strong>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var MyClass = (function () {
function MyClass(db) {
this.db = db;
this.db.doSomething();
}
return MyClass;
}());
MyClass = __decorate([
someDecorator,
__metadata("design:paramtypes", [db_1.db])
], MyClass);
exports.MyClass = MyClass;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">MyClass</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">MyClass</span><span class="pl-kos">(</span><span class="pl-s1">db</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">db</span> <span class="pl-c1">=</span> <span class="pl-s1">db</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">db</span><span class="pl-kos">.</span><span class="pl-en">doSomething</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-v">MyClass</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">MyClass</span> <span class="pl-c1">=</span> <span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">someDecorator</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">"design:paramtypes"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s1">db_1</span><span class="pl-kos">.</span><span class="pl-c1">db</span><span class="pl-kos">]</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">MyClass</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">MyClass</span> <span class="pl-c1">=</span> <span class="pl-v">MyClass</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Actual</strong>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var MyClass = (function () {
function MyClass(db) {
this.db = db;
this.db.doSomething();
}
return MyClass;
}());
MyClass = __decorate([
someDecorator,
__metadata("design:paramtypes", [db_1.db])
], MyClass);
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">MyClass</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">MyClass</span><span class="pl-kos">(</span><span class="pl-s1">db</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">db</span> <span class="pl-c1">=</span> <span class="pl-s1">db</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">db</span><span class="pl-kos">.</span><span class="pl-en">doSomething</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-v">MyClass</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">MyClass</span> <span class="pl-c1">=</span> <span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">someDecorator</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">"design:paramtypes"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s1">db_1</span><span class="pl-kos">.</span><span class="pl-c1">db</span><span class="pl-kos">]</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">MyClass</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Failed tests:</p>
<ul dir="auto">
<li>tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision2.ts</li>
<li>decoratorOnClass2</li>
</ul> | 1 |
<p dir="auto">The link to the 1.3.1 pdf documentation on docs.julialang.org is broken.</p>
<p dir="auto"><a href="https://raw.githubusercontent.com/JuliaLang/docs.julialang.org/assets/julia-1.3.1.pdf" rel="nofollow">https://raw.githubusercontent.com/JuliaLang/docs.julialang.org/assets/julia-1.3.1.pdf</a></p> | <p dir="auto">The PDF document is invalid:</p>
<p dir="auto"><a href="https://raw.githubusercontent.com/JuliaLang/docs.julialang.org/assets/julia-1.3.0.pdf" rel="nofollow">https://raw.githubusercontent.com/JuliaLang/docs.julialang.org/assets/julia-1.3.0.pdf</a></p>
<p dir="auto">and the link is found here:</p>
<p dir="auto"><a href="https://docs.julialang.org/en/v1.3/" rel="nofollow">https://docs.julialang.org/en/v1.3/</a></p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">core</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.1.0
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.1.1.0
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">We recently had a change submitted to the triple-quickstart project<br>
that contained the following code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Rebuild inventory
hosts: localhost
roles:
- rebuild-inventory
tags:
- provision
# check the target virthost distro for RHEL or CentOS
hosts: virthost
roles:
- provision/support_check
tags:
- provision"><pre class="notranslate"><code class="notranslate">- name: Rebuild inventory
hosts: localhost
roles:
- rebuild-inventory
tags:
- provision
# check the target virthost distro for RHEL or CentOS
hosts: virthost
roles:
- provision/support_check
tags:
- provision
</code></pre></div>
<p dir="auto">Note that the second task list is missing the YAML list marker; it<br>
should look like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: virthost
roles:
- provision/support_check
tags:
- provision"><pre class="notranslate"><code class="notranslate">- hosts: virthost
roles:
- provision/support_check
tags:
- provision
</code></pre></div>
<p dir="auto">This is a clear error, but it passes through the YAML parser with only<br>
the following warning:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[WARNING]: While constructing a mapping from /home/lars/src/tripleo-
quickstart/playbooks/provision.yml, line 21, column 3, found a
duplicate dict key (roles). Using last defined value only."><pre class="notranslate"><code class="notranslate">[WARNING]: While constructing a mapping from /home/lars/src/tripleo-
quickstart/playbooks/provision.yml, line 21, column 3, found a
duplicate dict key (roles). Using last defined value only.
</code></pre></div>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">(see above playbook samples)</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Since duplicate keys are in fact not possible, I would expect Ansible<br>
to abort with an error at this point.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Ansible ignores the error and continues on its merry way.<br>
Because this warning comes from deep within the parser, it's not even<br>
possible for something like <code class="notranslate">ansible-lint</code> to catch the problem,<br>
either.</p>
<h5 dir="auto">ADDITIONAL COMMENTARY</h5>
<p dir="auto">This is, oddly enough, the exact opposite of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="123004180" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/13603" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/13603/hovercard" href="https://github.com/ansible/ansible/issues/13603">#13603</a>.</p> | <p dir="auto">The unarchive module supports --diff for tar.gz files, which is great. Unfortunately this always fails when specifying a sudo_user for the task, since tar reports an altered uid/gid.</p> | 0 |
<p dir="auto">After upgrading to atom 0.175.0 this morning, the <code class="notranslate">x</code> button is no longer present in the tab header (on hover or otherwise).</p>
<p dir="auto">Looking in the inspector, the <code class="notranslate">close-icon</code> div is present, but nothing is inside it, nor is any CSS rule causing an 'x' to be rendered.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<li is="tabs-tab" class="tab sortable" data-original-title="" title="">
<div class="title" data-name="app-main.js" data-path="/src/app-main.js">app-main.js</div>
<div class="close-icon"></div>
</li>"><pre class="notranslate"><code class="notranslate"><li is="tabs-tab" class="tab sortable" data-original-title="" title="">
<div class="title" data-name="app-main.js" data-path="/src/app-main.js">app-main.js</div>
<div class="close-icon"></div>
</li>
</code></pre></div>
<p dir="auto">I am running Ubuntu 14.04.</p> | <p dir="auto">I just upgraded to 0.174.0 from 0.172.0 today using Webupd8's PPA.<br>
The 'x' button in each tab seems to be missing, and it therefore makes closing tabs much more difficult (now you have to right-click the tab you want to close and click <code class="notranslate">Close Tab</code>).</p>
<p dir="auto">Replicated on Ubuntu 14.10, Atom 0.174.0, safe mode. I don't think a picture is needed, but if you want one, just tell me.</p> | 1 |
<p dir="auto">Python 3.8.2</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="+ pytest-3 -v -k 'not test_send_from_directory_bad_request'
========================================================================================= test session starts ==========================================================================================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/.hypothesis/examples')
rootdir: /home/tkloczko/rpmbuild/BUILD/Flask-1.1.2, inifile: setup.cfg, testpaths: tests
plugins: forked-1.1.1, mock-1.10.4, expect-1.1.0, hypothesis-4.23.8, xdist-1.31.0, httpbin-0.3.0, cov-2.8.1, flaky-3.6.1
collected 542 items
tests/test_appctx.py::test_basic_url_generation PASSED [ 0%]
tests/test_appctx.py::test_url_generation_requires_server_name PASSED [ 0%]
tests/test_appctx.py::test_url_generation_without_context_fails PASSED [ 0%]
tests/test_appctx.py::test_request_context_means_app_context PASSED [ 0%]
tests/test_appctx.py::test_app_context_provides_current_app PASSED [ 0%]
tests/test_appctx.py::test_app_tearing_down PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_previous_exception PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_handled_exception_by_except_block PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_handled_exception_by_app_handler PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_unhandled_exception PASSED [ 1%]
tests/test_appctx.py::test_app_ctx_globals_methods PASSED [ 2%]
tests/test_appctx.py::test_custom_app_ctx_globals_class PASSED [ 2%]
tests/test_appctx.py::test_context_refcounts PASSED [ 2%]
tests/test_appctx.py::test_clean_pop PASSED [ 2%]
tests/test_basic.py::test_options_work PASSED [ 2%]
tests/test_basic.py::test_options_on_multiple_rules PASSED [ 2%]
tests/test_basic.py::test_provide_automatic_options_attr PASSED [ 3%]
tests/test_basic.py::test_provide_automatic_options_kwarg PASSED [ 3%]
tests/test_basic.py::test_request_dispatching PASSED [ 3%]
tests/test_basic.py::test_disallow_string_for_allowed_methods PASSED [ 3%]
tests/test_basic.py::test_url_mapping PASSED [ 3%]
tests/test_basic.py::test_werkzeug_routing PASSED [ 4%]
tests/test_basic.py::test_endpoint_decorator PASSED [ 4%]
tests/test_basic.py::test_session PASSED [ 4%]
tests/test_basic.py::test_session_using_server_name PASSED [ 4%]
tests/test_basic.py::test_session_using_server_name_and_port PASSED [ 4%]
tests/test_basic.py::test_session_using_server_name_port_and_path PASSED [ 4%]
tests/test_basic.py::test_session_using_application_root PASSED [ 5%]
tests/test_basic.py::test_session_using_session_settings PASSED [ 5%]
tests/test_basic.py::test_session_using_samesite_attribute PASSED [ 5%]
tests/test_basic.py::test_session_localhost_warning PASSED [ 5%]
tests/test_basic.py::test_session_ip_warning PASSED [ 5%]
tests/test_basic.py::test_missing_session PASSED [ 6%]
tests/test_basic.py::test_session_expiration PASSED [ 6%]
tests/test_basic.py::test_session_stored_last PASSED [ 6%]
tests/test_basic.py::test_session_special_types PASSED [ 6%]
tests/test_basic.py::test_session_cookie_setting PASSED [ 6%]
tests/test_basic.py::test_session_vary_cookie PASSED [ 7%]
tests/test_basic.py::test_flashes PASSED [ 7%]
tests/test_basic.py::test_extended_flashing PASSED [ 7%]
tests/test_basic.py::test_request_processing PASSED [ 7%]
tests/test_basic.py::test_request_preprocessing_early_return PASSED [ 7%]
tests/test_basic.py::test_after_request_processing PASSED [ 7%]
tests/test_basic.py::test_teardown_request_handler PASSED [ 8%]
tests/test_basic.py::test_teardown_request_handler_debug_mode PASSED [ 8%]
tests/test_basic.py::test_teardown_request_handler_error PASSED [ 8%]
tests/test_basic.py::test_before_after_request_order PASSED [ 8%]
tests/test_basic.py::test_error_handling PASSED [ 8%]
tests/test_basic.py::test_error_handler_unknown_code PASSED [ 9%]
tests/test_basic.py::test_error_handling_processing PASSED [ 9%]
tests/test_basic.py::test_baseexception_error_handling PASSED [ 9%]
tests/test_basic.py::test_before_request_and_routing_errors PASSED [ 9%]
tests/test_basic.py::test_user_error_handling PASSED [ 9%]
tests/test_basic.py::test_http_error_subclass_handling PASSED [ 9%]
tests/test_basic.py::test_errorhandler_precedence PASSED [ 10%]
tests/test_basic.py::test_trapping_of_bad_request_key_errors PASSED [ 10%]
tests/test_basic.py::test_trapping_of_all_http_exceptions PASSED [ 10%]
tests/test_basic.py::test_error_handler_after_processor_error PASSED [ 10%]
tests/test_basic.py::test_enctype_debug_helper PASSED [ 10%]
tests/test_basic.py::test_response_types PASSED [ 11%]
tests/test_basic.py::test_response_type_errors PASSED [ 11%]
tests/test_basic.py::test_make_response PASSED [ 11%]
tests/test_basic.py::test_make_response_with_response_instance PASSED [ 11%]
tests/test_basic.py::test_jsonify_no_prettyprint PASSED [ 11%]
tests/test_basic.py::test_jsonify_prettyprint PASSED [ 11%]
tests/test_basic.py::test_jsonify_mimetype PASSED [ 12%]
tests/test_basic.py::test_json_dump_dataclass PASSED [ 12%]
tests/test_basic.py::test_jsonify_args_and_kwargs_check PASSED [ 12%]
tests/test_basic.py::test_url_generation PASSED [ 12%]
tests/test_basic.py::test_build_error_handler PASSED [ 12%]
tests/test_basic.py::test_build_error_handler_reraise PASSED [ 13%]
tests/test_basic.py::test_url_for_passes_special_values_to_build_error_handler PASSED [ 13%]
tests/test_basic.py::test_static_files PASSED [ 13%]
tests/test_basic.py::test_static_url_path PASSED [ 13%]
tests/test_basic.py::test_static_url_path_with_ending_slash PASSED [ 13%]
tests/test_basic.py::test_static_url_empty_path PASSED [ 14%]
tests/test_basic.py::test_static_url_empty_path_default PASSED [ 14%]
tests/test_basic.py::test_static_folder_with_ending_slash PASSED [ 14%]
tests/test_basic.py::test_static_route_with_host_matching PASSED [ 14%]
tests/test_basic.py::test_request_locals PASSED [ 14%]
tests/test_basic.py::test_server_name_subdomain PASSED [ 14%]
tests/test_basic.py::test_exception_propagation PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-True-True] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-True-False] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-False-True] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-False-False] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-True-True] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-True-False] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-False-True] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-False-False] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-True-True] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-True-False] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-False-True] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-False-False] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-True-True] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-True-False] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-False-True] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-False-False] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-True-True] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-True-False] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-False-True] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-False-False] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-True-True] PASSED [ 19%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-True-False] PASSED [ 19%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-False-True] PASSED [ 19%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-False-False] PASSED [ 19%]
tests/test_basic.py::test_max_content_length PASSED [ 19%]
tests/test_basic.py::test_url_processors PASSED [ 19%]
tests/test_basic.py::test_inject_blueprint_url_defaults PASSED [ 20%]
tests/test_basic.py::test_nonascii_pathinfo PASSED [ 20%]
tests/test_basic.py::test_debug_mode_complains_after_first_request PASSED [ 20%]
tests/test_basic.py::test_before_first_request_functions PASSED [ 20%]
tests/test_basic.py::test_before_first_request_functions_concurrent PASSED [ 20%]
tests/test_basic.py::test_routing_redirect_debugging PASSED [ 21%]
tests/test_basic.py::test_route_decorator_custom_endpoint PASSED [ 21%]
tests/test_basic.py::test_preserve_only_once PASSED [ 21%]
tests/test_basic.py::test_preserve_remembers_exception PASSED [ 21%]
tests/test_basic.py::test_get_method_on_g PASSED [ 21%]
tests/test_basic.py::test_g_iteration_protocol PASSED [ 21%]
tests/test_basic.py::test_subdomain_basic_support PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching_with_ports PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching_other_name[False] PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching_other_name[True] PASSED [ 22%]
tests/test_basic.py::test_multi_route_rules PASSED [ 23%]
tests/test_basic.py::test_multi_route_class_views PASSED [ 23%]
tests/test_basic.py::test_run_defaults PASSED [ 23%]
tests/test_basic.py::test_run_server_port PASSED [ 23%]
tests/test_basic.py::test_run_from_config[None-None-pocoo.org:8080-pocoo.org-8080] PASSED [ 23%]
tests/test_basic.py::test_run_from_config[localhost-None-pocoo.org:8080-localhost-8080] PASSED [ 23%]
tests/test_basic.py::test_run_from_config[None-80-pocoo.org:8080-pocoo.org-80] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[localhost-80-pocoo.org:8080-localhost-80] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[localhost-0-localhost:8080-localhost-0] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[None-None-localhost:8080-localhost-8080] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[None-None-localhost:0-localhost-0] PASSED [ 24%]
tests/test_basic.py::test_max_cookie_size PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_specific_error_handling PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_specific_user_error_handling PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_app_error_handling PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_prefix_slash[-/-/] PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/--/] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/-/-/] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo--/foo] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/--/foo/] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[-/bar-/bar] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/-/bar-/foo/bar] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/-bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo-/bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/-//bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo//-/bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_url_defaults PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_url_processors PASSED [ 28%]
tests/test_blueprints.py::test_templates_and_static PASSED [ 28%]
tests/test_blueprints.py::test_default_static_cache_timeout PASSED [ 28%]
tests/test_blueprints.py::test_templates_list PASSED [ 28%]
tests/test_blueprints.py::test_dotted_names PASSED [ 28%]
tests/test_blueprints.py::test_dotted_names_from_app PASSED [ 28%]
tests/test_blueprints.py::test_empty_url_defaults PASSED [ 29%]
tests/test_blueprints.py::test_route_decorator_custom_endpoint PASSED [ 29%]
tests/test_blueprints.py::test_route_decorator_custom_endpoint_with_dots PASSED [ 29%]
tests/test_blueprints.py::test_endpoint_decorator PASSED [ 29%]
tests/test_blueprints.py::test_template_filter PASSED [ 29%]
tests/test_blueprints.py::test_add_template_filter PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_with_name PASSED [ 30%]
tests/test_blueprints.py::test_add_template_filter_with_name PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_with_template PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_after_route_with_template PASSED [ 30%]
tests/test_blueprints.py::test_add_template_filter_with_template PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_with_name_and_template PASSED [ 31%]
tests/test_blueprints.py::test_add_template_filter_with_name_and_template PASSED [ 31%]
tests/test_blueprints.py::test_template_test PASSED [ 31%]
tests/test_blueprints.py::test_add_template_test PASSED [ 31%]
tests/test_blueprints.py::test_template_test_with_name PASSED [ 31%]
tests/test_blueprints.py::test_add_template_test_with_name PASSED [ 32%]
tests/test_blueprints.py::test_template_test_with_template PASSED [ 32%]
tests/test_blueprints.py::test_template_test_after_route_with_template PASSED [ 32%]
tests/test_blueprints.py::test_add_template_test_with_template PASSED [ 32%]
tests/test_blueprints.py::test_template_test_with_name_and_template PASSED [ 32%]
tests/test_blueprints.py::test_add_template_test_with_name_and_template PASSED [ 33%]
tests/test_blueprints.py::test_context_processing PASSED [ 33%]
tests/test_blueprints.py::test_template_global PASSED [ 33%]
tests/test_blueprints.py::test_request_processing PASSED [ 33%]
tests/test_blueprints.py::test_app_request_processing PASSED [ 33%]
tests/test_blueprints.py::test_app_url_processors PASSED [ 33%]
tests/test_cli.py::test_cli_name PASSED [ 34%]
tests/test_cli.py::test_find_best_app PASSED [ 34%]
tests/test_cli.py::test_prepare_import[test-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 34%]
tests/test_cli.py::test_prepare_import[test.py-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 34%]
tests/test_cli.py::test_prepare_import[a/test-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/a-test] PASSED [ 34%]
tests/test_cli.py::test_prepare_import[test/__init__.py-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[test/__init__-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp/inner1/__init__-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.inner1] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp/inner1/inner2-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.inner1.inner2] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[test.a.b-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test.a.b] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp.app-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.app] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp/message.txt-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.message.txt] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.app-None-testapp] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.app-testapp-testapp] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.factory-None-app] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app-app] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app()-app] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app2("foo", "bar")-app2_foo_bar] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app2("foo", "bar", )-app2_foo_bar] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app3("foo")-app3_foo_spam] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory- create_app () -app] PASSED [ 37%]
tests/test_cli.py::test_locate_app_raises[notanapp.py-None] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp/app-None] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.app-notanapp] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.factory-create_app2("foo")] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.factory-create_app(] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.factory-no_app] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.importerrorapp-None] PASSED [ 39%]
tests/test_cli.py::test_locate_app_raises[cliapp.message.txt-None] PASSED [ 39%]
tests/test_cli.py::test_locate_app_suppress_raise PASSED [ 39%]
tests/test_cli.py::test_get_version PASSED [ 39%]
tests/test_cli.py::test_scriptinfo PASSED [ 39%]
tests/test_cli.py::test_with_appcontext PASSED [ 40%]
tests/test_cli.py::test_appgroup PASSED [ 40%]
tests/test_cli.py::test_flaskgroup PASSED [ 40%]
tests/test_cli.py::test_flaskgroup_debug[True] PASSED [ 40%]
tests/test_cli.py::test_flaskgroup_debug[False] PASSED [ 40%]
tests/test_cli.py::test_print_exceptions PASSED [ 40%]
tests/test_cli.py::TestRoutes::test_simple PASSED [ 41%]
tests/test_cli.py::TestRoutes::test_sort PASSED [ 41%]
tests/test_cli.py::TestRoutes::test_all_methods PASSED [ 41%]
tests/test_cli.py::TestRoutes::test_no_routes PASSED [ 41%]
tests/test_cli.py::test_load_dotenv SKIPPED [ 41%]
tests/test_cli.py::test_dotenv_path SKIPPED [ 42%]
tests/test_cli.py::test_dotenv_optional PASSED [ 42%]
tests/test_cli.py::test_disable_dotenv_from_env SKIPPED [ 42%]
tests/test_cli.py::test_run_cert_path PASSED [ 42%]
tests/test_cli.py::test_run_cert_adhoc PASSED [ 42%]
tests/test_cli.py::test_run_cert_import PASSED [ 42%]
tests/test_cli.py::test_run_cert_no_ssl PASSED [ 43%]
tests/test_cli.py::test_cli_blueprints PASSED [ 43%]
tests/test_cli.py::test_cli_empty PASSED [ 43%]
tests/test_config.py::test_config_from_file PASSED [ 43%]
tests/test_config.py::test_config_from_object PASSED [ 43%]
tests/test_config.py::test_config_from_json PASSED [ 44%]
tests/test_config.py::test_config_from_mapping PASSED [ 44%]
tests/test_config.py::test_config_from_class PASSED [ 44%]
tests/test_config.py::test_config_from_envvar PASSED [ 44%]
tests/test_config.py::test_config_from_envvar_missing PASSED [ 44%]
tests/test_config.py::test_config_missing PASSED [ 45%]
tests/test_config.py::test_config_missing_json PASSED [ 45%]
tests/test_config.py::test_custom_config_class PASSED [ 45%]
tests/test_config.py::test_session_lifetime PASSED [ 45%]
tests/test_config.py::test_send_file_max_age PASSED [ 45%]
tests/test_config.py::test_get_namespace PASSED [ 45%]
tests/test_config.py::test_from_pyfile_weird_encoding[utf-8] PASSED [ 46%]
tests/test_config.py::test_from_pyfile_weird_encoding[iso-8859-15] PASSED [ 46%]
tests/test_config.py::test_from_pyfile_weird_encoding[latin-1] PASSED [ 46%]
tests/test_converters.py::test_custom_converters PASSED [ 46%]
tests/test_converters.py::test_context_available PASSED [ 46%]
tests/test_deprecations.py::test_json_available PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-1] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-t] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-True] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-False] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-None] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value5] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value6] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value7] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value8] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-1] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-t] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-True] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-False] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-None] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value5] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value6] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value7] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value8] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-1] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-t] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-True] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-False] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-None] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value5] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value6] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value7] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value8] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-1] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-t] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-True] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-False] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-None] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value5] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value6] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value7] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value8] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-1] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-t] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-True] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-False] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-None] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value5] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value6] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value7] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value8] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-1] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-t] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-True] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-False] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-None] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value5] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value6] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value7] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value8] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-1] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-t] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-True] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-False] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-None] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value5] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value6] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value7] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value8] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-1] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-t] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-True] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-False] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-None] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value5] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value6] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value7] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value8] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_bad_request_debug_message[True] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_bad_request_debug_message[False] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_json_bad_requests PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_json_custom_mimetypes PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_json_as_unicode[True-"\\u2603"] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_json_as_unicode[False-"\u2603"] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_json_dump_to_file PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[0] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[-1] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[1] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[23] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[3.14] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[s] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[longer string] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[True] PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[False] PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[None] PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_dicts PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_arrays PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_date_types PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_aware_datetimes[tz0] PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_aware_datetimes[tz1] PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_aware_datetimes[tz2] PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_uuid_types PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_json_attr PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_template_escaping PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_json_customization PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_blueprint_json_customization PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_modified_url_encoding PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_json_key_sorting PASSED [ 65%]
tests/test_helpers.py::TestSendfile::test_send_file_regular PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_xsendfile PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_last_modified PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_object_without_mimetype PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_object PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_pathlike PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_range_request PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_send_file_range_request_bytesio PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_send_file_range_request_xsendfile_invalid PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_attachment PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[index.html-index.html-False] PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[\xd1and\xfa\uff0fping\xfcino.txt-"Nandu/pinguino.txt"-%C3%91and%C3%BA%EF%BC%8Fping%C3%BCino.txt] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[V\xf6gel.txt-Vogel.txt-V%C3%B6gel.txt] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[t\xe9st.txt-test.txt-t%C3%A9st.txt] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[\u0442\u0435:/\u0441\u0442-":/"-%D1%82%D0%B5%3A%2F%D1%81%D1%82] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_static_file PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_send_from_directory PASSED [ 69%]
tests/test_helpers.py::TestSendfile::test_send_from_directory_pathlike PASSED [ 69%]
tests/test_helpers.py::TestSendfile::test_send_from_directory_null_character PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_anchor PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_scheme PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_scheme_not_external PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_alternating_schemes PASSED [ 70%]
tests/test_helpers.py::TestUrlFor::test_url_with_method PASSED [ 70%]
tests/test_helpers.py::TestNoImports::test_name_with_import_error PASSED [ 70%]
tests/test_helpers.py::TestStreaming::test_streaming_with_context PASSED [ 70%]
tests/test_helpers.py::TestStreaming::test_streaming_with_context_as_decorator PASSED [ 70%]
tests/test_helpers.py::TestStreaming::test_streaming_with_context_and_custom_close PASSED [ 71%]
tests/test_helpers.py::TestStreaming::test_stream_keeps_session PASSED [ 71%]
tests/test_helpers.py::TestSafeJoin::test_safe_join PASSED [ 71%]
tests/test_helpers.py::TestSafeJoin::test_safe_join_exceptions PASSED [ 71%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[-False-False] PASSED [ 71%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[0-False-False] PASSED [ 71%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[False-False-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[No-False-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[True-True-True] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_env[-production-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_env[production-production-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_env[development-development-True] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_get_env[other-other-False] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_make_response PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource[r] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource[rb] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource[rt] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[w] PASSED [ 74%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[x] PASSED [ 74%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[a] PASSED [ 74%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[r+] PASSED [ 74%]
tests/test_instance_config.py::test_explicit_instance_paths PASSED [ 74%]
tests/test_instance_config.py::test_main_module_paths XPASS [ 75%]
tests/test_instance_config.py::test_uninstalled_module_paths PASSED [ 75%]
tests/test_instance_config.py::test_uninstalled_package_paths PASSED [ 75%]
tests/test_instance_config.py::test_installed_module_paths[True] PASSED [ 75%]
tests/test_instance_config.py::test_installed_module_paths[False] PASSED [ 75%]
tests/test_instance_config.py::test_installed_package_paths[True] PASSED [ 76%]
tests/test_instance_config.py::test_installed_package_paths[False] PASSED [ 76%]
tests/test_instance_config.py::test_prefix_package_paths[True] PASSED [ 76%]
tests/test_instance_config.py::test_prefix_package_paths[False] PASSED [ 76%]
tests/test_instance_config.py::test_egg_installed_paths PASSED [ 76%]
tests/test_instance_config.py::test_meta_path_loader_without_is_package SKIPPED [ 76%]
tests/test_json_tag.py::test_dump_load_unchanged[data0] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data1] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data2] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data3] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data4] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data5] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[\xff] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[<html>] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[data8] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[data9] PASSED [ 78%]
tests/test_json_tag.py::test_duplicate_tag PASSED [ 78%]
tests/test_json_tag.py::test_custom_tag PASSED [ 79%]
tests/test_json_tag.py::test_tag_interface PASSED [ 79%]
tests/test_json_tag.py::test_tag_order PASSED [ 79%]
tests/test_logging.py::test_logger PASSED [ 79%]
tests/test_logging.py::test_logger_debug PASSED [ 79%]
tests/test_logging.py::test_existing_handler PASSED [ 80%]
tests/test_logging.py::test_wsgi_errors_stream PASSED [ 80%]
tests/test_logging.py::test_has_level_handler PASSED [ 80%]
tests/test_logging.py::test_log_view_exception PASSED [ 80%]
tests/test_logging.py::test_warn_old_config PASSED [ 80%]
tests/test_meta.py::test_changelog_utf8_compatible PASSED [ 80%]
tests/test_regression.py::test_memory_consumption PASSED [ 81%]
tests/test_regression.py::test_safe_join_toplevel_pardir PASSED [ 81%]
tests/test_regression.py::test_aborting FAILED [ 81%]
tests/test_reqctx.py::test_teardown_on_pop PASSED [ 81%]
tests/test_reqctx.py::test_teardown_with_previous_exception PASSED [ 81%]
tests/test_reqctx.py::test_teardown_with_handled_exception PASSED [ 82%]
tests/test_reqctx.py::test_proper_test_request_context PASSED [ 82%]
tests/test_reqctx.py::test_context_binding PASSED [ 82%]
tests/test_reqctx.py::test_context_test PASSED [ 82%]
tests/test_reqctx.py::test_manual_context_binding PASSED [ 82%]
tests/test_reqctx.py::TestGreenletContextCopying::test_greenlet_context_copying SKIPPED [ 83%]
tests/test_reqctx.py::TestGreenletContextCopying::test_greenlet_context_copying_api SKIPPED [ 83%]
tests/test_reqctx.py::test_session_error_pops_context PASSED [ 83%]
tests/test_reqctx.py::test_bad_environ_raises_bad_request PASSED [ 83%]
tests/test_reqctx.py::test_environ_for_valid_idna_completes PASSED [ 83%]
tests/test_reqctx.py::test_normal_environ_completes PASSED [ 83%]
tests/test_signals.py::test_template_rendered PASSED [ 84%]
tests/test_signals.py::test_before_render_template PASSED [ 84%]
tests/test_signals.py::test_request_signals PASSED [ 84%]
tests/test_signals.py::test_request_exception_signal PASSED [ 84%]
tests/test_signals.py::test_appcontext_signals PASSED [ 84%]
tests/test_signals.py::test_flash_signal PASSED [ 85%]
tests/test_signals.py::test_appcontext_tearing_down_signal PASSED [ 85%]
tests/test_subclassing.py::test_suppressed_exception_logging PASSED [ 85%]
tests/test_templating.py::test_context_processing PASSED [ 85%]
tests/test_templating.py::test_original_win PASSED [ 85%]
tests/test_templating.py::test_request_less_rendering PASSED [ 85%]
tests/test_templating.py::test_standard_context PASSED [ 86%]
tests/test_templating.py::test_escaping PASSED [ 86%]
tests/test_templating.py::test_no_escaping PASSED [ 86%]
tests/test_templating.py::test_escaping_without_template_filename PASSED [ 86%]
tests/test_templating.py::test_macros PASSED [ 86%]
tests/test_templating.py::test_template_filter PASSED [ 87%]
tests/test_templating.py::test_add_template_filter PASSED [ 87%]
tests/test_templating.py::test_template_filter_with_name PASSED [ 87%]
tests/test_templating.py::test_add_template_filter_with_name PASSED [ 87%]
tests/test_templating.py::test_template_filter_with_template PASSED [ 87%]
tests/test_templating.py::test_add_template_filter_with_template PASSED [ 88%]
tests/test_templating.py::test_template_filter_with_name_and_template PASSED [ 88%]
tests/test_templating.py::test_add_template_filter_with_name_and_template PASSED [ 88%]
tests/test_templating.py::test_template_test PASSED [ 88%]
tests/test_templating.py::test_add_template_test PASSED [ 88%]
tests/test_templating.py::test_template_test_with_name PASSED [ 88%]
tests/test_templating.py::test_add_template_test_with_name PASSED [ 89%]
tests/test_templating.py::test_template_test_with_template PASSED [ 89%]
tests/test_templating.py::test_add_template_test_with_template PASSED [ 89%]
tests/test_templating.py::test_template_test_with_name_and_template PASSED [ 89%]
tests/test_templating.py::test_add_template_test_with_name_and_template PASSED [ 89%]
tests/test_templating.py::test_add_template_global PASSED [ 90%]
tests/test_templating.py::test_custom_template_loader PASSED [ 90%]
tests/test_templating.py::test_iterable_loader PASSED [ 90%]
tests/test_templating.py::test_templates_auto_reload PASSED [ 90%]
tests/test_templating.py::test_templates_auto_reload_debug_run PASSED [ 90%]
tests/test_templating.py::test_template_loader_debugging PASSED [ 90%]
tests/test_templating.py::test_custom_jinja_env PASSED [ 91%]
tests/test_testing.py::test_environ_defaults_from_config PASSED [ 91%]
tests/test_testing.py::test_environ_defaults PASSED [ 91%]
tests/test_testing.py::test_environ_base_default PASSED [ 91%]
tests/test_testing.py::test_environ_base_modified PASSED [ 91%]
tests/test_testing.py::test_client_open_environ PASSED [ 92%]
tests/test_testing.py::test_specify_url_scheme PASSED [ 92%]
tests/test_testing.py::test_path_is_url PASSED [ 92%]
tests/test_testing.py::test_make_test_environ_builder PASSED [ 92%]
tests/test_testing.py::test_environbuilder_json_dumps PASSED [ 92%]
tests/test_testing.py::test_blueprint_with_subdomain PASSED [ 92%]
tests/test_testing.py::test_redirect_keep_session PASSED [ 93%]
tests/test_testing.py::test_session_transactions PASSED [ 93%]
tests/test_testing.py::test_session_transactions_no_null_sessions PASSED [ 93%]
tests/test_testing.py::test_session_transactions_keep_context PASSED [ 93%]
tests/test_testing.py::test_session_transaction_needs_cookies PASSED [ 93%]
tests/test_testing.py::test_test_client_context_binding PASSED [ 94%]
tests/test_testing.py::test_reuse_client PASSED [ 94%]
tests/test_testing.py::test_test_client_calls_teardown_handlers PASSED [ 94%]
tests/test_testing.py::test_full_url_request PASSED [ 94%]
tests/test_testing.py::test_json_request_and_response PASSED [ 94%]
tests/test_testing.py::test_client_json_no_app_context PASSED [ 95%]
tests/test_testing.py::test_subdomain PASSED [ 95%]
tests/test_testing.py::test_nosubdomain PASSED [ 95%]
tests/test_testing.py::test_cli_runner_class PASSED [ 95%]
tests/test_testing.py::test_cli_invoke PASSED [ 95%]
tests/test_testing.py::test_cli_custom_obj PASSED [ 95%]
tests/test_testing.py::test_client_pop_all_preserved PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_no_match PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_subclass PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_http_subclass PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_blueprint PASSED [ 96%]
tests/test_user_error_handler.py::test_default_error_handler PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_class_or_code[InternalServerError] PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_class_or_code[500] PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_generic_http PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_generic PASSED [ 97%]
tests/test_views.py::test_basic_view PASSED [ 97%]
tests/test_views.py::test_method_based_view PASSED [ 98%]
tests/test_views.py::test_view_patching PASSED [ 98%]
tests/test_views.py::test_view_inheritance PASSED [ 98%]
tests/test_views.py::test_view_decorators PASSED [ 98%]
tests/test_views.py::test_view_provide_automatic_options_attr PASSED [ 98%]
tests/test_views.py::test_implicit_head PASSED [ 99%]
tests/test_views.py::test_explicit_head PASSED [ 99%]
tests/test_views.py::test_endpoint_override PASSED [ 99%]
tests/test_views.py::test_methods_var_inheritance PASSED [ 99%]
tests/test_views.py::test_multiple_inheritance PASSED [ 99%]
tests/test_views.py::test_remove_method_from_parent PASSED [100%]
=============================================================================================== FAILURES ===============================================================================================
____________________________________________________________________________________________ test_aborting _____________________________________________________________________________________________
app = <Flask 'flask_test'>
def test_aborting(app):
class Foo(Exception):
whatever = 42
@app.errorhandler(Foo)
def handle_foo(e):
return str(e.whatever)
@app.route("/")
def index():
raise flask.abort(flask.redirect(flask.url_for("test")))
@app.route("/test")
def test():
raise Foo()
with app.test_client() as c:
rv = c.get("/")
> assert rv.headers["Location"] == "http://localhost/test"
E AssertionError: assert '/test' == 'http://localhost/test'
E - /test
E + http://localhost/test
tests/test_regression.py:95: AssertionError
====================================================================== 1 failed, 534 passed, 6 skipped, 1 xpassed in 4.48 seconds ======================================================================"><pre class="notranslate"><code class="notranslate">+ pytest-3 -v -k 'not test_send_from_directory_bad_request'
========================================================================================= test session starts ==========================================================================================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/.hypothesis/examples')
rootdir: /home/tkloczko/rpmbuild/BUILD/Flask-1.1.2, inifile: setup.cfg, testpaths: tests
plugins: forked-1.1.1, mock-1.10.4, expect-1.1.0, hypothesis-4.23.8, xdist-1.31.0, httpbin-0.3.0, cov-2.8.1, flaky-3.6.1
collected 542 items
tests/test_appctx.py::test_basic_url_generation PASSED [ 0%]
tests/test_appctx.py::test_url_generation_requires_server_name PASSED [ 0%]
tests/test_appctx.py::test_url_generation_without_context_fails PASSED [ 0%]
tests/test_appctx.py::test_request_context_means_app_context PASSED [ 0%]
tests/test_appctx.py::test_app_context_provides_current_app PASSED [ 0%]
tests/test_appctx.py::test_app_tearing_down PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_previous_exception PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_handled_exception_by_except_block PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_handled_exception_by_app_handler PASSED [ 1%]
tests/test_appctx.py::test_app_tearing_down_with_unhandled_exception PASSED [ 1%]
tests/test_appctx.py::test_app_ctx_globals_methods PASSED [ 2%]
tests/test_appctx.py::test_custom_app_ctx_globals_class PASSED [ 2%]
tests/test_appctx.py::test_context_refcounts PASSED [ 2%]
tests/test_appctx.py::test_clean_pop PASSED [ 2%]
tests/test_basic.py::test_options_work PASSED [ 2%]
tests/test_basic.py::test_options_on_multiple_rules PASSED [ 2%]
tests/test_basic.py::test_provide_automatic_options_attr PASSED [ 3%]
tests/test_basic.py::test_provide_automatic_options_kwarg PASSED [ 3%]
tests/test_basic.py::test_request_dispatching PASSED [ 3%]
tests/test_basic.py::test_disallow_string_for_allowed_methods PASSED [ 3%]
tests/test_basic.py::test_url_mapping PASSED [ 3%]
tests/test_basic.py::test_werkzeug_routing PASSED [ 4%]
tests/test_basic.py::test_endpoint_decorator PASSED [ 4%]
tests/test_basic.py::test_session PASSED [ 4%]
tests/test_basic.py::test_session_using_server_name PASSED [ 4%]
tests/test_basic.py::test_session_using_server_name_and_port PASSED [ 4%]
tests/test_basic.py::test_session_using_server_name_port_and_path PASSED [ 4%]
tests/test_basic.py::test_session_using_application_root PASSED [ 5%]
tests/test_basic.py::test_session_using_session_settings PASSED [ 5%]
tests/test_basic.py::test_session_using_samesite_attribute PASSED [ 5%]
tests/test_basic.py::test_session_localhost_warning PASSED [ 5%]
tests/test_basic.py::test_session_ip_warning PASSED [ 5%]
tests/test_basic.py::test_missing_session PASSED [ 6%]
tests/test_basic.py::test_session_expiration PASSED [ 6%]
tests/test_basic.py::test_session_stored_last PASSED [ 6%]
tests/test_basic.py::test_session_special_types PASSED [ 6%]
tests/test_basic.py::test_session_cookie_setting PASSED [ 6%]
tests/test_basic.py::test_session_vary_cookie PASSED [ 7%]
tests/test_basic.py::test_flashes PASSED [ 7%]
tests/test_basic.py::test_extended_flashing PASSED [ 7%]
tests/test_basic.py::test_request_processing PASSED [ 7%]
tests/test_basic.py::test_request_preprocessing_early_return PASSED [ 7%]
tests/test_basic.py::test_after_request_processing PASSED [ 7%]
tests/test_basic.py::test_teardown_request_handler PASSED [ 8%]
tests/test_basic.py::test_teardown_request_handler_debug_mode PASSED [ 8%]
tests/test_basic.py::test_teardown_request_handler_error PASSED [ 8%]
tests/test_basic.py::test_before_after_request_order PASSED [ 8%]
tests/test_basic.py::test_error_handling PASSED [ 8%]
tests/test_basic.py::test_error_handler_unknown_code PASSED [ 9%]
tests/test_basic.py::test_error_handling_processing PASSED [ 9%]
tests/test_basic.py::test_baseexception_error_handling PASSED [ 9%]
tests/test_basic.py::test_before_request_and_routing_errors PASSED [ 9%]
tests/test_basic.py::test_user_error_handling PASSED [ 9%]
tests/test_basic.py::test_http_error_subclass_handling PASSED [ 9%]
tests/test_basic.py::test_errorhandler_precedence PASSED [ 10%]
tests/test_basic.py::test_trapping_of_bad_request_key_errors PASSED [ 10%]
tests/test_basic.py::test_trapping_of_all_http_exceptions PASSED [ 10%]
tests/test_basic.py::test_error_handler_after_processor_error PASSED [ 10%]
tests/test_basic.py::test_enctype_debug_helper PASSED [ 10%]
tests/test_basic.py::test_response_types PASSED [ 11%]
tests/test_basic.py::test_response_type_errors PASSED [ 11%]
tests/test_basic.py::test_make_response PASSED [ 11%]
tests/test_basic.py::test_make_response_with_response_instance PASSED [ 11%]
tests/test_basic.py::test_jsonify_no_prettyprint PASSED [ 11%]
tests/test_basic.py::test_jsonify_prettyprint PASSED [ 11%]
tests/test_basic.py::test_jsonify_mimetype PASSED [ 12%]
tests/test_basic.py::test_json_dump_dataclass PASSED [ 12%]
tests/test_basic.py::test_jsonify_args_and_kwargs_check PASSED [ 12%]
tests/test_basic.py::test_url_generation PASSED [ 12%]
tests/test_basic.py::test_build_error_handler PASSED [ 12%]
tests/test_basic.py::test_build_error_handler_reraise PASSED [ 13%]
tests/test_basic.py::test_url_for_passes_special_values_to_build_error_handler PASSED [ 13%]
tests/test_basic.py::test_static_files PASSED [ 13%]
tests/test_basic.py::test_static_url_path PASSED [ 13%]
tests/test_basic.py::test_static_url_path_with_ending_slash PASSED [ 13%]
tests/test_basic.py::test_static_url_empty_path PASSED [ 14%]
tests/test_basic.py::test_static_url_empty_path_default PASSED [ 14%]
tests/test_basic.py::test_static_folder_with_ending_slash PASSED [ 14%]
tests/test_basic.py::test_static_route_with_host_matching PASSED [ 14%]
tests/test_basic.py::test_request_locals PASSED [ 14%]
tests/test_basic.py::test_server_name_subdomain PASSED [ 14%]
tests/test_basic.py::test_exception_propagation PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-True-True] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-True-False] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-False-True] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-True-False-False] PASSED [ 15%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-True-True] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-True-False] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-False-True] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[None-False-False-False] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-True-True] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-True-False] PASSED [ 16%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-False-True] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-True-False-False] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-True-True] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-True-False] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-False-True] PASSED [ 17%]
tests/test_basic.py::test_werkzeug_passthrough_errors[True-False-False-False] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-True-True] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-True-False] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-False-True] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-True-False-False] PASSED [ 18%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-True-True] PASSED [ 19%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-True-False] PASSED [ 19%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-False-True] PASSED [ 19%]
tests/test_basic.py::test_werkzeug_passthrough_errors[False-False-False-False] PASSED [ 19%]
tests/test_basic.py::test_max_content_length PASSED [ 19%]
tests/test_basic.py::test_url_processors PASSED [ 19%]
tests/test_basic.py::test_inject_blueprint_url_defaults PASSED [ 20%]
tests/test_basic.py::test_nonascii_pathinfo PASSED [ 20%]
tests/test_basic.py::test_debug_mode_complains_after_first_request PASSED [ 20%]
tests/test_basic.py::test_before_first_request_functions PASSED [ 20%]
tests/test_basic.py::test_before_first_request_functions_concurrent PASSED [ 20%]
tests/test_basic.py::test_routing_redirect_debugging PASSED [ 21%]
tests/test_basic.py::test_route_decorator_custom_endpoint PASSED [ 21%]
tests/test_basic.py::test_preserve_only_once PASSED [ 21%]
tests/test_basic.py::test_preserve_remembers_exception PASSED [ 21%]
tests/test_basic.py::test_get_method_on_g PASSED [ 21%]
tests/test_basic.py::test_g_iteration_protocol PASSED [ 21%]
tests/test_basic.py::test_subdomain_basic_support PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching_with_ports PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching_other_name[False] PASSED [ 22%]
tests/test_basic.py::test_subdomain_matching_other_name[True] PASSED [ 22%]
tests/test_basic.py::test_multi_route_rules PASSED [ 23%]
tests/test_basic.py::test_multi_route_class_views PASSED [ 23%]
tests/test_basic.py::test_run_defaults PASSED [ 23%]
tests/test_basic.py::test_run_server_port PASSED [ 23%]
tests/test_basic.py::test_run_from_config[None-None-pocoo.org:8080-pocoo.org-8080] PASSED [ 23%]
tests/test_basic.py::test_run_from_config[localhost-None-pocoo.org:8080-localhost-8080] PASSED [ 23%]
tests/test_basic.py::test_run_from_config[None-80-pocoo.org:8080-pocoo.org-80] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[localhost-80-pocoo.org:8080-localhost-80] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[localhost-0-localhost:8080-localhost-0] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[None-None-localhost:8080-localhost-8080] PASSED [ 24%]
tests/test_basic.py::test_run_from_config[None-None-localhost:0-localhost-0] PASSED [ 24%]
tests/test_basic.py::test_max_cookie_size PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_specific_error_handling PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_specific_user_error_handling PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_app_error_handling PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_prefix_slash[-/-/] PASSED [ 25%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/--/] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/-/-/] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo--/foo] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/--/foo/] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[-/bar-/bar] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/-/bar-/foo/bar] PASSED [ 26%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/-bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo-/bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo/-//bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_prefix_slash[/foo//-/bar-/foo/bar] PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_url_defaults PASSED [ 27%]
tests/test_blueprints.py::test_blueprint_url_processors PASSED [ 28%]
tests/test_blueprints.py::test_templates_and_static PASSED [ 28%]
tests/test_blueprints.py::test_default_static_cache_timeout PASSED [ 28%]
tests/test_blueprints.py::test_templates_list PASSED [ 28%]
tests/test_blueprints.py::test_dotted_names PASSED [ 28%]
tests/test_blueprints.py::test_dotted_names_from_app PASSED [ 28%]
tests/test_blueprints.py::test_empty_url_defaults PASSED [ 29%]
tests/test_blueprints.py::test_route_decorator_custom_endpoint PASSED [ 29%]
tests/test_blueprints.py::test_route_decorator_custom_endpoint_with_dots PASSED [ 29%]
tests/test_blueprints.py::test_endpoint_decorator PASSED [ 29%]
tests/test_blueprints.py::test_template_filter PASSED [ 29%]
tests/test_blueprints.py::test_add_template_filter PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_with_name PASSED [ 30%]
tests/test_blueprints.py::test_add_template_filter_with_name PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_with_template PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_after_route_with_template PASSED [ 30%]
tests/test_blueprints.py::test_add_template_filter_with_template PASSED [ 30%]
tests/test_blueprints.py::test_template_filter_with_name_and_template PASSED [ 31%]
tests/test_blueprints.py::test_add_template_filter_with_name_and_template PASSED [ 31%]
tests/test_blueprints.py::test_template_test PASSED [ 31%]
tests/test_blueprints.py::test_add_template_test PASSED [ 31%]
tests/test_blueprints.py::test_template_test_with_name PASSED [ 31%]
tests/test_blueprints.py::test_add_template_test_with_name PASSED [ 32%]
tests/test_blueprints.py::test_template_test_with_template PASSED [ 32%]
tests/test_blueprints.py::test_template_test_after_route_with_template PASSED [ 32%]
tests/test_blueprints.py::test_add_template_test_with_template PASSED [ 32%]
tests/test_blueprints.py::test_template_test_with_name_and_template PASSED [ 32%]
tests/test_blueprints.py::test_add_template_test_with_name_and_template PASSED [ 33%]
tests/test_blueprints.py::test_context_processing PASSED [ 33%]
tests/test_blueprints.py::test_template_global PASSED [ 33%]
tests/test_blueprints.py::test_request_processing PASSED [ 33%]
tests/test_blueprints.py::test_app_request_processing PASSED [ 33%]
tests/test_blueprints.py::test_app_url_processors PASSED [ 33%]
tests/test_cli.py::test_cli_name PASSED [ 34%]
tests/test_cli.py::test_find_best_app PASSED [ 34%]
tests/test_cli.py::test_prepare_import[test-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 34%]
tests/test_cli.py::test_prepare_import[test.py-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 34%]
tests/test_cli.py::test_prepare_import[a/test-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/a-test] PASSED [ 34%]
tests/test_cli.py::test_prepare_import[test/__init__.py-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[test/__init__-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp/inner1/__init__-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.inner1] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp/inner1/inner2-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.inner1.inner2] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[test.a.b-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2-test.a.b] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp.app-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.app] PASSED [ 35%]
tests/test_cli.py::test_prepare_import[/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps/cliapp/message.txt-/home/tkloczko/rpmbuild/BUILD/Flask-1.1.2/tests/test_apps-cliapp.message.txt] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.app-None-testapp] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.app-testapp-testapp] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.factory-None-app] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app-app] PASSED [ 36%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app()-app] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app2("foo", "bar")-app2_foo_bar] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app2("foo", "bar", )-app2_foo_bar] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory-create_app3("foo")-app3_foo_spam] PASSED [ 37%]
tests/test_cli.py::test_locate_app[cliapp.factory- create_app () -app] PASSED [ 37%]
tests/test_cli.py::test_locate_app_raises[notanapp.py-None] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp/app-None] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.app-notanapp] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.factory-create_app2("foo")] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.factory-create_app(] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.factory-no_app] PASSED [ 38%]
tests/test_cli.py::test_locate_app_raises[cliapp.importerrorapp-None] PASSED [ 39%]
tests/test_cli.py::test_locate_app_raises[cliapp.message.txt-None] PASSED [ 39%]
tests/test_cli.py::test_locate_app_suppress_raise PASSED [ 39%]
tests/test_cli.py::test_get_version PASSED [ 39%]
tests/test_cli.py::test_scriptinfo PASSED [ 39%]
tests/test_cli.py::test_with_appcontext PASSED [ 40%]
tests/test_cli.py::test_appgroup PASSED [ 40%]
tests/test_cli.py::test_flaskgroup PASSED [ 40%]
tests/test_cli.py::test_flaskgroup_debug[True] PASSED [ 40%]
tests/test_cli.py::test_flaskgroup_debug[False] PASSED [ 40%]
tests/test_cli.py::test_print_exceptions PASSED [ 40%]
tests/test_cli.py::TestRoutes::test_simple PASSED [ 41%]
tests/test_cli.py::TestRoutes::test_sort PASSED [ 41%]
tests/test_cli.py::TestRoutes::test_all_methods PASSED [ 41%]
tests/test_cli.py::TestRoutes::test_no_routes PASSED [ 41%]
tests/test_cli.py::test_load_dotenv SKIPPED [ 41%]
tests/test_cli.py::test_dotenv_path SKIPPED [ 42%]
tests/test_cli.py::test_dotenv_optional PASSED [ 42%]
tests/test_cli.py::test_disable_dotenv_from_env SKIPPED [ 42%]
tests/test_cli.py::test_run_cert_path PASSED [ 42%]
tests/test_cli.py::test_run_cert_adhoc PASSED [ 42%]
tests/test_cli.py::test_run_cert_import PASSED [ 42%]
tests/test_cli.py::test_run_cert_no_ssl PASSED [ 43%]
tests/test_cli.py::test_cli_blueprints PASSED [ 43%]
tests/test_cli.py::test_cli_empty PASSED [ 43%]
tests/test_config.py::test_config_from_file PASSED [ 43%]
tests/test_config.py::test_config_from_object PASSED [ 43%]
tests/test_config.py::test_config_from_json PASSED [ 44%]
tests/test_config.py::test_config_from_mapping PASSED [ 44%]
tests/test_config.py::test_config_from_class PASSED [ 44%]
tests/test_config.py::test_config_from_envvar PASSED [ 44%]
tests/test_config.py::test_config_from_envvar_missing PASSED [ 44%]
tests/test_config.py::test_config_missing PASSED [ 45%]
tests/test_config.py::test_config_missing_json PASSED [ 45%]
tests/test_config.py::test_custom_config_class PASSED [ 45%]
tests/test_config.py::test_session_lifetime PASSED [ 45%]
tests/test_config.py::test_send_file_max_age PASSED [ 45%]
tests/test_config.py::test_get_namespace PASSED [ 45%]
tests/test_config.py::test_from_pyfile_weird_encoding[utf-8] PASSED [ 46%]
tests/test_config.py::test_from_pyfile_weird_encoding[iso-8859-15] PASSED [ 46%]
tests/test_config.py::test_from_pyfile_weird_encoding[latin-1] PASSED [ 46%]
tests/test_converters.py::test_custom_converters PASSED [ 46%]
tests/test_converters.py::test_context_available PASSED [ 46%]
tests/test_deprecations.py::test_json_available PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-1] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-t] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-True] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-False] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-None] PASSED [ 47%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value5] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value6] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value7] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-value8] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-1] PASSED [ 48%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-t] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-True] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-False] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-None] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value5] PASSED [ 49%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value6] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value7] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-8-sig-value8] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-1] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-t] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-True] PASSED [ 50%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-False] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-None] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value5] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value6] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value7] PASSED [ 51%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-le-value8] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-1] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-t] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-True] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-False] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-None] PASSED [ 52%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value5] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value6] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value7] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-be-value8] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-1] PASSED [ 53%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-t] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-True] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-False] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-None] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value5] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value6] PASSED [ 54%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value7] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-16-value8] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-1] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-t] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-True] PASSED [ 55%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-False] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-None] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value5] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value6] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value7] PASSED [ 56%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-le-value8] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-1] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-t] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-True] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-False] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-None] PASSED [ 57%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value5] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value6] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value7] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-be-value8] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-1] PASSED [ 58%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-t] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-True] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-False] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-None] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value5] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value6] PASSED [ 59%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value7] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_detect_encoding[utf-32-value8] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_bad_request_debug_message[True] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_bad_request_debug_message[False] PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_json_bad_requests PASSED [ 60%]
tests/test_helpers.py::TestJSON::test_json_custom_mimetypes PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_json_as_unicode[True-"\\u2603"] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_json_as_unicode[False-"\u2603"] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_json_dump_to_file PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[0] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[-1] PASSED [ 61%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[1] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[23] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[3.14] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[s] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[longer string] PASSED [ 62%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[True] PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[False] PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_basic_types[None] PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_dicts PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_arrays PASSED [ 63%]
tests/test_helpers.py::TestJSON::test_jsonify_date_types PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_aware_datetimes[tz0] PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_aware_datetimes[tz1] PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_aware_datetimes[tz2] PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_jsonify_uuid_types PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_json_attr PASSED [ 64%]
tests/test_helpers.py::TestJSON::test_template_escaping PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_json_customization PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_blueprint_json_customization PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_modified_url_encoding PASSED [ 65%]
tests/test_helpers.py::TestJSON::test_json_key_sorting PASSED [ 65%]
tests/test_helpers.py::TestSendfile::test_send_file_regular PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_xsendfile PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_last_modified PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_object_without_mimetype PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_object PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_pathlike PASSED [ 66%]
tests/test_helpers.py::TestSendfile::test_send_file_range_request PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_send_file_range_request_bytesio PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_send_file_range_request_xsendfile_invalid PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_attachment PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[index.html-index.html-False] PASSED [ 67%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[\xd1and\xfa\uff0fping\xfcino.txt-"Nandu/pinguino.txt"-%C3%91and%C3%BA%EF%BC%8Fping%C3%BCino.txt] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[V\xf6gel.txt-Vogel.txt-V%C3%B6gel.txt] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[t\xe9st.txt-test.txt-t%C3%A9st.txt] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_attachment_filename_encoding[\u0442\u0435:/\u0441\u0442-":/"-%D1%82%D0%B5%3A%2F%D1%81%D1%82] PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_static_file PASSED [ 68%]
tests/test_helpers.py::TestSendfile::test_send_from_directory PASSED [ 69%]
tests/test_helpers.py::TestSendfile::test_send_from_directory_pathlike PASSED [ 69%]
tests/test_helpers.py::TestSendfile::test_send_from_directory_null_character PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_anchor PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_scheme PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_scheme_not_external PASSED [ 69%]
tests/test_helpers.py::TestUrlFor::test_url_for_with_alternating_schemes PASSED [ 70%]
tests/test_helpers.py::TestUrlFor::test_url_with_method PASSED [ 70%]
tests/test_helpers.py::TestNoImports::test_name_with_import_error PASSED [ 70%]
tests/test_helpers.py::TestStreaming::test_streaming_with_context PASSED [ 70%]
tests/test_helpers.py::TestStreaming::test_streaming_with_context_as_decorator PASSED [ 70%]
tests/test_helpers.py::TestStreaming::test_streaming_with_context_and_custom_close PASSED [ 71%]
tests/test_helpers.py::TestStreaming::test_stream_keeps_session PASSED [ 71%]
tests/test_helpers.py::TestSafeJoin::test_safe_join PASSED [ 71%]
tests/test_helpers.py::TestSafeJoin::test_safe_join_exceptions PASSED [ 71%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[-False-False] PASSED [ 71%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[0-False-False] PASSED [ 71%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[False-False-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[No-False-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_debug_flag[True-True-True] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_env[-production-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_env[production-production-False] PASSED [ 72%]
tests/test_helpers.py::TestHelpers::test_get_env[development-development-True] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_get_env[other-other-False] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_make_response PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource[r] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource[rb] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource[rt] PASSED [ 73%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[w] PASSED [ 74%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[x] PASSED [ 74%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[a] PASSED [ 74%]
tests/test_helpers.py::TestHelpers::test_open_resource_exceptions[r+] PASSED [ 74%]
tests/test_instance_config.py::test_explicit_instance_paths PASSED [ 74%]
tests/test_instance_config.py::test_main_module_paths XPASS [ 75%]
tests/test_instance_config.py::test_uninstalled_module_paths PASSED [ 75%]
tests/test_instance_config.py::test_uninstalled_package_paths PASSED [ 75%]
tests/test_instance_config.py::test_installed_module_paths[True] PASSED [ 75%]
tests/test_instance_config.py::test_installed_module_paths[False] PASSED [ 75%]
tests/test_instance_config.py::test_installed_package_paths[True] PASSED [ 76%]
tests/test_instance_config.py::test_installed_package_paths[False] PASSED [ 76%]
tests/test_instance_config.py::test_prefix_package_paths[True] PASSED [ 76%]
tests/test_instance_config.py::test_prefix_package_paths[False] PASSED [ 76%]
tests/test_instance_config.py::test_egg_installed_paths PASSED [ 76%]
tests/test_instance_config.py::test_meta_path_loader_without_is_package SKIPPED [ 76%]
tests/test_json_tag.py::test_dump_load_unchanged[data0] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data1] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data2] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data3] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data4] PASSED [ 77%]
tests/test_json_tag.py::test_dump_load_unchanged[data5] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[\xff] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[<html>] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[data8] PASSED [ 78%]
tests/test_json_tag.py::test_dump_load_unchanged[data9] PASSED [ 78%]
tests/test_json_tag.py::test_duplicate_tag PASSED [ 78%]
tests/test_json_tag.py::test_custom_tag PASSED [ 79%]
tests/test_json_tag.py::test_tag_interface PASSED [ 79%]
tests/test_json_tag.py::test_tag_order PASSED [ 79%]
tests/test_logging.py::test_logger PASSED [ 79%]
tests/test_logging.py::test_logger_debug PASSED [ 79%]
tests/test_logging.py::test_existing_handler PASSED [ 80%]
tests/test_logging.py::test_wsgi_errors_stream PASSED [ 80%]
tests/test_logging.py::test_has_level_handler PASSED [ 80%]
tests/test_logging.py::test_log_view_exception PASSED [ 80%]
tests/test_logging.py::test_warn_old_config PASSED [ 80%]
tests/test_meta.py::test_changelog_utf8_compatible PASSED [ 80%]
tests/test_regression.py::test_memory_consumption PASSED [ 81%]
tests/test_regression.py::test_safe_join_toplevel_pardir PASSED [ 81%]
tests/test_regression.py::test_aborting FAILED [ 81%]
tests/test_reqctx.py::test_teardown_on_pop PASSED [ 81%]
tests/test_reqctx.py::test_teardown_with_previous_exception PASSED [ 81%]
tests/test_reqctx.py::test_teardown_with_handled_exception PASSED [ 82%]
tests/test_reqctx.py::test_proper_test_request_context PASSED [ 82%]
tests/test_reqctx.py::test_context_binding PASSED [ 82%]
tests/test_reqctx.py::test_context_test PASSED [ 82%]
tests/test_reqctx.py::test_manual_context_binding PASSED [ 82%]
tests/test_reqctx.py::TestGreenletContextCopying::test_greenlet_context_copying SKIPPED [ 83%]
tests/test_reqctx.py::TestGreenletContextCopying::test_greenlet_context_copying_api SKIPPED [ 83%]
tests/test_reqctx.py::test_session_error_pops_context PASSED [ 83%]
tests/test_reqctx.py::test_bad_environ_raises_bad_request PASSED [ 83%]
tests/test_reqctx.py::test_environ_for_valid_idna_completes PASSED [ 83%]
tests/test_reqctx.py::test_normal_environ_completes PASSED [ 83%]
tests/test_signals.py::test_template_rendered PASSED [ 84%]
tests/test_signals.py::test_before_render_template PASSED [ 84%]
tests/test_signals.py::test_request_signals PASSED [ 84%]
tests/test_signals.py::test_request_exception_signal PASSED [ 84%]
tests/test_signals.py::test_appcontext_signals PASSED [ 84%]
tests/test_signals.py::test_flash_signal PASSED [ 85%]
tests/test_signals.py::test_appcontext_tearing_down_signal PASSED [ 85%]
tests/test_subclassing.py::test_suppressed_exception_logging PASSED [ 85%]
tests/test_templating.py::test_context_processing PASSED [ 85%]
tests/test_templating.py::test_original_win PASSED [ 85%]
tests/test_templating.py::test_request_less_rendering PASSED [ 85%]
tests/test_templating.py::test_standard_context PASSED [ 86%]
tests/test_templating.py::test_escaping PASSED [ 86%]
tests/test_templating.py::test_no_escaping PASSED [ 86%]
tests/test_templating.py::test_escaping_without_template_filename PASSED [ 86%]
tests/test_templating.py::test_macros PASSED [ 86%]
tests/test_templating.py::test_template_filter PASSED [ 87%]
tests/test_templating.py::test_add_template_filter PASSED [ 87%]
tests/test_templating.py::test_template_filter_with_name PASSED [ 87%]
tests/test_templating.py::test_add_template_filter_with_name PASSED [ 87%]
tests/test_templating.py::test_template_filter_with_template PASSED [ 87%]
tests/test_templating.py::test_add_template_filter_with_template PASSED [ 88%]
tests/test_templating.py::test_template_filter_with_name_and_template PASSED [ 88%]
tests/test_templating.py::test_add_template_filter_with_name_and_template PASSED [ 88%]
tests/test_templating.py::test_template_test PASSED [ 88%]
tests/test_templating.py::test_add_template_test PASSED [ 88%]
tests/test_templating.py::test_template_test_with_name PASSED [ 88%]
tests/test_templating.py::test_add_template_test_with_name PASSED [ 89%]
tests/test_templating.py::test_template_test_with_template PASSED [ 89%]
tests/test_templating.py::test_add_template_test_with_template PASSED [ 89%]
tests/test_templating.py::test_template_test_with_name_and_template PASSED [ 89%]
tests/test_templating.py::test_add_template_test_with_name_and_template PASSED [ 89%]
tests/test_templating.py::test_add_template_global PASSED [ 90%]
tests/test_templating.py::test_custom_template_loader PASSED [ 90%]
tests/test_templating.py::test_iterable_loader PASSED [ 90%]
tests/test_templating.py::test_templates_auto_reload PASSED [ 90%]
tests/test_templating.py::test_templates_auto_reload_debug_run PASSED [ 90%]
tests/test_templating.py::test_template_loader_debugging PASSED [ 90%]
tests/test_templating.py::test_custom_jinja_env PASSED [ 91%]
tests/test_testing.py::test_environ_defaults_from_config PASSED [ 91%]
tests/test_testing.py::test_environ_defaults PASSED [ 91%]
tests/test_testing.py::test_environ_base_default PASSED [ 91%]
tests/test_testing.py::test_environ_base_modified PASSED [ 91%]
tests/test_testing.py::test_client_open_environ PASSED [ 92%]
tests/test_testing.py::test_specify_url_scheme PASSED [ 92%]
tests/test_testing.py::test_path_is_url PASSED [ 92%]
tests/test_testing.py::test_make_test_environ_builder PASSED [ 92%]
tests/test_testing.py::test_environbuilder_json_dumps PASSED [ 92%]
tests/test_testing.py::test_blueprint_with_subdomain PASSED [ 92%]
tests/test_testing.py::test_redirect_keep_session PASSED [ 93%]
tests/test_testing.py::test_session_transactions PASSED [ 93%]
tests/test_testing.py::test_session_transactions_no_null_sessions PASSED [ 93%]
tests/test_testing.py::test_session_transactions_keep_context PASSED [ 93%]
tests/test_testing.py::test_session_transaction_needs_cookies PASSED [ 93%]
tests/test_testing.py::test_test_client_context_binding PASSED [ 94%]
tests/test_testing.py::test_reuse_client PASSED [ 94%]
tests/test_testing.py::test_test_client_calls_teardown_handlers PASSED [ 94%]
tests/test_testing.py::test_full_url_request PASSED [ 94%]
tests/test_testing.py::test_json_request_and_response PASSED [ 94%]
tests/test_testing.py::test_client_json_no_app_context PASSED [ 95%]
tests/test_testing.py::test_subdomain PASSED [ 95%]
tests/test_testing.py::test_nosubdomain PASSED [ 95%]
tests/test_testing.py::test_cli_runner_class PASSED [ 95%]
tests/test_testing.py::test_cli_invoke PASSED [ 95%]
tests/test_testing.py::test_cli_custom_obj PASSED [ 95%]
tests/test_testing.py::test_client_pop_all_preserved PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_no_match PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_subclass PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_http_subclass PASSED [ 96%]
tests/test_user_error_handler.py::test_error_handler_blueprint PASSED [ 96%]
tests/test_user_error_handler.py::test_default_error_handler PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_class_or_code[InternalServerError] PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_class_or_code[500] PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_generic_http PASSED [ 97%]
tests/test_user_error_handler.py::TestGenericHandlers::test_handle_generic PASSED [ 97%]
tests/test_views.py::test_basic_view PASSED [ 97%]
tests/test_views.py::test_method_based_view PASSED [ 98%]
tests/test_views.py::test_view_patching PASSED [ 98%]
tests/test_views.py::test_view_inheritance PASSED [ 98%]
tests/test_views.py::test_view_decorators PASSED [ 98%]
tests/test_views.py::test_view_provide_automatic_options_attr PASSED [ 98%]
tests/test_views.py::test_implicit_head PASSED [ 99%]
tests/test_views.py::test_explicit_head PASSED [ 99%]
tests/test_views.py::test_endpoint_override PASSED [ 99%]
tests/test_views.py::test_methods_var_inheritance PASSED [ 99%]
tests/test_views.py::test_multiple_inheritance PASSED [ 99%]
tests/test_views.py::test_remove_method_from_parent PASSED [100%]
=============================================================================================== FAILURES ===============================================================================================
____________________________________________________________________________________________ test_aborting _____________________________________________________________________________________________
app = <Flask 'flask_test'>
def test_aborting(app):
class Foo(Exception):
whatever = 42
@app.errorhandler(Foo)
def handle_foo(e):
return str(e.whatever)
@app.route("/")
def index():
raise flask.abort(flask.redirect(flask.url_for("test")))
@app.route("/test")
def test():
raise Foo()
with app.test_client() as c:
rv = c.get("/")
> assert rv.headers["Location"] == "http://localhost/test"
E AssertionError: assert '/test' == 'http://localhost/test'
E - /test
E + http://localhost/test
tests/test_regression.py:95: AssertionError
====================================================================== 1 failed, 534 passed, 6 skipped, 1 xpassed in 4.48 seconds ======================================================================
</code></pre></div> | <p dir="auto"><a href="http://flask.pocoo.org/docs/flask-docs.pdf" rel="nofollow">http://flask.pocoo.org/docs/flask-docs.pdf</a><br>
Chapter 404: The Lost Page</p> | 0 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.17</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://haodaking.github.io/demos/vue/2.html" rel="nofollow">https://haodaking.github.io/demos/vue/2.html</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">1、移动端浏览器打开<a href="https://haodaking.github.io/demos/vue/2.html" rel="nofollow">https://haodaking.github.io/demos/vue/2.html</a><br>
2、页面滑动到底部点击“跳转”链接<br>
3、点击浏览器后退按钮</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">页面跳转后,浏览器后退,滚动条恢复原来位置。<br>
正常页面:<br>
<a href="https://haodaking.github.io/demos/vue/1.html" rel="nofollow">https://haodaking.github.io/demos/vue/1.html</a></p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">数据异步渲染,页面跳转后,浏览器后退,滚动条滑到了最顶部。</p>
<hr>
<p dir="auto">设备:iPhone XS;<br>
系统:IOS 12.1;<br>
浏览器:Safari;</p> | <h3 dir="auto">Version</h3>
<p dir="auto">2.3.3</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/ianpatel/3bs145u7/" rel="nofollow">https://jsfiddle.net/ianpatel/3bs145u7/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var eventHub = new Vue()
Vue.component('foo', {
template: `<div>I'm foo <button @click="emit">Emit {{ value }}</button></div>`,
data: function() {
return {
value: 22
}
},
methods: {
emit() {
var newVal = eventHub.$emit('makeTwice', this.value)
// I'm expecting newVal will be 44 but it is object of Vue$3
alert(newVal)
// Please check into Console log
console.log(newVal)
this.value = newVal // Check console log, can not Convert
}
}
})
new Vue({
el: '#app',
data: function() {
return {}
},
mounted() {
eventHub.$on('makeTwice', this.makeTwice)
},
methods: {
makeTwice(val) {
return val * 2
}
}
})"><pre class="notranslate"><code class="notranslate">var eventHub = new Vue()
Vue.component('foo', {
template: `<div>I'm foo <button @click="emit">Emit {{ value }}</button></div>`,
data: function() {
return {
value: 22
}
},
methods: {
emit() {
var newVal = eventHub.$emit('makeTwice', this.value)
// I'm expecting newVal will be 44 but it is object of Vue$3
alert(newVal)
// Please check into Console log
console.log(newVal)
this.value = newVal // Check console log, can not Convert
}
}
})
new Vue({
el: '#app',
data: function() {
return {}
},
mounted() {
eventHub.$on('makeTwice', this.makeTwice)
},
methods: {
makeTwice(val) {
return val * 2
}
}
})
</code></pre></div>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">I'm trying to Call other component method using single event hub <code class="notranslate">var eventHub = new Vue()</code>, but I would like to get a return value from other component method.<br>
<a href="https://vuejs.org/v2/guide/migration.html#dispatch-and-broadcast-replaced" rel="nofollow">https://vuejs.org/v2/guide/migration.html#dispatch-and-broadcast-replaced</a></p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">Currently <code class="notranslate">eventHub.$emit('makeTwice', this.value)</code> returning object of Vue$3. but component method return a value.</p>
<p dir="auto"><code class="notranslate">Vue$3 {_uid: 0, _isVue: true, $options: Object, _renderProxy: Proxy, _self: Vue$3…}</code></p>
<hr>
<p dir="auto">Am I missing something in <a href="https://vuejs.org/v2/api/#vm-emit" rel="nofollow">https://vuejs.org/v2/api/#vm-emit</a>.<br>
<code class="notranslate">vm.$emit( event, […args] )</code> do not have any return; It may possible, I'm expecting return value but $emit do not return method's return value.</p> | 0 |
<p dir="auto">More about this in -> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="981868037" data-permission-text="Title is private" data-url="https://github.com/microsoft/pylance-release/issues/1737" data-hovercard-type="issue" data-hovercard-url="/microsoft/pylance-release/issues/1737/hovercard?comment_id=908574952&comment_type=issue_comment" href="https://github.com/microsoft/pylance-release/issues/1737#issuecomment-908574952">microsoft/pylance-release#1737 (comment)</a></p>
<p dir="auto">vscode autocompletion<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/42299606/131394457-106902a0-8665-4e68-bc72-645b0ecf1d07.png"><img src="https://user-images.githubusercontent.com/42299606/131394457-106902a0-8665-4e68-bc72-645b0ecf1d07.png" alt="131223662-3ce951c3-9b59-41d9-b617-6f3a010bedfe" style="max-width: 100%;"></a></p> | <p dir="auto">Mypy requires public API of a package being exported using either <code class="notranslate">__all__</code> or <code class="notranslate">import ... as ...</code> syntax.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python3 -m venv env
source env/bin/activate
pip install -U pip mypy jax
python -m mypy --install-types --non-interactive --strict -c "from jax import numpy as jnp; xs = jnp.zeros(1)"
<string>:1: error: Module has no attribute "zeros"
Found 1 error in 1 file (checked 1 source file)"><pre class="notranslate">python3 -m venv env
<span class="pl-c1">source</span> env/bin/activate
pip install -U pip mypy jax
python -m mypy --install-types --non-interactive --strict -c <span class="pl-s"><span class="pl-pds">"</span>from jax import numpy as jnp; xs = jnp.zeros(1)<span class="pl-pds">"</span></span>
<span class="pl-k"><</span>string<span class="pl-k">></span>:1: error: Module has no attribute <span class="pl-s"><span class="pl-pds">"</span>zeros<span class="pl-pds">"</span></span>
Found 1 error <span class="pl-k">in</span> 1 file (checked 1 <span class="pl-c1">source</span> file)</pre></div>
<p dir="auto">Currently, projects that are using jax need to set<code class="notranslate">--no-implicit-reexport=False</code>.</p>
<p dir="auto">There are some references on that matter.</p>
<ul dir="auto">
<li><a href="https://www.python.org/dev/peps/pep-0484/#stub-files" rel="nofollow">PEP-0484</a>
<blockquote>
<ul dir="auto">
<li>Modules and variables imported into the stub are not considered exported from the stub unless the import uses the import ... as ... form or the equivalent from ... import ... as ... form.</li>
<li>However, as an exception to the previous bullet, all objects imported into a stub using from ... import * are considered exported.</li>
</ul>
</blockquote>
</li>
<li><a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport" rel="nofollow">MyPy docs</a>
<blockquote>
<p dir="auto"><code class="notranslate">--no-implicit-reexport</code> always treated as enabled for stub files.</p>
</blockquote>
</li>
</ul>
<p dir="auto">Is it possible to add a little boilerplate to <code class="notranslate">__init__.py</code> to make it working? :-)</p> | 1 |
<p dir="auto">As a companion issue to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="429700872" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/27538" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/27538/hovercard" href="https://github.com/tensorflow/tensorflow/issues/27538">#27538</a> with tensorflow 2.0.0a. Script fails with</p>
<blockquote>
<p dir="auto">ValueError: Input 0 of layer dense is incompatible with the layer: its rank is undefined, but the layer requires a defined rank.</p>
</blockquote>
<p dir="auto">in the line</p>
<p dir="auto"><code class="notranslate"> layers.Dense(image_data.num_classes, activation='softmax')</code><br>
<strong>System information</strong></p>
<ul dir="auto">
<li>TensorFlow version:</li>
</ul>
<blockquote>
<p dir="auto">('v1.12.0-9492-g2c319fb415', '2.0.0-alpha0')</p>
</blockquote>
<p dir="auto">using an updated script</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto">which also works for tensorflow 1.</p>
<ul dir="auto">
<li>Doc Link: <a href="https://www.tensorflow.org/tutorials/images/hub_with_keras" rel="nofollow">https://www.tensorflow.org/tutorials/images/hub_with_keras</a></li>
</ul>
<p dir="auto"><strong>Describe the documentation issue</strong><br>
The downloaded .py script (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="429700872" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/27538" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/27538/hovercard" href="https://github.com/tensorflow/tensorflow/issues/27538">#27538</a>) fails to run (it's not clear-cut if this is a documentation issue or simply a bug) at</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="model = tf.keras.Sequential([
feature_extractor_layer,
layers.Dense(image_data.num_classes, activation='softmax')
])"><pre class="notranslate"><code class="notranslate">model = tf.keras.Sequential([
feature_extractor_layer,
layers.Dense(image_data.num_classes, activation='softmax')
])
</code></pre></div>
<p dir="auto"><strong>We welcome contributions by users. Will you be able to update submit a PR (use the <a href="https://www.tensorflow.org/community/documentation" rel="nofollow">doc style guide</a>) to fix the doc Issue?</strong><br>
If it's a doc issue, I'd love to. It could go deeper than that. The same issue appears for the MCVE at stackoverflow: <a href="https://stackoverflow.com/questions/55490885/error-converting-keras-model-to-tfjs-duplicate-weight-name-variable" rel="nofollow">https://stackoverflow.com/questions/55490885/error-converting-keras-model-to-tfjs-duplicate-weight-name-variable</a></p> | <p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution : MacOS 10.13 High Sierra</li>
<li>TensorFlow installed from (source or binary): binary</li>
<li>TensorFlow version: 1.12</li>
<li>Python version: 3.6.x</li>
<li>Installed using : Anaconda 3, version 5.3.1</li>
</ul>
<p dir="auto"><strong>Describe the problem</strong><br>
Actually, my program meet a issue as <a href="https://github.com/tensorflow/tensorflow/issues/23999" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/23999/hovercard">#23999 </a></p>
<p dir="auto">I try to deep into the reason which cause the issue,<br>
and found that when I create a env (name 'py36' in my case) in Anaconda3 with Python 3.6 and install TensorFlow 1.12 ,<br>
there are duplicate files <code class="notranslate">libiomp5.dylib</code> & <code class="notranslate">libmklml.dylib</code> under path<br>
<code class="notranslate">~/anaconda3/envs/py36/lib/python3.6/site-packages/_solib_darwin/_U@mkl_Udarwin_S_S_Cmkl_Ulibs_Udarwin___Uexternal_Smkl_Udarwin_Slib/</code></p>
<p dir="auto">which are same files under path<br>
<code class="notranslate">~/anaconda3/envs/py36/lib</code></p>
<p dir="auto">No matter I delete which one, the program cannot run well.</p>
<p dir="auto"><strong>Provide the exact sequence of commands / steps that you executed before running into the problem</strong></p>
<p dir="auto">Step 1. Install Anaconda 3 (Version 5.3.1)<br>
Step2. Create env using Python 3.6<br>
Step3. Install TensorFlow 1.12 and relative package.</p>
<p dir="auto">BTW, If I create env (name 'py35' ) using Python 3.5, this issue is gone.<br>
There are no folder <code class="notranslate">_solib_darwin</code> be created under <code class="notranslate">~/anaconda3/envs/py35/lib/python3.5/site-packages/</code> and no duplicate files <code class="notranslate">libiomp5.dylib</code> & <code class="notranslate">libmklml.dylib</code></p>
<p dir="auto"><strong>Any other info / logs</strong></p> | 0 |
<p dir="auto">Maybe Deno can make web apps more cloud native via a <code class="notranslate">loader</code> option</p>
<p dir="auto">deno.json</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"loaders": {
"*.vue": "https://deno.land/x/[email protected]/loaders/vue.ts",
"*.vue!react": "https://deno.land/x/vue-loader/vue-react.ts",
"*.(css|scss)": "./style-loader.ts"
}
}"><pre class="notranslate">{
<span class="pl-ent">"loaders"</span>: {
<span class="pl-ent">"*.vue"</span>: <span class="pl-s"><span class="pl-pds">"</span>https://deno.land/x/[email protected]/loaders/vue.ts<span class="pl-pds">"</span></span>,
<span class="pl-ent">"*.vue!react"</span>: <span class="pl-s"><span class="pl-pds">"</span>https://deno.land/x/vue-loader/vue-react.ts<span class="pl-pds">"</span></span>,
<span class="pl-ent">"*.(css|scss)"</span>: <span class="pl-s"><span class="pl-pds">"</span>./style-loader.ts<span class="pl-pds">"</span></span>
}
}</pre></div>
<p dir="auto">style-loader.ts</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { ModuleLoader, someHelperFunciton } from "https://deno.land/[email protected]/loader/mod.ts"
export default class StyleLoader implements ModuleLoader {
// ...
}
declare module "*.css" {
// ...
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">ModuleLoader</span><span class="pl-kos">,</span> <span class="pl-s1">someHelperFunciton</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/[email protected]/loader/mod.ts"</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-smi">StyleLoader</span> <span class="pl-k">implements</span> <span class="pl-smi">ModuleLoader</span> <span class="pl-kos">{</span>
<span class="pl-c">// ...</span>
<span class="pl-kos">}</span>
<span class="pl-k">declare</span> module <span class="pl-s">"*.css"</span> <span class="pl-kos">{</span>
<span class="pl-c">// ...</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">SomeComponent.tsx</p>
<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import style from "https://esm.sh/some-lib/SomeComponent.css"
// or even import a vue component to react component via a specific loader
import Button from "https://esm.sh/some-ui-lib/Button.vue!react""><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">style</span> <span class="pl-k">from</span> <span class="pl-s">"https://esm.sh/some-lib/SomeComponent.css"</span>
<span class="pl-c">// or even import a vue component to react component via a specific loader</span>
<span class="pl-k">import</span> <span class="pl-smi">Button</span> <span class="pl-k">from</span> <span class="pl-s">"https://esm.sh/some-ui-lib/Button.vue!react"</span></pre></div>
<ul dir="auto">
<li>What loaders do is transform a non js/ts module to a ts modlue</li>
<li>Deno can provide a <code class="notranslate">cache</code> API for loaders</li>
</ul> | <p dir="auto">example: <a class="commit-link" href="https://github.com/denoland/deno/commit/0ceb554343ff3d311a19f027b7aa8f0806bbb162#diff-b9d53e20d7eb637f2c93606fc9b689b4L36"><tt>0ceb554</tt>#diff-b9d53e20d7eb637f2c93606fc9b689b4L36</a></p> | 0 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>For English only</strong>, other languages will not accept.</p>
<p dir="auto">Before report a bug, make sure you have:</p>
<ul dir="auto">
<li>Searched open and closed <a href="https://github.com/apache/shardingsphere/issues">GitHub issues</a>.</li>
<li>Read documentation: <a href="https://shardingsphere.apache.org/document/current/en/overview" rel="nofollow">ShardingSphere Doc</a>.</li>
</ul>
<p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br>
If no response anymore and we cannot reproduce it on current information, we will <strong>close it</strong>.</p>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">master</p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">when execute <code class="notranslate">ShardingSpringNamespaceTest</code> test case, cause error.</p>
<h3 dir="auto">Actual behavior</h3>
<h3 dir="auto">Reason analyze (If you can)</h3>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=57309:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit5-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/rt.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/target/test-classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/target/classes:/Users/dongzonglei/server/repository/org/apache/commons/commons-lang3/3.8/commons-lang3-3.8.jar:/Users/dongzonglei/server/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-schedule/shardingsphere-schedule-core/target/classes:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-lite-core/3.0.1/elasticjob-lite-core-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-api/3.0.1/elasticjob-api-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-infra-common/3.0.1/elasticjob-infra-common-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-registry-center/3.0.1/elasticjob-registry-center-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-simple-executor/3.0.1/elasticjob-simple-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-executor-kernel/3.0.1/elasticjob-executor-kernel-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-error-handler-general/3.0.1/elasticjob-error-handler-general-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-error-handler-spi/3.0.1/elasticjob-error-handler-spi-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-dataflow-executor/3.0.1/elasticjob-dataflow-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-script-executor/3.0.1/elasticjob-script-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-http-executor/3.0.1/elasticjob-http-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-tracing-rdb/3.0.1/elasticjob-tracing-rdb-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-tracing-api/3.0.1/elasticjob-tracing-api-3.0.1.jar:/Users/dongzonglei/server/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/Users/dongzonglei/server/repository/org/quartz-scheduler/quartz/2.3.2/quartz-2.3.2.jar:/Users/dongzonglei/server/repository/com/mchange/mchange-commons-java/0.2.15/mchange-commons-java-0.2.15.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-lite-lifecycle/3.0.1/elasticjob-lite-lifecycle-3.0.1.jar:/Users/dongzonglei/server/repository/com/zaxxer/HikariCP/3.4.2/HikariCP-3.4.2.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-executor/target/classes:/Users/dongzonglei/server/repository/io/vertx/vertx-mysql-client/4.2.3/vertx-mysql-client-4.2.3.jar:/Users/dongzonglei/server/repository/io/vertx/vertx-core/4.2.3/vertx-core-4.2.3.jar:/Users/dongzonglei/server/repository/io/netty/netty-common/4.1.73.Final/netty-common-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-buffer/4.1.73.Final/netty-buffer-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-transport/4.1.73.Final/netty-transport-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-handler/4.1.73.Final/netty-handler-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec/4.1.73.Final/netty-codec-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-handler-proxy/4.1.73.Final/netty-handler-proxy-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-socks/4.1.73.Final/netty-codec-socks-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-http/4.1.73.Final/netty-codec-http-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-http2/4.1.73.Final/netty-codec-http2-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-resolver/4.1.73.Final/netty-resolver-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-resolver-dns/4.1.73.Final/netty-resolver-dns-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-dns/4.1.73.Final/netty-codec-dns-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/vertx/vertx-sql-client/4.2.3/vertx-sql-client-4.2.3.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-parser/shardingsphere-parser-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-parser/shardingsphere-parser-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-repository/shardingsphere-cluster-mode-repository-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-repository/shardingsphere-cluster-mode-repository-provider/shardingsphere-cluster-mode-repository-zookeeper-curator/target/classes:/Users/dongzonglei/server/repository/org/apache/curator/curator-framework/5.1.0/curator-framework-5.1.0.jar:/Users/dongzonglei/server/repository/org/apache/curator/curator-client/5.1.0/curator-client-5.1.0.jar:/Users/dongzonglei/server/repository/org/apache/zookeeper/zookeeper/3.6.0/zookeeper-3.6.0.jar:/Users/dongzonglei/server/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/dongzonglei/server/repository/org/apache/zookeeper/zookeeper-jute/3.6.0/zookeeper-jute-3.6.0.jar:/Users/dongzonglei/server/repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/Users/dongzonglei/server/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/dongzonglei/server/repository/org/apache/curator/curator-recipes/5.1.0/curator-recipes-5.1.0.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-binder/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-spi/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/target/classes:/Users/dongzonglei/server/repository/org/antlr/antlr4-runtime/4.9.2/antlr4-runtime-4.9.2.jar:/Users/dongzonglei/server/repository/com/github/ben-manes/caffeine/caffeine/2.9.2/caffeine-2.9.2.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-parser/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-distsql/shardingsphere-distsql-parser/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-distsql/shardingsphere-distsql-statement/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-route/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-rewrite/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-provider/shardingsphere-sql-translator-native-provider/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-merge/target/classes:/Users/dongzonglei/server/repository/org/apache/calcite/calcite-linq4j/1.31.0/calcite-linq4j-1.31.0.jar:/Users/dongzonglei/server/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar:/Users/dongzonglei/server/repository/org/apache/calcite/avatica/avatica-core/1.22.0/avatica-core-1.22.0.jar:/Users/dongzonglei/server/repository/org/apache/calcite/avatica/avatica-metrics/1.22.0/avatica-metrics-1.22.0.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/core/jackson-annotations/2.10.0/jackson-annotations-2.10.0.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/core/jackson-databind/2.10.0/jackson-databind-2.10.0.jar:/Users/dongzonglei/server/repository/com/google/protobuf/protobuf-java/3.17.1/protobuf-java-3.17.1.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/core/jackson-core/2.10.0/jackson-core-2.10.0.jar:/Users/dongzonglei/server/repository/org/apache/httpcomponents/client5/httpclient5/5.1.3/httpclient5-5.1.3.jar:/Users/dongzonglei/server/repository/org/apache/httpcomponents/core5/httpcore5-h2/5.1.3/httpcore5-h2-5.1.3.jar:/Users/dongzonglei/server/repository/org/apache/httpcomponents/core5/httpcore5/5.1.3/httpcore5-5.1.3.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-context/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-type/shardingsphere-system-datetime/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-spi/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-plugin/shardingsphere-sharding-cosid/target/classes:/Users/dongzonglei/server/repository/me/ahoo/cosid/cosid-core/1.14.4/cosid-core-1.14.4.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-plugin/shardingsphere-sharding-nanoid/target/classes:/Users/dongzonglei/server/repository/com/aventrix/jnanoid/jnanoid/2.0.0/jnanoid-2.0.0.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-namespace-infra/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-common/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-util/target/classes:/Users/dongzonglei/server/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar:/Users/dongzonglei/server/repository/org/apache/groovy/groovy/4.0.3/groovy-4.0.3.jar:/Users/dongzonglei/server/repository/com/h2database/h2/2.1.214/h2-2.1.214.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-jdbc/shardingsphere-jdbc-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sql92/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-authority/shardingsphere-authority-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-authority/shardingsphere-authority-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-repository/shardingsphere-standalone-mode-repository-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-repository/shardingsphere-standalone-mode-repository-provider/shardingsphere-standalone-mode-repository-jdbc/shardingsphere-standalone-mode-repository-jdbc-h2/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-repository/shardingsphere-standalone-mode-repository-provider/shardingsphere-standalone-mode-repository-jdbc/shardingsphere-standalone-mode-repository-jdbc-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-opengauss/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-plugin/shardingsphere-encrypt-sm/target/classes:/Users/dongzonglei/server/repository/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-federation/shardingsphere-infra-federation-executor/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-federation/shardingsphere-infra-federation-optimizer/target/classes:/Users/dongzonglei/server/repository/org/apache/calcite/calcite-core/1.31.0/calcite-core-1.31.0.jar:/Users/dongzonglei/server/repository/com/esri/geometry/esri-geometry-api/2.2.0/esri-geometry-api-2.2.0.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.13.2/jackson-dataformat-yaml-2.13.2.jar:/Users/dongzonglei/server/repository/com/google/uzaygezen/uzaygezen-core/0.2/uzaygezen-core-0.2.jar:/Users/dongzonglei/server/repository/com/jayway/jsonpath/json-path/2.7.0/json-path-2.7.0.jar:/Users/dongzonglei/server/repository/net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar:/Users/dongzonglei/server/repository/net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar:/Users/dongzonglei/server/repository/org/ow2/asm/asm/9.1/asm-9.1.jar:/Users/dongzonglei/server/repository/com/yahoo/datasketches/sketches-core/0.9.0/sketches-core-0.9.0.jar:/Users/dongzonglei/server/repository/com/yahoo/datasketches/memory/0.9.0/memory-0.9.0.jar:/Users/dongzonglei/server/repository/net/hydromatic/aggdesigner-algorithm/6.0/aggdesigner-algorithm-6.0.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-dbcp2/2.2.0/commons-dbcp2-2.2.0.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-pool2/2.5.0/commons-pool2-2.5.0.jar:/Users/dongzonglei/server/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/dongzonglei/server/repository/org/codehaus/janino/commons-compiler/3.1.6/commons-compiler-3.1.6.jar:/Users/dongzonglei/server/repository/org/codehaus/janino/janino/3.1.6/janino-3.1.6.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users/dongzonglei/server/repository/org/springframework/spring-context-support/4.3.30.RELEASE/spring-context-support-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-beans/4.3.30.RELEASE/spring-beans-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-context/4.3.30.RELEASE/spring-context-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-aop/4.3.30.RELEASE/spring-aop-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-expression/4.3.30.RELEASE/spring-expression-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-core/4.3.30.RELEASE/spring-core-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/dongzonglei/server/repository/org/springframework/spring-test/4.3.30.RELEASE/spring-test-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/dongzonglei/server/repository/com/google/guava/guava/30.0-jre/guava-30.0-jre.jar:/Users/dongzonglei/server/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/Users/dongzonglei/server/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/dongzonglei/server/repository/org/checkerframework/checker-qual/3.5.0/checker-qual-3.5.0.jar:/Users/dongzonglei/server/repository/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar:/Users/dongzonglei/server/repository/org/projectlombok/lombok/1.18.20/lombok-1.18.20.jar:/Users/dongzonglei/server/repository/junit/junit/4.12/junit-4.12.jar:/Users/dongzonglei/server/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/dongzonglei/server/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/dongzonglei/server/repository/org/mockito/mockito-core/4.5.1/mockito-core-4.5.1.jar:/Users/dongzonglei/server/repository/net/bytebuddy/byte-buddy/1.12.10/byte-buddy-1.12.10.jar:/Users/dongzonglei/server/repository/net/bytebuddy/byte-buddy-agent/1.12.10/byte-buddy-agent-1.12.10.jar:/Users/dongzonglei/server/repository/org/objenesis/objenesis/3.2/objenesis-3.2.jar:/Users/dongzonglei/server/repository/org/mockito/mockito-inline/4.5.1/mockito-inline-4.5.1.jar:/Users/dongzonglei/server/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar:/Users/dongzonglei/server/repository/org/slf4j/jcl-over-slf4j/1.7.7/jcl-over-slf4j-1.7.7.jar:/Users/dongzonglei/server/repository/org/slf4j/jul-to-slf4j/1.7.7/jul-to-slf4j-1.7.7.jar:/Users/dongzonglei/server/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar:/Users/dongzonglei/server/repository/ch/qos/logback/logback-core/1.2.10/logback-core-1.2.10.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 org.apache.shardingsphere.sharding.spring.namespace.ShardingSpringNamespaceTest,assertKeyGenAlgorithm
[ERROR] 2022-09-06 00:06:32.164 [main] o.s.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1224144a] to prepare test instance [org.apache.shardingsphere.sharding.spring.namespace.ShardingSpringNamespaceTest@29f7cefd]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleRule': Cannot resolve reference to bean 'uuidAlgorithm' while setting bean property 'keyGenerators' with key [uuidAlgorithm]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:407)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:165)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 26 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:185)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1646)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 46 common frames omitted
Caused by: java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.load(ShardingSphereServiceLoader.java:53)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.register(ShardingSphereServiceLoader.java:47)
at org.apache.shardingsphere.sharding.factory.KeyGenerateAlgorithmFactory.<clinit>(KeyGenerateAlgorithmFactory.java:36)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:38)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:30)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)
... 51 common frames omitted
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleRule': Cannot resolve reference to bean 'uuidAlgorithm' while setting bean property 'keyGenerators' with key [uuidAlgorithm]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:407)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:165)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 26 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:185)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1646)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 46 more
Caused by: java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.load(ShardingSphereServiceLoader.java:53)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.register(ShardingSphereServiceLoader.java:47)
at org.apache.shardingsphere.sharding.factory.KeyGenerateAlgorithmFactory.<clinit>(KeyGenerateAlgorithmFactory.java:36)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:38)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:30)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)
... 51 more
Process finished with exit code 255"><pre class="notranslate"><code class="notranslate">/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=57309:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit5-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/rt.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/target/test-classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/target/classes:/Users/dongzonglei/server/repository/org/apache/commons/commons-lang3/3.8/commons-lang3-3.8.jar:/Users/dongzonglei/server/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-schedule/shardingsphere-schedule-core/target/classes:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-lite-core/3.0.1/elasticjob-lite-core-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-api/3.0.1/elasticjob-api-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-infra-common/3.0.1/elasticjob-infra-common-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-registry-center/3.0.1/elasticjob-registry-center-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-simple-executor/3.0.1/elasticjob-simple-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-executor-kernel/3.0.1/elasticjob-executor-kernel-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-error-handler-general/3.0.1/elasticjob-error-handler-general-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-error-handler-spi/3.0.1/elasticjob-error-handler-spi-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-dataflow-executor/3.0.1/elasticjob-dataflow-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-script-executor/3.0.1/elasticjob-script-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-http-executor/3.0.1/elasticjob-http-executor-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-tracing-rdb/3.0.1/elasticjob-tracing-rdb-3.0.1.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-tracing-api/3.0.1/elasticjob-tracing-api-3.0.1.jar:/Users/dongzonglei/server/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/Users/dongzonglei/server/repository/org/quartz-scheduler/quartz/2.3.2/quartz-2.3.2.jar:/Users/dongzonglei/server/repository/com/mchange/mchange-commons-java/0.2.15/mchange-commons-java-0.2.15.jar:/Users/dongzonglei/server/repository/org/apache/shardingsphere/elasticjob/elasticjob-lite-lifecycle/3.0.1/elasticjob-lite-lifecycle-3.0.1.jar:/Users/dongzonglei/server/repository/com/zaxxer/HikariCP/3.4.2/HikariCP-3.4.2.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-executor/target/classes:/Users/dongzonglei/server/repository/io/vertx/vertx-mysql-client/4.2.3/vertx-mysql-client-4.2.3.jar:/Users/dongzonglei/server/repository/io/vertx/vertx-core/4.2.3/vertx-core-4.2.3.jar:/Users/dongzonglei/server/repository/io/netty/netty-common/4.1.73.Final/netty-common-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-buffer/4.1.73.Final/netty-buffer-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-transport/4.1.73.Final/netty-transport-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-handler/4.1.73.Final/netty-handler-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec/4.1.73.Final/netty-codec-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-handler-proxy/4.1.73.Final/netty-handler-proxy-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-socks/4.1.73.Final/netty-codec-socks-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-http/4.1.73.Final/netty-codec-http-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-http2/4.1.73.Final/netty-codec-http2-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-resolver/4.1.73.Final/netty-resolver-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-resolver-dns/4.1.73.Final/netty-resolver-dns-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/netty/netty-codec-dns/4.1.73.Final/netty-codec-dns-4.1.73.Final.jar:/Users/dongzonglei/server/repository/io/vertx/vertx-sql-client/4.2.3/vertx-sql-client-4.2.3.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-parser/shardingsphere-parser-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-parser/shardingsphere-parser-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-repository/shardingsphere-cluster-mode-repository-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-repository/shardingsphere-cluster-mode-repository-provider/shardingsphere-cluster-mode-repository-zookeeper-curator/target/classes:/Users/dongzonglei/server/repository/org/apache/curator/curator-framework/5.1.0/curator-framework-5.1.0.jar:/Users/dongzonglei/server/repository/org/apache/curator/curator-client/5.1.0/curator-client-5.1.0.jar:/Users/dongzonglei/server/repository/org/apache/zookeeper/zookeeper/3.6.0/zookeeper-3.6.0.jar:/Users/dongzonglei/server/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/dongzonglei/server/repository/org/apache/zookeeper/zookeeper-jute/3.6.0/zookeeper-jute-3.6.0.jar:/Users/dongzonglei/server/repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/Users/dongzonglei/server/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/dongzonglei/server/repository/org/apache/curator/curator-recipes/5.1.0/curator-recipes-5.1.0.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-binder/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-spi/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/target/classes:/Users/dongzonglei/server/repository/org/antlr/antlr4-runtime/4.9.2/antlr4-runtime-4.9.2.jar:/Users/dongzonglei/server/repository/com/github/ben-manes/caffeine/caffeine/2.9.2/caffeine-2.9.2.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-parser/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-distsql/shardingsphere-distsql-parser/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-distsql/shardingsphere-distsql-statement/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-route/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-rewrite/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-provider/shardingsphere-sql-translator-native-provider/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-merge/target/classes:/Users/dongzonglei/server/repository/org/apache/calcite/calcite-linq4j/1.31.0/calcite-linq4j-1.31.0.jar:/Users/dongzonglei/server/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar:/Users/dongzonglei/server/repository/org/apache/calcite/avatica/avatica-core/1.22.0/avatica-core-1.22.0.jar:/Users/dongzonglei/server/repository/org/apache/calcite/avatica/avatica-metrics/1.22.0/avatica-metrics-1.22.0.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/core/jackson-annotations/2.10.0/jackson-annotations-2.10.0.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/core/jackson-databind/2.10.0/jackson-databind-2.10.0.jar:/Users/dongzonglei/server/repository/com/google/protobuf/protobuf-java/3.17.1/protobuf-java-3.17.1.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/core/jackson-core/2.10.0/jackson-core-2.10.0.jar:/Users/dongzonglei/server/repository/org/apache/httpcomponents/client5/httpclient5/5.1.3/httpclient5-5.1.3.jar:/Users/dongzonglei/server/repository/org/apache/httpcomponents/core5/httpcore5-h2/5.1.3/httpcore5-h2-5.1.3.jar:/Users/dongzonglei/server/repository/org/apache/httpcomponents/core5/httpcore5/5.1.3/httpcore5-5.1.3.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-context/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-type/shardingsphere-system-datetime/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-spi/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-plugin/shardingsphere-sharding-cosid/target/classes:/Users/dongzonglei/server/repository/me/ahoo/cosid/cosid-core/1.14.4/cosid-core-1.14.4.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-plugin/shardingsphere-sharding-nanoid/target/classes:/Users/dongzonglei/server/repository/com/aventrix/jnanoid/jnanoid/2.0.0/jnanoid-2.0.0.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-namespace-infra/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-common/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-util/target/classes:/Users/dongzonglei/server/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar:/Users/dongzonglei/server/repository/org/apache/groovy/groovy/4.0.3/groovy-4.0.3.jar:/Users/dongzonglei/server/repository/com/h2database/h2/2.1.214/h2-2.1.214.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-jdbc/shardingsphere-jdbc-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sql92/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-authority/shardingsphere-authority-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-authority/shardingsphere-authority-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-repository/shardingsphere-standalone-mode-repository-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-repository/shardingsphere-standalone-mode-repository-provider/shardingsphere-standalone-mode-repository-jdbc/shardingsphere-standalone-mode-repository-jdbc-h2/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-standalone-mode/shardingsphere-standalone-mode-repository/shardingsphere-standalone-mode-repository-provider/shardingsphere-standalone-mode-repository-jdbc/shardingsphere-standalone-mode-repository-jdbc-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-opengauss/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-plugin/shardingsphere-encrypt-sm/target/classes:/Users/dongzonglei/server/repository/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.jar:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-api/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-federation/shardingsphere-infra-federation-executor/target/classes:/Users/dongzonglei/source_code/Github/shardingsphere/shardingsphere-infra/shardingsphere-infra-federation/shardingsphere-infra-federation-optimizer/target/classes:/Users/dongzonglei/server/repository/org/apache/calcite/calcite-core/1.31.0/calcite-core-1.31.0.jar:/Users/dongzonglei/server/repository/com/esri/geometry/esri-geometry-api/2.2.0/esri-geometry-api-2.2.0.jar:/Users/dongzonglei/server/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.13.2/jackson-dataformat-yaml-2.13.2.jar:/Users/dongzonglei/server/repository/com/google/uzaygezen/uzaygezen-core/0.2/uzaygezen-core-0.2.jar:/Users/dongzonglei/server/repository/com/jayway/jsonpath/json-path/2.7.0/json-path-2.7.0.jar:/Users/dongzonglei/server/repository/net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar:/Users/dongzonglei/server/repository/net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar:/Users/dongzonglei/server/repository/org/ow2/asm/asm/9.1/asm-9.1.jar:/Users/dongzonglei/server/repository/com/yahoo/datasketches/sketches-core/0.9.0/sketches-core-0.9.0.jar:/Users/dongzonglei/server/repository/com/yahoo/datasketches/memory/0.9.0/memory-0.9.0.jar:/Users/dongzonglei/server/repository/net/hydromatic/aggdesigner-algorithm/6.0/aggdesigner-algorithm-6.0.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-dbcp2/2.2.0/commons-dbcp2-2.2.0.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-pool2/2.5.0/commons-pool2-2.5.0.jar:/Users/dongzonglei/server/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/dongzonglei/server/repository/org/codehaus/janino/commons-compiler/3.1.6/commons-compiler-3.1.6.jar:/Users/dongzonglei/server/repository/org/codehaus/janino/janino/3.1.6/janino-3.1.6.jar:/Users/dongzonglei/server/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users/dongzonglei/server/repository/org/springframework/spring-context-support/4.3.30.RELEASE/spring-context-support-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-beans/4.3.30.RELEASE/spring-beans-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-context/4.3.30.RELEASE/spring-context-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-aop/4.3.30.RELEASE/spring-aop-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-expression/4.3.30.RELEASE/spring-expression-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/org/springframework/spring-core/4.3.30.RELEASE/spring-core-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/dongzonglei/server/repository/org/springframework/spring-test/4.3.30.RELEASE/spring-test-4.3.30.RELEASE.jar:/Users/dongzonglei/server/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/dongzonglei/server/repository/com/google/guava/guava/30.0-jre/guava-30.0-jre.jar:/Users/dongzonglei/server/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/Users/dongzonglei/server/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/dongzonglei/server/repository/org/checkerframework/checker-qual/3.5.0/checker-qual-3.5.0.jar:/Users/dongzonglei/server/repository/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar:/Users/dongzonglei/server/repository/org/projectlombok/lombok/1.18.20/lombok-1.18.20.jar:/Users/dongzonglei/server/repository/junit/junit/4.12/junit-4.12.jar:/Users/dongzonglei/server/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/dongzonglei/server/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/dongzonglei/server/repository/org/mockito/mockito-core/4.5.1/mockito-core-4.5.1.jar:/Users/dongzonglei/server/repository/net/bytebuddy/byte-buddy/1.12.10/byte-buddy-1.12.10.jar:/Users/dongzonglei/server/repository/net/bytebuddy/byte-buddy-agent/1.12.10/byte-buddy-agent-1.12.10.jar:/Users/dongzonglei/server/repository/org/objenesis/objenesis/3.2/objenesis-3.2.jar:/Users/dongzonglei/server/repository/org/mockito/mockito-inline/4.5.1/mockito-inline-4.5.1.jar:/Users/dongzonglei/server/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar:/Users/dongzonglei/server/repository/org/slf4j/jcl-over-slf4j/1.7.7/jcl-over-slf4j-1.7.7.jar:/Users/dongzonglei/server/repository/org/slf4j/jul-to-slf4j/1.7.7/jul-to-slf4j-1.7.7.jar:/Users/dongzonglei/server/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar:/Users/dongzonglei/server/repository/ch/qos/logback/logback-core/1.2.10/logback-core-1.2.10.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 org.apache.shardingsphere.sharding.spring.namespace.ShardingSpringNamespaceTest,assertKeyGenAlgorithm
[ERROR] 2022-09-06 00:06:32.164 [main] o.s.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1224144a] to prepare test instance [org.apache.shardingsphere.sharding.spring.namespace.ShardingSpringNamespaceTest@29f7cefd]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleRule': Cannot resolve reference to bean 'uuidAlgorithm' while setting bean property 'keyGenerators' with key [uuidAlgorithm]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:407)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:165)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 26 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:185)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1646)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 46 common frames omitted
Caused by: java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.load(ShardingSphereServiceLoader.java:53)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.register(ShardingSphereServiceLoader.java:47)
at org.apache.shardingsphere.sharding.factory.KeyGenerateAlgorithmFactory.<clinit>(KeyGenerateAlgorithmFactory.java:36)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:38)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:30)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)
... 51 common frames omitted
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleRule': Cannot resolve reference to bean 'uuidAlgorithm' while setting bean property 'keyGenerators' with key [uuidAlgorithm]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:407)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:165)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 26 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uuidAlgorithm': FactoryBean threw exception on object creation; nested exception is java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:185)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1646)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 46 more
Caused by: java.util.ServiceConfigurationError: org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm: Provider org.apache.shardingsphere.sharding.spring.namespace.fixture.keygen.IncrementKeyGenerateAlgorithm not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.load(ShardingSphereServiceLoader.java:53)
at org.apache.shardingsphere.infra.util.spi.ShardingSphereServiceLoader.register(ShardingSphereServiceLoader.java:47)
at org.apache.shardingsphere.sharding.factory.KeyGenerateAlgorithmFactory.<clinit>(KeyGenerateAlgorithmFactory.java:36)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:38)
at org.apache.shardingsphere.sharding.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean.getObject(KeyGenerateAlgorithmFactoryBean.java:30)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)
... 51 more
Process finished with exit code 255
</code></pre></div> | <h2 dir="auto">Bug Report</h2>
<p dir="auto">SQL like "select * from t_order where create_time between '2018-01-01 00:00:00' and '2018-01-02 00:00:00'" is not supported, we use create_time for RangeShardingAlgorithm<br>
and we always get the wrong RangeShardingValue ( we expected Range ['2018-01-01 00:00:00', '2018-01-02 00:00:00'] bu we received Range [-1, -1] ), the column type of create_time is datetime.</p>
<p dir="auto">in the OrConditionFilter.java line 206,</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="private com.google.common.base.Optional<SQLExpression> buildExpression(final SelectStatement selectStatement, final ExpressionSegment expressionSegment, final String sql,
final ShardingRule shardingRule, final ShardingTableMetaData shardingTableMetaData) {
if (!(expressionSegment instanceof CommonExpressionSegment)) {
new ExpressionFiller().fill(expressionSegment, selectStatement, sql, shardingRule, shardingTableMetaData);
return com.google.common.base.Optional.absent();
}
CommonExpressionSegment commonExpressionSegment = (CommonExpressionSegment) expressionSegment;
if (-1 < commonExpressionSegment.getIndex()) {
return com.google.common.base.Optional.<SQLExpression>of(new SQLPlaceholderExpression(commonExpressionSegment.getIndex()));
}
// it will always return SQLNumberExpression because there is a default value -1 for commonExpressionSegment.getValue()
if (null != commonExpressionSegment.getValue()) {
return com.google.common.base.Optional.<SQLExpression>of(new SQLNumberExpression(commonExpressionSegment.getValue()));
}
String expression = sql.substring(commonExpressionSegment.getStartPosition(), commonExpressionSegment.getEndPosition() + 1);
return Optional.<SQLExpression>of(new SQLTextExpression(expression));
}"><pre class="notranslate"><span class="pl-k">private</span> <span class="pl-smi">com</span>.<span class="pl-smi">google</span>.<span class="pl-smi">common</span>.<span class="pl-smi">base</span>.<span class="pl-smi">Optional</span><<span class="pl-smi">SQLExpression</span>> <span class="pl-s1">buildExpression</span>(<span class="pl-k">final</span> <span class="pl-smi">SelectStatement</span> <span class="pl-s1">selectStatement</span>, <span class="pl-k">final</span> <span class="pl-smi">ExpressionSegment</span> <span class="pl-s1">expressionSegment</span>, <span class="pl-k">final</span> <span class="pl-smi">String</span> <span class="pl-s1">sql</span>,
<span class="pl-k">final</span> <span class="pl-smi">ShardingRule</span> <span class="pl-s1">shardingRule</span>, <span class="pl-k">final</span> <span class="pl-smi">ShardingTableMetaData</span> <span class="pl-s1">shardingTableMetaData</span>) {
<span class="pl-k">if</span> (!(<span class="pl-s1">expressionSegment</span> <span class="pl-k">instanceof</span> <span class="pl-smi">CommonExpressionSegment</span>)) {
<span class="pl-k">new</span> <span class="pl-smi">ExpressionFiller</span>().<span class="pl-en">fill</span>(<span class="pl-s1">expressionSegment</span>, <span class="pl-s1">selectStatement</span>, <span class="pl-s1">sql</span>, <span class="pl-s1">shardingRule</span>, <span class="pl-s1">shardingTableMetaData</span>);
<span class="pl-k">return</span> <span class="pl-s1">com</span>.<span class="pl-s1">google</span>.<span class="pl-s1">common</span>.<span class="pl-s1">base</span>.<span class="pl-s1">Optional</span>.<span class="pl-en">absent</span>();
}
<span class="pl-smi">CommonExpressionSegment</span> <span class="pl-s1">commonExpressionSegment</span> = (<span class="pl-smi">CommonExpressionSegment</span>) <span class="pl-s1">expressionSegment</span>;
<span class="pl-k">if</span> (-<span class="pl-c1">1</span> < <span class="pl-s1">commonExpressionSegment</span>.<span class="pl-en">getIndex</span>()) {
<span class="pl-k">return</span> <span class="pl-s1">com</span>.<span class="pl-s1">google</span>.<span class="pl-s1">common</span>.<span class="pl-s1">base</span>.<span class="pl-s1">Optional</span>.<<span class="pl-smi">SQLExpression</span>><span class="pl-en">of</span>(<span class="pl-k">new</span> <span class="pl-smi">SQLPlaceholderExpression</span>(<span class="pl-s1">commonExpressionSegment</span>.<span class="pl-en">getIndex</span>()));
}
<span class="pl-c">// it will always return SQLNumberExpression because there is a default value -1 for commonExpressionSegment.getValue()</span>
<span class="pl-k">if</span> (<span class="pl-c1">null</span> != <span class="pl-s1">commonExpressionSegment</span>.<span class="pl-en">getValue</span>()) {
<span class="pl-k">return</span> <span class="pl-s1">com</span>.<span class="pl-s1">google</span>.<span class="pl-s1">common</span>.<span class="pl-s1">base</span>.<span class="pl-s1">Optional</span>.<<span class="pl-smi">SQLExpression</span>><span class="pl-en">of</span>(<span class="pl-k">new</span> <span class="pl-smi">SQLNumberExpression</span>(<span class="pl-s1">commonExpressionSegment</span>.<span class="pl-en">getValue</span>()));
}
<span class="pl-smi">String</span> <span class="pl-s1">expression</span> = <span class="pl-s1">sql</span>.<span class="pl-en">substring</span>(<span class="pl-s1">commonExpressionSegment</span>.<span class="pl-en">getStartPosition</span>(), <span class="pl-s1">commonExpressionSegment</span>.<span class="pl-en">getEndPosition</span>() + <span class="pl-c1">1</span>);
<span class="pl-k">return</span> <span class="pl-smi">Optional</span>.<<span class="pl-smi">SQLExpression</span>><span class="pl-en">of</span>(<span class="pl-k">new</span> <span class="pl-smi">SQLTextExpression</span>(<span class="pl-s1">expression</span>));
}</pre></div>
<p dir="auto">but the value field in CommonExpressionSegment has a default value -1. so it will be always consider as SQLNumberExpression.</p>
<p dir="auto">after i remove the default value -1 for field value in CommonExpressionSegment.java, it's ok.</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public final class CommonExpressionSegment extends ExpressionWithAliasSegment
{
private final int startPosition;
private final int endPosition;
private int index = -1;
//remove the default value -1
private Number value;
}"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">final</span> <span class="pl-k">class</span> <span class="pl-smi">CommonExpressionSegment</span> <span class="pl-k">extends</span> <span class="pl-smi">ExpressionWithAliasSegment</span>
{
<span class="pl-k">private</span> <span class="pl-k">final</span> <span class="pl-smi">int</span> <span class="pl-s1">startPosition</span>;
<span class="pl-k">private</span> <span class="pl-k">final</span> <span class="pl-smi">int</span> <span class="pl-s1">endPosition</span>;
<span class="pl-k">private</span> <span class="pl-smi">int</span> <span class="pl-s1">index</span> = -<span class="pl-c1">1</span>;
<span class="pl-c">//remove the default value -1</span>
<span class="pl-k">private</span> <span class="pl-smi">Number</span> <span class="pl-s1">value</span>;
}</pre></div>
<p dir="auto">but the range value keep the single quote for the string like this:<br>
['2018-01-01 00:00:00', '2018-01-01 23:59:59']<br>
lowerEndpoint: '2018-01-01 00:00:00' upperEndpoint: '2018-01-01 23:59:59'<br>
and what we expected is like this:<br>
[2018-01-01 00:00:00, 2018-01-01 23:59:59]<br>
lowerEndpoint: 2018-01-01 00:00:00 upperEndpoint: 2018-01-01 23:59:59</p>
<p dir="auto">the source code for RangeShardingAlgorithm is like this:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public Collection<String> doSharding(Collection<String> availableTargetNames, RangeShardingValue<String> value)"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-smi">Collection</span><<span class="pl-smi">String</span>> <span class="pl-s1">doSharding</span>(<span class="pl-smi">Collection</span><<span class="pl-smi">String</span>> <span class="pl-s1">availableTargetNames</span>, <span class="pl-smi">RangeShardingValue</span><<span class="pl-smi">String</span>> <span class="pl-s1">value</span>)</pre></div>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">3.1.0</p>
<h3 dir="auto">Which project did you use? Sharding-JDBC or Sharding-Proxy?</h3>
<p dir="auto">Sharding-JDBC</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">supported</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">not supported</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto">as mentioned above</p>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<p dir="auto">as mentioned above</p>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<p dir="auto">as mentioned above</p> | 0 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Input Code</strong></p>
<p dir="auto"><a href="https://babeljs.io/repl#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=MYewdgzgLgBAhgJwQRhgXhgbQHS4IJJwCeAFAEwCUAugFCiSyIJnowELHkUDcd408JAGZWOXEzJVuQA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=false&sourceType=module&lineWrap=true&presets=env&prettier=true&targets=&version=7.6.4&externalPlugins=" rel="nofollow">REPL</a></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const arr1 = [...Array(2)]
const arr2 = Array(2);
const arr3 = [...arr2];"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">arr1</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span>...<span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">]</span>
<span class="pl-k">const</span> <span class="pl-s1">arr2</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">arr3</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span>...<span class="pl-s1">arr2</span><span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Current Behavior</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var arr1 = _toConsumableArray(Array(2)); // [undefined, undefined]
var arr2 = Array(2); // [empty × 2]
var arr3 = [].concat(arr2); // [empty × 2]"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">arr1</span> <span class="pl-c1">=</span> <span class="pl-en">_toConsumableArray</span><span class="pl-kos">(</span><span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// [undefined, undefined]</span>
<span class="pl-k">var</span> <span class="pl-s1">arr2</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// [empty × 2]</span>
<span class="pl-k">var</span> <span class="pl-s1">arr3</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">concat</span><span class="pl-kos">(</span><span class="pl-s1">arr2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// [empty × 2]</span></pre></div>
<p dir="auto"><strong>Expected behavior/code</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var arr1 = _toConsumableArray(Array(2)); // [undefined, undefined]
var arr2 = Array(2); // [empty × 2]
var arr3 = _toConsumableArray(arr2); // [undefined, undefined]"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">arr1</span> <span class="pl-c1">=</span> <span class="pl-en">_toConsumableArray</span><span class="pl-kos">(</span><span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// [undefined, undefined]</span>
<span class="pl-k">var</span> <span class="pl-s1">arr2</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// [empty × 2]</span>
<span class="pl-k">var</span> <span class="pl-s1">arr3</span> <span class="pl-c1">=</span> <span class="pl-en">_toConsumableArray</span><span class="pl-kos">(</span><span class="pl-s1">arr2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// [undefined, undefined]</span></pre></div>
<p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": ["@babel/preset-env"]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span><span class="pl-s">"@babel/preset-env"</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): v7.6.4</li>
</ul> | <p dir="auto">bug report</p>
<h3 dir="auto">Input Code</h3>
<p dir="auto">N/A</p>
<h3 dir="auto">Babel Configuration (.babelrc, package.json, cli command)</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// .babelrc, applicable code only
// using babel-preset-env v1.6.0
// using browserslist 2.5.1
{
"presets": [["env", {
"modules": false,
"debug": true,
}]]
}"><pre class="notranslate"><span class="pl-ii">// .babelrc, applicable code only</span>
<span class="pl-ii">// using babel-preset-env v1.6.0</span>
<span class="pl-ii">// using browserslist 2.5.1</span>
{
<span class="pl-ent">"presets"</span>: [[<span class="pl-s"><span class="pl-pds">"</span>env<span class="pl-pds">"</span></span>, {
<span class="pl-ent">"modules"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"debug"</span>: <span class="pl-c1">true</span>,
}]]
}</pre></div>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// code in package.json
"browserslist": [
"last 2 Chrome versions",
"last 2 Opera versions",
"last 2 Firefox versions",
"last 2 Edge versions",
"last 2 Safari versions",
"last 2 iOS versions",
"last 2 ChromeAndroid versions"
]"><pre class="notranslate"><span class="pl-ii">// code in package.json </span>
<span class="pl-ent">"browserslist"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>last 2 Chrome versions<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>last 2 Opera versions<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>last 2 Firefox versions<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>last 2 Edge versions<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>last 2 Safari versions<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>last 2 iOS versions<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>last 2 ChromeAndroid versions<span class="pl-pds">"</span></span>
]</pre></div>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">The <code class="notranslate">babel-preset-env</code> should be able to use the settings from the browserslist config in package.json. This does not seem to work, though.</p>
<h3 dir="auto">Current Behavior</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="babel-preset-env: `DEBUG` option
Using targets:
{}
Modules transform: false
Using plugins:
check-es2015-constants {}
transform-es2015-arrow-functions {}
transform-es2015-block-scoped-functions {}
transform-es2015-block-scoping {}
transform-es2015-classes {}
transform-es2015-computed-properties {}
transform-es2015-destructuring {}
transform-es2015-duplicate-keys {}
transform-es2015-for-of {}
transform-es2015-function-name {}
transform-es2015-literals {}
transform-es2015-object-super {}
transform-es2015-parameters {}
transform-es2015-shorthand-properties {}
transform-es2015-spread {}
transform-es2015-sticky-regex {}
transform-es2015-template-literals {}
transform-es2015-typeof-symbol {}
transform-es2015-unicode-regex {}
transform-regenerator {}
transform-exponentiation-operator {}
transform-async-to-generator {}
syntax-trailing-function-commas {}"><pre class="notranslate"><code class="notranslate">babel-preset-env: `DEBUG` option
Using targets:
{}
Modules transform: false
Using plugins:
check-es2015-constants {}
transform-es2015-arrow-functions {}
transform-es2015-block-scoped-functions {}
transform-es2015-block-scoping {}
transform-es2015-classes {}
transform-es2015-computed-properties {}
transform-es2015-destructuring {}
transform-es2015-duplicate-keys {}
transform-es2015-for-of {}
transform-es2015-function-name {}
transform-es2015-literals {}
transform-es2015-object-super {}
transform-es2015-parameters {}
transform-es2015-shorthand-properties {}
transform-es2015-spread {}
transform-es2015-sticky-regex {}
transform-es2015-template-literals {}
transform-es2015-typeof-symbol {}
transform-es2015-unicode-regex {}
transform-regenerator {}
transform-exponentiation-operator {}
transform-async-to-generator {}
syntax-trailing-function-commas {}
</code></pre></div>
<h3 dir="auto">Possible Solution</h3>
<h3 dir="auto">Context</h3>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version(s)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Babel</td>
<td>6.26.0</td>
</tr>
<tr>
<td>node</td>
<td>8.6.0</td>
</tr>
<tr>
<td><del>npm</del> yarn</td>
<td>1.2.1</td>
</tr>
<tr>
<td>Operating System</td>
<td>Windows 10 Fall Creators Update</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jkuipers" rel="nofollow">Joris Kuipers</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7706?redirect=false" rel="nofollow">SPR-7706</a></strong> and commented</p>
<p dir="auto">ServletWebRequest#checkNotModified will set a 304 response code, but doesn't set the Content-Length header to 0. This leads to exception on WebLogic, which gets all worked up about the fact that there's no response body even though the Content-Length headers claims there is:</p>
<p dir="auto"><Error> <HTTP> <BEA-101104> <Servlet execution in servlet context "ServletContext@26118573[app:MP24MotorPrototype module:MP24 path:/MP24 spec-version:2.5]" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '3291' bytes..<br>
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '3291' bytes.<br>
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:425)<br>
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1451)<br>
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1494)<br>
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1441)<br>
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398110538" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12668" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12668/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12668">#12668</a> ResourceHttpRequestHandler status code 304 setting Content-Length header (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/db3634f8598fc34bab57092008d83336fcbae07c/hovercard" href="https://github.com/spring-projects/spring-framework/commit/db3634f8598fc34bab57092008d83336fcbae07c"><tt>db3634f</tt></a></p>
<p dir="auto">1 votes, 2 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=youngm" rel="nofollow">Mike Youngstrom</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3279?redirect=false" rel="nofollow">SPR-3279</a></strong> and commented</p>
<p dir="auto">Cglib appears to be a poorly maintained and dying project. It would be nice to replace it with a more actively maintained project like javaassist for library dependency reasons. Newer versions of asm are not compatibly with the asm included in cglib-nodep which can cause problems.</p>
<p dir="auto">Spring already provides all the abstraction needed to replace cglib with javaassist. a system property can be used initially while the javaassist aop provider is tested and then perhaps later could replace cglib as the default. Just a thought.</p>
<p dir="auto">Mike</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.3</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398111462" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12840" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12840/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12840">#12840</a> Support for ByteBuddy as an alternative to CGLIB (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto">9 votes, 8 watchers</p> | 0 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 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"><pre class="notranslate"><code class="notranslate">[ 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
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
2.1.0 version does not include @angular/forms/src/directives/number_value_accessor in generated factories<br>
2.1.1 include it but in genDir/node_modules/<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/angular/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/angular">@angular</a>... this file is missing</p>
<p dir="auto"><strong>Expected behavior</strong><br>
Compiling as was</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.1.1</li>
<li><strong>Language:</strong> Typescript 2.03</li>
<li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = 6.9.1</li>
</ul> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[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"><pre class="notranslate"><code class="notranslate">[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
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">When running ngc the compiler doesn't codegen components inside node_modules when the component isn't exported (<code class="notranslate">export * from './my.component';</code>) from the module. There are no errors emitted and all the *.metadata.json files for the libraries exist.</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">For ngc to successfully codegen all 3rd party components without having to export the components publicly</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
Checkout this repo: <a href="https://github.com/mattlewis92/angular2-tv-tracker">https://github.com/mattlewis92/angular2-tv-tracker</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm install
npm run ngc"><pre class="notranslate"><code class="notranslate">npm install
npm run ngc
</code></pre></div>
<p dir="auto">You will then see that only one ngfactory.ts module file is emitted for each 3rd party module inside of the <code class="notranslate">aot/module_modules</code> folder, but none of the other components are codegen'd. As you can see from the screenshot, the reference to the <code class="notranslate">'./directives/calendarTooltip.directive.ngfactory'</code> file is created but the file itself doesn't exist.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6425649/18809156/102a9440-826d-11e6-817b-1c71bb6ffaf4.png"><img width="1375" alt="screen shot 2016-09-24 at 15 35 24" src="https://cloud.githubusercontent.com/assets/6425649/18809156/102a9440-826d-11e6-817b-1c71bb6ffaf4.png" style="max-width: 100%;"></a></p>
<p dir="auto">If you need any more info let me know!</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<p dir="auto">OSX</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X</p>
<p dir="auto">2.0.1</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> [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 ]</p>
<p dir="auto">N/A</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
Typescript</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
v5.11.0</p>
</li>
</ul> | 1 |
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>5.0.0-beta</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Ubuntu 16.04 <strong>on WSL</strong> Windows 10 Enterprise 1809 + Xming 6.9.0.31</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>:
<ul dir="auto">
<li>4.0.5</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Launching and working as it should with <code class="notranslate">export DISPLAY=:0 && npm test</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""test": "electron . -d --remote-debugging-port=9229",
"test-no-sandbox": "electron . -d --no-sandbox --remote-debugging-port=9229 --disable-gpu",
"test-no-gpu": "electron . -d --disable-gpu --remote-debugging-port=9229"
..."><pre lang="..." class="notranslate"><code class="notranslate">"test": "electron . -d --remote-debugging-port=9229",
"test-no-sandbox": "electron . -d --no-sandbox --remote-debugging-port=9229 --disable-gpu",
"test-no-gpu": "electron . -d --disable-gpu --remote-debugging-port=9229"
...
</code></pre></div>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">While Electron does do that, Electron 5 throws an error and exits:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2894:0310/125857.514560:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox. "><pre class="notranslate"><code class="notranslate">[2894:0310/125857.514560:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
</code></pre></div>
<p dir="auto">Launching with --no-sandbox opens up a window and after a second crashes:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[3122:0310/130304.279934:FATAL:gpu_data_manager_impl_private.cc(892)] The display compositor is frequently crashing. Goodbye."><pre class="notranslate"><code class="notranslate">[3122:0310/130304.279934:FATAL:gpu_data_manager_impl_private.cc(892)] The display compositor is frequently crashing. Goodbye.
</code></pre></div>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Run any Electron app</p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/25264730/54085357-4f646380-434e-11e9-99e2-c39a679c5cde.png"><img src="https://user-images.githubusercontent.com/25264730/54085357-4f646380-434e-11e9-99e2-c39a679c5cde.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">I heard and saw similar problems earlier, but this one <em>seems</em> to be different.</p> | <p dir="auto">electron: 5.0.0-beta.1<br>
platform: linux x64</p>
<p dir="auto"><strong>Actual behavior</strong></p>
<p dir="auto"><a href="https://github.com/electron/electron-quick-start">https://github.com/electron/electron-quick-start</a> app fails to start with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[3937:0131/003107.790938:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox."><pre class="notranslate"><code class="notranslate">[3937:0131/003107.790938:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
</code></pre></div>
<p dir="auto"><strong>To Reproduce</strong></p>
<ul dir="auto">
<li><code class="notranslate">git clone https://github.com/electron/electron-quick-start.git</code></li>
<li><code class="notranslate">cd electron-quick-start</code></li>
<li><code class="notranslate">npm install</code></li>
<li><code class="notranslate">npm add --only=dev [email protected]</code></li>
<li>any of the following commands fail:
<ul dir="auto">
<li><code class="notranslate">npm start</code></li>
<li><code class="notranslate">node_modules/.bin/electron --version</code></li>
</ul>
</li>
</ul>
<p dir="auto"><strong>Additional Information</strong></p>
<p dir="auto">Worth to mention that event just <code class="notranslate">node_modules/.bin/electron --version</code> execution fails with the same error.</p>
<p dir="auto">CC <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nornagon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nornagon">@nornagon</a></p> | 1 |
<p dir="auto">Describe what you were doing when the bug occurred:<br>
1.viewing profiler commits</p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.11.0-39713716aa</p>
<p dir="auto">Call stack: at updateTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20505:53)<br>
at getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20397:26)<br>
at ProfilingCache_ProfilingCache.getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20951:11)<br>
at CommitRankedAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35713:33)<br>
at Rh (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13245:7)<br>
at Ci (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13944:7)<br>
at uk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16725:86)<br>
at tk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16245:11)<br>
at qk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16237:23)<br>
at jk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16221:5)</p>
<p dir="auto">Component stack: at CommitRankedAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35696:34)<br>
at div<br>
at div<br>
at div<br>
at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29121:3)<br>
at Profiler_Profiler (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37243:34)<br>
at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30035:5)<br>
at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30157:5)<br>
at div<br>
at div<br>
at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:34264:3)<br>
at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25356:3)<br>
at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25963:3)<br>
at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30300:3)<br>
at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37639:3)</p> | <p dir="auto">Briefly spoke to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/petehunt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/petehunt">@petehunt</a> about this. Tracking it with an issue.</p>
<p dir="auto">There are times when having multiple insertion points would be useful. The old Web Components spec was looking to do this with the <code class="notranslate">select</code> attribute of <code class="notranslate">content</code> - <a href="http://www.w3.org/TR/components-intro/#insertion-points" rel="nofollow">http://www.w3.org/TR/components-intro/#insertion-points</a>. I'm not sure what the current W3C plans are.</p>
<p dir="auto">Pete said that this could be done for now by passing other children in as props. But it feels like a hack.</p>
<p dir="auto">Riffing on that old spec's idea, something vaguely like this:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<div>
<div class="header">
{ select(this.props.children, '.title') }
</div>
{ this.props.children }
</div>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">header</span>"<span class="pl-kos">></span>
{ select(this.props.children, '.title') }
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
{ this.props.children }
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">Where the <code class="notranslate">.title</code> string is a CSS selector, and any matching elements are removed from the <code class="notranslate">children</code> to avoid duplicate insertion.</p> | 0 |
<p dir="auto">I've been using HoverProvider to quickly display the origin file of a user function in Lua.<br>
I'm using the Markdown syntax for creating a clickable link, which opens the file in the editor:</p>
<p dir="auto"><code class="notranslate">[c:\temp\file.lua](file:c:\temp\file.lua)</code> -> <a href="#here">c:\temp\file.lua</a></p>
<p dir="auto">I'm wondering if this link syntax also supports line number, and if it does, what is the syntax of it?</p>
<p dir="auto">I believe this question is also generally related to all places where an extension can display text formatted with Markdown.</p> | <p dir="auto">Hi,</p>
<p dir="auto">At the moment the virtual documents created by TextDocumentContentProvider can contain links to external resources, but I would expect it to work with links that use the same scheme that was registered with registerTextDocumentContentProvider. Here's an example to show what I mean:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""use strict";
var vscode = require('vscode');
function activate(context) {
let initUri = vscode.Uri.parse('link-test://authority/page1');
const provider = {
provideTextDocumentContent: function(uri) {
if (uri.path === "/page1") {
return `<a href="link-test://authority/page2">Page 2</a>`;
} else {
return `<a href="link-test://authority/page1">Page 1</a>`;
}
}
};
let registration = vscode.workspace.registerTextDocumentContentProvider('link-test', provider);
let disposable = vscode.commands.registerCommand('extension.testLinks', () => {
return vscode.commands.executeCommand('vscode.previewHtml', initUri, vscode.ViewColumn.Two).then((success) => {
}, (reason) => {
vscode.window.showErrorMessage(reason);
});
});
context.subscriptions.push(disposable, registration);
}
exports.activate = activate;"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">vscode</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'vscode'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">activate</span><span class="pl-kos">(</span><span class="pl-s1">context</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">initUri</span> <span class="pl-c1">=</span> <span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">Uri</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-s">'link-test://authority/page1'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">provider</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-en">provideTextDocumentContent</span>: <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">uri</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">uri</span><span class="pl-kos">.</span><span class="pl-c1">path</span> <span class="pl-c1">===</span> <span class="pl-s">"/page1"</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s">`<a href="link-test://authority/page2">Page 2</a>`</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s">`<a href="link-test://authority/page1">Page 1</a>`</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">registration</span> <span class="pl-c1">=</span> <span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">workspace</span><span class="pl-kos">.</span><span class="pl-en">registerTextDocumentContentProvider</span><span class="pl-kos">(</span><span class="pl-s">'link-test'</span><span class="pl-kos">,</span> <span class="pl-s1">provider</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">disposable</span> <span class="pl-c1">=</span> <span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">commands</span><span class="pl-kos">.</span><span class="pl-en">registerCommand</span><span class="pl-kos">(</span><span class="pl-s">'extension.testLinks'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">commands</span><span class="pl-kos">.</span><span class="pl-en">executeCommand</span><span class="pl-kos">(</span><span class="pl-s">'vscode.previewHtml'</span><span class="pl-kos">,</span> <span class="pl-s1">initUri</span><span class="pl-kos">,</span> <span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">ViewColumn</span><span class="pl-kos">.</span><span class="pl-c1">Two</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">success</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">reason</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">window</span><span class="pl-kos">.</span><span class="pl-en">showErrorMessage</span><span class="pl-kos">(</span><span class="pl-s1">reason</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-c1">subscriptions</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">disposable</span><span class="pl-kos">,</span> <span class="pl-s1">registration</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">activate</span> <span class="pl-c1">=</span> <span class="pl-s1">activate</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">When I click the link Page 2 I would expect the provideTextDocumentContent callback to be called with the URI specified in the link.</p> | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.