text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Kubernetes e2e suite.Generated release_1_2 clientset should create pods, delete pods, watch pods (from (junit_24.xml))
Failing for the past 1 build (Since Unstable#28905 )
Took 5 min 7 sec.
Stacktrace
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/generated_clientset.go:158
Expected error:
<*errors.errorString | 0xc20850e0a0>: {
s: "gave up waiting for pod 'podf9342a69-d526-11e5-a8f5-42010af00003' to be 'running' after 5m0s",
}
gave up waiting for pod 'podf9342a69-d526-11e5-a8f5-42010af00003' to be 'running' after 5m0s
not to have occurred"><pre class="notranslate"><code class="notranslate">Kubernetes e2e suite.Generated release_1_2 clientset should create pods, delete pods, watch pods (from (junit_24.xml))
Failing for the past 1 build (Since Unstable#28905 )
Took 5 min 7 sec.
Stacktrace
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/generated_clientset.go:158
Expected error:
<*errors.errorString | 0xc20850e0a0>: {
s: "gave up waiting for pod 'podf9342a69-d526-11e5-a8f5-42010af00003' to be 'running' after 5m0s",
}
gave up waiting for pod 'podf9342a69-d526-11e5-a8f5-42010af00003' to be 'running' after 5m0s
not to have occurred
</code></pre></div>
<p dir="auto">And e2e logs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Feb 16 19:36:45.943: INFO: Waiting for pod podf9342a69-d526-11e5-a8f5-42010af00003 in namespace 'e2e-tests-clientset-kx6g0' status to be 'running'(found phase: "Pending", readiness: false) (4m58.478121768s elapsed)
Feb 16 19:36:47.943: INFO: Unexpected error occurred: gave up waiting for pod 'podf9342a69-d526-11e5-a8f5-42010af00003' to be 'running' after 5m0s
[AfterEach] Generated release_1_2 clientset
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:83"><pre class="notranslate"><code class="notranslate">Feb 16 19:36:45.943: INFO: Waiting for pod podf9342a69-d526-11e5-a8f5-42010af00003 in namespace 'e2e-tests-clientset-kx6g0' status to be 'running'(found phase: "Pending", readiness: false) (4m58.478121768s elapsed)
Feb 16 19:36:47.943: INFO: Unexpected error occurred: gave up waiting for pod 'podf9342a69-d526-11e5-a8f5-42010af00003' to be 'running' after 5m0s
[AfterEach] Generated release_1_2 clientset
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:83
</code></pre></div> | <p dir="auto">Forked from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51629775" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/2841" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/2841/hovercard" href="https://github.com/kubernetes/kubernetes/issues/2841">#2841</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="59325361" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/4926" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/4926/hovercard?comment_id=78006098&comment_type=issue_comment" href="https://github.com/kubernetes/kubernetes/issues/4926#issuecomment-78006098">#4926 (comment)</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="86253843" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/9399" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/9399/hovercard" href="https://github.com/kubernetes/kubernetes/issues/9399">#9399</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="95355842" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/11361" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/11361/hovercard" href="https://github.com/kubernetes/kubernetes/issues/11361">#11361</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="61251481" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/5465" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/5465/hovercard" href="https://github.com/kubernetes/kubernetes/issues/5465">#5465</a>, and other issues.</p>
<p dir="auto">We need to decide how we want examples to be written, document that, and make existing examples conform.</p>
<p dir="auto">Issues:</p>
<ul dir="auto">
<li>Decide objectives: teaching system concepts, demonstrating system features, getting started quickly with a particular application, providing sample configurations that can be extended by the user for real use cases, ...</li>
<li>If teaching concepts or demonstrating features, which ones? How many examples need to illustrate the same concepts/features?</li>
<li>What techniques do we want to use to make the examples engaging: interactivity, rewards, etc.?</li>
<li>Does it need to be a realistic application configuration (e.g., HA)?</li>
<li>Should the example demonstrate the application being used?</li>
<li>System best practices
<ul dir="auto">
<li><a href="https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/config-best-practices.md">https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/config-best-practices.md</a>
<ul dir="auto">
<li>Show individual files and then combined files?</li>
</ul>
</li>
<li><a href="https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/pods.md#durability-of-pods-or-lack-thereof">https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/pods.md#durability-of-pods-or-lack-thereof</a>
<ul dir="auto">
<li>Show singleton pods and then demonstrate why controllers are needed for self-healing?</li>
</ul>
</li>
<li>Secret</li>
</ul>
</li>
<li>Cross references to other documentation (e.g., concept and feature documentation)</li>
<li>Consistent organization (e.g., should the summary appear at the beginning or the end?)</li>
<li>Keeping examples up to date with new features and evolving conventions</li>
<li>Repo locations for text vs. config and code</li>
<li>Whether/how to show multiple solutions (e.g., kubectl run and yaml)</li>
<li>Shell command format (e.g., prompt or no prompt)</li>
<li>kubectl output or not</li>
<li>Screenshots</li>
<li>How to make it possible to run examples without cloning the whole repo</li>
<li>System addons that can be assumed (e.g., DNS)</li>
<li>Examples that show the cluster being created and destroyed in addition to deploying the application</li>
<li>Cloud-provider-specific examples vs. portable examples</li>
<li>Unit and end-to-end testing of the examples</li>
</ul>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aronchick/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aronchick">@aronchick</a></p> | 0 |
<p dir="auto">deno version 1.1.0</p>
<h3 dir="auto">index.tsx</h3>
<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//@deno-types="https://deno.land/x/types/react/v16.13.1/react.d.ts"
import React from "https://cdn.pika.dev/[email protected]";
console.log(React);
const App = () => {
return <div>Hello deno</div>;
};
console.log(<App />);
"><pre class="notranslate"><span class="pl-c">//<span class="pl-k">@deno</span>-types="https://deno.land/x/types/react/v16.13.1/react.d.ts"</span>
<span class="pl-k">import</span> <span class="pl-smi">React</span> <span class="pl-k">from</span> <span class="pl-s">"https://cdn.pika.dev/[email protected]"</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-smi">React</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-smi">App</span> <span class="pl-c1">=</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-c1"><</span><span class="pl-ent">div</span><span class="pl-c1">></span>Hello deno<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span><span class="pl-kos">;</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-c1"><</span><span class="pl-smi">App</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<blockquote>
<p dir="auto">use <code class="notranslate">deno run index.tsx</code><br>
output:</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
$$typeof: Symbol(react.element),
type: [Function: App],
key: null,
ref: null,
props: {},
_owner: null
}"><pre class="notranslate"><code class="notranslate">{
$$typeof: Symbol(react.element),
type: [Function: App],
key: null,
ref: null,
props: {},
_owner: null
}
</code></pre></div>
<blockquote>
<p dir="auto">no problem, but use <code class="notranslate">deno bundle index.tsx index.js</code>, then</p>
</blockquote>
<h3 dir="auto">browser to index.html</h3>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<body>
<script src="index.js"></script>
</body>"><pre class="notranslate"><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">index.js</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></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8503065/85918814-7a9ef900-b898-11ea-82ab-616ba38624f6.png"><img src="https://user-images.githubusercontent.com/8503065/85918814-7a9ef900-b898-11ea-82ab-616ba38624f6.png" alt="image" style="max-width: 100%;"></a></p> | <h2 dir="auto">Steps to reproduce</h2>
<p dir="auto">Run <code class="notranslate">deno bundle https://deno.land/x/once/index.js</code></p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">It prints a bundled JavaScript code</p>
<h2 dir="auto">Actual behavior</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error TS5012: Cannot read file 'https://deno.land/x/once/index.js': Error: assert.
►
error TS6053: File 'https://deno.land/x/once/index.js' not found.
►
Found 2 errors."><pre class="notranslate"><code class="notranslate">error TS5012: Cannot read file 'https://deno.land/x/once/index.js': Error: assert.
►
error TS6053: File 'https://deno.land/x/once/index.js' not found.
►
Found 2 errors.
</code></pre></div>
<hr>
<p dir="auto">I didn't try to bundle remote URL at first, instead, I tried bundling a local file (<code class="notranslate">deps.ts</code>) that import remote JS file. No compile errors occur, but a runtime error (cannot read property of <code class="notranslate">undefined</code>) was thrown when attempting to run it in the browser and in Node.js.</p> | 1 |
<p dir="auto">To connect with Trello API, this is done in a popup after filling access, I have a blank page ...<br>
Could you help me ?</p>
<p dir="auto">Thank you !</p>
<p dir="auto">You try connect with this access :<br>
login : <a href="mailto:[email protected]">[email protected]</a><br>
password : jerryxilimm-9589</p>
<p dir="auto">My code test :</p>
<p dir="auto">Package.json :</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"name" : "NQ trello",
"version" : "0.1.0",
"main" : "main.js"
}"><pre class="notranslate">{
<span class="pl-ent">"name"</span> : <span class="pl-s"><span class="pl-pds">"</span>NQ trello<span class="pl-pds">"</span></span>,
<span class="pl-ent">"version"</span> : <span class="pl-s"><span class="pl-pds">"</span>0.1.0<span class="pl-pds">"</span></span>,
<span class="pl-ent">"main"</span> : <span class="pl-s"><span class="pl-pds">"</span>main.js<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto">Main.js :</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var app = require('app');
var BrowserWindow = require('browser-window');
require('crash-reporter').start();
var mainWindow = null;
app.on('window-all-closed', function() {
if (process.platform != 'darwin')
app.quit();
});
app.on('ready', function() {
mainWindow = new BrowserWindow({
width: 800,
height: 600,
'node-integration': false
});
mainWindow.loadUrl('file://' + __dirname + '/index.html');
mainWindow.on('closed', function() {
mainWindow = null;
});
});"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'app'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-v">BrowserWindow</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'browser-window'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'crash-reporter'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">start</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">mainWindow</span> <span class="pl-c1">=</span> <span class="pl-c1">null</span><span class="pl-kos">;</span>
<span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'window-all-closed'</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">if</span> <span class="pl-kos">(</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">platform</span> <span class="pl-c1">!=</span> <span class="pl-s">'darwin'</span><span class="pl-kos">)</span>
<span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">quit</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">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'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-s1">mainWindow</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">width</span>: <span class="pl-c1">800</span><span class="pl-kos">,</span>
<span class="pl-c1">height</span>: <span class="pl-c1">600</span><span class="pl-kos">,</span>
<span class="pl-s">'node-integration'</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">mainWindow</span><span class="pl-kos">.</span><span class="pl-en">loadUrl</span><span class="pl-kos">(</span><span class="pl-s">'file://'</span> <span class="pl-c1">+</span> <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/index.html'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">mainWindow</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'closed'</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-s1">mainWindow</span> <span class="pl-c1">=</span> <span class="pl-c1">null</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></pre></div>
<p dir="auto">Index.html :</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, maximum-scale=1" media="(device-height: 568px)"
<title>Test</title>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="https://api.trello.com/1/client.js?key=6c3067ffd2a5feda29e39e1c8df9e3a8"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#login').click(function(ev){
Trello.authorize({
type: 'popup',
response_type: 'token',
name: 'TEST',
expiration: '30days',
interactive: true,
success: function (data){
alert('Connexion OK');
},
error: function () {
alert('Connexion KO');
}
});
ev.preventDefault();
});
function getMe(){
Trello.get('members/me', {}, function (data){
alert(JSON.stringify(data));
}, function (){
alert('Don\'t retrieve information about me....')
});
}
});
</script>
</head>
<body ontouchstart="">
<div id="app">
<a href="#" id="login">LOGIN</a>
</div>
</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-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, user-scalable=no, maximum-scale=1.0</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">initial-scale=1.0, user-scalable=no, maximum-scale=1</span>" <span class="pl-c1">media</span>="<span class="pl-s">(device-height: 568px)</span>"<span class="pl-kos"></span>
<span class="pl-kos"><</span><span class="pl-ent">title</span><span class="pl-kos">></span>Test<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">script</span> <span class="pl-c1">type</span>="<span class="pl-s">text/javascript</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://code.jquery.com/jquery-2.1.4.min.js</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">script</span> <span class="pl-c1">type</span>="<span class="pl-s">text/javascript</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://api.trello.com/1/client.js?key=6c3067ffd2a5feda29e39e1c8df9e3a8</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">script</span> <span class="pl-c1">type</span>="<span class="pl-s">text/javascript</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">'#login'</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-k">function</span><span class="pl-kos">(</span><span class="pl-s1">ev</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-v">Trello</span><span class="pl-kos">.</span><span class="pl-en">authorize</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">type</span>: <span class="pl-s">'popup'</span><span class="pl-kos">,</span>
<span class="pl-c1">response_type</span>: <span class="pl-s">'token'</span><span class="pl-kos">,</span>
<span class="pl-c1">name</span>: <span class="pl-s">'TEST'</span><span class="pl-kos">,</span>
<span class="pl-c1">expiration</span>: <span class="pl-s">'30days'</span><span class="pl-kos">,</span>
<span class="pl-c1">interactive</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-en">success</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-s">'Connexion OK'</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">error</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">alert</span><span class="pl-kos">(</span><span class="pl-s">'Connexion KO'</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">ev</span><span class="pl-kos">.</span><span class="pl-en">preventDefault</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-k">function</span> <span class="pl-en">getMe</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-v">Trello</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'members/me'</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">function</span> <span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">data</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">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-s">'Don\'t retrieve information about me....'</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-kos"></</span><span class="pl-ent">script</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-c1">ontouchstart</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">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>" <span class="pl-c1">id</span>="<span class="pl-s">login</span>"<span class="pl-kos">></span>LOGIN<span class="pl-kos"></</span><span class="pl-ent">a</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">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">Browser-Window node-integration breaks after POST. require / global are undefined in browser-window after a POST request. I've seen this behavior since I first used Electron - 0.26.0. Still happens in 0.28.1. Here is simple way to reproduce:</p>
<p dir="auto">package.json</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"name": "PostExample",
"version": "0.1.0",
"main": "main.js",
"description": "Post Loses Global"
} "><pre class="notranslate"><code class="notranslate">{
"name": "PostExample",
"version": "0.1.0",
"main": "main.js",
"description": "Post Loses Global"
}
</code></pre></div>
<p dir="auto">main.js</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var app = require('app')
var BrowserWindow = require('browser-window')
var mainWindow = null;
app.on('window-all-closed', function() {
app.quit()
});
app.on('ready', function() {
mainWindow = new BrowserWindow({
"node-integration": true,
});
mainWindow.loadUrl('file://' + __dirname + '/index.html')
mainWindow.openDevTools()
});"><pre class="notranslate"><code class="notranslate">var app = require('app')
var BrowserWindow = require('browser-window')
var mainWindow = null;
app.on('window-all-closed', function() {
app.quit()
});
app.on('ready', function() {
mainWindow = new BrowserWindow({
"node-integration": true,
});
mainWindow.loadUrl('file://' + __dirname + '/index.html')
mainWindow.openDevTools()
});
</code></pre></div>
<p dir="auto">index.html</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<html>
<script type="text/javascript">
console.log(typeof global)
try{
var fs = require("fs");
} catch(e){
console.warn("ERROR", e)
}
</script>
<body>
<h1>Posts to self</h1>
<form action="" method="post">
<input type="text" name="somevar" value="val" />
<button type="submit">Submit to see Error</button>
</form>
</body>
</html>"><pre class="notranslate"><code class="notranslate"><html>
<script type="text/javascript">
console.log(typeof global)
try{
var fs = require("fs");
} catch(e){
console.warn("ERROR", e)
}
</script>
<body>
<h1>Posts to self</h1>
<form action="" method="post">
<input type="text" name="somevar" value="val" />
<button type="submit">Submit to see Error</button>
</form>
</body>
</html>
</code></pre></div> | 1 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto">i use shardingsphere-proxy for 5 mysql shard<br>
use proxy for making id by showflake<br>
but insert data is not correct<br>
data insert to wrong shard</p>
<p dir="auto">this is my table</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CREATE TABLE `person` (
`id` varchar(32) NOT NULL,
`name` varchar(16) DEFAULT NULL,
`age` int(2) DEFAULT NULL,
`gender` varchar(2) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
"><pre class="notranslate"><code class="notranslate">CREATE TABLE `person` (
`id` varchar(32) NOT NULL,
`name` varchar(16) DEFAULT NULL,
`age` int(2) DEFAULT NULL,
`gender` varchar(2) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
</code></pre></div>
<p dir="auto">this is my insert sql</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="insert `person` (`name`, `age`) VALUES ('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1)"><pre class="notranslate"><code class="notranslate">insert `person` (`name`, `age`) VALUES ('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1),('a',1)
</code></pre></div>
<p dir="auto">and this is the log</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_4 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461833), ('a', 1, 452837411152461828)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_0 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461832), ('a', 1, 452837411152461827)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_1 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461831), ('a', 1, 452837411152461826)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_2 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461830), ('a', 1, 452837411152461825)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_3 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461829), ('a', 1, 452837411152461824)
"><pre class="notranslate"><code class="notranslate">[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_4 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461833), ('a', 1, 452837411152461828)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_0 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461832), ('a', 1, 452837411152461827)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_1 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461831), ('a', 1, 452837411152461826)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_2 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461830), ('a', 1, 452837411152461825)
[INFO ] 14:14:12.246 [ShardingSphere-Command-1] ShardingSphere-SQL - Actual SQL: ds_3 ::: insert `person` (`name`, `age`, id) VALUES ('a', 1, 452837411152461829), ('a', 1, 452837411152461824)
</code></pre></div>
<p dir="auto">only mod=1 is correct<br>
so, I cannot select result from this table, such as</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="select * from person where `id` = '452837411152461832'"><pre class="notranslate"><code class="notranslate">select * from person where `id` = '452837411152461832'
</code></pre></div>
<p dir="auto">this is my config</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="schemaName: sharding_db
dataSources:
ds_0:
url: jdbc:mysql://127.0.0.1:13386/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_1:
url: jdbc:mysql://127.0.0.1:13387/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_2:
url: jdbc:mysql://127.0.0.1:13388/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_3:
url: jdbc:mysql://127.0.0.1:13389/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_4:
url: jdbc:mysql://127.0.0.1:13390/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
shardingRule:
tables:
person:
actualDataNodes: ds_${0..4}.person
databaseStrategy:
inline:
shardingColumn: id
algorithmExpression: ds_${id.toLong() % 5}
# algorithmExpression: ds${id % 2}
keyGenerator:
type: SNOWFLAKE
column: id"><pre class="notranslate"><code class="notranslate">schemaName: sharding_db
dataSources:
ds_0:
url: jdbc:mysql://127.0.0.1:13386/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_1:
url: jdbc:mysql://127.0.0.1:13387/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_2:
url: jdbc:mysql://127.0.0.1:13388/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_3:
url: jdbc:mysql://127.0.0.1:13389/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
ds_4:
url: jdbc:mysql://127.0.0.1:13390/shardingsphere?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 65
shardingRule:
tables:
person:
actualDataNodes: ds_${0..4}.person
databaseStrategy:
inline:
shardingColumn: id
algorithmExpression: ds_${id.toLong() % 5}
# algorithmExpression: ds${id % 2}
keyGenerator:
type: SNOWFLAKE
column: id
</code></pre></div>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">4.0.0</p>
<h3 dir="auto">Which project did you use? Sharding-JDBC or Sharding-Proxy?</h3>
<p dir="auto">Sharding-Proxy</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">insert to right sharding</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">insert to incorrect sharding</p>
<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> | <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 <strong>more than 7 days</strong> 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">4.1.0</p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<p dir="auto">ShardingSphere-Proxy</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">MySQL Server is 8.0.20<br>
MySQL Connector/J 8.X Above version connection success</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">java.sql.SQLException: Unknown system variable 'query_cache_size'</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto"><a href="url">https://github.com/apache/shardingsphere/blob/master/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfo.java</a> file constant SERVER_VERSION.This constant is returned by the handshake protocol. In java client jar file com.mysql.cj.NativeSession will determine the version number of the server.Code is:<br>
if (!versionMeetsMinimum(8, 0, 3)) {<br>
queryBuf.append(", @@query_cache_size AS query_cache_size");<br>
queryBuf.append(", @@query_cache_type AS query_cache_type");<br>
}<br>
But mysql server 8 abandon ‘query_cache_size’</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">Mysql server 8.0.20</p>
<p dir="auto">Java client maven import</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.20</version>
</dependency>"><pre class="notranslate"><<span class="pl-ent">dependency</span>>
<<span class="pl-ent">groupId</span>>mysql</<span class="pl-ent">groupId</span>>
<<span class="pl-ent">artifactId</span>>mysql-connector-java</<span class="pl-ent">artifactId</span>>
<<span class="pl-ent">version</span>>8.0.20</<span class="pl-ent">version</span>>
</<span class="pl-ent">dependency</span>></pre></div>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3> | 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">If a subclass component has any field marked <code class="notranslate">@ViewChild</code>, any other <code class="notranslate">@ViewChild</code> field in an abstract superclass will not evaluate.</p>
<p dir="auto"><strong>Expected/desired behavior</strong></p>
<p dir="auto">Both the superclass <code class="notranslate">@ViewChild</code> and the subclass <code class="notranslate">@ViewChild</code> should be populated.</p>
<p dir="auto"><strong>Reproduction of the problem</strong></p>
<p dir="auto"><a href="https://plnkr.co/edit/w5EvslQbHMMVqjx8v52U" rel="nofollow">https://plnkr.co/edit/w5EvslQbHMMVqjx8v52U</a></p>
<p dir="auto">The superclass <code class="notranslate">@ViewChild</code> <strong>does populate</strong> from the subclass template, but only if the subclass <code class="notranslate">@ViewChild</code> is commented out.</p>
<p dir="auto">If uncommented, the subclass <code class="notranslate">@ViewChild</code> is populated, but the superclass one is not.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Both the superclass <code class="notranslate">@ViewChild</code> and the subclass <code class="notranslate">@ViewChild</code> should be populated.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">Multiple components that inherit common code but supply their own template. The linked plunkr demonstrates the use case where the abstract class encapsulates all the code and logic for the common feature of performing a search, while the child component provides the specific template in which the <code class="notranslate">#searchInput</code> element can be found and whatever other divergent behavior.</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.4</li>
<li><strong>Browser:</strong> Chrome 51</li>
<li><strong>Language:</strong> TypeScript 1.8</li>
</ul> | <p dir="auto">The repo is using system.js <code class="notranslate">0.18</code>, but still on systemjs-builder <code class="notranslate">0.10</code> (roughly corresponding to system 0.16). There has been a number of breaking changes in the way path configuration works, so this is not be trivial - <a href="https://github.com/systemjs/builder">https://github.com/systemjs/builder</a>.</p>
<p dir="auto">// cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IgorMinar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IgorMinar">@IgorMinar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pkozlowski-opensource/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pkozlowski-opensource">@pkozlowski-opensource</a></p> | 0 |
<p dir="auto">James Cook of slack came up with an interesting problem of inference:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function foo(scale)
output(x) = scale + x
output(::Float64) = output("")
return output
end
bar(x) = foo(5)(x)
baz = foo(5)"><pre class="notranslate"><code class="notranslate">function foo(scale)
output(x) = scale + x
output(::Float64) = output("")
return output
end
bar(x) = foo(5)(x)
baz = foo(5)
</code></pre></div>
<p dir="auto">Here, <code class="notranslate">bar(3)</code> is inferred to <code class="notranslate">Any</code>, but <code class="notranslate">baz(3)</code> is correctly inferred. Is there any reason for this? Shouldn't both be inferred completely?</p> | <p dir="auto">I just built live 0.4 under 64 bit Windows. The build ended successfully, but the result in /usr didn't contain the Git folder as in the windows 0.3 version from the installer. I don't have git on my path and doing things like <code class="notranslate">Pkg.status</code> or <code class="notranslate">readall(</code>git --version<code class="notranslate">)</code> would throw an error. I copied over the Git folder from 0.3.10 and it's now working fine.</p>
<p dir="auto">Is this intentional or was something left out? If the former, perhaps we should mention this in the build instructions <a href="https://github.com/JuliaLang/julia/blob/master/README.windows.md#compiling-with-mingwmsys2">here</a>.</p> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ios_command</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto"><strong>Both latest unstable</strong> versions:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.2.0 (detached HEAD 7424e1c417) last updated 2017/06/28 14:37:25 (GMT +200)
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/actionmystique/Ansible/git-yang-networkop/ansible-101/library']
python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118]
ansible 2.4.0 (devel a5b905c941) last updated 2017/06/28 15:03:00 (GMT +200)
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/actionmystique/Ansible/git-yang-networkop/ansible-101/library']
ansible python module location = /home/actionmystique/src/Ansible/git-ansible/lib/ansible
executable location = /home/actionmystique/src/Ansible/git-ansible/bin/ansible
python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118]"><pre class="notranslate"><code class="notranslate">ansible 2.3.2.0 (detached HEAD 7424e1c417) last updated 2017/06/28 14:37:25 (GMT +200)
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/actionmystique/Ansible/git-yang-networkop/ansible-101/library']
python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118]
ansible 2.4.0 (devel a5b905c941) last updated 2017/06/28 15:03:00 (GMT +200)
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/actionmystique/Ansible/git-yang-networkop/ansible-101/library']
ansible python module location = /home/actionmystique/src/Ansible/git-ansible/lib/ansible
executable location = /home/actionmystique/src/Ansible/git-ansible/bin/ansible
python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">inventory = ./hosts<br>
library = /home/actionmystique/Ansible/git-yang-networkop/ansible-101/library<br>
forks = 1000<br>
gathering = explicit<br>
gather_timeout = 30<br>
roles_path = /home/actionmystique/Ansible/Roles/roles<br>
private_role_vars = yes<br>
hash_behaviour = merge<br>
log_path = /var/log/ansible.log<br>
retry_files_enabled = False<br>
show_custom_stats = True<br>
timeout = 60<br>
pipelining = True<br>
connect_timeout = 60<br>
connect_retries = 30<br>
connect_interval = 1</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<ul dir="auto">
<li>host: <strong>Ubuntu 17.04 4.10</strong></li>
<li>target: <strong>IOS-XEv 16.5.1</strong></li>
<li><strong>paramiko: 2.0.6</strong></li>
</ul>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">The generic {{ undefined_variable | default(defined_variable) }} does not work inside a dictionary, when the target hostnames are defined in /etc/hosts.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Hostnames statically defined in /etc/hosts:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="172.21.100.111 XEv_Spine_11.actionmystique.net XEv_Spine_11
172.21.100.112 XEv_Spine_12.actionmystique.net XEv_Spine_12"><pre class="notranslate"><code class="notranslate">172.21.100.111 XEv_Spine_11.actionmystique.net XEv_Spine_11
172.21.100.112 XEv_Spine_12.actionmystique.net XEv_Spine_12
</code></pre></div>
<p dir="auto">Structure passed as "<strong>provider</strong>": connections.ssh (the arrow is absent from the original dictionary)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="connections
...
ssh:
transport: cli
--------->host: "{{ ansible_host | default(inventory_hostname) }}"
# ansible_port
port: 22
# ansible_user
username: admin
# ansible_ssh_pass
password: xxxxxxxxxxx
authorize: yes
# enable_secret_password
auth_pass: xxxxxxxxxxx
# private_key_file
ssh_keyfile: "~/.ssh/id_rsa"
version: 2
timeout: 10"><pre class="notranslate"><code class="notranslate">connections
...
ssh:
transport: cli
--------->host: "{{ ansible_host | default(inventory_hostname) }}"
# ansible_port
port: 22
# ansible_user
username: admin
# ansible_ssh_pass
password: xxxxxxxxxxx
authorize: yes
# enable_secret_password
auth_pass: xxxxxxxxxxx
# private_key_file
ssh_keyfile: "~/.ssh/id_rsa"
version: 2
timeout: 10
</code></pre></div>
<p dir="auto"><strong>Role</strong>: ios_pull_config:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- include_vars: "../defaults/{{ os_family }}/connections.yml"
when: (connections is undefined)
...
- name: Fetching config from the remote node
ios_command:
provider: "{{ connections.ssh }}"
commands:
- "show {{ config }}"
register: configuration"><pre class="notranslate"><code class="notranslate">- include_vars: "../defaults/{{ os_family }}/connections.yml"
when: (connections is undefined)
...
- name: Fetching config from the remote node
ios_command:
provider: "{{ connections.ssh }}"
commands:
- "show {{ config }}"
register: configuration
</code></pre></div>
<p dir="auto"><strong>Playbook</strong>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Pulling IOS/IOSv/IOSv-L2/IOS-XE/IOS-XEv (CSR-1000v) startup and running configs
hosts:
- iosv
- ios_xev
- iosv_l2
- ios_xev
gather_facts: no
roles:
- { role: ios_pull_config, config: startup-config, with_date_time: 'no' }
- { role: ios_pull_config, config: running-config, with_date_time: 'no' }"><pre class="notranslate"><code class="notranslate">- name: Pulling IOS/IOSv/IOSv-L2/IOS-XE/IOS-XEv (CSR-1000v) startup and running configs
hosts:
- iosv
- ios_xev
- iosv_l2
- ios_xev
gather_facts: no
roles:
- { role: ios_pull_config, config: startup-config, with_date_time: 'no' }
- { role: ios_pull_config, config: running-config, with_date_time: 'no' }
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">startup and running configurations should be pulled from the target nodes.</p>
<h5 dir="auto">ACTUAL RESULTS: Log</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="...
2017-06-29 10:00:34,575 paramiko.transport starting thread (client mode): 0xf6b6c110L
2017-06-29 10:00:34,576 paramiko.transport Local version/idstring: SSH-2.0-paramiko_2.0.6
2017-06-29 10:00:34,577 paramiko.transport Remote version/idstring: SSH-2.0-Cisco-1.25
2017-06-29 10:00:34,577 paramiko.transport Connected (version 2.0, client Cisco-1.25)
2017-06-29 10:00:34,577 paramiko.transport kex algos:[u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group14-sha1'] server key:[u'ssh-rsa'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr'] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr'] client mac:[u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-sha1', u'hmac-sha1-96'] server mac:[u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-sha1', u'hmac-sha1-96'] client compress:[u'none'] server compress:[u'none'] client lang:[u''] server lang:[u''] kex follows?False
2017-06-29 10:00:34,577 paramiko.transport Kex agreed: diffie-hellman-group14-sha1
2017-06-29 10:00:34,578 paramiko.transport Cipher agreed: aes128-ctr
2017-06-29 10:00:34,578 paramiko.transport MAC agreed: hmac-sha2-256
2017-06-29 10:00:34,578 paramiko.transport Compression agreed: none
2017-06-29 10:00:34,818 paramiko.transport kex engine KexGroup14 specified hash_algo <built-in function openssl_sha1>
2017-06-29 10:00:34,818 paramiko.transport Switch to new keys ...
2017-06-29 10:00:34,851 p=16072 u=root | connecting to host XEv_Spine_11 returned an error
2017-06-29 10:00:34,851 p=16072 u=root | (14, 'Bad address')
2017-06-29 10:00:34,919 paramiko.transport EOF in transport thread
2017-06-29 10:01:04,470 p=16072 u=root | number of connection attempts exceeded, unable to connect to control socket
2017-06-29 10:01:04,471 p=16072 u=root | persistent_connect_interval=1, persistent_connect_retries=30
2017-06-29 10:01:04,491 p=15970 u=root | open_shell() returned 255 failed to connect to control socket
2017-06-29 10:01:04,493 p=15970 u=root | fatal: [XEv_Spine_11]: FAILED! => {
"changed": false,
"failed": true,
"msg": "unable to open shell. Please see: https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell",
"rc": 255
}
..."><pre class="notranslate"><code class="notranslate">...
2017-06-29 10:00:34,575 paramiko.transport starting thread (client mode): 0xf6b6c110L
2017-06-29 10:00:34,576 paramiko.transport Local version/idstring: SSH-2.0-paramiko_2.0.6
2017-06-29 10:00:34,577 paramiko.transport Remote version/idstring: SSH-2.0-Cisco-1.25
2017-06-29 10:00:34,577 paramiko.transport Connected (version 2.0, client Cisco-1.25)
2017-06-29 10:00:34,577 paramiko.transport kex algos:[u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group14-sha1'] server key:[u'ssh-rsa'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr'] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr'] client mac:[u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-sha1', u'hmac-sha1-96'] server mac:[u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-sha1', u'hmac-sha1-96'] client compress:[u'none'] server compress:[u'none'] client lang:[u''] server lang:[u''] kex follows?False
2017-06-29 10:00:34,577 paramiko.transport Kex agreed: diffie-hellman-group14-sha1
2017-06-29 10:00:34,578 paramiko.transport Cipher agreed: aes128-ctr
2017-06-29 10:00:34,578 paramiko.transport MAC agreed: hmac-sha2-256
2017-06-29 10:00:34,578 paramiko.transport Compression agreed: none
2017-06-29 10:00:34,818 paramiko.transport kex engine KexGroup14 specified hash_algo <built-in function openssl_sha1>
2017-06-29 10:00:34,818 paramiko.transport Switch to new keys ...
2017-06-29 10:00:34,851 p=16072 u=root | connecting to host XEv_Spine_11 returned an error
2017-06-29 10:00:34,851 p=16072 u=root | (14, 'Bad address')
2017-06-29 10:00:34,919 paramiko.transport EOF in transport thread
2017-06-29 10:01:04,470 p=16072 u=root | number of connection attempts exceeded, unable to connect to control socket
2017-06-29 10:01:04,471 p=16072 u=root | persistent_connect_interval=1, persistent_connect_retries=30
2017-06-29 10:01:04,491 p=15970 u=root | open_shell() returned 255 failed to connect to control socket
2017-06-29 10:01:04,493 p=15970 u=root | fatal: [XEv_Spine_11]: FAILED! => {
"changed": false,
"failed": true,
"msg": "unable to open shell. Please see: https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell",
"rc": 255
}
...
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS: Successful Manual SSH with inventory_hostname content</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ssh admin@XEv_Spine_11
CC
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************CC
XEv_Spine_11# #sh ver
Cisco IOS XE Software, Version 16.05.01b
Cisco IOS Software [Everest], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.5.1b, RELEASE SOFTWARE (fc1)
..."><pre class="notranslate"><code class="notranslate"># ssh admin@XEv_Spine_11
CC
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************CC
XEv_Spine_11# #sh ver
Cisco IOS XE Software, Version 16.05.01b
Cisco IOS Software [Everest], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.5.1b, RELEASE SOFTWARE (fc1)
...
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ios_command<br>
ios_config</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.0.0
config file = /mnt/c/jv/Ansible/ansible.cfg
configured module search path = [u'/etc/ansible/library']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]
"><pre class="notranslate"><code class="notranslate">ansible 2.4.0.0
config file = /mnt/c/jv/Ansible/ansible.cfg
configured module search path = [u'/etc/ansible/library']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Windows Subsystem Linux & Ubuntu 16.04.3</p>
<p dir="auto">No LSB modules are available.<br>
Distributor ID: Ubuntu<br>
Description: Ubuntu 14.04.5 LTS<br>
Release: 14.04<br>
Codename: trusty</p>
<p dir="auto">No LSB modules are available.<br>
Distributor ID: Ubuntu<br>
Description: Ubuntu 16.04.3 LTS<br>
Release: 16.04<br>
Codename: xenial</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">In my inventory file I have the following:</p>
<p dir="auto">[switches]<br>
COMSW0001<br>
comsw0002</p>
<p dir="auto">ios_command & ios_config connect just fine when the characters are all lower case. When they are all upper case Ansible is unable to connect to host. If I swap the upper/lower case around, the issue follows the upper case host.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="---
# Ansible playbook to copy and change the boot statement on a Cisco IOS switch
# Leverages NTC-Ansible: https://github.com/networktocode/ntc-ansible
# Requires Python PyNTC
- name: Copy code to machine and change boot statement
connection: local
hosts: switches
gather_facts: no
serial:
- 5%
- 10%
- 30%
vars_files:
- /path/to/cred/file
vars:
cli:
username: "{{ u }}"
password: "{{ p }}"
code_version:
WS-C3560CX-8PC-S: c3560cx-universalk9-mz.152-4.E4.bin
WS-C3560C-8PC-S: c3560c405-universalk9-mz.152-2.E7.bin
WS-C3560CG-8PC-S: c3560c405-universalk9-mz.152-2.E7.bin
WS-C3560C-12PC-S: c3560c405-universalk9-mz.152-2.E7.bin
tasks:
- name: Determine OS Version
ntc_show_command:
connection: ssh
platform: cisco_ios_ssh
command: show version
template_dir: "/etc/ansible/library/ntc-ansible/ntc-templates/templates"
host: "{{ inventory_hostname }}"
username: "{{ u }}"
password: "{{ p }}"
secret: "{{ p }}"
register: ntc_result
- name: Debug NTC
debug:
msg: "{{ ntc_result }}"
- name: Get SNMP information
ios_command:
provider: "{{ cli }}"
commands:
- show ip int brief
timeout: 40
register: run_config
- name: Get the details
set_fact:
output: "{{ run_config.stdout_lines[0] }}"
- name: Verify SCP is configured
ios_config:
provider: "{{ cli }}"
lines:
- ip scp server enable
- name: Copy File
ntc_file_copy:
local_file: images/{{ code_version[ntc_result['response'][0]['hardware'][0]] }}
platform: cisco_ios_ssh
username: "{{ u }}"
password: "{{ p }}"
host: "{{ inventory_hostname }}"
register: output"><pre class="notranslate">---
<span class="pl-c"><span class="pl-c">#</span> Ansible playbook to copy and change the boot statement on a Cisco IOS switch</span>
<span class="pl-c"><span class="pl-c">#</span> Leverages NTC-Ansible: https://github.com/networktocode/ntc-ansible</span>
<span class="pl-c"><span class="pl-c">#</span> Requires Python PyNTC</span>
- <span class="pl-ent">name</span>: <span class="pl-s">Copy code to machine and change boot statement</span>
<span class="pl-ent">connection</span>: <span class="pl-s">local</span>
<span class="pl-ent">hosts</span>: <span class="pl-s">switches</span>
<span class="pl-ent">gather_facts</span>: <span class="pl-s">no</span>
<span class="pl-ent">serial</span>:
- <span class="pl-c1">5%</span>
- <span class="pl-c1">10%</span>
- <span class="pl-c1">30%</span>
<span class="pl-ent">vars_files</span>:
- <span class="pl-s">/path/to/cred/file</span>
<span class="pl-ent">vars</span>:
<span class="pl-ent">cli</span>:
<span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ u }}<span class="pl-pds">"</span></span>
<span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ p }}<span class="pl-pds">"</span></span>
<span class="pl-ent">code_version</span>:
<span class="pl-ent">WS-C3560CX-8PC-S</span>: <span class="pl-s">c3560cx-universalk9-mz.152-4.E4.bin</span>
<span class="pl-ent">WS-C3560C-8PC-S</span>: <span class="pl-s">c3560c405-universalk9-mz.152-2.E7.bin</span>
<span class="pl-ent">WS-C3560CG-8PC-S</span>: <span class="pl-s">c3560c405-universalk9-mz.152-2.E7.bin</span>
<span class="pl-ent">WS-C3560C-12PC-S</span>: <span class="pl-s">c3560c405-universalk9-mz.152-2.E7.bin</span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">name</span>: <span class="pl-s">Determine OS Version</span>
<span class="pl-ent">ntc_show_command</span>:
<span class="pl-ent">connection</span>: <span class="pl-s">ssh</span>
<span class="pl-ent">platform</span>: <span class="pl-s">cisco_ios_ssh</span>
<span class="pl-ent">command</span>: <span class="pl-s">show version</span>
<span class="pl-ent">template_dir</span>: <span class="pl-s"><span class="pl-pds">"</span>/etc/ansible/library/ntc-ansible/ntc-templates/templates<span class="pl-pds">"</span></span>
<span class="pl-ent">host</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ inventory_hostname }}<span class="pl-pds">"</span></span>
<span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ u }}<span class="pl-pds">"</span></span>
<span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ p }}<span class="pl-pds">"</span></span>
<span class="pl-ent">secret</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ p }}<span class="pl-pds">"</span></span>
<span class="pl-ent">register</span>: <span class="pl-s">ntc_result</span>
- <span class="pl-ent">name</span>: <span class="pl-s">Debug NTC</span>
<span class="pl-ent">debug</span>:
<span class="pl-ent">msg</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ ntc_result }}<span class="pl-pds">"</span></span>
- <span class="pl-ent">name</span>: <span class="pl-s">Get SNMP information</span>
<span class="pl-ent">ios_command</span>:
<span class="pl-ent">provider</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ cli }}<span class="pl-pds">"</span></span>
<span class="pl-ent">commands</span>:
- <span class="pl-s">show ip int brief</span>
<span class="pl-ent">timeout</span>: <span class="pl-c1">40</span>
<span class="pl-ent">register</span>: <span class="pl-s">run_config</span>
- <span class="pl-ent">name</span>: <span class="pl-s">Get the details</span>
<span class="pl-ent">set_fact</span>:
<span class="pl-ent">output</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ run_config.stdout_lines[0] }}<span class="pl-pds">"</span></span>
- <span class="pl-ent">name</span>: <span class="pl-s">Verify SCP is configured</span>
<span class="pl-ent">ios_config</span>:
<span class="pl-ent">provider</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ cli }}<span class="pl-pds">"</span></span>
<span class="pl-ent">lines</span>:
- <span class="pl-s">ip scp server enable</span>
- <span class="pl-ent">name</span>: <span class="pl-s">Copy File</span>
<span class="pl-ent">ntc_file_copy</span>:
<span class="pl-ent">local_file</span>: <span class="pl-s">images/{{ code_version[ntc_result['response'][0]['hardware'][0]] }}</span>
<span class="pl-ent">platform</span>: <span class="pl-s">cisco_ios_ssh</span>
<span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ u }}<span class="pl-pds">"</span></span>
<span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ p }}<span class="pl-pds">"</span></span>
<span class="pl-ent">host</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ inventory_hostname }}<span class="pl-pds">"</span></span>
<span class="pl-ent">register</span>: <span class="pl-s">output</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">First task connects fine and works.<br>
Tasks with ios_* fail to connect.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Failed to connect on the ios_* - I do have the log file. Looks to be an Invalid Argument</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2017-11-02 16:03:24,692 p=7253 u=joshv | 7262 1509656604.69279: Loading ShellModule 'sh' from /usr/local/lib/python2.7/dist-packages/ansible/plugins/shell/sh.py
7262 1509656604.69401: Loading ShellModule 'sh' from /usr/local/lib/python2.7/dist-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
2017-11-02 16:03:24,694 p=7253 u=joshv | 7262 1509656604.69401: Loading ShellModule 'sh' from /usr/local/lib/python2.7/dist-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
7262 1509656604.69887: assigned :doc
2017-11-02 16:03:24,699 p=7253 u=joshv | 7262 1509656604.69887: assigned :doc
7262 1509656604.69952: Loaded config def from plugin (connection/network_cli)
2017-11-02 16:03:24,699 p=7253 u=joshv | 7262 1509656604.69952: Loaded config def from plugin (connection/network_cli)
2017-11-02 16:03:24,786 paramiko.transport starting thread (client mode): 0x742ed150L
2017-11-02 16:03:24,786 paramiko.transport Local version/idstring: SSH-2.0-paramiko_2.3.1
2017-11-02 16:03:24,787 paramiko.transport Remote version/idstring: SSH-2.0-Cisco-1.25
2017-11-02 16:03:24,787 paramiko.transport Connected (version 2.0, client Cisco-1.25)
2017-11-02 16:03:24,795 paramiko.transport kex algos:[u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'aes128-cbc', u'3des-cbc', u'aes192-cbc', u'aes256-cbc'] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'aes128-cbc', u'3des-cbc', u'aes192-cbc', u'aes256-cbc'] client mac:[u'hmac-sha1', u'hmac-sha1-96'] server mac:[u'hmac-sha1', u'hmac-sha1-96'] client compress:[u'none'] server compress:[u'none'] client lang:[u''] server lang:[u''] kex follows?False
2017-11-02 16:03:24,796 paramiko.transport Kex agreed: diffie-hellman-group-exchange-sha1
2017-11-02 16:03:24,796 paramiko.transport HostKey agreed: ssh-rsa
2017-11-02 16:03:24,796 paramiko.transport Cipher agreed: aes128-ctr
2017-11-02 16:03:24,796 paramiko.transport MAC agreed: hmac-sha1
2017-11-02 16:03:24,796 paramiko.transport Compression agreed: none
2017-11-02 16:03:24,807 paramiko.transport Got server p (2048 bits)
2017-11-02 16:03:25,075 paramiko.transport kex engine KexGex specified hash_algo <built-in function openssl_sha1>
2017-11-02 16:03:25,076 paramiko.transport Switch to new keys ...
2017-11-02 16:03:25,090 p=7253 u=joshv | connecting to host SYCOMSW0002 returned an error
2017-11-02 16:03:25,090 p=7253 u=joshv | (22, 'Invalid argument')
2017-11-02 16:03:25,177 paramiko.transport EOF in transport thread
2017-11-02 16:04:04,477 p=7211 u=joshv | 7252 1509656644.47682: handler run complete
2017-11-02 16:04:04,478 p=7211 u=joshv | 7252 1509656644.47803: attempt loop complete, returning result
2017-11-02 16:04:04,478 p=7211 u=joshv | 7252 1509656644.47853: _execute() done
2017-11-02 16:04:04,479 p=7211 u=joshv | 7252 1509656644.47894: dumping result to json
2017-11-02 16:04:04,479 p=7211 u=joshv | 7252 1509656644.47929: done dumping result, returning
"><pre class="notranslate"><code class="notranslate">2017-11-02 16:03:24,692 p=7253 u=joshv | 7262 1509656604.69279: Loading ShellModule 'sh' from /usr/local/lib/python2.7/dist-packages/ansible/plugins/shell/sh.py
7262 1509656604.69401: Loading ShellModule 'sh' from /usr/local/lib/python2.7/dist-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
2017-11-02 16:03:24,694 p=7253 u=joshv | 7262 1509656604.69401: Loading ShellModule 'sh' from /usr/local/lib/python2.7/dist-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
7262 1509656604.69887: assigned :doc
2017-11-02 16:03:24,699 p=7253 u=joshv | 7262 1509656604.69887: assigned :doc
7262 1509656604.69952: Loaded config def from plugin (connection/network_cli)
2017-11-02 16:03:24,699 p=7253 u=joshv | 7262 1509656604.69952: Loaded config def from plugin (connection/network_cli)
2017-11-02 16:03:24,786 paramiko.transport starting thread (client mode): 0x742ed150L
2017-11-02 16:03:24,786 paramiko.transport Local version/idstring: SSH-2.0-paramiko_2.3.1
2017-11-02 16:03:24,787 paramiko.transport Remote version/idstring: SSH-2.0-Cisco-1.25
2017-11-02 16:03:24,787 paramiko.transport Connected (version 2.0, client Cisco-1.25)
2017-11-02 16:03:24,795 paramiko.transport kex algos:[u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'aes128-cbc', u'3des-cbc', u'aes192-cbc', u'aes256-cbc'] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'aes128-cbc', u'3des-cbc', u'aes192-cbc', u'aes256-cbc'] client mac:[u'hmac-sha1', u'hmac-sha1-96'] server mac:[u'hmac-sha1', u'hmac-sha1-96'] client compress:[u'none'] server compress:[u'none'] client lang:[u''] server lang:[u''] kex follows?False
2017-11-02 16:03:24,796 paramiko.transport Kex agreed: diffie-hellman-group-exchange-sha1
2017-11-02 16:03:24,796 paramiko.transport HostKey agreed: ssh-rsa
2017-11-02 16:03:24,796 paramiko.transport Cipher agreed: aes128-ctr
2017-11-02 16:03:24,796 paramiko.transport MAC agreed: hmac-sha1
2017-11-02 16:03:24,796 paramiko.transport Compression agreed: none
2017-11-02 16:03:24,807 paramiko.transport Got server p (2048 bits)
2017-11-02 16:03:25,075 paramiko.transport kex engine KexGex specified hash_algo <built-in function openssl_sha1>
2017-11-02 16:03:25,076 paramiko.transport Switch to new keys ...
2017-11-02 16:03:25,090 p=7253 u=joshv | connecting to host SYCOMSW0002 returned an error
2017-11-02 16:03:25,090 p=7253 u=joshv | (22, 'Invalid argument')
2017-11-02 16:03:25,177 paramiko.transport EOF in transport thread
2017-11-02 16:04:04,477 p=7211 u=joshv | 7252 1509656644.47682: handler run complete
2017-11-02 16:04:04,478 p=7211 u=joshv | 7252 1509656644.47803: attempt loop complete, returning result
2017-11-02 16:04:04,478 p=7211 u=joshv | 7252 1509656644.47853: _execute() done
2017-11-02 16:04:04,479 p=7211 u=joshv | 7252 1509656644.47894: dumping result to json
2017-11-02 16:04:04,479 p=7211 u=joshv | 7252 1509656644.47929: done dumping result, returning
</code></pre></div> | 1 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">When using the <code class="notranslate">backgroundImage</code> profile setting, the image is anchored to the center of the <code class="notranslate">TermControl</code>. Background images that have a primary point of interest that is <em>not</em> the center are not aesthetically pleasing when either... a large part of this focus is cut off via <code class="notranslate">uniformToFill</code>, or the image is centered via <code class="notranslate">uniform</code> or <code class="notranslate">none</code> and there is a abrupt end to the image before the border of the terminal control.</p>
<h3 dir="auto">Image Example</h3>
<p dir="auto">Here is a background designed for anchoring to the bottom right. If we rely on <code class="notranslate">uniformToFill</code>, then we run the risk of the image's focus getting completely cut off. If we use <code class="notranslate">none</code> or <code class="notranslate">uniform</code>, then the image will display in the middle and abruptly end on the right while the console display has more room. Alignment anchoring would allow us to display the background image as it is intended.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/8319211505781ccf2fd385320b9f8d050be7ec9ee9b20d03a5f30e7877f59073/68747470733a2f2f692e696d6775722e636f6d2f6b5554504c39502e706e67"><img src="https://camo.githubusercontent.com/8319211505781ccf2fd385320b9f8d050be7ec9ee9b20d03a5f30e7877f59073/68747470733a2f2f692e696d6775722e636f6d2f6b5554504c39502e706e67" alt="Preview Figure A (Left) and Figure B (Right)" data-canonical-src="https://i.imgur.com/kUTPL9P.png" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Figure A (Left), shows an image making use of alignment. Figure B (Right), shows the outcome of using the same background without alignment.</em></p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">Changes would require two additional profile settings shown below, (with center being the default for both).</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""backgroundImageHorizontalAlignment": "center" | "left" | "right",
"backgroundImageVerticalAlignment": "center" | "top" | "bottom","><pre class="notranslate"><span class="pl-ent">"backgroundImageHorizontalAlignment"</span>: <span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span> <span class="pl-ii">| "left" | "right",</span>
<span class="pl-ent">"backgroundImageVerticalAlignment"</span>: <span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span> <span class="pl-ii">| "top" | "bottom",</span></pre></div>
<p dir="auto">These settings will be needed only once, in this location:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/microsoft/terminal/blob/02e8389518c7027fa20a99b4642f29f2b6b4ef7a/src/cascadia/TerminalControl/TermControl.cpp#L273-L276">terminal/src/cascadia/TerminalControl/TermControl.cpp</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 273 to 276
in
<a data-pjax="true" class="commit-tease-sha" href="/microsoft/terminal/commit/02e8389518c7027fa20a99b4642f29f2b6b4ef7a">02e8389</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="L273" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="273"></td>
<td id="LC273" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> Media::Imaging::BitmapImage <span class="pl-smi">image</span>(imageUri); </td>
</tr>
<tr class="border-0">
<td id="L274" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="274"></td>
<td id="LC274" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> _bgImageLayer.<span class="pl-c1">Source</span>(image); </td>
</tr>
<tr class="border-0">
<td id="L275" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="275"></td>
<td id="LC275" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> _bgImageLayer.<span class="pl-c1">HorizontalAlignment</span>(HorizontalAlignment::Center); </td>
</tr>
<tr class="border-0">
<td id="L276" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="276"></td>
<td id="LC276" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> _bgImageLayer.<span class="pl-c1">VerticalAlignment</span>(VerticalAlignment::Center); </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">Here, <code class="notranslate">HorizontalAlignment::Center</code> and <code class="notranslate">VerticalAlignment::Center</code> will be replaced with their respective parsed settings of <code class="notranslate">backgroundImageHorizontalAlignment</code> and <code class="notranslate">backgroundImageVerticalAlignment</code>.</p>
<p dir="auto">These two settings will need constant definitions for of their JSON/serialized values, and <code class="notranslate">Parse</code>/<code class="notranslate">Serialize</code> methods for the enums (in <code class="notranslate">Profile.cpp</code>).</p>
<h2 dir="auto">Alternative Setting</h2>
<p dir="auto">One enum setting that combines the flags of <code class="notranslate">HorizontalAlignment</code> and <code class="notranslate">VerticalAlignment</code> could be used. The setting and values would be as follows:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""backgroundImageAlignment": "none" | "left" | "top" | "right" | "bottom"
| "topLeft" | "topRight" | "bottomLeft" | "bottomRight""><pre class="notranslate"><span class="pl-ent">"backgroundImageAlignment"</span>: <span class="pl-s"><span class="pl-pds">"</span>none<span class="pl-pds">"</span></span> <span class="pl-ii">| "left" | "top" | "right" | "bottom"</span>
<span class="pl-ii">| "topLeft" | "topRight" | "bottomLeft" | "bottomRight"</span></pre></div>
<p dir="auto"><em>A value of <code class="notranslate">none</code>, or missing axis alignment, implies that the default action of centering is used. Alternatively <code class="notranslate">none</code> could be labeled <code class="notranslate">center</code> to make this clearer.</em></p>
<p dir="auto">There are pros and cons to this alternative. The pros being the setting name is shorter, and can be fully modified from a single line in <code class="notranslate">profiles.json</code>. The longer enum value names are still relatively simple and easy to remember. The cons being we are not referring to a real existing enum anymore, but a combination of enums. We also require more enum definitions and handling cases than if we made each setting separate. Lastly the implied <em>centering</em> with the values of <code class="notranslate">none</code>, <code class="notranslate">left</code>, <code class="notranslate">top</code>, <code class="notranslate">right</code>, and <code class="notranslate">bottom</code> are not as user-friendly.</p> | <p dir="auto">How to do that can be open Windows Terminal and running it when i trying to clicked a .bat batch file?</p>
<p dir="auto">Like right click deploy.bat --> use "Windows Terminal" open.</p> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">The JIT can't pass following code when I tried to passing another instance with same class type.</p>
<h2 dir="auto">To Reproduce</h2>
<h3 dir="auto">not working in python3.6</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch
@torch.jit.script
class A:
def __init__(self):
self.v = 100
def copy(self, b: 'A'):
self.v = b.v"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span>
<span class="pl-en">@<span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-s1">script</span></span>
<span class="pl-k">class</span> <span class="pl-v">A</span>:
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">self</span>.<span class="pl-s1">v</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span>
<span class="pl-k">def</span> <span class="pl-en">copy</span>(<span class="pl-s1">self</span>, <span class="pl-s1">b</span>: <span class="pl-s">'A'</span>):
<span class="pl-s1">self</span>.<span class="pl-s1">v</span> <span class="pl-c1">=</span> <span class="pl-s1">b</span>.<span class="pl-s1">v</span></pre></div>
<h3 dir="auto">working in python3.6</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class A:
def __init__(self):
self.v = 100
def copy(self, b: 'A'):
self.v = b.v"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">A</span>:
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">self</span>.<span class="pl-s1">v</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span>
<span class="pl-k">def</span> <span class="pl-en">copy</span>(<span class="pl-s1">self</span>, <span class="pl-s1">b</span>: <span class="pl-s">'A'</span>):
<span class="pl-s1">self</span>.<span class="pl-s1">v</span> <span class="pl-c1">=</span> <span class="pl-s1">b</span>.<span class="pl-s1">v</span></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">RuntimeError:<br>
Expression of type string_literal cannot be used in a type expression:<br>
at demo_class.py:8:23<br>
def copy(self, b: 'A'):<br>
~ <--- HERE<br>
self.v = b.v</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">Collecting environment information...<br>
PyTorch version: 1.2.0<br>
Is debug build: No<br>
CUDA used to build PyTorch: 10.0.130</p>
<p dir="auto">OS: Ubuntu 18.04.3 LTS<br>
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0<br>
CMake version: version 3.10.2</p>
<p dir="auto">Python version: 3.6<br>
Is CUDA available: Yes<br>
CUDA runtime version: 10.1.243<br>
GPU models and configuration: GPU 0: GeForce GTX 1080<br>
Nvidia driver version: 430.26<br>
cuDNN version: Could not collect</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip3] numpy==1.15.0<br>
[pip3] torch==1.2.0<br>
[pip3] torch-nightly==1.2.0.dev20190530<br>
[pip3] torchvision==0.2.2.post3<br>
[conda] Could not collect</p>
<h2 dir="auto">Additional context</h2>
<p dir="auto"><a href="https://www.python.org/dev/peps/pep-0484/#forward-references" rel="nofollow">Reference</a><br>
<a href="https://stackoverflow.com/questions/33533148/how-do-i-specify-that-the-return-type-of-a-method-is-the-same-as-the-class-itsel" rel="nofollow">Stack Overflow</a></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</a></p> | <h2 dir="auto">🐛 Bug</h2>
<p dir="auto">Cannot type a class with an annotation that contains itself using python 3 style comments</p>
<h2 dir="auto">To Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@torch.jit.script
Class UDT(object):
def __init__(x):
self.x = x
def __add__(other: 'UDT'): -> 'UDT'
return UDT(self.x + other.x)"><pre class="notranslate"><code class="notranslate">@torch.jit.script
Class UDT(object):
def __init__(x):
self.x = x
def __add__(other: 'UDT'): -> 'UDT'
return UDT(self.x + other.x)
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">Should work based on the description of forward references in PEP 484<br>
<a href="https://www.python.org/dev/peps/pep-0484/#forward-references" rel="nofollow">https://www.python.org/dev/peps/pep-0484/#forward-references</a></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</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="[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request"><pre class="notranslate"><code class="notranslate">[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
The date pipe output is incorrect when custom formats are used with various locales. The current implementation will use Intl.DateTimeFormat to localize DateTime information, and then use string manipulation to extract individual components as the output is not granular enough. The bugs come mainly from assumptions about how the format looks across all locales.</p>
<p dir="auto">I've provided unit tests as a repro- the expected results are valid on Chrome, but not necessarily IE - (different browsers format locales differently, including the order of components, number system and alphabets used.) See the full tests created while investigating the issue at <a href="https://gist.github.com/gary-b/bdc67fae4767c7da08ee93965a955fa5">https://gist.github.com/gary-b/bdc67fae4767c7da08ee93965a955fa5</a></p>
<p dir="auto">assume date = new Date(2015, 5, 15, 9, 3, 1);<br>
1.The day part ('a') output fails in various locales</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// When Intl.DateTimeFormat puts the day part in front of the hour for the locale
pipe = new DatePipe('hu');
expect(pipe.transform(date, 'a')).toEqual('de.'); // outputs 9
// When Intl.DateTimeFormat has a space in the day part string itself for the locale
pipe = new DatePipe('sr');
expect(pipe.transform(date, 'a')).toEqual('пре подне'); // outputs npe"><pre class="notranslate"><code class="notranslate">// When Intl.DateTimeFormat puts the day part in front of the hour for the locale
pipe = new DatePipe('hu');
expect(pipe.transform(date, 'a')).toEqual('de.'); // outputs 9
// When Intl.DateTimeFormat has a space in the day part string itself for the locale
pipe = new DatePipe('sr');
expect(pipe.transform(date, 'a')).toEqual('пре подне'); // outputs npe
</code></pre></div>
<p dir="auto">See the Intl.ts hourClockExtractor function.</p>
<p dir="auto">2.The 2 digit formatting (eg "hh") outputs a mix of numbering systems</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pipe = new DatePipe('mr');
expect(pipe.transform(date, 'hh')).toEqual('०९'); // outputs 0९"><pre class="notranslate"><code class="notranslate">pipe = new DatePipe('mr');
expect(pipe.transform(date, 'hh')).toEqual('०९'); // outputs 0९
</code></pre></div>
<p dir="auto">The '0' is hard coded into angular's Intl.js digitModifier function.</p>
<p dir="auto">3.The timezone output fails with certain locales</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// When the browser puts the hour after the timezone for the locale
pipe = new DatePipe('zh');
expect(pipe.transform(date, 'Z')).toEqual('GMT+1'); // outputs +19时
// When Intl.DateTimeFormat outputs an hour identifier between the hour and the timezone for the locale, eg for fr you get 09 h UTC+1
pipe = new DatePipe('fr');
expect(pipe.transform(date, 'Z')).toEqual('UTC+1'); // outputs h UTC+1"><pre class="notranslate"><code class="notranslate">// When the browser puts the hour after the timezone for the locale
pipe = new DatePipe('zh');
expect(pipe.transform(date, 'Z')).toEqual('GMT+1'); // outputs +19时
// When Intl.DateTimeFormat outputs an hour identifier between the hour and the timezone for the locale, eg for fr you get 09 h UTC+1
pipe = new DatePipe('fr');
expect(pipe.transform(date, 'Z')).toEqual('UTC+1'); // outputs h UTC+1
</code></pre></div>
<p dir="auto">See the Intl.ts timeZoneGetter function.</p>
<p dir="auto">4.The era output doesn't work on any locale I tried</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="expect(pipe.transform(date, 'G')).toEqual('A');//outputs 6 15, 2015 A"><pre class="notranslate"><code class="notranslate">expect(pipe.transform(date, 'G')).toEqual('A');//outputs 6 15, 2015 A
</code></pre></div>
<p dir="auto">Angular's Intl.ts assumes the Intl.DateTimeFormat object will output the era on its own, it doesn't.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
Broken.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
Windows 10</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X<br>
Angular master</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 (also have details of IE output in the gist)</p>
</li>
</ul> | <p dir="auto">Here is the list of features / fixes planned for i18n.</p>
<p dir="auto">If you want new i18n features to be added to Angular, don't hesitate to ask below and I'll let you know if that's feasible and if you should open an issue for it.<br>
If you have a bug, open an issue (no need to discuss about it here).</p>
<h1 dir="auto">For Ivy</h1>
<p dir="auto"><em>Note: runtime translations and most of the new features will only be available with ivy</em></p>
<h3 dir="auto">Features</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Runtime i18n (one bundle for all locales with AOT) - [<strong>working on it</strong>]</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ID migration tool (for when we break ID generation) - [PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="218214763" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/15621" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/15621/hovercard" href="https://github.com/angular/angular/pull/15621">#15621</a>]</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Use translation strings outside of a template - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175439759" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/11405" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/11405/hovercard" href="https://github.com/angular/angular/issues/11405">#11405</a> - [<strong>working on it</strong>]</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Generate the same ID for xmb/xlf - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="213978995" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/15136" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/15136/hovercard" href="https://github.com/angular/angular/issues/15136">#15136</a> [<strong>breaking change</strong> PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="218214763" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/15621" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/15621/hovercard" href="https://github.com/angular/angular/pull/15621">#15621</a>]</li>
</ul>
<h3 dir="auto">Issues</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Ignore ph/ICU expressions when generating i18n ids - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="217791085" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/15573" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/15573/hovercard" href="https://github.com/angular/angular/issues/15573">#15573</a> [<strong>breaking change</strong> PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="218214763" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/15621" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/15621/hovercard" href="https://github.com/angular/angular/pull/15621">#15621</a>, <strong>blocked</strong>]</li>
</ul>
<h1 dir="auto">Not prioritized</h1>
<h3 dir="auto">Features</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Allow ICU messages in attributes - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="289452162" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/21615" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/21615/hovercard" href="https://github.com/angular/angular/issues/21615">#21615</a> [<strong>blocked</strong>, requires an update of the parser]</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Improve Html Parser (add a new INTERPOLATION_TOKEN to the lexer output for interpolations) - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161032108" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/9340" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/9340/hovercard" href="https://github.com/angular/angular/issues/9340">#9340</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Opt out of translation (use translate="false" attribute) - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="144329935" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/7814" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/7814/hovercard" href="https://github.com/angular/angular/issues/7814">#7814</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I18nPluralPipe should localize numbers when using "#" - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178106709" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/11761" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/11761/hovercard" href="https://github.com/angular/angular/issues/11761">#11761</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ICU plural format (add offset & #) - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159464914" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/9117" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/9117/hovercard" href="https://github.com/angular/angular/issues/9117">#9117</a> [<strong>blocked</strong>, requires "Allow escaping ICU messages - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160791495" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/9286" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/9286/hovercard" href="https://github.com/angular/angular/issues/9286">#9286</a>"]</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Implement ICU ordinal messages</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Auto detect TRANSLATIONS_FORMAT - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177638650" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/11695" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/11695/hovercard" href="https://github.com/angular/angular/issues/11695">#11695</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Providing TRANSLATIONS at NgModule level - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175687310" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/11431" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/11431/hovercard" href="https://github.com/angular/angular/issues/11431">#11431</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Add scientific number pipe - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="244631254" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/18276" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/18276/hovercard" href="https://github.com/angular/angular/issues/18276">#18276</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Opening the API - [PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="205159165" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/14281" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/14281/hovercard" href="https://github.com/angular/angular/pull/14281">#14281</a>]</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Throw during i18n extraction if two different contents have the same @<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/id/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/id">@id</a> - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="244598460" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/18272" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/18272/hovercard" href="https://github.com/angular/angular/issues/18272">#18272</a></li>
</ul>
<h3 dir="auto">Issues</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Ignore leading and trailing spaces - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="191946966" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/13114" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/13114/hovercard" href="https://github.com/angular/angular/issues/13114">#13114</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> allow numbers for select-icu - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="238993590" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/17799" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/17799/hovercard" href="https://github.com/angular/angular/issues/17799">#17799</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Allow escaping ICU messages - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160791495" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/9286" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/9286/hovercard" href="https://github.com/angular/angular/issues/9286">#9286</a> [<strong>blocked</strong>, requires an update of the parser]</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Template Parser: Error when passing object literal as pipe parameter - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162159077" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/9571" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/9571/hovercard" href="https://github.com/angular/angular/issues/9571">#9571</a></li>
</ul> | 0 |
<p dir="auto">We currently don't really have a good overview on this.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rkirov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rkirov">@rkirov</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tbosch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tbosch">@tbosch</a>, maybe something for one of you? <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tbosch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tbosch">@tbosch</a>, could we track this as a statistic over time?</p> | 1 |
|
<p dir="auto">I'm using version 0.129.0 on a new MacBook Pro, with OSX 10.9.5</p>
<p dir="auto">Whenever I perform a "Find in Project" command: ⌘⇧F<br>
a new tab is opened titled "Project FindResults".<br>
This tab contains the matches, arranged per file.</p>
<p dir="auto">I've noticed two different and inconsistent behaviors:</p>
<ul dir="auto">
<li>If I start collapsing match sets by file (click the v to change it to >),<br>
the files collapse properly, but any files that were not already displayed in the panel<br>
will not show up as I continue to collapse match sets by file.<br>
This leads to not being able to see all of the matches.</li>
<li>If, instead, I scroll to the bottom first,<br>
I can see all of the matches. Then the collapsing works as expected.<br>
And regardless of the order in which I collapse match sets by file,<br>
I can find all of the matches.</li>
</ul> | <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/64050/3927598/37fd1176-23fd-11e4-99e2-d9a69afc72fd.gif"><img src="https://cloud.githubusercontent.com/assets/64050/3927598/37fd1176-23fd-11e4-99e2-d9a69afc72fd.gif" alt="find" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">I'm looking for a word in a project. I know the first result doesn't have what I want. I hide the first result, but there are no more results. I need to scroll to trigger the rest of the results to be fetched, and then I can hide the first listing.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/benogle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/benogle">@benogle</a></p> | 1 |
<p dir="auto">Many attributes in the <code class="notranslate">configurationAttributes</code> section of the debuggers extension point are shared across the different request types 'launch' and 'attach'. Currently they have to be duplicated for the request types.</p>
<p dir="auto">We should allow for having top-level attributes definitions in the <code class="notranslate">configurationAttributes</code> section. They would be shared between the different request types.</p> | <p dir="auto">Today some debug adapters have to duplicate attribute schemas for their "launch" and "attach" requests.<br>
It would be nice if attribute schemas could be easily shared between them (e.g. by contributing them 'one level up')</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=alef.arendsen" rel="nofollow">Alef Arendsen</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1725?redirect=false" rel="nofollow">SPR-1725</a></strong> and commented</p>
<p dir="auto">Using the new schema support we can greatly simplify the configuration of Spring Web MVC. I'll be adding schema and parsers incrementally over the next couple of days.</p>
<hr>
<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="398072258" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7452" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7452/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7452">#7452</a> configuring a SimpleUrlHandlerMapping through a schema (<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="398098902" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10972" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10972/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10972">#10972</a> Add mvc namespace for simplifying setup of Spring MVC (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">4 votes, 6 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=al0" rel="nofollow">Oleksandr Alesinskyy</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2522?redirect=false" rel="nofollow">SPR-2522</a></strong> and commented</p>
<p dir="auto">There is a following problem -<br>
<code class="notranslate">@Transactional</code> applied to interface (or its method) behaves differently depending on value of proxy-target-class attribute of tx:annotation-driven tag,<br>
namely:</p>
<ol dir="auto">
<li>
<p dir="auto">If proxy-target-class is false annotation on interface is granted and all behaves as expected</p>
</li>
<li>
<p dir="auto">if proxy-target-class is true annotation on interface is ignored (unless duplicated in class itself)</p>
</li>
</ol>
<p dir="auto">As far as I understand it should affect not <code class="notranslate">@Transactional</code> only, but the whole Spring AOP, e.g. aop:config tag.</p>
<p dir="auto">For me it is hard to say if it can be helped, but at least it shall be documented. Chapter 6.6. of Reference Guide (pages 108 and 109 in PDF) lists some issues with this property (for aop:config tag) but not this one, which IMHO is the most important of them.</p>
<p dir="auto">I have to suggestions</p>
<ol dir="auto">
<li>
<p dir="auto">Clearly document this behavior in separate subchapter and make direct reference to this piece of documentation from all affected tags.</p>
</li>
<li>
<p dir="auto">Extend syntax for tx:transaction and other affected "global" tags (if any) to allow filtering of classes affected by this property. aop:config is already able for such filtering. Another (simpler) alternative - provide in documentation an evident sample of aop:configy based configuration that is eqvivalent to tx:annotation-driven tag (as far as I understand it should exist).</p>
</li>
</ol>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 RC3</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="398070625" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7267" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7267/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7267">#7267</a> Spring does not inherit <code class="notranslate">@Transactional</code> correctly when <aop:config target-class-proxy="true" /> (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | 0 |
<h3 dir="auto">Bug summary</h3>
<p dir="auto">When drawing with hatches, dots show up in PDF as circles but they render fine as PNGs.</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 matplotlib.pyplot as plt
fig, ax = plt.subplots(figsize=(6, 3))
ax.bar([1], height=4, hatch=".")
plt.savefig("demo.pdf")
fig, ax = plt.subplots(figsize=(6, 3))
ax.bar([1], height=4, hatch=".")
plt.savefig("demo.png", dpi=300)"><pre class="notranslate"><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">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">6</span>, <span class="pl-c1">3</span>))
<span class="pl-s1">ax</span>.<span class="pl-en">bar</span>([<span class="pl-c1">1</span>], <span class="pl-s1">height</span><span class="pl-c1">=</span><span class="pl-c1">4</span>, <span class="pl-s1">hatch</span><span class="pl-c1">=</span><span class="pl-s">"."</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">"demo.pdf"</span>)
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">6</span>, <span class="pl-c1">3</span>))
<span class="pl-s1">ax</span>.<span class="pl-en">bar</span>([<span class="pl-c1">1</span>], <span class="pl-s1">height</span><span class="pl-c1">=</span><span class="pl-c1">4</span>, <span class="pl-s1">hatch</span><span class="pl-c1">=</span><span class="pl-s">"."</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">"demo.png"</span>, <span class="pl-s1">dpi</span><span class="pl-c1">=</span><span class="pl-c1">300</span>)</pre></div>
<h3 dir="auto">Actual outcome</h3>
<p dir="auto"><strong>PDF</strong><br>
<a href="https://github.com/matplotlib/matplotlib/files/8510681/demo.pdf">demo.pdf</a><br>
PDF converted as png<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2891235/163945882-3d67e72c-b27b-42e1-b4f9-991da8dcacaf.png"><img src="https://user-images.githubusercontent.com/2891235/163945882-3d67e72c-b27b-42e1-b4f9-991da8dcacaf.png" alt="demo" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>PNG</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2891235/163945922-f9407bd2-ebd6-4693-af55-ebbeeede0f87.png"><img src="https://user-images.githubusercontent.com/2891235/163945922-f9407bd2-ebd6-4693-af55-ebbeeede0f87.png" alt="demo" style="max-width: 100%;"></a></p>
<h3 dir="auto">Expected outcome</h3>
<p dir="auto">The PNG and the PDF should look the same.</p>
<h3 dir="auto">Additional information</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Operating system</h3>
<p dir="auto">macOS 12.3.1</p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">3.4.3</p>
<h3 dir="auto">Matplotlib Backend</h3>
<p dir="auto">module://matplotlib_inline.backend_inline (inside jupyter notebook), PDF backend when generating PDF</p>
<h3 dir="auto">Python version</h3>
<p dir="auto">Python 3.8.9</p>
<h3 dir="auto">Jupyter version</h3>
<p dir="auto">6.4.0</p>
<h3 dir="auto">Installation</h3>
<p dir="auto">pip</p> | <h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">The baseline images for the test_clipping test (clip_path_clipping.{png,pdf,svg}) clearly show differences in rendering between agg, pdf and svg:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1322974/34085872-25235e64-e34b-11e7-94e5-42b2f5ff9845.png"><img src="https://user-images.githubusercontent.com/1322974/34085872-25235e64-e34b-11e7-94e5-42b2f5ff9845.png" alt="clip_path_clipping" style="max-width: 100%;"></a></p>
<p dir="auto">top left is the svg baseline rendered by inkview (inkscape) 0.92.2, top right is the png baseline, bottom left is the pdf baseline rendered by okular 17.08.3, bottom right is the pdf baseline rendered by gs 9.22 (gs is used by the testing framework to rasterize the pdf for image comparisons).</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<p dir="auto">N/A</p>
<p dir="auto"><strong>Actual outcome</strong></p>
<ul dir="auto">
<li>the colors of the stars are slightly different between png and svg.</li>
<li>the pdf backend render the stars as empty rather than filled.</li>
</ul>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">All three backends should render hatching in a similar manner.</p>
<p dir="auto">(As a side note, mplcairo generates pdf and svg that render like the png.)</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system:</li>
<li>Matplotlib version: master</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>):</li>
<li>Python version:</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries:</li>
</ul> | 1 |
<p dir="auto">Run 'flutter doctor' from VSCode command palette:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.6 17G65, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
✗ Missing Xcode dependency: Python module "six".
Install via 'pip install six' or 'sudo easy_install six'.
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2017.2.7)
[!] VS Code (version 1.25.1)
[✓] Connected devices (1 available)
! Doctor found issues in 2 categories.
exit code 0"><pre class="notranslate"><code class="notranslate">[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.6 17G65, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
✗ Missing Xcode dependency: Python module "six".
Install via 'pip install six' or 'sudo easy_install six'.
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2017.2.7)
[!] VS Code (version 1.25.1)
[✓] Connected devices (1 available)
! Doctor found issues in 2 categories.
exit code 0
</code></pre></div>
<p dir="auto">Run <code class="notranslate">flutter doctor -v</code> in terminal</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.6 17G65, locale en-CN)
• Flutter version 0.5.1 at /Users/wolfg/Dev/lib/flutter
• Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /usr/local/share/android-sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /usr/local/share/android-sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Community Edition (version 2017.2.7)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 21.2.2
• Dart plugin version 172.4343.25
[!] VS Code (version 1.25.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (1 available)
• iPhone X • 73056EF7-1637-4DE2-91C6-60449C983145 • ios • iOS 11.4 (simulator)
! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.6 17G65, locale en-CN)
• Flutter version 0.5.1 at /Users/wolfg/Dev/lib/flutter
• Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /usr/local/share/android-sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /usr/local/share/android-sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Community Edition (version 2017.2.7)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 21.2.2
• Dart plugin version 172.4343.25
[!] VS Code (version 1.25.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (1 available)
• iPhone X • 73056EF7-1637-4DE2-91C6-60449C983145 • ios • iOS 11.4 (simulator)
! Doctor found issues in 1 category.
</code></pre></div> | <p dir="auto">I'd like to use camera and save photo to external storage in my own folder.</p>
<p dir="auto">How can I get Write/Read External Permissions?</p> | 0 |
<p dir="auto">When an input group with an input group button is used with ,.navbar-right, it causes the input field and the button to break onto a new line when viewed in Chrome.</p>
<p dir="auto">It displays correctly in Firefox.</p>
<p dir="auto">See the following fiddle, but make sure you view it at a size of tablet or greater:<br>
<a href="http://jsfiddle.net/binvisions/Ygz2n/" rel="nofollow">http://jsfiddle.net/binvisions/Ygz2n/</a></p>
<p dir="auto">Also, see the screenshot attached for a Firefox vs. Chrome comparison:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6a2056cf53dc3df313798973b91f165e3ea33ab50bc2ce31d1e05a4e5f843152/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313133393834382f313132373836352f30343565313736382d316234622d313165332d393864662d3632613835623162386236392e6a7067"><img src="https://camo.githubusercontent.com/6a2056cf53dc3df313798973b91f165e3ea33ab50bc2ce31d1e05a4e5f843152/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313133393834382f313132373836352f30343565313736382d316234622d313165332d393864662d3632613835623162386236392e6a7067" alt="input-group-button-chrome-vs-firefox-display" data-canonical-src="https://f.cloud.github.com/assets/1139848/1127865/045e1768-1b4b-11e3-98df-62a85b1b8b69.jpg" style="max-width: 100%;"></a></p> | <p dir="auto">When you have an input-group (I've only tested it with a button) inside a navbar the form doesn't align and makes the navbar height way longer.</p> | 1 |
<h2 dir="auto">🐛 Bug</h2>
<p dir="auto">I met the following error when I was using pytorch 1.6 with LSTM<br>
RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">I think the root cause was that I was using the mixed precision training mode in pytorch 1.6 following <a href="https://pytorch.org/docs/stable/notes/amp_examples.html" rel="nofollow">https://pytorch.org/docs/stable/notes/amp_examples.html</a><br>
and the datatype might be converted to fp16 which causes this error.<br>
When I train my model with full precision, it worked normally.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/csarofeen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/csarofeen">@csarofeen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ptrblck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ptrblck">@ptrblck</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a></p> | <h2 dir="auto">🐛 Bug</h2>
<p dir="auto">get cuDNN error: CUDNN_STATUS_BAD_PARAM in cnn-lstm network forward method</p>
<h2 dir="auto">To Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
from torch import nn, optim
from torch.cuda.amp import GradScaler, autocast
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
self.conv1 = nn.Conv1d(1, 10, 2)
self.lstm = nn.LSTM(input_size=10, hidden_size=10,
batch_first=True,bidirectional=True)
def forward(self, x):
x = self.conv1(x)
x = x.permute(0, 2, 1)
x, _ = self.lstm(x)
return x
net = Net().cuda()
net.train()
optimizer = optim.SGD(net.parameters(), lr=1e-3)
scaler = GradScaler()
optimizer.zero_grad()
with autocast():
output = net(torch.rand(10,1,10).cuda())"><pre class="notranslate"><code class="notranslate">import torch
from torch import nn, optim
from torch.cuda.amp import GradScaler, autocast
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
self.conv1 = nn.Conv1d(1, 10, 2)
self.lstm = nn.LSTM(input_size=10, hidden_size=10,
batch_first=True,bidirectional=True)
def forward(self, x):
x = self.conv1(x)
x = x.permute(0, 2, 1)
x, _ = self.lstm(x)
return x
net = Net().cuda()
net.train()
optimizer = optim.SGD(net.parameters(), lr=1e-3)
scaler = GradScaler()
optimizer.zero_grad()
with autocast():
output = net(torch.rand(10,1,10).cuda())
</code></pre></div>
<h2 dir="auto">Environment</h2>
<p dir="auto">torch==1.6.0 nightly (2020-04-10)</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mcarilli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mcarilli">@mcarilli</a></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/csarofeen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/csarofeen">@csarofeen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ptrblck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ptrblck">@ptrblck</a></p> | 1 |
<p dir="auto">A common UI pattern is having a text field which grows vertically, adding more lines, as you type, up to a certain number of lines, after which the content scrolls.</p>
<p dir="auto">Presently, we can have a growing <code class="notranslate">TextField</code> by making <code class="notranslate">maxLines=null</code>. However, then the <code class="notranslate">TextField</code> never stops growing. Otherwise, if we make, say, <code class="notranslate">maxLines=6</code>, then it will have 6 fixed lines, and will not grow.</p>
<p dir="auto">Unfortunatelly, <code class="notranslate">maxLines</code> was a bad name. That should have been called simply "lines", since it fixes the number of lines, and is not a maximum. However, that cannot be changed anymore.</p>
<p dir="auto">I will now suggest adding another parameter, called <code class="notranslate">maxLineLimit</code>, which lets the number of lines grow until that number and then no more. And while we're at that, I would also add the less important <code class="notranslate">minLineLimit</code>.</p>
<p dir="auto">So, for example, if we make <code class="notranslate">maxLines=null, minLineLimit=2, maxLineLimit=6</code>, then the <code class="notranslate">TextField</code> starts with 2 lines, and, if necessary to fit the text, grows until 6 lines. After that it scrolls.</p>
<p dir="auto">This change is very easy to do, in file <code class="notranslate">editable.dart</code>, the method <code class="notranslate">_preferredHeight</code> in <code class="notranslate">class RenderEditable</code> has these last 2 lines:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" _layoutText(width);
return math.max(preferredLineHeight, _textPainter.height);"><pre class="notranslate"> <span class="pl-en">_layoutText</span>(width);
<span class="pl-k">return</span> math.<span class="pl-en">max</span>(preferredLineHeight, _textPainter.height);</pre></div>
<p dir="auto">These could be simply changed to:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" _layoutText(width);
return math.min(preferredLineHeight * maxLineLimit, math.max(preferredLineHeight * minLineLimit, _textPainter.height));"><pre class="notranslate"> <span class="pl-en">_layoutText</span>(width);
<span class="pl-k">return</span> math.<span class="pl-en">min</span>(preferredLineHeight <span class="pl-k">*</span> maxLineLimit, math.<span class="pl-en">max</span>(preferredLineHeight <span class="pl-k">*</span> minLineLimit, _textPainter.height));</pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I have a flutter app which using <code class="notranslate">cached_network_image</code> to display image and using <code class="notranslate">video_player</code> to display video. The image and video display correctly when debug in simulator on a MacBook Pro which set a system proxy to access foreign http resources, as I'm in China! But when build a release ipa and install on my iPhone which have a VPN to proxy foreign http resources, the image and video can't be displayed. I can browse these resources in Chrome app.</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
• Flutter version 0.7.3 at /Users/jagger/flutter
• Framework revision 3b309bda07 (13 days ago), 2018-08-28 12:39:24 -0700
• Engine revision af42b6dc95
• Dart version 2.1.0-dev.1.0.flutter-ccb16f7282
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/jagger/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Users/jagger/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 27.1.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.27.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.18.0
[!] Connected devices
! No devices available
! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
• Flutter version 0.7.3 at /Users/jagger/flutter
• Framework revision 3b309bda07 (13 days ago), 2018-08-28 12:39:24 -0700
• Engine revision af42b6dc95
• Dart version 2.1.0-dev.1.0.flutter-ccb16f7282
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/jagger/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Users/jagger/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 27.1.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.27.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.18.0
[!] Connected devices
! No devices available
! Doctor found issues in 1 category.
</code></pre></div> | 0 |
<p dir="auto">Duplication of babel helpers is a problem that hasn't yet been fully solved. It's solved from a userland code standpoint, but not solved when you consider node_modules that use babel in a prepublish step.</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto"><strong>Standalone babel helpers package</strong><br>
There should be a <code class="notranslate">babel-helpers-standalone</code> package, with <code class="notranslate">main</code> and <code class="notranslate">module</code> package.json fields that correspond to the babel helpers formatted as a CommonJS file and ES Modules file, respectively. The ES Module format will enable tree-shaking with compatible module bundlers.</p>
<p dir="auto"><strong>Option for <code class="notranslate">babel-plugin-external-helpers</code> to consume an external package</strong><br>
There should be the ability to consume the standalone <code class="notranslate">babel-external-helpers</code> package when transpiling an application and/or library. So rather than referencing a global, this could be turned into an <code class="notranslate">import</code> (ES Modules, with tree shaking) or <code class="notranslate">require</code> (CommonJS). This could look something like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"plugins": [
["external-helpers": {
"package": {
"name": "babel-external-helpers",
"format": "es"
}
}]
]
}"><pre class="notranslate"><code class="notranslate">{
"plugins": [
["external-helpers": {
"package": {
"name": "babel-external-helpers",
"format": "es"
}
}]
]
}
</code></pre></div>
<p dir="auto">This would yield something like:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {classCallCheck as _classCallCheck} from "babel-external-helpers";
// ..."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-s1">classCallCheck</span> <span class="pl-k">as</span> <span class="pl-s1">_classCallCheck</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"babel-external-helpers"</span><span class="pl-kos">;</span>
<span class="pl-c">// ...</span></pre></div>
<p dir="auto">Now anytime a module author publishes transpiled code using this option, they will be de-duplicated. Futhermore, if the application developer consuming these modules also transpiles their code, they can use the same <code class="notranslate">external-helpers</code> configuration and de-duplicate these helpers that are in their application code. In this case, all helpers, whether in node_modules or otherwise, will be de-duplicated (assuming semver compatibility).</p>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">If I publish a transpiled module, either:</p>
<ol dir="auto">
<li>I inline the babel helpers. This is sub-optimal because these helpers will potentially be duplicated many times in the consumer's browser bundle.</li>
<li>Use <code class="notranslate">babel-plugin-external-helpers</code> and reference a global <code class="notranslate">babelHelpers</code> variable. This is sub-optimal because any consumer of my library will not be able to use my library out of the box.</li>
</ol>
<h3 dir="auto">Context</h3>
<ul dir="auto">
<li>I'm a module author and application developer</li>
<li>As a module author, I publish my modules a Rollup builds in both CommonJS and ES Modules formats (using the <code class="notranslate">main</code> and <code class="notranslate">module</code> fields of the package.json)</li>
<li>The consumers of my modules don't transpile node_modules</li>
<li>The consumers of my modules use a tree-shaking module bundler that supports ES Modules syntax</li>
<li>The consumers of my modules want the babel helpers to be de-duplicated in the resultant bundle (across all node_modules as well as userland code)</li>
</ul>
<p dir="auto">This proposal should be relatively straightforward to implement, I'd be happy to work on a PR. This could be done fully via userland plugins, but the value of this is greater when everyone (particularly module authors) standardizes on the same external dependency.</p> | <p dir="auto">Hi, I just tried to extend Array in your playground, and tested it then again in an traceur playground</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class FooArray extends Array {
constructor(a) {
super(a);
}
}
var e = new FooArray();
e.push('bar');
console.log(e);"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">FooArray</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">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-k">var</span> <span class="pl-s1">e</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">FooArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s">'bar'</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">e</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">6to5: {"0":"bar","length":1}</p>
<p dir="auto">tracur: ["bar"]</p> | 0 |
<p dir="auto">I have tried both the methods.<br>
I am using Ubuntu 12.04 (32bit) with python 2.7.3, numpy 1.6.1, scipy 0.9.0</p>
<p dir="auto">I first installed using apt-get install python-sklearn. But there were many failures from both the methods. Then I remove python-sklearn with apt-get remove python-sklearn. Then I tried installing it from the source package using</p>
<p dir="auto"><code class="notranslate">python setup.py build</code><br>
<code class="notranslate">sudo python setup.py install</code></p>
<p dir="auto">When I tried running the nose test, it failed (the error is shown below).</p>
<p dir="auto">-------------------------------------------------------------------------ERROR trace1---------------------------------------------------------------------------</p>
<p dir="auto">~/OpenSource$ nosetests sklearn --exe</p>
<h1 dir="auto">E</h1>
<p dir="auto">ERROR: Failure: ImportError (No module named _check_build</p>
<hr>
<p dir="auto">Contents of /home/manaswi/OpenSource/scikit-learn-0.13.1/sklearn/<strong>check_build:<br>
_check_build.pyx __init</strong>.pyc _check_build.c<br>
<strong>init</strong>.py setup.pyc setup.py</p>
<hr>
<p dir="auto">It seems that scikit-learn has not been built correctly.</p>
<p dir="auto">If you have installed scikit-learn from source, please do not forget to build the package before using it: run <code class="notranslate">python setup.py install</code> or <code class="notranslate">make</code> in the source directory. If you have used an installer, please check that it is suited for your Python version, your operating system and your platform.</p>
<hr>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName<br>
addr.filename, addr.module)<br>
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath<br>
return self.importFromDir(dir_path, fqname)<br>
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir<br>
mod = load_module(part_fqname, fh, filename, desc)<br>
File "/home/manaswi/OpenSource/scikit-learn-0.13.1/sklearn/<strong>init</strong>.py", line 31, in <br>
from . import <strong>check_build<br>
File "/home/manaswi/OpenSource/scikit-learn-0.13.1/sklearn/__check_build/__init</strong>.py", line 47, in <br>
raise_build_error(e)<br>
File "/home/manaswi/OpenSource/scikit-learn-0.13.1/sklearn/<strong>check_build/__init</strong>.py", line 42, in raise_build_error<br>
%s""" % (e, local_dir, ''.join(dir_content).strip(), msg))<br>
ImportError: No module named _check_build</p>
<hr>
<p dir="auto">Contents of /home/manaswi/OpenSource/scikit-learn-0.13.1/sklearn/<strong>check_build:<br>
_check_build.pyx __init</strong>.pyc _check_build.c<br>
<strong>init</strong>.py setup.pyc setup.py</p>
<hr>
<p dir="auto">It seems that scikit-learn has not been built correctly.</p>
<p dir="auto">If you have installed scikit-learn from source, please do not forget to build the package before using it: run <code class="notranslate">python setup.py install</code> or <code class="notranslate">make</code> in the source directory. If you have used an installer, please check that it is suited for your<br>
Python version, your operating system and your platform.</p>
<hr>
<p dir="auto">Ran 1 test in 0.001s</p>
<p dir="auto">FAILED (errors=1)</p>
<hr>
<p dir="auto"><strong>Then I installed sklearn package again. I tried the nosetests as well with python -c "import sklearn; sklearn.test()".<br>
The errors are shown below:</strong></p>
<p dir="auto">-------------------------------------------------------------------------ERROR trace2---------------------------------------------------------------------------<br>
~/OpenSource$ nosetests sklearn --exe<br>
.............................................................../usr/local/lib/python2.7/dist-packages/sklearn/manifold/spectral_embedding.py:225: UserWarning: Graph is not fully connected, spectral embedding may not works as expected.<br>
warnings.warn("Graph is not fully connected, spectral embedding"<br>
...........SS...............S.....................................................S.........................................................S................................................................../usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_func_inspect.py:122: UserWarning: Cannot inspect object <functools.partial object at 0xcee2fa4>, ignore list will not work.<br>
nose.tools.assert_equal(filter_args(ff, ['y'], (1, )),</p>
<h1 dir="auto">............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F....................................................................................SSS....S....S...................................................................................................................................</h1>
<h2 dir="auto">FAIL: sklearn.tests.test_common.test_transformers</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest<br>
self.test(*self.arg)<br>
File "/usr/local/lib/python2.7/dist-packages/sklearn/tests/test_common.py", line 230, in test_transformers<br>
"fit_transform not correct in %s" % Trans)<br>
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal<br>
header=('Arrays are not almost equal to %d decimals' % decimal))<br>
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 636, in assert_array_compare<br>
raise AssertionError(msg)<br>
AssertionError:<br>
Arrays are not almost equal to 2 decimals<br>
fit_transform not correct in <class 'sklearn.pls.CCA'><br>
(mismatch 50.0%)<br>
x: array([[ 0.97459066, -0.37275475],<br>
[-0.97199043, 0.22191067],<br>
[-0.97199043, 0.22191067],...<br>
y: array([[ 9.74590662e-01, -8.38417465e-16],<br>
[ -9.71990427e-01, 4.91932783e-16],<br>
[ -9.71990427e-01, 4.91932783e-16],...</p>
<hr>
<p dir="auto">Ran 1603 tests in 90.243s</p>
<p dir="auto">FAILED (SKIP=11, failures=1)</p>
<hr>
<p dir="auto">*<em>Trying with python -c "import sklearn; sklearn.test()" gave me the following: *</em></p>
<hr>
<p dir="auto">-------------------------------------------------------------------------ERROR trace3---------------------------------------------------------------------------<br>
~/OpenSource$ python -c "import sklearn; sklearn.test()"</p>
<p dir="auto">Other than the Doctest failures, I get the following error:</p>
<h1 dir="auto"></h1>
<h2 dir="auto">FAIL: sklearn.tests.test_common.test_transformers</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest<br>
self.test(*self.arg)<br>
File "/usr/local/lib/python2.7/dist-packages/sklearn/tests/test_common.py", line 237, in test_transformers<br>
"fit_transform not correct in %s" % Trans)<br>
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal<br>
header=('Arrays are not almost equal to %d decimals' % decimal))<br>
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 600, in assert_array_compare<br>
raise AssertionError(msg)<br>
AssertionError:<br>
Arrays are not almost equal to 2 decimals<br>
fit_transform not correct in <class 'sklearn.decomposition.kernel_pca.KernelPCA'><br>
(shapes (30, 20), (30, 18) mismatch)<br>
x: array([[ 1.87664949e+00, 8.57398986e-02, 4.20312700e-02,<br>
3.63938109e-08, 0.00000000e+00, 0.00000000e+00,<br>
0.00000000e+00, 0.00000000e+00, 0.00000000e+00,...<br>
y: array([[ 1.87664949e+00, 8.57398986e-02, 4.20312700e-02,<br>
-3.35096502e-08, -5.65023583e-09, 6.94581104e-09,<br>
1.93372216e-08, 7.76708475e-09, 4.25320650e-08,...</p>
<hr>
<p dir="auto">Ran 1737 tests in 270.588s</p>
<p dir="auto">FAILED (SKIP=11, errors=21, failures=15)</p>
<hr>
<p dir="auto">How should I resolve this?</p> | <p dir="auto">In <code class="notranslate">test_transformers</code> CCA's <code class="notranslate">fit_transform</code> fails for me on 32bit ubuntu. Anyone else?</p> | 1 |
<p dir="auto"><code class="notranslate">scipy.linalg.eigvalsh()</code> throws ValueError() for large matrices. The bug appears for arbitrary matrices.</p>
<p dir="auto">However, it also shows up in trivial examples, such as a large identity matrix, and large diagonal matrices with random coefficients in [0,1].</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
import scipy.linalg as la
H=np.eye(6470)
#np.random.seed(0)
#H=np.diag(np.random.uniform(size=6470))
E=la.eigvalsh(H)"><pre class="notranslate"><code class="notranslate">import numpy as np
import scipy.linalg as la
H=np.eye(6470)
#np.random.seed(0)
#H=np.diag(np.random.uniform(size=6470))
E=la.eigvalsh(H)
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "example0.py", line 7, in <module>
E=la.eigvalsh(H)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 734, in eigvalsh
check_finite=check_finite)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 384, in eigh
iu=a1.shape[0], overwrite_a=overwrite_a)
ValueError: On entry to DSBRDB parameter number 12 had an illegal value"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "example0.py", line 7, in <module>
E=la.eigvalsh(H)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 734, in eigvalsh
check_finite=check_finite)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 384, in eigh
iu=a1.shape[0], overwrite_a=overwrite_a)
ValueError: On entry to DSBRDB parameter number 12 had an illegal value
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0.19.1 1.13.0 sys.version_info(major=3, minor=6, micro=2, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">0.19.1 1.13.0 sys.version_info(major=3, minor=6, micro=2, releaselevel='final', serial=0)
</code></pre></div> | <p dir="auto">Hello,</p>
<p dir="auto">I am getting an error with large arrays when using scipy.linalg.eigvalsh:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> import numpy as np
>>> from scipy.linalg import eigvalsh
>>> eigvalsh(np.zeros((6143,6143)))
array([ 0., 0., 0., ..., 0., 0., 0.])
>>> eigvalsh(np.zeros((6144,6144)))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/users/gauthe/Library/anaconda2/lib/python2.7/site-packages/scipy/linalg/decomp.py", line 684, in eigvalsh
check_finite=check_finite)
File "/users/gauthe/Library/anaconda2/lib/python2.7/site-packages/scipy/linalg/decomp.py", line 345, in eigh
iu=a1.shape[0], overwrite_a=overwrite_a)
ValueError: On entry to DSBRDB parameter number 12 had an illegal value"><pre class="notranslate"><code class="notranslate">>>> import numpy as np
>>> from scipy.linalg import eigvalsh
>>> eigvalsh(np.zeros((6143,6143)))
array([ 0., 0., 0., ..., 0., 0., 0.])
>>> eigvalsh(np.zeros((6144,6144)))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/users/gauthe/Library/anaconda2/lib/python2.7/site-packages/scipy/linalg/decomp.py", line 684, in eigvalsh
check_finite=check_finite)
File "/users/gauthe/Library/anaconda2/lib/python2.7/site-packages/scipy/linalg/decomp.py", line 345, in eigh
iu=a1.shape[0], overwrite_a=overwrite_a)
ValueError: On entry to DSBRDB parameter number 12 had an illegal value
</code></pre></div>
<p dir="auto">The issue seems close to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="112616186" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/5401" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/5401/hovercard" href="https://github.com/scipy/scipy/issues/5401">#5401</a>, but refers to another LAPACK function. It is a pure effect of size, since 6143 * 6143 is ok, but 6144 * 6144 is not. 6144 = 3 * (2**11) is big, but not that big. I have no problem on my macbook, with an older scipy (0.14.0), I think it's a LAPACK bug.</p>
<p dir="auto">Version I'm using;<br>
scipy version 0.18.1<br>
numpy version 1.11.1<br>
Python 2.7.12<br>
Anaconda 4.2.0 (64-bit)<br>
openSUSE 13.2 (Harlequin)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> scipy.__config__.show()
lapack_opt_info:
libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
blas_opt_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
openblas_lapack_info:
NOT AVAILABLE
lapack_mkl_info:
libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
blas_mkl_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
mkl_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']"><pre class="notranslate"><code class="notranslate">>>> scipy.__config__.show()
lapack_opt_info:
libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
blas_opt_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
openblas_lapack_info:
NOT AVAILABLE
lapack_mkl_info:
libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
blas_mkl_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
mkl_info:
libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
library_dirs = ['/users/gauthe/anaconda2/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/users/gauthe/anaconda2/include']
</code></pre></div> | 1 |
<ul dir="auto">
<li>Electron version: 0.37.8</li>
<li>Operating system: win 10x64</li>
</ul>
<p dir="auto">I'm loading a page using BrowserWindow, win.loadURL() and dialogs (confirm, alert, etc) does not apear.<br>
For example, loading '<a href="http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_confirm" rel="nofollow">http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_confirm</a>' and clicking the button it does not appear the alert window, IDEM for any loaded page and loading the page with webview</p> | <p dir="auto">Currently there's no support for <code class="notranslate">alert</code> and <code class="notranslate">confirm</code> dialogs in iframes (see discussion in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="101710943" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/2522" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/2522/hovercard" href="https://github.com/electron/electron/issues/2522">#2522</a>).</p>
<p dir="auto">Once the "Session wide preload script" <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="103406800" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/2605" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/2605/hovercard" href="https://github.com/electron/electron/issues/2605">#2605</a> is ready, I think we should implement a default preload that will add the missing dialogs (kind of like what override.coffee does for the parent window).</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sivabbl" rel="nofollow">Sivakumar</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4851?redirect=false" rel="nofollow">SPR-4851</a></strong> and commented</p>
<p dir="auto">Can any send the replacment method for the public static int countParameterPlaceholders(String str,<br>
char placeholder,<br>
String delimiters) in the spring 2.5.4</p>
<hr>
<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="398088575" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9520" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9520/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9520">#9520</a> Replacement method for JdbcUtils.countParameterPlaceholders in spring 2.5.4 (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=marie" rel="nofollow">Marieke Vandamme</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5047?redirect=false" rel="nofollow">SPR-5047</a></strong> and commented</p>
<p dir="auto">There seems to be a bug while using hessian in combination with spring framework for remoting.<br>
Outputstream is not closed correctly, and part of the serialized output data gets lost.</p>
<p dir="auto">This does not occur while doing the same with hessian-only remoting, so this should probably be resolved within spring.</p>
<p dir="auto">The missing "close" method should be placed in:<br>
org.springframework.remoting.caucho.Hessian2SkeletonInvoker<br>
Close method on output stream needs to be applied after method:<br>
this.skeleton.invoke(in, out);</p>
<p dir="auto">A test client & server is included for simulation. Batch file launches the client, and war needs to be deployed in servlet engine running on 8080 (both on 1 computer). All source code is located in the "SpringHessianIssue.jar" file</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.5.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="398090055" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9721" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9721/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9721">#9721</a> Exception on client while performing remoting ... error = "expected string at end of file" (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | 0 |
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul dir="auto">
<li>[Y ] I have checked the superset logs for python stacktraces and included it here as text if any</li>
<li>[ Y] I have reproduced the issue with at least the latest released version of superset</li>
<li>[ Y] I have checked the issue tracker for the same issue and I haven't found one similar</li>
</ul>
<h3 dir="auto">Superset version</h3>
<p dir="auto">0.22.1</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">Rearranging fields on "group by" and "metrics" should be easy. Using drag and drop, we should be able to rearrange it.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">I am not able to rearrange fields on fields chosen on "Group by" and "Metrics". To rearrange it, I have to delete all chosen fields and then arrange it in required order.</p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Rearrange the fields chosen on "group by" or "metrics"</p> | <p dir="auto">Make sure these boxes are checked 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 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">Superset version</h3>
<p dir="auto">0.18.5</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">The order of columns in the <em>Group by</em> field can be reshuffled by dragging them to a different position.<br>
This worked, e.g., in superset 0.15.4.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1220356/28246260-0ab70b56-6a16-11e7-9b64-32657301b1d8.PNG"><img src="https://user-images.githubusercontent.com/1220356/28246260-0ab70b56-6a16-11e7-9b64-32657301b1d8.PNG" alt="drag_n_drop" style="max-width: 100%;"></a></p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">There is only one clickable area on each tab in the list of selected <em>Group by</em> columns and this is the <em>×</em> for removing the column. The tabs are not otherwise clickable and thus not draggable to a different position.</p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Select more than one <em>Group by</em> column and try to drag either of them onto the position of another one.</p> | 1 |
<p dir="auto">When creating and using an enum (TypeScript 1.4, Visual Studio 2013). When I build the project the enum value is compiled to a number, but if I save the file the compiled output is the full name of the enum. For example:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// enum.ts
enum SomeEnum {
One = 1,
Two = 2
}"><pre class="notranslate"><span class="pl-c">// enum.ts</span>
<span class="pl-k">enum</span> <span class="pl-smi">SomeEnum</span> <span class="pl-kos">{</span>
<span class="pl-c1">One</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">,</span>
<span class="pl-c1">Two</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span>
<span class="pl-kos">}</span></pre></div>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// consumer.ts
class Consumer {
public doSomething(): void {
var x: SomeEnum = SomeEnum.One;
}
} "><pre class="notranslate"><span class="pl-c">// consumer.ts</span>
<span class="pl-k">class</span> <span class="pl-smi">Consumer</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-en">doSomething</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">x</span>: <span class="pl-smi">SomeEnum</span> <span class="pl-c1">=</span> <span class="pl-smi">SomeEnum</span><span class="pl-kos">.</span><span class="pl-c1">One</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span> </pre></div>
<p dir="auto">When the project is built, it compiles to:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var Consumer = (function () {
function Consumer() {
}
Consumer.prototype.doSomething = function () {
var x = 1 /* One */;
};
return Consumer;
})();"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">Consumer</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">Consumer</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">Consumer</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-en">doSomething</span> <span class="pl-c1">=</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">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-c">/* One */</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">Consumer</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">However when I edit and save "consumer.ts" it compiles to:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var Consumer = (function () {
function Consumer() {
}
Consumer.prototype.doSomething = function () {
var x = SomeEnum.One;
};
return Consumer;
})();"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">Consumer</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">Consumer</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">Consumer</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-en">doSomething</span> <span class="pl-c1">=</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">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-v">SomeEnum</span><span class="pl-kos">.</span><span class="pl-c1">One</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">Consumer</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">The issue is that the enum values are sitting in a DomainModels.d.ts file (that is converted from C# using TypeLite). So the definition of the enum is never included in the output.</p>
<p dir="auto">The preferred output would be always compiling to a number.</p> | <p dir="auto">I have an enum in an interface that, when used in my TS code in TypeScript 1.3, was output as a constant. This is no longer the case in 1.4 after saving my file. When i build the project, the enum code is properly output as a constant. Using VS 2013 update 4 with TypeScript 1.4 installed.</p>
<p dir="auto">Enum declaration file (Colors.d.ts):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="declare module server {
enum Colors {
Red = 0,
Green = 0,
Blue = 0
}
}"><pre class="notranslate"><code class="notranslate">declare module server {
enum Colors {
Red = 0,
Green = 0,
Blue = 0
}
}
</code></pre></div>
<p dir="auto">TS Code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if(box.color === server.Colors.Red) {
...
}"><pre class="notranslate"><code class="notranslate">if(box.color === server.Colors.Red) {
...
}
</code></pre></div>
<p dir="auto">JS Output after save:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if(box.color === server.Colors.Red) {
...
}"><pre class="notranslate"><code class="notranslate">if(box.color === server.Colors.Red) {
...
}
</code></pre></div>
<p dir="auto">JS Output after build (correct, or what i consider to be correct since there is no implementation of the enum):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if(box.color === 0 /* Red */) {
...
}"><pre class="notranslate"><code class="notranslate">if(box.color === 0 /* Red */) {
...
}
</code></pre></div>
<p dir="auto">The same is observed if the enum is declared using the new "const enum" feature.</p> | 1 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.27.1</li>
<li>Operating System: Mac</li>
<li>Node.js version: 16.13.1</li>
<li>Browser: Chromium at least, but likely all.</li>
<li>Extra: On M1 Mac Ventura</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<p dir="auto"><a href="https://github.com/coryhouse/playwright-demo">Small repo that shows the issue</a></p>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">I have global setup configured in playwright-config.ts:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" globalSetup: "./global-setup",
use: {
// Tell all tests to load signed-in state from 'storageState.json'.
storageState: "storageState.json",
},"><pre class="notranslate"><code class="notranslate"> globalSetup: "./global-setup",
use: {
// Tell all tests to load signed-in state from 'storageState.json'.
storageState: "storageState.json",
},
</code></pre></div>
<p dir="auto">This global setup fails to apply. The test in <code class="notranslate">login.spec.ts</code> fails to "see" the localStorage info that is persisted in storageState.json. As a workaround, I can add this to the top of login.spec.ts, and it works:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test.use({
storageState: "storageState.json",
});"><pre class="notranslate"><code class="notranslate">test.use({
storageState: "storageState.json",
});
</code></pre></div>
<p dir="auto">But that shouldn't be necessary per these docs: <a href="https://playwright.dev/docs/auth#reuse-signed-in-state" rel="nofollow">https://playwright.dev/docs/auth#reuse-signed-in-state</a></p> | <p dir="auto">there are some launchOptions that playwright completely ignores, even in headed mode, like --show-fps-counter<br>
and then even for the ones it honors (like --credits and --version ).<br>
We discovered this problem when we were adding this configuration:<br>
<code class="notranslate">projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'], launchOptions: { args: [ '--disable-blink-features=AutomationControlled', // needed for gsl so google doesn't flag it as not secure ], }, }, },</code><br>
seems like this configuration is only working on headed mode, in headless mode it is not working</p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.35.1]</li>
<li>Operating System: [MacOS ventura 13.4.1]</li>
<li>Browser: [Chromium] (didn't test on others)</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>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">private repository</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="projects: [
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
launchOptions: {
args: [
'--disable-blink-features=AutomationControlled', // needed for gsl so google doesn't flag it as not secure
],
},
},
},"><pre class="notranslate"><code class="notranslate">projects: [
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
launchOptions: {
args: [
'--disable-blink-features=AutomationControlled', // needed for gsl so google doesn't flag it as not secure
],
},
},
},
</code></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test headless mode]</li>
<li>[the lauchOption are not taking as part of the tests]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">the lauchOptions in headed or headless mode should be the same</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">the launchOptions are only working in headed mode and also some flags are not working in both</p> | 0 |
<p dir="auto">... for the syntax suggested in "go help importpath" (no ".git" suffixing the url)</p>
<p dir="auto">I've managed to make private repos work by appending ".git" to the url. However this complicates things since the filesystem install path will now include the ".git". Also, the import statements must then have it.</p>
<p dir="auto">There are tons of questions about this issue (or private repos in general) all over stackoverflow etc. etc. and many answers or posts give confusing or old information that makes go hard to use for newcomers. The go packaging is hard enough to grasp for newcomers as it is; combine that with these private repo issues and the result is no doubt three times as difficult.</p> | <p dir="auto">by <strong>greatred</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Use <a href="http://play.golang.org/p/w45c_7mFyN" rel="nofollow">http://play.golang.org/p/w45c_7mFyN</a> as alignment.go
2. Execute `go run alignment.go`
What is the expected output? (where the pointer addresses can vary, although the lowest
nibble should be similar - this working output from linux/amd64)
0xc20005f000 0xc20005f008 0xc20005f010
v.A = 1
atomic v.A = 1
v.C = 2
atomic v.C = 2
What do you see instead?
0x10442100 0x10442108 0x1044210c
v.A = 1
atomic v.A = 1
v.C = 2
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x4 pc=0x4b0d0]
goroutine 1 [running]:
runtime.panic(0xa2fc0, 0x104000f0)
/usr/local/go/src/pkg/runtime/panic.c:266 +0x134
sync/atomic.loadUint64(0x1044210c, 0x2, 0x0)
/usr/local/go/src/pkg/sync/atomic/64bit_arm.go:10 +0x6c
main.main()
/home/huin/gopath/src/alignment/alignment.go:20 +0x430
exit status 2
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
linux/arm
Which version are you using? (run 'go version')
go versions that exhibit the problem:
* go version devel +5b367120d592 Thu Sep 19 17:12:00 2013 +1000 linux/arm
* I have also had this problem on release 1.1.2 on the same platform.
Unaffected version:
* go version go1.1.2 linux/amd64
Please provide any additional information below.
Looking at the last nibble of the pointer addresses leads me to believe that the 3rd
member of the struct `C` isn't being aligned on a 64bit boundary, causing trouble with
the sync/atomic.LoadInt64 instruction, which (I imagine) expects this alignment.</pre> | 0 |
<p dir="auto">I got into animation subject.<br>
I get the same exception(s) with two different examples.<br>
I searched the web, I tried to get my head around the exceptions, but now I'm stuck. hence this issue.<br>
I don't know where is the problem.</p>
<p dir="auto">The examples I ran:</p>
<ol dir="auto">
<li>official example: <a href="http://matplotlib.org/examples/animation/moviewriter.html" rel="nofollow">http://matplotlib.org/examples/animation/moviewriter.html</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tacaswell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tacaswell">@tacaswell</a> answer on stackoverflow: <a href="http://stackoverflow.com/a/13983801/662323" rel="nofollow">http://stackoverflow.com/a/13983801/662323</a></li>
</ol>
<p dir="auto">the exception(s):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python moviewriter.py
/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/tight_layout.py:225: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
Traceback (most recent call last):
File "moviewriter.py", line 34, in <module>
ani_frame()
File "moviewriter.py", line 31, in ani_frame
ani.save('demo.mp4',writer=writer,dpi=dpi)
File "/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 718, in save
writer.grab_frame(**savefig_kwargs)
File "/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 204, in grab_frame
dpi=self.dpi, **savefig_kwargs)
File "/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/figure.py", line 1421, in savefig
self.canvas.print_figure(*args, **kwargs)
File "/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 2220, in print_figure
**kwargs)
File "/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_raw
renderer._renderer.write_rgba(filename_or_obj)
RuntimeError: Error writing to file"><pre class="notranslate"><span class="pl-s1">python</span> <span class="pl-s1">moviewriter</span>.<span class="pl-s1">py</span>
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">ifmichael</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">tight_layout</span>.<span class="pl-s1">py</span>:<span class="pl-c1">225</span>: <span class="pl-v">UserWarning</span>: <span class="pl-s1">tight_layout</span> : <span class="pl-s1">falling</span> <span class="pl-s1">back</span> <span class="pl-s1">to</span> <span class="pl-v">Agg</span> <span class="pl-s1">renderer</span>
<span class="pl-s1">warnings</span>.<span class="pl-en">warn</span>(<span class="pl-s">"tight_layout : falling back to Agg renderer"</span>)
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
<span class="pl-v">File</span> <span class="pl-s">"moviewriter.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">34</span>, <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>
<span class="pl-en">ani_frame</span>()
<span class="pl-v">File</span> <span class="pl-s">"moviewriter.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">31</span>, <span class="pl-s1">in</span> <span class="pl-s1">ani_frame</span>
<span class="pl-s1">ani</span>.<span class="pl-en">save</span>(<span class="pl-s">'demo.mp4'</span>,<span class="pl-s1">writer</span><span class="pl-c1">=</span><span class="pl-s1">writer</span>,<span class="pl-s1">dpi</span><span class="pl-c1">=</span><span class="pl-s1">dpi</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/animation.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">718</span>, <span class="pl-s1">in</span> <span class="pl-s1">save</span>
<span class="pl-s1">writer</span>.<span class="pl-en">grab_frame</span>(<span class="pl-c1">**</span><span class="pl-s1">savefig_kwargs</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/animation.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">204</span>, <span class="pl-s1">in</span> <span class="pl-s1">grab_frame</span>
<span class="pl-s1">dpi</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">dpi</span>, <span class="pl-c1">**</span><span class="pl-s1">savefig_kwargs</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/figure.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1421</span>, <span class="pl-s1">in</span> <span class="pl-s1">savefig</span>
<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>.<span class="pl-en">print_figure</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">2220</span>, <span class="pl-s1">in</span> <span class="pl-s1">print_figure</span>
<span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">497</span>, <span class="pl-s1">in</span> <span class="pl-s1">print_raw</span>
<span class="pl-s1">renderer</span>.<span class="pl-s1">_renderer</span>.<span class="pl-en">write_rgba</span>(<span class="pl-s1">filename_or_obj</span>)
<span class="pl-v">RuntimeError</span>: <span class="pl-v">Error</span> <span class="pl-s1">writing</span> <span class="pl-s1">to</span> <span class="pl-s1">file</span></pre></div>
<p dir="auto">my configuration<br>
macosx mavericks 10.9.4<br>
anaconda bundle<br>
matplotlib 1.3.1 (as 1.4.2 still doesn't work in my configuration, the ascii bug <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="42731654" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/3517" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/3517/hovercard" href="https://github.com/matplotlib/matplotlib/issues/3517">#3517</a> still prevails)</p>
<p dir="auto">matplotlib.get_backend() gives 'MacOSX'</p>
<p dir="auto">I've installed ffmpeg and mencoder (through homebrew)<br>
matplotlib.animation.writers.list() recognizes both codecs</p>
<p dir="auto">Any help on this? is it a bug or a problem with my configuration?</p> | <p dir="auto">I am having trouble saving my animations using ffmpeg 2.0.1<br>
The temp files get created, but the call to ffmpeg fails with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Option vframes (set the number of video frames to record) cannot be applied to input file _tmp%07d.png -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file _tmp%07d.png.
Error opening input files: Invalid argument"><pre class="notranslate"><code class="notranslate">Option vframes (set the number of video frames to record) cannot be applied to input file _tmp%07d.png -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file _tmp%07d.png.
Error opening input files: Invalid argument
</code></pre></div>
<p dir="auto">I am assuming the way in which ffmpeg takes arguments has changed between versions?</p> | 1 |
<p dir="auto">See <a href="https://docs.scipy.org/doc/numpy/reference/" rel="nofollow">https://docs.scipy.org/doc/numpy/reference/</a> for the NumPy 1.17 documentation. <a href="https://numpy.org/devdocs/" rel="nofollow">https://numpy.org/devdocs/</a> refers to NumPy 1.19 documentation.</p>
<p dir="auto">From <a href="https://numpy.org/doc/" rel="nofollow">https://numpy.org/doc/</a>, there is no mention of NumPy 1.18 documentation.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18295279/73811247-9a753980-479e-11ea-94d4-152ac8236330.jpg"><img src="https://user-images.githubusercontent.com/18295279/73811247-9a753980-479e-11ea-94d4-152ac8236330.jpg" alt="no-numpy-1-18-documentation" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18295279/73811262-a4973800-479e-11ea-81f4-e3d57d6702cd.jpg"><img src="https://user-images.githubusercontent.com/18295279/73811262-a4973800-479e-11ea-81f4-e3d57d6702cd.jpg" alt="missing-numpy-1-19-documentation" style="max-width: 100%;"></a></p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1826" rel="nofollow">http://projects.scipy.org/numpy/ticket/1826</a> on 2011-05-10 by trac user shegler, assigned to unknown.</em></p>
<p dir="auto">When using custom named data types, the wrong element is reported as the conflicting one. The following snippet</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dt=numpy.dtype([
('a','f8'),
('a','f8'),
('b','f8'),
])"><pre class="notranslate"><code class="notranslate">dt=numpy.dtype([
('a','f8'),
('a','f8'),
('b','f8'),
])
</code></pre></div>
<p dir="auto">reports:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "dtype_bug.py", line 8, in <module>
('b','f8'),
ValueError: two fields with the same name"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "dtype_bug.py", line 8, in <module>
('b','f8'),
ValueError: two fields with the same name
</code></pre></div>
<p dir="auto">It should, however, report the name which occurs twice, "a" in this case.</p> | 0 |
<p dir="auto"><code class="notranslate">Granularity.getIterable(Interval)</code> returns an iterable of chunked intervals by the granularity. For example, <code class="notranslate">DAY.getIterable(Intervals.of("2019-01-01/2019-01-03"))</code> returns <code class="notranslate">2019-01-01/2019-01-02</code> and <code class="notranslate">2019-01-02/2019-01-03</code>. This method is currently being used in indexing service (<code class="notranslate">UniformGranularitySpec</code>) as well as query processing (<code class="notranslate">makeCursors()</code> in <code class="notranslate">QueryableIndexStorageAdapter</code> and <code class="notranslate">IncrementalIndexStorageAdapter</code>).</p>
<p dir="auto">But, the current behavior of this method is somewhat different from my expectation. The endTime of the last interval is not bound by the input interval. For example, <code class="notranslate">DAY.getIterable(Intervals.of("2019-01-01T00:00:00/2019-01-03T12:00:00"))</code> returns the below 3 intervals.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2019-01-01T00:00:00.000Z/2019-01-02T00:00:00.000Z
2019-01-02T00:00:00.000Z/2019-01-03T00:00:00.000Z
2019-01-03T00:00:00.000Z/2019-01-04T00:00:00.000Z"><pre class="notranslate"><code class="notranslate">2019-01-01T00:00:00.000Z/2019-01-02T00:00:00.000Z
2019-01-02T00:00:00.000Z/2019-01-03T00:00:00.000Z
2019-01-03T00:00:00.000Z/2019-01-04T00:00:00.000Z
</code></pre></div>
<p dir="auto">The last interval is <code class="notranslate">2019-01-03/2019-01-04</code> is not contained the input interval <code class="notranslate">2019-01-01T00:00:00/2019-01-03T12:00:00</code>.</p>
<p dir="auto">Sometimes, even the startTime of the first interval is not bound too. <code class="notranslate">WEEK.getIterable(Intervals.of("2019-01-01/2019-01-11"))</code> returns</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-12-31T00:00:00.000Z/2019-01-07T00:00:00.000Z
2019-01-07T00:00:00.000Z/2019-01-14T00:00:00.000Z"><pre class="notranslate"><code class="notranslate">2018-12-31T00:00:00.000Z/2019-01-07T00:00:00.000Z
2019-01-07T00:00:00.000Z/2019-01-14T00:00:00.000Z
</code></pre></div>
<p dir="auto">This is because <a href="https://github.com/apache/incubator-druid/blob/master/core/src/main/java/org/apache/druid/java/util/common/granularity/PeriodGranularity.java#L283">PeriodGranularity sets the start day to Monday</a>.</p>
<p dir="auto">I'm not sure this makes sense. The query result may contain timestamps of not specified in the query spec which can mislead users. This can be even worse when it comes to indexing because reindexing tasks can overshadow segments unexpectedly.</p>
<p dir="auto">I think probably it's better to clip off the end time of the last interval (and maybe the start time of the first interval too), but not sure what was the initial intention.</p>
<p dir="auto">Any thoughts?</p> | <h3 dir="auto">Description</h3>
<p dir="auto">Protobuf has a native timestamp type, defined <a href="https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto">here</a>.</p>
<h3 dir="auto">Motivation</h3>
<p dir="auto">Timestamps being passed around in protobuf bytes are using the native <code class="notranslate">timestamp</code> format and moving these to druid ingestion necessitates the duplication of that timestamp in a string.</p> | 0 |
<p dir="auto">This would be a breaking change, so probably it will be rejected, but anyway:</p>
<p dir="auto">The function call <code class="notranslate">searchsorted(v, key, by=mytransform)</code> applies <code class="notranslate">mytransform</code> to <code class="notranslate">key</code>, which isn't helpful. It would be more useful if the <code class="notranslate">searchsorted</code> function assumes that the key is already of the type equal to the output of <code class="notranslate">mytransform</code>. The common use for <code class="notranslate">searchsorted</code> is to search the sorted array <code class="notranslate">v</code> for a particular key that is a field or is computed from the fields of the array entries. Typically, the user would know the key but would not want to construct a dummy record whose type is <code class="notranslate">eltype(v)</code> just to hold that key.</p>
<p dir="auto">Just to be clear, here is a trace of what I mean. I think the first invocation sequence (that gives the error) is more useful than the second.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> v = [(2,5), (3,9), (12,15)]
3-element Array{Tuple{Int64,Int64},1}:
(2, 5)
(3, 9)
(12, 15)
julia> searchsortedfirst(v, 7, by = a-> a[2])
ERROR: BoundsError
Stacktrace:
[1] getindex at .\number.jl:78 [inlined]
[2] #5 at .\REPL[4]:1 [inlined]
[3] lt at .\ordering.jl:51 [inlined]
[4] searchsortedfirst at .\sort.jl:178 [inlined]
[5] searchsortedfirst at .\sort.jl:291 [inlined]
[6] #searchsortedfirst#4 at .\sort.jl:293 [inlined]
[7] (::getfield(Base.Sort, Symbol("#kw##searchsortedfirst")))(::NamedTuple{(:by,),Tuple{getfield(Main, Symbol("##5#6"))}}, ::typeof(searchsortedfirst), ::Array{Tuple{Int64,Int64},1}, ::Int64) at .\none:0
[8] top-level scope at REPL[4]:1
julia> searchsortedfirst(v, (99999,7), by = a-> a[2])
2"><pre class="notranslate"><code class="notranslate">julia> v = [(2,5), (3,9), (12,15)]
3-element Array{Tuple{Int64,Int64},1}:
(2, 5)
(3, 9)
(12, 15)
julia> searchsortedfirst(v, 7, by = a-> a[2])
ERROR: BoundsError
Stacktrace:
[1] getindex at .\number.jl:78 [inlined]
[2] #5 at .\REPL[4]:1 [inlined]
[3] lt at .\ordering.jl:51 [inlined]
[4] searchsortedfirst at .\sort.jl:178 [inlined]
[5] searchsortedfirst at .\sort.jl:291 [inlined]
[6] #searchsortedfirst#4 at .\sort.jl:293 [inlined]
[7] (::getfield(Base.Sort, Symbol("#kw##searchsortedfirst")))(::NamedTuple{(:by,),Tuple{getfield(Main, Symbol("##5#6"))}}, ::typeof(searchsortedfirst), ::Array{Tuple{Int64,Int64},1}, ::Int64) at .\none:0
[8] top-level scope at REPL[4]:1
julia> searchsortedfirst(v, (99999,7), by = a-> a[2])
2
</code></pre></div> | <p dir="auto">Consider this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="using Base.Dates: Second
immutable tsp # time series point
t :: DateTime
y :: Float64
end
t0 = now()
S = [tsp(t0+Second(10), 42), tsp(t0+Second(13), -1), tsp(t0+Second(17), 31)]
searchsortedfirst(S, t0+Second(12), by=x -> x.t)
searchsortedfirst(S, tsp(t0+Second(12), NaN), by=x -> x.t)"><pre class="notranslate"><code class="notranslate">using Base.Dates: Second
immutable tsp # time series point
t :: DateTime
y :: Float64
end
t0 = now()
S = [tsp(t0+Second(10), 42), tsp(t0+Second(13), -1), tsp(t0+Second(17), 31)]
searchsortedfirst(S, t0+Second(12), by=x -> x.t)
searchsortedfirst(S, tsp(t0+Second(12), NaN), by=x -> x.t)
</code></pre></div>
<p dir="auto">The first search call fails and the second is not ideal because one has to use a dummy value (NaN here) to fill in the parts of the item being searched that are not part of the key. I think that in <code class="notranslate">searchsortedfirst(S, x, by=f)</code> it would make more sense to apply f() to the items of <em>S</em> but not to the item <em>x</em>. If the searchsorted functions worked like that, then the current behavior is easily obtained by using <code class="notranslate">searchsortedfirst(S, f(x), by=f)</code>. Inversion of f() is not necessarily as easy.</p> | 1 |
<p dir="auto">Hello,</p>
<p dir="auto">For now, when you add a lot of items to the statusbar via plugins, only first few items are displayed and the remaining items are hidden.</p>
<p dir="auto">It would be great to have a dropdownlist which will show all those remaining items.</p>
<p dir="auto">I hope such a feature could enhance vscode.</p>
<p dir="auto">Thanks in advance for your comments.</p> | <p dir="auto">Implementing a block cursor is maybe not as straightforward as first seemed. When there are active selections and the cursor type is a block cursor, the column that the cursor is shown to occupy is supposed to be considered part of the selection.</p>
<h3 dir="auto">STR</h3>
<ol dir="auto">
<li>With a block cursor enabled, type "foo bar baz" in a new document</li>
<li>Using the mouse, try to select the entire word "foo"</li>
<li>Copy and paste it into some scratch space</li>
<li>Move the cursor over the "b" in "bar"</li>
<li>Using Shift+Right Arrow, select the entire word</li>
</ol>
<h3 dir="auto">Expected Results</h3>
<p dir="auto">Pasting in step 3 pastes the entire word "foo", and selecting the word "bar" with the keyboard in step 5 should leave the block cursor blinking over the "r", or alternatively, leave no visible trace of the cursor at all, while the selection is active.</p>
<h3 dir="auto">Actual Results</h3>
<p dir="auto">The paste step in 3 only pastes "fo", and using the keyboard for selection in step 5 hints towards why: after selecting "bar", the block cursor is shown hovering over the space that follows instead of the "r" at the end of the word.</p> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">I know the Context is flagged as an experimental feature hence why it is missing from the Top-Level API but I find myself having to pass context to a legacy-compatible component.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ReactDOM.render(React.createElement(DialogComponent, {id: id, component: this.component, childProps: this.props}), document.getElementById(id));"><pre class="notranslate"><code class="notranslate">ReactDOM.render(React.createElement(DialogComponent, {id: id, component: this.component, childProps: this.props}), document.getElementById(id));
</code></pre></div>
<p dir="auto"><code class="notranslate">React.createElement()</code> does not allow for context setting and this is causing me to 'hack' a context in these cases by doing something like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="componentWillMount: function() {
this.context = this.props.context;
},"><pre class="notranslate"><code class="notranslate">componentWillMount: function() {
this.context = this.props.context;
},
</code></pre></div>
<p dir="auto">in a mixin.</p>
<p dir="auto">Is it something that could be looked into?</p>
<p dir="auto">Thanks!!</p> | <p dir="auto">I happened to notice that React will throw <code class="notranslate">Hooks can only be called inside the body of a function component</code> if a sibling element calls <code class="notranslate">ReactDOMServer.renderToStaticMarkup</code>. I have a <a href="https://jsfiddle.net/er4kL3of/" rel="nofollow">fiddle</a> that shows this behavior (I think you need to manually open your console to see the error).</p>
<p dir="auto">If you wrap the sibling element in a component or even just assign it a variable, this issue does not occur.</p>
<p dir="auto">It's easy to get around and is a pretty specific bug, but why might this be happening?</p> | 0 |
<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: 2.7.4</li>
<li>Operating System version: macos 10.13.6</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">add unit test in ProtostuffObjectOutputTest.class and failed:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
@Test
public void testListObject() throws IOException, ClassNotFoundException {
List<SerializablePerson> list = new ArrayList<SerializablePerson>();
list.add(new SerializablePerson());
list.add(new SerializablePerson());
list.add(new SerializablePerson());
SerializablePersonList personList = new SerializablePersonList(list);
this.protostuffObjectOutput.writeObject(personList);
this.flushToInput();
SerializablePersonList serializedTime = protostuffObjectInput.readObject(SerializablePersonList.class);
assertThat(serializedTime, is(personList));
}
private class SerializablePersonList implements Serializable {
private static final long serialVersionUID = 1L;
public List<SerializablePerson> personList;
public SerializablePersonList() {}
public SerializablePersonList(List<SerializablePerson> list) {
this.personList = list;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
SerializablePersonList list = (SerializablePersonList) obj;
if (list.personList == null && this.personList == null)
return true;
if (list.personList == null || this.personList == null)
return false;
if (list.personList.size() != this.personList.size())
return false;
for (int i =0; i < this.personList.size(); i++) {
if (!this.personList.get(i).equals(list.personList.get(i)))
return false;
}
return true;
}
}
"><pre class="notranslate"> <span class="pl-c1">@</span><span class="pl-c1">Test</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-s1">testListObject</span>() <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>, <span class="pl-s1">ClassNotFoundException</span> {
<span class="pl-smi">List</span><<span class="pl-smi">SerializablePerson</span>> <span class="pl-s1">list</span> = <span class="pl-k">new</span> <span class="pl-smi">ArrayList</span><<span class="pl-smi">SerializablePerson</span>>();
<span class="pl-s1">list</span>.<span class="pl-en">add</span>(<span class="pl-k">new</span> <span class="pl-smi">SerializablePerson</span>());
<span class="pl-s1">list</span>.<span class="pl-en">add</span>(<span class="pl-k">new</span> <span class="pl-smi">SerializablePerson</span>());
<span class="pl-s1">list</span>.<span class="pl-en">add</span>(<span class="pl-k">new</span> <span class="pl-smi">SerializablePerson</span>());
<span class="pl-smi">SerializablePersonList</span> <span class="pl-s1">personList</span> = <span class="pl-k">new</span> <span class="pl-smi">SerializablePersonList</span>(<span class="pl-s1">list</span>);
<span class="pl-smi">this</span>.<span class="pl-s1">protostuffObjectOutput</span>.<span class="pl-en">writeObject</span>(<span class="pl-s1">personList</span>);
<span class="pl-smi">this</span>.<span class="pl-en">flushToInput</span>();
<span class="pl-smi">SerializablePersonList</span> <span class="pl-s1">serializedTime</span> = <span class="pl-s1">protostuffObjectInput</span>.<span class="pl-en">readObject</span>(<span class="pl-smi">SerializablePersonList</span>.<span class="pl-k">class</span>);
<span class="pl-en">assertThat</span>(<span class="pl-s1">serializedTime</span>, <span class="pl-en">is</span>(<span class="pl-s1">personList</span>));
}
<span class="pl-k">private</span> <span class="pl-k">class</span> <span class="pl-smi">SerializablePersonList</span> <span class="pl-k">implements</span> <span class="pl-smi">Serializable</span> {
<span class="pl-k">private</span> <span class="pl-k">static</span> <span class="pl-k">final</span> <span class="pl-smi">long</span> <span class="pl-s1">serialVersionUID</span> = <span class="pl-c1">1L</span>;
<span class="pl-k">public</span> <span class="pl-smi">List</span><<span class="pl-smi">SerializablePerson</span>> <span class="pl-s1">personList</span>;
<span class="pl-k">public</span> <span class="pl-smi">SerializablePersonList</span>() {}
<span class="pl-k">public</span> <span class="pl-smi">SerializablePersonList</span>(<span class="pl-smi">List</span><<span class="pl-smi">SerializablePerson</span>> <span class="pl-s1">list</span>) {
<span class="pl-smi">this</span>.<span class="pl-s1">personList</span> = <span class="pl-s1">list</span>;
}
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">boolean</span> <span class="pl-en">equals</span>(<span class="pl-smi">Object</span> <span class="pl-s1">obj</span>) {
<span class="pl-k">if</span> (<span class="pl-smi">this</span> == <span class="pl-s1">obj</span>)
<span class="pl-k">return</span> <span class="pl-c1">true</span>;
<span class="pl-k">if</span> (<span class="pl-s1">obj</span> == <span class="pl-c1">null</span>)
<span class="pl-k">return</span> <span class="pl-c1">false</span>;
<span class="pl-k">if</span> (<span class="pl-en">getClass</span>() != <span class="pl-s1">obj</span>.<span class="pl-en">getClass</span>())
<span class="pl-k">return</span> <span class="pl-c1">false</span>;
<span class="pl-smi">SerializablePersonList</span> <span class="pl-s1">list</span> = (<span class="pl-smi">SerializablePersonList</span>) <span class="pl-s1">obj</span>;
<span class="pl-k">if</span> (<span class="pl-s1">list</span>.<span class="pl-s1">personList</span> == <span class="pl-c1">null</span> && <span class="pl-smi">this</span>.<span class="pl-s1">personList</span> == <span class="pl-c1">null</span>)
<span class="pl-k">return</span> <span class="pl-c1">true</span>;
<span class="pl-k">if</span> (<span class="pl-s1">list</span>.<span class="pl-s1">personList</span> == <span class="pl-c1">null</span> || <span class="pl-smi">this</span>.<span class="pl-s1">personList</span> == <span class="pl-c1">null</span>)
<span class="pl-k">return</span> <span class="pl-c1">false</span>;
<span class="pl-k">if</span> (<span class="pl-s1">list</span>.<span class="pl-s1">personList</span>.<span class="pl-en">size</span>() != <span class="pl-smi">this</span>.<span class="pl-s1">personList</span>.<span class="pl-en">size</span>())
<span class="pl-k">return</span> <span class="pl-c1">false</span>;
<span class="pl-k">for</span> (<span class="pl-smi">int</span> <span class="pl-s1">i</span> =<span class="pl-c1">0</span>; <span class="pl-s1">i</span> < <span class="pl-smi">this</span>.<span class="pl-s1">personList</span>.<span class="pl-en">size</span>(); <span class="pl-s1">i</span>++) {
<span class="pl-k">if</span> (!<span class="pl-smi">this</span>.<span class="pl-s1">personList</span>.<span class="pl-en">get</span>(<span class="pl-s1">i</span>).<span class="pl-en">equals</span>(<span class="pl-s1">list</span>.<span class="pl-s1">personList</span>.<span class="pl-en">get</span>(<span class="pl-s1">i</span>)))
<span class="pl-k">return</span> <span class="pl-c1">false</span>;
}
<span class="pl-k">return</span> <span class="pl-c1">true</span>;
}
}</pre></div>
<p dir="auto">This is one case, and I have found the reason and raised a pr to fix it, But there is another stackoverflow still exist.</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<p dir="auto">test success</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">test 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="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <p dir="auto">I find that there are much duplicate code in the method afterPropertiesSet of ServiceBean and ReferenceBean. Can we move them to their common super class ?</p> | 0 |
<p dir="auto">as showing in screenshot, Dropdown menu is not showing in IE 9</p>
<p dir="auto"><a href="http://www.imageox.com/v/ddea3e2f20a0.png" rel="nofollow">http://www.imageox.com/v/ddea3e2f20a0.png</a></p>
<p dir="auto">IE version is 9.0.8112 64 bit on windows 7</p> | <p dir="auto">I'm having a problem which has only cropped up since upgrading from 2.1.0 to 2.1.1</p>
<p dir="auto">A fixed-nav dropdown on IE7 and IE8 now doesn't seem to appear.</p>
<p dir="auto">The root of the problem seems to be the <code class="notranslate">overflow: visible !important</code> rule in the respnosive stylesheet is not being read by IE7 and IE8 as it's within a media query they ignore. So the dropdown menu does not overflow the navbar and therefore barely appears.</p>
<p dir="auto">Anyone else had / noticed this issue?</p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.20150.1000]
PowerToys version: v0.18.2
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.20150.1000]
PowerToys version: v0.18.2
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Remap <code class="notranslate">Win (Left)</code> to <code class="notranslate">Alt (Left)</code></li>
<li>Remap <code class="notranslate">Alt (Left)</code> to <code class="notranslate">Win (Left)</code></li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16326634/85854352-3ae5ed80-b782-11ea-93ab-4682eef8efc6.png"><img src="https://user-images.githubusercontent.com/16326634/85854352-3ae5ed80-b782-11ea-93ab-4682eef8efc6.png" alt="image" style="max-width: 100%;"></a></p>
<ol start="3" dir="auto">
<li>Press the newly remapped <code class="notranslate">Win (Left)</code> + <code class="notranslate">R</code>. Game Recording opens instead of the Run dialog.</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto"><code class="notranslate">Win</code> + <code class="notranslate">R</code> should open the Run dialog. It works fine if I deactivate the Keyboard Manager, but doesn't work correctlywith it enabled.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto"><code class="notranslate">Win</code> + <code class="notranslate">R</code> is opening Game Recording instead of the Run dialog.</p> | <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">there is no numpad on my laptop, so I think it would be helpful if I can set a shortcut to enable the keymap feature,<br>
then I can remap <code class="notranslate">jkluio789</code> to <code class="notranslate">num 123456789</code><br>
when I dont need numpad, I can press the shotcut to turn it off, but when I need it, I can easily press the shotcut to turn it on</p>
<p dir="auto">further, if the keys can be grouped, and set shortcuts to enable/disable each group, it would be helpful to deal with different conditions</p>
<p dir="auto">(sorry for my poor english)</p>
<hr>
<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> | 0 |
<p dir="auto">Currently when creating symlink using file command I get:<br>
msg: src file does not exist<br>
There are rare instances where it is desirable to have ability to create such symlinks, so I'd like to see at least a flag to disable this check.</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ansible-playbook</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto">2.4.2</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for %: 'bytes' and 'bytes'
the full traceback was:
Traceback (most recent call last):
File "/home/grey/py2_env/bin/ansible", line 85, in <module>
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/cli/__init__.py", line 38, in <module>
from ansible.inventory.manager import InventoryManager
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <module>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <listcomp>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'"><pre class="notranslate"><code class="notranslate">ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for %: 'bytes' and 'bytes'
the full traceback was:
Traceback (most recent call last):
File "/home/grey/py2_env/bin/ansible", line 85, in <module>
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/cli/__init__.py", line 38, in <module>
from ansible.inventory.manager import InventoryManager
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <module>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <listcomp>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">as in version</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">CentOS 7.4, Ubuntu 16.04, Gentoo</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">On any command</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for %: 'bytes' and 'bytes'
the full traceback was:
Traceback (most recent call last):
File "/home/grey/py2_env/bin/ansible-config", line 85, in <module>
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/cli/__init__.py", line 38, in <module>
from ansible.inventory.manager import InventoryManager
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <module>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <listcomp>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'"><pre class="notranslate"><code class="notranslate">ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for %: 'bytes' and 'bytes'
the full traceback was:
Traceback (most recent call last):
File "/home/grey/py2_env/bin/ansible-config", line 85, in <module>
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/cli/__init__.py", line 38, in <module>
from ansible.inventory.manager import InventoryManager
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <module>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <listcomp>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'
</code></pre></div>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# virtualenv -p python2 ~/py2_env
# ~/py2_env/bin/pip install ansible
# ~/py2_env/bin/ansible --version"><pre class="notranslate"><code class="notranslate"># virtualenv -p python2 ~/py2_env
# ~/py2_env/bin/pip install ansible
# ~/py2_env/bin/ansible --version
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for %: 'bytes' and 'bytes'
the full traceback was:
Traceback (most recent call last):
File "/home/grey/py2_env/bin/ansible", line 85, in <module>
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/cli/__init__.py", line 38, in <module>
from ansible.inventory.manager import InventoryManager
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <module>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <listcomp>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'"><pre class="notranslate"><code class="notranslate">ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for %: 'bytes' and 'bytes'
the full traceback was:
Traceback (most recent call last):
File "/home/grey/py2_env/bin/ansible", line 85, in <module>
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/cli/__init__.py", line 38, in <module>
from ansible.inventory.manager import InventoryManager
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <module>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
File "/home/grey/py2_env/lib/python2.7/site-packages/ansible/inventory/manager.py", line 44, in <listcomp>
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'
</code></pre></div> | 0 |
<p dir="auto">I'm in the process of getting MUI@next to work with next.js, and I just wanted to pass on my experience so far. Even though MUI uses JSS, it feels like MUI is getting involved in a lot of areas that are already handled by <code class="notranslate">react-jss</code> MUI now has its own SSR configuration, separate from <code class="notranslate">jss</code> and <code class="notranslate">react-jss</code>, and this, to me, feels like a possible mistake. Personally, I wish MUI just deferred SSR configuration to the JSS suite. If it did that, then a there would be a single point of SSR configuration for all use of JSS within an app, rather than separate MUI and non-MUI configurations. Also, <code class="notranslate">react-jss</code> now supports the the new JSS function properties, automatically generating both a static and dynamic stylesheet for the wrapped react component, and passing in the component props to all of the function properties. It seems like a decision was made to not use that library, and instead have a combination of <code class="notranslate">jss-theme-reactor</code> and <code class="notranslate">MuiThemeProvider</code> take over those responsibilities. This means that, as <code class="notranslate">react-jss</code> evolves, MUI will have to duplicate features to stay current.</p>
<p dir="auto">I realize that a shortcoming with <code class="notranslate">react-jss</code> has been that it can only take in an object when injecting a stylesheet, when what we really want is for it to take in a function like <code class="notranslate">theme => stylesheet</code>, and this is probably the main perk of theme reactor. Now, with function properties, we can do:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="injectSheet({
backgroundColor: ({theme}) => theme.backgroundColor,
color: ({theme}) => theme.color
})"><pre class="notranslate"><code class="notranslate">injectSheet({
backgroundColor: ({theme}) => theme.backgroundColor,
color: ({theme}) => theme.color
})
</code></pre></div>
<p dir="auto">It's more verbose, but it works. All that would be necessary would be to wrap the <code class="notranslate">react-jss</code> <code class="notranslate">injectSheet</code> HOC like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export const withStyles = styleSheet => compose(
withTheme,
injectSheet(styleSheet)
)"><pre class="notranslate"><code class="notranslate">export const withStyles = styleSheet => compose(
withTheme,
injectSheet(styleSheet)
)
</code></pre></div>
<p dir="auto">If all of the MUI components then used that HOC, SSR config could be done just with the <code class="notranslate">react-jss</code> <code class="notranslate">StyleRegistryProvider</code></p>
<p dir="auto">If using function properties for theme-related styles is too much overhead, then perhaps the <code class="notranslate">withStyles</code> HOC could be reworked to both take in a <code class="notranslate">theme => stylesheet</code> function, populate an object with the theme data, and then delegate to <code class="notranslate">injectSheet</code> for the actual stylesheet injection. That way we would have the best of all worlds: a choice between static or dynamic theme-based styles.</p>
<p dir="auto">Just my two cents. Thanks for the amazing library.</p>
<p dir="auto">Jay</p> | <p dir="auto">Hello,</p>
<p dir="auto">It's great to have code sandbox in docs. It'll save me a lot of time while prototyping.</p>
<p dir="auto">I realized that, drawers(completely) and components with images are not working properly.</p>
<p dir="auto">Avatar;</p>
<p dir="auto">Drawer;<br>
<a href="https://material-ui.com/demos/drawers/" rel="nofollow">https://material-ui.com/demos/drawers/</a><br>
<a href="https://codesandbox.io/s/zpro6nj7m" rel="nofollow">https://codesandbox.io/s/zpro6nj7m</a></p>
<p dir="auto">Gridlist;<br>
<a href="https://codesandbox.io/s/r4mk39vkxq" rel="nofollow">https://codesandbox.io/s/r4mk39vkxq</a></p>
<p dir="auto">etc.</p>
<p dir="auto">Thank you for your effort.</p> | 0 |
<h1 dir="auto">Bug report</h1>
<p dir="auto">with-apollo-and-redux-app Could not find "store"</p>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">Run the example <code class="notranslate">with-apollo-and-redux-app</code>, when first get index page, data not loaded in ssr.<br>
add <code class="notranslate">console.log(error)</code> in <code class="notranslate">withApollo.js</code>, here shows the error message:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Error { Invariant Violation: Could not find "store" in the context of "Connect(Index)". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to Connect(Index) in connect options."><pre class="notranslate"><span class="pl-v">Error</span> <span class="pl-kos">{</span> <span class="pl-v">Invariant</span> <span class="pl-v">Violation</span>: <span class="pl-v">Could</span> <span class="pl-s1">not</span> <span class="pl-s1">find</span> <span class="pl-s">"store"</span> <span class="pl-k">in</span> <span class="pl-s1">the</span> <span class="pl-s1">context</span> <span class="pl-k">of</span> <span class="pl-s">"Connect(Index)"</span><span class="pl-kos">.</span> <span class="pl-c1">Either</span> <span class="pl-s1">wrap</span> <span class="pl-s1">the</span> <span class="pl-s1">root</span> <span class="pl-s1">component</span> <span class="pl-k">in</span> <span class="pl-s1">a</span> <span class="pl-c1"><</span><span class="pl-v">Provider</span><span class="pl-c1">></span><span class="pl-kos">,</span> <span class="pl-s1">or</span> <span class="pl-s1">pass</span> <span class="pl-s1">a</span> <span class="pl-s1">custom</span> <span class="pl-v">React</span> <span class="pl-s1">context</span> <span class="pl-s1">provider</span> <span class="pl-s1">to</span> <span class="pl-c1"><</span><span class="pl-v">Provider</span><span class="pl-c1">></span> <span class="pl-s1">and</span> <span class="pl-s1">the</span> <span class="pl-s1">corresponding</span> <span class="pl-v">React</span> <span class="pl-s1">context</span> <span class="pl-s1">consumer</span> <span class="pl-s1">to</span> <span class="pl-v">Connect</span><span class="pl-kos">(</span><span class="pl-v">Index</span><span class="pl-kos">)</span> <span class="pl-k">in</span> <span class="pl-s1">connect</span> <span class="pl-s1">options</span><span class="pl-kos">.</span></pre></div>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">1, just follow the instructions in the <a href="https://github.com/zeit/next.js/tree/canary/examples/with-apollo-and-redux">repo</a><br>
2, add <code class="notranslate">console.log('Error', error)</code> in <code class="notranslate"> withApollo.js</code>,<br>
3, yarn dev<br>
4, go to <code class="notranslate">localhost:3000</code> and you'll find error message as described above</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">Data get loaded in ssr correctly</p>
<h2 dir="auto">Screenshots</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12859005/62005328-2e1cdc00-b164-11e9-83cb-369e26bbe254.png"><img src="https://user-images.githubusercontent.com/12859005/62005328-2e1cdc00-b164-11e9-83cb-369e26bbe254.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>OS: Ubuntu</li>
<li>Browser : Chrome latest</li>
<li>Version of Next.js: latest</li>
</ul>
<h2 dir="auto">Additional context</h2>
<p dir="auto">N/A</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto">Missing prop on <code class="notranslate">withData</code></p>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">A clear and concise description of what the bug is.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3077558/63065933-45035280-bf08-11e9-957e-75fbf485d5cc.png"><img src="https://user-images.githubusercontent.com/3077558/63065933-45035280-bf08-11e9-957e-75fbf485d5cc.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p>
<ol dir="auto">
<li>
<p dir="auto"><code class="notranslate">yarn dev</code></p>
</li>
<li>
<p dir="auto">Watch the console</p>
</li>
</ol>
<p dir="auto">on canary branch</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">To not have a warning.</p>
<p dir="auto">A clear and concise description of what you expected to happen.</p>
<h2 dir="auto">Screenshots</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3077558/63065846-edfd7d80-bf07-11e9-82c8-7e18893f5f85.png"><img src="https://user-images.githubusercontent.com/3077558/63065846-edfd7d80-bf07-11e9-82c8-7e18893f5f85.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>Linux (Manjaro)</li>
<li>Chrome</li>
<li>Node [v11.15.0]</li>
</ul>
<h2 dir="auto">Additional context</h2>
<p dir="auto">Add any other context about the problem here.</p> | 1 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3</td>
</tr>
</tbody>
</table>
<p dir="auto">When we have:</p>
<ul dir="auto">
<li>embedded formB inside formA</li>
<li>validation on both forms defined in yamls</li>
<li>validation on formA -> formB include <code class="notranslate">Valid</code> constraint</li>
<li>eg. fieldA on formB has NotBlank with groups: "groupA" defined</li>
<li>we have hardcoded groups <code class="notranslate">['Default', 'groupA']</code> in <code class="notranslate">validation_groups</code> options on formB</li>
</ul>
<p dir="auto">And we want to validate formA (containing formB), the validation group is not working (NotBlank is not validated). What's odd, when we add same <code class="notranslate">Valid</code> constraint directly in <code class="notranslate">constraints</code> option on formA form builder - it's working as expected <g-emoji class="g-emoji" alias="confused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f615.png">😕</g-emoji></p>
<p dir="auto">I'll provide a reproducible code in a while.</p> | <p dir="auto">Hi all,</p>
<p dir="auto">I am not sure if this is a bug or if I am doing something wrong, but after 'composer update' I have sf 2.6. components and my cilex cli application is broken.</p>
<p dir="auto">It seems like Symfony\Component\Console\Application is using deprecated helpers:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use Symfony\Component\Console\Helper\DialogHelper;
use Symfony\Component\Console\Helper\ProgressHelper;
use Symfony\Component\Console\Helper\TableHelper;
...
/**
* Gets the default helper set with the helpers that should always be available.
*
* @return HelperSet A HelperSet instance
*/
protected function getDefaultHelperSet()
{
return new HelperSet(array(
new FormatterHelper(),
new DialogHelper(),
new ProgressHelper(),
new TableHelper(),
new DebugFormatterHelper(),
new ProcessHelper(),
new QuestionHelper(),
));
}"><pre class="notranslate"><span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Helper</span>\<span class="pl-v">DialogHelper</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Helper</span>\<span class="pl-v">ProgressHelper</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Helper</span>\<span class="pl-v">TableHelper</span>;
<span class="pl-c1">.</span>.<span class="pl-c1">.</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * Gets the default helper set with the helpers that should always be available.</span>
<span class="pl-c"> *</span>
<span class="pl-c"> * @return HelperSet A HelperSet instance</span>
<span class="pl-c"> */</span>
protected <span class="pl-k">function</span> getDefaultHelperSet()
{
return <span class="pl-k">new</span> <span class="pl-v">HelperSet</span>(<span class="pl-en">array</span>(
<span class="pl-k">new</span> <span class="pl-v">FormatterHelper</span>(),
<span class="pl-k">new</span> <span class="pl-v">DialogHelper</span>(),
<span class="pl-k">new</span> <span class="pl-v">ProgressHelper</span>(),
<span class="pl-k">new</span> <span class="pl-v">TableHelper</span>(),
<span class="pl-k">new</span> <span class="pl-v">DebugFormatterHelper</span>(),
<span class="pl-k">new</span> <span class="pl-v">ProcessHelper</span>(),
<span class="pl-k">new</span> <span class="pl-v">QuestionHelper</span>(),
));
}</pre></div>
<p dir="auto">Is it correct to use deprecated code in the component? If so....how to get rid of the errors?</p>
<p dir="auto">TIA!</p> | 0 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Many window manager tools also include an option to split the taskbar, for example:<br>
<a href="https://www.actualtools.com/multiplemonitors/features/multi_monitor_taskbar/" rel="nofollow">https://www.actualtools.com/multiplemonitors/features/multi_monitor_taskbar/</a><br>
<a href="https://www.displayfusion.com/Features/Taskbar/" rel="nofollow">https://www.displayfusion.com/Features/Taskbar/</a></p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">A new section under FanzyZones configuration for "Taskbar" with checkboxes for:</p>
<ul dir="auto">
<li>Split taskbar between zones</li>
<li>Mirror taskbar buttons</li>
<li>Mirror Start button (if disabled only show start button in first zone)</li>
<li>Mirror Notification (if disabled only notification area in last zone)</li>
</ul> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Similar to when using multiple monitors, where the icon of the app in the taskbar can be shown on the monitor which is displaying the app.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1246444/76138813-e8ee5000-604a-11ea-8907-8a8d8bf35703.png"><img src="https://user-images.githubusercontent.com/1246444/76138813-e8ee5000-604a-11ea-8907-8a8d8bf35703.png" alt="image" style="max-width: 100%;"></a></p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">Not sure what to put here.</p> | 1 |
<p dir="auto">Hey there! First off: thanks a lot for putting this library online. The community will definitely benefit from having such an easy path to super-performant pages <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></p>
<p dir="auto">I was actually evaluating next.js for creating a docs for one of my github repos, but only later I realised that the next.js build process doesn't output any html pages which can be used for e.g. gh-pages. This would actually be a really nice option to have and I guess a common enough use case!</p>
<p dir="auto">In case it's helpful, I'll link <a href="https://github.com/markdalgleish/static-site-generator-webpack-plugin">to this library</a> which I successfully used to do something very similar.</p> | <p dir="auto">Looking at the overall project structure, this seems like a rather easy step on your roadmap. Maybe someone from the team can provide a good starting point for contributors?</p> | 1 |
<ul dir="auto">
<li>VSCode Version:1.0</li>
<li>OS Version:windows 10</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>change the editor.fontSize in the settings.json</li>
<li>the editor font size has success changed,but not the tip and autocomplete</li>
</ol> | <p dir="auto">how to Increase font size of IntelliSense in visual studio code editor?</p> | 1 |
<p dir="auto">Not sure what the heck it's doing, but sometimes it ignores @" and sometimes it doesn't.<br>
Attached is screen shot showing bogus highlighting and .cs source file used to create that screen shot (extension changed to .txt to enable upload).<br>
Note that it highlights correct in both VS15 & VS13</p>
<ul dir="auto">
<li>VSCode Version: 1.1.0-insider</li>
<li>OS Version: Win7 & Win10</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/849948/15220382/4f488c42-1835-11e6-9a86-945d684e5abd.png"><img src="https://cloud.githubusercontent.com/assets/849948/15220382/4f488c42-1835-11e6-9a86-945d684e5abd.png" alt="vscodeissue-csliteralstrings" style="max-width: 100%;"></a><br>
<a href="https://github.com/Microsoft/vscode/files/261681/SharedConstants.cs.txt">SharedConstants.cs.txt</a></p> | <p dir="auto">Not sure what the heck it's doing, but sometimes it ignores @" and sometimes it doesn't.<br>
Attached is screen shot showing bogus highlighting and .cs source file used to create that screen shot (extension changed to .txt to enable upload).</p>
<p dir="auto">Not sure if this belongs here or in VS Code. It's issue 6325 over there, duplicating it here by suggestion.</p>
<p dir="auto"><a href="https://github.com/OmniSharp/omnisharp-vscode/files/262184/SharedConstants.cs.txt">SharedConstants.cs.txt</a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/849948/15228959/98a23880-185c-11e6-97bb-7815e4f1e43f.png"><img src="https://cloud.githubusercontent.com/assets/849948/15228959/98a23880-185c-11e6-97bb-7815e4f1e43f.png" alt="vscodeissue-csliteralstrings" style="max-width: 100%;"></a></p>
<p dir="auto">Note that it highlights correct in both VS15 & VS13</p> | 1 |
<p dir="auto">Upon opening VS Code with Wayland (tested with GNOME 3 and Sway),</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7232674/12073053/33971be6-b0ff-11e5-8444-ea2fe29ab5fe.png"><img src="https://cloud.githubusercontent.com/assets/7232674/12073053/33971be6-b0ff-11e5-8444-ea2fe29ab5fe.png" alt="screenshot from 2016-01-02 03-15-38" style="max-width: 100%;"></a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~ > visual-studio-code
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Xlib: extension "XFree86-VidModeExtension" missing on display ":0"."><pre class="notranslate"><code class="notranslate">~ > visual-studio-code
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Xlib: extension "XFree86-VidModeExtension" missing on display ":0".
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7232674/12073054/33f1912a-b0ff-11e5-89e6-4ec808ee131a.png"><img src="https://cloud.githubusercontent.com/assets/7232674/12073054/33f1912a-b0ff-11e5-89e6-4ec808ee131a.png" alt="screenshot from 2016-01-02 03-15-46" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7232674/12073055/3464e24c-b0ff-11e5-8064-f370b611ad79.png"><img src="https://cloud.githubusercontent.com/assets/7232674/12073055/3464e24c-b0ff-11e5-8064-f370b611ad79.png" alt="screenshot from 2016-01-02 03-15-57" style="max-width: 100%;"></a></p> | <p dir="auto">Upon opening VS Code with Wayland (tested with GNOME 3 and Sway), I get a message saying <code class="notranslate">Something has gone wrong.</code>.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7232674/12073053/33971be6-b0ff-11e5-8444-ea2fe29ab5fe.png"><img src="https://cloud.githubusercontent.com/assets/7232674/12073053/33971be6-b0ff-11e5-8444-ea2fe29ab5fe.png" alt="screenshot from 2016-01-02 03-15-38" style="max-width: 100%;"></a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~ > visual-studio-code
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Xlib: extension "XFree86-VidModeExtension" missing on display ":0"."><pre class="notranslate"><code class="notranslate">~ > visual-studio-code
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Xlib: extension "XFree86-VidModeExtension" missing on display ":0".
</code></pre></div>
<p dir="auto">If I close the error window instead of logging out, VS Code starts up fine.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7232674/12073054/33f1912a-b0ff-11e5-89e6-4ec808ee131a.png"><img src="https://cloud.githubusercontent.com/assets/7232674/12073054/33f1912a-b0ff-11e5-89e6-4ec808ee131a.png" alt="screenshot from 2016-01-02 03-15-46" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7232674/12073055/3464e24c-b0ff-11e5-8064-f370b611ad79.png"><img src="https://cloud.githubusercontent.com/assets/7232674/12073055/3464e24c-b0ff-11e5-8064-f370b611ad79.png" alt="screenshot from 2016-01-02 03-15-57" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: ^1.29.1</li>
<li>Operating System: Windows11</li>
<li>Node.js Version: v19.0.1</li>
<li>Browser: Chromium</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test("repro", async ({ page, context }) => {
await page.goto('http://localhost:8080');
await page.locator('#theForceIsStrongWithThisOne').click({ timeout: 3000 });
});"><pre class="notranslate"><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"repro"</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> context <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">'http://localhost:8080'</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">'#theForceIsStrongWithThisOne'</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-c1">timeout</span>: <span class="pl-c1">3000</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>HTML:</strong></p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<body id="divID">
<div id="container" class="container somethingPage" style="height: auto;">
<div class="banner" id="pageBanner">
<div id="bannerImageContainer" class="bannerImageLeftAlign" style="background: rgb(255, 255, 255);">
<img id="headerImage" src="./files/large-company-logo.png">
</div>
</div>
<main class="somethingInfo">
<div class="documentTitle" id="documentTitle">
<div class="filterIconContainer">
<span id="theForceIsStrongWithThisOne" class="filter"></span> <!-- This is the target -->
</div>
<p id="somethingHeader" class=""><b class="heading">Keep On Darthin' In The Free World</b></p>
</div>
<div id="readOnlyWarning">
<p><b>These are the blog articles you are looking for, if not, use the filter button above.</b></p>
</div>
</main>
</div>
</body>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</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">container</span>" <span class="pl-c1">class</span>="<span class="pl-s">container somethingPage</span>" <span class="pl-c1">style</span>="<span class="pl-s">height: auto;</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">banner</span>" <span class="pl-c1">id</span>="<span class="pl-s">pageBanner</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">bannerImageContainer</span>" <span class="pl-c1">class</span>="<span class="pl-s">bannerImageLeftAlign</span>" <span class="pl-c1">style</span>="<span class="pl-s">background: rgb(255, 255, 255);</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">id</span>="<span class="pl-s">headerImage</span>" <span class="pl-c1">src</span>="<span class="pl-s">./files/large-company-logo.png</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">main</span> <span class="pl-c1">class</span>="<span class="pl-s">somethingInfo</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">documentTitle</span>" <span class="pl-c1">id</span>="<span class="pl-s">documentTitle</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">filterIconContainer</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">id</span>="<span class="pl-s">theForceIsStrongWithThisOne</span>" <span class="pl-c1">class</span>="<span class="pl-s">filter</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">span</span><span class="pl-kos">></span> <span class="pl-c"><!-- This is the target --></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">p</span> <span class="pl-c1">id</span>="<span class="pl-s">somethingHeader</span>" <span class="pl-c1">class</span>=""<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">b</span> <span class="pl-c1">class</span>="<span class="pl-s">heading</span>"<span class="pl-kos">></span>Keep On Darthin' In The Free World<span class="pl-kos"></</span><span class="pl-ent">b</span><span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">p</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">id</span>="<span class="pl-s">readOnlyWarning</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">b</span><span class="pl-kos">></span>These are the blog articles you are looking for, if not, use the filter button above.<span class="pl-kos"></</span><span class="pl-ent">b</span><span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">p</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">main</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">body</span><span class="pl-kos">></span></pre></div>
<p dir="auto">I also note that there is CSS for the "filter" class:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=".filter:after {
position: absolute;
border-left: .25em solid;
left: -.125em;
top: -.2em;
height: .4em;
content: ' '
}"><pre class="notranslate">.filter:after {
position: absolute;
border-left: .25em solid;
left: -.125em;
top: -.2em;
height: .4em;
content: ' '
}</pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">When running this (only) in Chromium, as you will see in the trace below, while playwright correctly highlights the filter control, it is going to perform the click elsewhere and so the error that is returned makes sense "</body> intercepts pointer events"<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16937257/210839453-2809d992-cc51-4bbf-a684-291c0eea82a2.png"><img src="https://user-images.githubusercontent.com/16937257/210839453-2809d992-cc51-4bbf-a684-291c0eea82a2.png" alt="image" style="max-width: 100%;"></a><br>
I have a feeling this is probably not playwright and more likely chromium itself but this is somewhat further than I know to go in the code to really get to the bottom of it.</p>
<details>
<summary>Click here for the log produced:</summary>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="waiting for locator('#theForceIsStrongWithThisOne')
locator resolved to visible <span class="filter" id="theForceIsStrongWithThisOne"></span>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #1
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #2
waiting 20ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #3
waiting 100ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #4
waiting 100ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #5
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #6
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #7
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #8
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<body id="divID">…</body> intercepts pointer events
retrying click action, attempt #9
waiting 500ms"><pre class="notranslate">waiting for locator('#theForceIsStrongWithThisOne')
locator resolved to visible <span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">class</span>="<span class="pl-s">filter</span>" <span class="pl-c1">id</span>="<span class="pl-s">theForceIsStrongWithThisOne</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">span</span><span class="pl-kos">></span>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #1
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #2
waiting 20ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #3
waiting 100ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #4
waiting 100ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #5
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #6
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #7
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #8
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<span class="pl-kos"><</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>="<span class="pl-s">divID</span>"<span class="pl-kos">></span>…<span class="pl-kos"></</span><span class="pl-ent">body</span><span class="pl-kos">></span> intercepts pointer events
retrying click action, attempt #9
waiting 500ms</pre></div>
</details>
<p dir="auto">Here is the output from the console:</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" 3 | test("repro", async ({ page, context }) => {
4 | await page.goto("http://localhost:8080");
> 5 | await page.locator("#theForceIsStrongWithThisOne").click({ timeout: 3000 });
| ^
6 | });
at c:\Users\DannyCrone\repos\click-repro\tests\repro.spec.ts:5:54"><pre class="notranslate"><span class="pl-c1"> 3 | test("repro", async ({ page, context }) => {</span>
<span class="pl-c1"> 4 | await page.goto("http://localhost:8080");</span>
> <span class="pl-s1">5 <span class="pl-k">|</span> await page.locator(<span class="pl-s"><span class="pl-pds">"</span>#theForceIsStrongWithThisOne<span class="pl-pds">"</span></span>).click({ timeout: 3000 })<span class="pl-k">;</span></span>
<span class="pl-c1"> | ^</span>
<span class="pl-c1"> 6 | });</span>
<span class="pl-c1"> at c:\Users\DannyCrone\repos\click-repro\tests\repro.spec.ts:5:54</span></pre></div>
<p dir="auto"><a href="https://github.com/microsoft/playwright/files/10354212/click-repro.zip">click-repro.zip</a></p>
<p dir="auto">This project contains a repro website to test against and 1 test</p>
<ul dir="auto">
<li>website is in the folder "website"</li>
<li>test is called "repro" in "repro.spec.ts"</li>
</ul>
<p dir="auto">In order to run the website so it renders the page correctly, I used http-server using the following command:</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="http-server website -c-1"><pre class="notranslate"><span class="pl-c1">http-server website -c-1</span></pre></div>
<p dir="auto">Also included it as an npm script:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "scripts": {
"start": "http-server website -c-1"
},"><pre class="notranslate"> <span class="pl-ent">"scripts"</span>: {
<span class="pl-ent">"start"</span>: <span class="pl-s"><span class="pl-pds">"</span>http-server website -c-1<span class="pl-pds">"</span></span>
},</pre></div>
<p dir="auto">Attached are the traces from chromium (failing) and webkit (passing):<br>
<a href="https://github.com/microsoft/playwright/files/10354167/chromiumtrace.zip">chromiumtrace.zip</a><br>
<a href="https://github.com/microsoft/playwright/files/10354168/webkittrace.zip">webkittrace.zip</a></p> | <h3 dir="auto">Your question</h3>
<p dir="auto">On a specific website playwright doesn't seem to find the location of elements accurately:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23338650/125783337-ed62a618-acbf-46e4-8e28-8f4eb75ae4e5.png"><img src="https://user-images.githubusercontent.com/23338650/125783337-ed62a618-acbf-46e4-8e28-8f4eb75ae4e5.png" alt="issue1" style="max-width: 100%;"></a></p>
<p dir="auto">In the above image I'm hovering over the button in the browser opened by codegen. The highlighted area does not match the element position, as seen on the screen or when hovering over the element definition in the Developer Tools:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23338650/125784412-29fabd3b-7615-4f57-9996-0df764fbb44b.png"><img src="https://user-images.githubusercontent.com/23338650/125784412-29fabd3b-7615-4f57-9996-0df764fbb44b.png" alt="issue2" style="max-width: 100%;"></a></p>
<p dir="auto">This behavior is causing some issues, with functions like elementHandle.screenshot() and page.click(). This issue happens on all elements on this page and scrolling on the page seems to affect the location determined by playwright relative to the actual location of the element. I'm looking for some insight into how this issue could be fixed or why is it occurring.</p>
<p dir="auto">Website I'm talking about: <a href="https://factura.vodafone.ro/" rel="nofollow">https://factura.vodafone.ro/</a></p> | 1 |
<p dir="auto">When root logger hijacking is disabled, it feels rather inappropriate to change the log level of the root logger...</p> | <p dir="auto">Hi there,</p>
<p dir="auto">I'm experiencing an issue similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="32412527" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/2016" data-hovercard-type="pull_request" data-hovercard-url="/celery/celery/pull/2016/hovercard" href="https://github.com/celery/celery/pull/2016">#2016</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="27362729" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/1867" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/1867/hovercard" href="https://github.com/celery/celery/issues/1867">#1867</a>, in that celery still hijacks the root logger despite setting <code class="notranslate">CELERYD_HIJACK_ROOT_LOGGER</code> to False (as read from <a href="http://celery.readthedocs.org/en/latest/configuration.html#celeryd-hijack-root-logger" rel="nofollow">http://celery.readthedocs.org/en/latest/configuration.html#celeryd-hijack-root-logger</a>). I use celery + Django for several projects and except for this wart, it's fantastic. What I really, really, need is a way to configure celery so that it does not attempt to configure logging <em>at all</em>. It's quite frustrating to try and work out why our custom crafted logging configuration works as expected for our web servers, but is completely wiped out for our task code - only to realize that celery itself is blowing away our logging configuration.</p>
<p dir="auto">In reading the previous issues related to this I seems that you are understandably reluctant to change the current behaviour of <code class="notranslate">CELERYD_HIJACK_ROOT_LOGGER</code> for compatibility reasons. Would you be open to a new setting? Something like <code class="notranslate">CELERYD_CONFIGURE_LOGGING=False</code>, that would cause celery to not attempt to configure logging at all. If you are open to it I'd be happy to contribute a PR with tests.</p>
<p dir="auto">Thanks!</p> | 1 |
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/53021413/71420997-346aa200-2689-11ea-838e-81ae22bf54ea.JPG"><img src="https://user-images.githubusercontent.com/53021413/71420997-346aa200-2689-11ea-838e-81ae22bf54ea.JPG" alt="123" style="max-width: 100%;"></a><br>
I would appreciate if you make a comeback here.</p> | <p dir="auto">The <a href="https://www.npmjs.com/package/@types/ssri" rel="nofollow">npm page for @types/ssri</a>, for example, incorrectly claims there is no README, even though when you install that package, there is a README. This is happening for all packages published by the Definitely Typed publisher to the <code class="notranslate">@types/</code> scope since June 20.</p>
<p dir="auto">Since Definitely Typed publishes a lot of packages, I was able to narrow the break down to the span between @types/[email protected]:"2020-06-19T06:34:23.672Z" and @types/[email protected]: "2020-06-20T19:36:22.490Z". Somewhere between the 19th and 20th packages stopped showing their READMEs.</p>
<p dir="auto">No code changes to our publisher happened in that time span, nor did a new version of the npm package get published.<br>
And the couch packages are very similar:</p>
<ul dir="auto">
<li><a href="http://registry.npmjs.org/@types/react-vis" rel="nofollow">http://registry.npmjs.org/@types/react-vis</a> (good)</li>
<li><a href="http://registry.npmjs.org/@types/ssri" rel="nofollow">http://registry.npmjs.org/@types/ssri</a> (bad)</li>
</ul>
<p dir="auto">Both jsons have a "readme" key with the readme contents, and a readmeFilename key that is just the empty string. When installed, both packages have near-identical READMEs. Even the order of the couch package keys is the same.</p>
<h3 dir="auto">Steps to Reproduce</h3>
<p dir="auto">Recreate the package structure published by <a href="https://github.com/microsoft/DefinitelyTyped-tools">https://github.com/microsoft/DefinitelyTyped-tools</a>: generate-packages.ts and package-publisher.ts are the interesting files. Let me know if this is needed and I can try to create a standalone repro. However, I'm mostly interested in having npm insiders</p>
<ol dir="auto">
<li>Look at the good-vs-bad couch packages for differences.</li>
<li>Check whether npm changed something related to README somewhere between June 19 and 20.</li>
</ol>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">README should be visible on the npmjs.com page.</p>
<h2 dir="auto">References</h2>
<ul dir="auto">
<li>Could be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="609241866" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/1221" data-hovercard-type="issue" data-hovercard-url="/npm/cli/issues/1221/hovercard" href="https://github.com/npm/cli/issues/1221">#1221</a>, except that it didn't start until much later, and we use the npm package to publish rather than the CLI.</li>
</ul> | 0 |
<p dir="auto">MAC OS x el capitan vscode upgrade to 0.10.5 cannot be used</p> | <p dir="auto">After update 0.10.5, VSCode crashes during startup.<br>
I deleted it once with AppCleaner, and <code class="notranslate">rm -rf ~/.vscode/</code>, it did not recover.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1060011/11910432/a7ebaad2-a639-11e5-881c-ef7fa2fb6584.png"><img src="https://cloud.githubusercontent.com/assets/1060011/11910432/a7ebaad2-a639-11e5-881c-ef7fa2fb6584.png" alt="2015-12-19 10 10 05" style="max-width: 100%;"></a></p>
<p dir="auto">MacOSX:10.11.1<br>
keyboard:JIS</p> | 1 |
<p dir="auto">It would be nice to be able to drag a tab out of the window and have it open in a new window rather then having to open a new window then drag the tab into the new window.</p>
<p dir="auto">I'm on Windows 8.1, not sure if this behavior is different on other OS.</p> | <p dir="auto">In many "tab" based products, you can grab a tab and "pop it out" to create a new window with that content. That would be awesome for atom when you want to windows side by side.</p> | 1 |
<h4 dir="auto">Description</h4>
<p dir="auto"><code class="notranslate">sklearn.utils.multiclass</code> <code class="notranslate">unique_labels()</code> does not yet allow <code class="notranslate">"multiclass-multioutput"</code> input type for <code class="notranslate">y</code> .<br>
See this comment in the code: </p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/scikit-learn/scikit-learn/blob/3a48f0ab7cf75dea55f313da6b33f7b6772d28af/sklearn/utils/multiclass.py#L53">scikit-learn/sklearn/utils/multiclass.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 53
in
<a data-pjax="true" class="commit-tease-sha" href="/scikit-learn/scikit-learn/commit/3a48f0ab7cf75dea55f313da6b33f7b6772d28af">3a48f0a</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="L53" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="53"></td>
<td id="LC53" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s"> At the moment, we also don't allow "multiclass-multioutput" input type.</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">This type is used by multilabel classifiers such as <code class="notranslate">sklearn.tree.DecisionTreeClassifier</code>.<br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/scikit-learn/scikit-learn/blob/4bba21659c68d65b4555ea86751aac1fab9fd8e4/sklearn/tree/tree.py#L763">scikit-learn/sklearn/tree/tree.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 763
in
<a data-pjax="true" class="commit-tease-sha" href="/scikit-learn/scikit-learn/commit/4bba21659c68d65b4555ea86751aac1fab9fd8e4">4bba216</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="L763" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="763"></td>
<td id="LC763" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s"> y : array-like, shape = [n_samples] or [n_samples, n_outputs]</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">So I propose to add support for this. At first glance, it doesn't appear to be difficult. Is there any reason not to to this?</p> | <p dir="auto">It looks to me like the decision trees use <code class="notranslate">accuracy_score</code> for their <code class="notranslate">score</code> but <code class="notranslate">accuracy_score</code> doesn't document that it's supporting <code class="notranslate">multiclass-multioutput</code> which the trees do.</p>
<p dir="auto"><del>I guess the <code class="notranslate">y_true == y_pred</code> works in this case, but it should be documented.<br>
There's no list of scores supporting multiclass-multioutput in the docs, and that should be fixed, too.</del></p>
<p dir="auto">Update:<br>
Calling <code class="notranslate">score</code> in this case errors :-/</p> | 1 |
<p dir="auto">I am running into an issue trying to run OLS using pandas 0.13.1.</p>
<p dir="auto">Here is a simple example: I want to regress a variable on itself, in this case excess returns. The intercept should be 0, and the coefficient should be 1. pandas provides the wrong estimates, while statsmodels gives the correct estimates.</p>
<p dir="auto">This is not due to the silly regression specification, as I have noticed the pandas.ols estimates are inconsistent for other specifications as well.</p>
<p dir="auto">Has anyone else encountered this problem?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
import statsmodels.formula.api
In [1]: pd.ols(y=test.exret,x=test.exret).beta
Out[1]:
x 0.003107
intercept 0.006438
dtype: float64
In [2]: sm.ols(formula="exret ~ exret", data=test).fit().params
Out[2]:
Intercept -3.469447e-18
exret 1.000000e+00
dtype: float64
In [3]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.11.0-19-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.13.1
Cython: 0.20.1
numpy: 1.8.0
scipy: 0.13.3
statsmodels: 0.5.0
IPython: 2.0.0-dev
sphinx: 1.2.1
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2013b
bottleneck: None
tables: 3.1.0
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.2
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: 0.5.2
sqlalchemy: 0.9.2
lxml: 3.3.1
bs4: 4.3.1
html5lib: None
bq: None
apiclient: None"><pre class="notranslate"><code class="notranslate">import pandas as pd
import statsmodels.formula.api
In [1]: pd.ols(y=test.exret,x=test.exret).beta
Out[1]:
x 0.003107
intercept 0.006438
dtype: float64
In [2]: sm.ols(formula="exret ~ exret", data=test).fit().params
Out[2]:
Intercept -3.469447e-18
exret 1.000000e+00
dtype: float64
In [3]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.11.0-19-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.13.1
Cython: 0.20.1
numpy: 1.8.0
scipy: 0.13.3
statsmodels: 0.5.0
IPython: 2.0.0-dev
sphinx: 1.2.1
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2013b
bottleneck: None
tables: 3.1.0
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.2
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: 0.5.2
sqlalchemy: 0.9.2
lxml: 3.3.1
bs4: 4.3.1
html5lib: None
bq: None
apiclient: None
</code></pre></div> | <p dir="auto">To get an auto-diff on a timeseries I do:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [47]: ts
Out[47]:
0 2011-04-16 00:00:00.025000
1 2011-04-16 00:00:00.152999
2 2011-04-16 00:00:00.280999
3 2011-04-16 00:00:00.409000
4 2011-04-16 00:00:00.537000
5 2011-04-16 00:00:00.665000
6 2011-04-16 00:00:00.792999
7 2011-04-16 00:00:00.921000
8 2011-04-16 00:00:01.049000
9 2011-04-16 00:00:01.177000
10 2011-04-16 00:00:01.297000
11 2011-04-16 00:00:01.424999
12 2011-04-16 00:00:01.552999
13 2011-04-16 00:00:01.680999
14 2011-04-16 00:00:01.809000
...
25646 2011-04-16 00:59:58.143001
25647 2011-04-16 00:59:58.270999
25648 2011-04-16 00:59:58.398998
25649 2011-04-16 00:59:58.527000
25650 2011-04-16 00:59:58.654998
25651 2011-04-16 00:59:58.783000
25652 2011-04-16 00:59:58.910999
25653 2011-04-16 00:59:59.039001
25654 2011-04-16 00:59:59.166999
25655 2011-04-16 00:59:59.294998
25656 2011-04-16 00:59:59.423000
25657 2011-04-16 00:59:59.550998
25658 2011-04-16 00:59:59.679000
25659 2011-04-16 00:59:59.806999
25660 2011-04-16 00:59:59.935001
Length: 25661, dtype: datetime64[ns]
In [48]: ts.diff()
Out[48]:
0 NaN
1 127999000
2 128000000
3 128001000
4 128000000
5 128000000
6 127999000
7 128001000
8 128000000
9 128000000
10 120000000
11 127999000
12 128000000
13 128000000
14 128001000
...
25646 128002000
25647 127998000
25648 127999000
25649 128002000
25650 127998000
25651 128002000
25652 127999000
25653 128002000
25654 127998000
25655 127999000
25656 128002000
25657 127998000
25658 128002000
25659 127999000
25660 128002000
Length: 25661, dtype: float64"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">47</span>]: <span class="pl-s1">ts</span>
<span class="pl-v">Out</span>[<span class="pl-c1">47</span>]:
<span class="pl-c1">0</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.025000</span>
<span class="pl-c1">1</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.152999</span>
<span class="pl-c1">2</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.280999</span>
<span class="pl-c1">3</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.409000</span>
<span class="pl-c1">4</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.537000</span>
<span class="pl-c1">5</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.665000</span>
<span class="pl-c1">6</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.792999</span>
<span class="pl-c1">7</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.921000</span>
<span class="pl-c1">8</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.049000</span>
<span class="pl-c1">9</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.177000</span>
<span class="pl-c1">10</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.297000</span>
<span class="pl-c1">11</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.424999</span>
<span class="pl-c1">12</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.552999</span>
<span class="pl-c1">13</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.680999</span>
<span class="pl-c1">14</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.809000</span>
...
<span class="pl-c1">25646</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">58.143001</span>
<span class="pl-c1">25647</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">58.270999</span>
<span class="pl-c1">25648</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">58.398998</span>
<span class="pl-c1">25649</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">58.527000</span>
<span class="pl-c1">25650</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">58.654998</span>
<span class="pl-c1">25651</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">58.783000</span>
<span class="pl-c1">25652</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">58.910999</span>
<span class="pl-c1">25653</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.039001</span>
<span class="pl-c1">25654</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.166999</span>
<span class="pl-c1">25655</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.294998</span>
<span class="pl-c1">25656</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.423000</span>
<span class="pl-c1">25657</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.550998</span>
<span class="pl-c1">25658</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.679000</span>
<span class="pl-c1">25659</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.806999</span>
<span class="pl-c1">25660</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">00</span>:<span class="pl-c1">59</span>:<span class="pl-c1">59.935001</span>
<span class="pl-v">Length</span>: <span class="pl-c1">25661</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>]
<span class="pl-v">In</span> [<span class="pl-c1">48</span>]: <span class="pl-s1">ts</span>.<span class="pl-en">diff</span>()
<span class="pl-v">Out</span>[<span class="pl-c1">48</span>]:
<span class="pl-c1">0</span> <span class="pl-v">NaN</span>
<span class="pl-c1">1</span> <span class="pl-c1">127999000</span>
<span class="pl-c1">2</span> <span class="pl-c1">128000000</span>
<span class="pl-c1">3</span> <span class="pl-c1">128001000</span>
<span class="pl-c1">4</span> <span class="pl-c1">128000000</span>
<span class="pl-c1">5</span> <span class="pl-c1">128000000</span>
<span class="pl-c1">6</span> <span class="pl-c1">127999000</span>
<span class="pl-c1">7</span> <span class="pl-c1">128001000</span>
<span class="pl-c1">8</span> <span class="pl-c1">128000000</span>
<span class="pl-c1">9</span> <span class="pl-c1">128000000</span>
<span class="pl-c1">10</span> <span class="pl-c1">120000000</span>
<span class="pl-c1">11</span> <span class="pl-c1">127999000</span>
<span class="pl-c1">12</span> <span class="pl-c1">128000000</span>
<span class="pl-c1">13</span> <span class="pl-c1">128000000</span>
<span class="pl-c1">14</span> <span class="pl-c1">128001000</span>
...
<span class="pl-c1">25646</span> <span class="pl-c1">128002000</span>
<span class="pl-c1">25647</span> <span class="pl-c1">127998000</span>
<span class="pl-c1">25648</span> <span class="pl-c1">127999000</span>
<span class="pl-c1">25649</span> <span class="pl-c1">128002000</span>
<span class="pl-c1">25650</span> <span class="pl-c1">127998000</span>
<span class="pl-c1">25651</span> <span class="pl-c1">128002000</span>
<span class="pl-c1">25652</span> <span class="pl-c1">127999000</span>
<span class="pl-c1">25653</span> <span class="pl-c1">128002000</span>
<span class="pl-c1">25654</span> <span class="pl-c1">127998000</span>
<span class="pl-c1">25655</span> <span class="pl-c1">127999000</span>
<span class="pl-c1">25656</span> <span class="pl-c1">128002000</span>
<span class="pl-c1">25657</span> <span class="pl-c1">127998000</span>
<span class="pl-c1">25658</span> <span class="pl-c1">128002000</span>
<span class="pl-c1">25659</span> <span class="pl-c1">127999000</span>
<span class="pl-c1">25660</span> <span class="pl-c1">128002000</span>
<span class="pl-v">Length</span>: <span class="pl-c1">25661</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">float64</span></pre></div>
<ol dir="auto">
<li>One thing would be nice if a diff on a time-series automatically becomes a timedelta?</li>
<li>When converting the result of the <code class="notranslate">ts.diff()</code> with astype('timedelta64[ns']) it should convert the NaN into a NaT, if I understand things correctly?<br>
Instead this happens and I have to cut off the NaN to make it work:</li>
</ol>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [49]: ts.diff().astype('timedelta[ns]')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-49-d1462d75fb33> in <module>()
----> 1 ts.diff().astype('timedelta[ns]')
/usr/local/epd/lib/python2.7/site-packages/pandas/core/series.pyc in astype(self, dtype)
830 See numpy.ndarray.astype
831 """
--> 832 casted = com._astype_nansafe(self.values, dtype)
833 return self._constructor(casted, index=self.index, name=self.name,
834 dtype=casted.dtype)
/usr/local/epd/lib/python2.7/site-packages/pandas/core/common.pyc in _astype_nansafe(arr, dtype, copy)
1361 """ return a view if copy is False """
1362 if not isinstance(dtype, np.dtype):
-> 1363 dtype = np.dtype(dtype)
1364
1365 if issubclass(arr.dtype.type, np.datetime64):
TypeError: data type not understood
In [50]: ts.diff().astype('timedelta64[ns]')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-50-e9c54d8f8d73> in <module>()
----> 1 ts.diff().astype('timedelta64[ns]')
/usr/local/epd/lib/python2.7/site-packages/pandas/core/series.pyc in astype(self, dtype)
830 See numpy.ndarray.astype
831 """
--> 832 casted = com._astype_nansafe(self.values, dtype)
833 return self._constructor(casted, index=self.index, name=self.name,
834 dtype=casted.dtype)
/usr/local/epd/lib/python2.7/site-packages/pandas/core/common.pyc in _astype_nansafe(arr, dtype, copy)
1370
1371 if np.isnan(arr).any():
-> 1372 raise ValueError('Cannot convert NA to integer')
1373 elif arr.dtype == np.object_ and np.issubdtype(dtype.type, np.integer):
1374 # work around NumPy brokenness, #1987
ValueError: Cannot convert NA to integer
In [51]: ts.diff()[1:].astype('timedelta64[ns]')
Out[51]:
1 00:00:00.127999
2 00:00:00.128000
3 00:00:00.128001
4 00:00:00.128000
5 00:00:00.128000
6 00:00:00.127999
7 00:00:00.128001
8 00:00:00.128000
9 00:00:00.128000
10 00:00:00.120000
11 00:00:00.127999
12 00:00:00.128000
13 00:00:00.128000
14 00:00:00.128001
15 00:00:00.128000
...
25646 00:00:00.128002
25647 00:00:00.127998
25648 00:00:00.127999
25649 00:00:00.128002
25650 00:00:00.127998
25651 00:00:00.128002
25652 00:00:00.127999
25653 00:00:00.128002
25654 00:00:00.127998
25655 00:00:00.127999
25656 00:00:00.128002
25657 00:00:00.127998
25658 00:00:00.128002
25659 00:00:00.127999
25660 00:00:00.128002
Length: 25660, dtype: timedelta64[ns]"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">49</span>]: <span class="pl-s1">ts</span>.<span class="pl-en">diff</span>().<span class="pl-en">astype</span>(<span class="pl-s">'timedelta[ns]'</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">TypeError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1"><</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">49</span><span class="pl-c1">-</span><span class="pl-s1">d1462d75fb33</span><span class="pl-c1">></span> <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1</span> <span class="pl-s1">ts</span>.<span class="pl-en">diff</span>().<span class="pl-en">astype</span>(<span class="pl-s">'timedelta[ns]'</span>)
<span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">local</span><span class="pl-c1">/</span><span class="pl-s1">epd</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">series</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">astype</span>(<span class="pl-s1">self</span>, <span class="pl-s1">dtype</span>)
<span class="pl-c1">830</span> <span class="pl-v">See</span> <span class="pl-s1">numpy</span>.<span class="pl-s1">ndarray</span>.<span class="pl-s1">astype</span>
<span class="pl-c1">831</span> <span class="pl-s">"""</span>
<span class="pl-s">--> 832 casted = com._astype_nansafe(self.values, dtype)</span>
<span class="pl-s"> 833 return self._constructor(casted, index=self.index, name=self.name,</span>
<span class="pl-s"> 834 dtype=casted.dtype)</span>
<span class="pl-s"></span>
<span class="pl-s">/usr/local/epd/lib/python2.7/site-packages/pandas/core/common.pyc in _astype_nansafe(arr, dtype, copy)</span>
<span class="pl-s"> 1361 """</span> <span class="pl-k">return</span> <span class="pl-s1">a</span> <span class="pl-s1">view</span> <span class="pl-k">if</span> <span class="pl-s1">copy</span> <span class="pl-c1">is</span> <span class="pl-c1">False</span> <span class="pl-s">"""</span>
<span class="pl-s"> 1362 if not isinstance(dtype, np.dtype):</span>
<span class="pl-s">-> 1363 dtype = np.dtype(dtype)</span>
<span class="pl-s"> 1364</span>
<span class="pl-s"> 1365 if issubclass(arr.dtype.type, np.datetime64):</span>
<span class="pl-s"></span>
<span class="pl-s">TypeError: data type not understood</span>
<span class="pl-s"></span>
<span class="pl-s">In [50]: ts.diff().astype('timedelta64[ns]')</span>
<span class="pl-s">---------------------------------------------------------------------------</span>
<span class="pl-s">ValueError Traceback (most recent call last)</span>
<span class="pl-s"><ipython-input-50-e9c54d8f8d73> in <module>()</span>
<span class="pl-s">----> 1 ts.diff().astype('timedelta64[ns]')</span>
<span class="pl-s"></span>
<span class="pl-s">/usr/local/epd/lib/python2.7/site-packages/pandas/core/series.pyc in astype(self, dtype)</span>
<span class="pl-s"> 830 See numpy.ndarray.astype</span>
<span class="pl-s"> 831 """</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">832</span> <span class="pl-s1">casted</span> <span class="pl-c1">=</span> <span class="pl-s1">com</span>.<span class="pl-en">_astype_nansafe</span>(<span class="pl-s1">self</span>.<span class="pl-s1">values</span>, <span class="pl-s1">dtype</span>)
<span class="pl-c1">833</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_constructor</span>(<span class="pl-s1">casted</span>, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">index</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">name</span>,
<span class="pl-c1">834</span> <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">casted</span>.<span class="pl-s1">dtype</span>)
<span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">local</span><span class="pl-c1">/</span><span class="pl-s1">epd</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">common</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_astype_nansafe</span>(<span class="pl-s1">arr</span>, <span class="pl-s1">dtype</span>, <span class="pl-s1">copy</span>)
<span class="pl-c1">1370</span>
<span class="pl-c1">1371</span> <span class="pl-k">if</span> <span class="pl-s1">np</span>.<span class="pl-en">isnan</span>(<span class="pl-s1">arr</span>).<span class="pl-en">any</span>():
<span class="pl-c1">-></span> <span class="pl-c1">1372</span> <span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">'Cannot convert NA to integer'</span>)
<span class="pl-c1">1373</span> <span class="pl-s1">elif</span> <span class="pl-s1">arr</span>.<span class="pl-s1">dtype</span> <span class="pl-c1">==</span> <span class="pl-s1">np</span>.<span class="pl-s1">object_</span> <span class="pl-c1">and</span> <span class="pl-s1">np</span>.<span class="pl-en">issubdtype</span>(<span class="pl-s1">dtype</span>.<span class="pl-s1">type</span>, <span class="pl-s1">np</span>.<span class="pl-s1">integer</span>):
<span class="pl-c1">1374</span> <span class="pl-c"># work around NumPy brokenness, #1987</span>
<span class="pl-v">ValueError</span>: <span class="pl-v">Cannot</span> <span class="pl-s1">convert</span> <span class="pl-v">NA</span> <span class="pl-s1">to</span> <span class="pl-s1">integer</span>
<span class="pl-v">In</span> [<span class="pl-c1">51</span>]: <span class="pl-s1">ts</span>.<span class="pl-en">diff</span>()[<span class="pl-c1">1</span>:].<span class="pl-en">astype</span>(<span class="pl-s">'timedelta64[ns]'</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">51</span>]:
<span class="pl-c1">1</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127999</span>
<span class="pl-c1">2</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
<span class="pl-c1">3</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128001</span>
<span class="pl-c1">4</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
<span class="pl-c1">5</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
<span class="pl-c1">6</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127999</span>
<span class="pl-c1">7</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128001</span>
<span class="pl-c1">8</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
<span class="pl-c1">9</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
<span class="pl-c1">10</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.120000</span>
<span class="pl-c1">11</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127999</span>
<span class="pl-c1">12</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
<span class="pl-c1">13</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
<span class="pl-c1">14</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128001</span>
<span class="pl-c1">15</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128000</span>
...
<span class="pl-c1">25646</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128002</span>
<span class="pl-c1">25647</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127998</span>
<span class="pl-c1">25648</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127999</span>
<span class="pl-c1">25649</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128002</span>
<span class="pl-c1">25650</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127998</span>
<span class="pl-c1">25651</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128002</span>
<span class="pl-c1">25652</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127999</span>
<span class="pl-c1">25653</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128002</span>
<span class="pl-c1">25654</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127998</span>
<span class="pl-c1">25655</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127999</span>
<span class="pl-c1">25656</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128002</span>
<span class="pl-c1">25657</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127998</span>
<span class="pl-c1">25658</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128002</span>
<span class="pl-c1">25659</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.127999</span>
<span class="pl-c1">25660</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.128002</span>
<span class="pl-v">Length</span>: <span class="pl-c1">25660</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">timedelta64</span>[<span class="pl-s1">ns</span>]</pre></div> | 0 |
<p dir="auto">(Consider this a feature request)</p>
<p dir="auto">This is most obvious when I do something simple like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<dl>
<dt>Your name</dt>
<dd>Eric</dd>
<dt>Timezone</dt>
<dd>Australia/Sydney</dd>
<dt>Created</dt>
<dd>Sunday, 23-Sep-12 22:46:40 UTC</dd>
</dl>
<div class="col-md-offset-2">
<a class="btn btn-default" href="edit">Edit your details</a>
<a class="btn btn-default" href="logout">Logout</a>
</div>"><pre class="notranslate"><code class="notranslate"><dl>
<dt>Your name</dt>
<dd>Eric</dd>
<dt>Timezone</dt>
<dd>Australia/Sydney</dd>
<dt>Created</dt>
<dd>Sunday, 23-Sep-12 22:46:40 UTC</dd>
</dl>
<div class="col-md-offset-2">
<a class="btn btn-default" href="edit">Edit your details</a>
<a class="btn btn-default" href="logout">Logout</a>
</div>
</code></pre></div>
<p dir="auto">1200 breakpoint:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/2a28a33e4cd70bef99469358678893128be25217498d0d5e13b5f06f08b10634/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323630353436372f313430373333392f34323139323664382d336436612d313165332d386436642d3734656133663066303866382e706e67"><img src="https://camo.githubusercontent.com/2a28a33e4cd70bef99469358678893128be25217498d0d5e13b5f06f08b10634/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323630353436372f313430373333392f34323139323664382d336436612d313165332d386436642d3734656133663066303866382e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/2605467/1407339/421926d8-3d6a-11e3-8d6d-74ea3f0f08f8.png" style="max-width: 100%;"></a></p>
<p dir="auto">992 breakpoint:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/a6bbb08158b377aea1fbb83a19f3710ad6c9b47b9bff32d9d591a2e30d4bb85a/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323630353436372f313430373333382f33303638646432612d336436612d313165332d396437372d3131383265656237313364342e706e67"><img src="https://camo.githubusercontent.com/a6bbb08158b377aea1fbb83a19f3710ad6c9b47b9bff32d9d591a2e30d4bb85a/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323630353436372f313430373333382f33303638646432612d336436612d313165332d396437372d3131383265656237313364342e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/2605467/1407338/3068dd2a-3d6a-11e3-9d77-1182eeb713d4.png" style="max-width: 100%;"></a></p>
<p dir="auto">768 breakpoint:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/939bfce472a5d5acb2532f20d909cb97d718e21a19231c564b52a9f13467e61d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323630353436372f313430373333342f31643137326564652d336436612d313165332d393464612d3932333661643730383032382e706e67"><img src="https://camo.githubusercontent.com/939bfce472a5d5acb2532f20d909cb97d718e21a19231c564b52a9f13467e61d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323630353436372f313430373333342f31643137326564652d336436612d313165332d393464612d3932333661643730383032382e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/2605467/1407334/1d172ede-3d6a-11e3-94da-9236ad708028.png" style="max-width: 100%;"></a></p>
<p dir="auto">I've got the result I want by doing the following in my site css (but this only works right with full width containers)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@media (min-width: 768px) {
.dl-horizontal dt {
width: 90px;
}
.dl-horizontal dd {
margin-left: 111px;
padding-left: 15px !important;
}
}
@media (min-width: 992px) {
.dl-horizontal dt {
width: 126px;
}
.dl-horizontal dd {
margin-left: 146px;
}
}
@media (min-width: 1200px) {
.dl-horizontal dt {
width: 160px;
}
.dl-horizontal dd {
margin-left: 180px;
}
}"><pre class="notranslate"><code class="notranslate">@media (min-width: 768px) {
.dl-horizontal dt {
width: 90px;
}
.dl-horizontal dd {
margin-left: 111px;
padding-left: 15px !important;
}
}
@media (min-width: 992px) {
.dl-horizontal dt {
width: 126px;
}
.dl-horizontal dd {
margin-left: 146px;
}
}
@media (min-width: 1200px) {
.dl-horizontal dt {
width: 160px;
}
.dl-horizontal dd {
margin-left: 180px;
}
}
</code></pre></div> | <p dir="auto">It would be great if it was possible to align description lists with the grid system. I have a description list and below a grid and I would like the left and right columns to match.</p>
<p dir="auto">The columns currently don't match, because:</p>
<ul dir="auto">
<li>dt has a fixed width of 160px</li>
<li>grid columns have dynamic widths</li>
<li>dd has a fixed left padding of 20px</li>
<li>grid columns have a padding of 30px by default</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Some text
<dt> item 1 | <dd> Description
<dt> item 2 | <dd> Description
<dt> item 3 | <dd> Description
Horizontal form, using a 3:9 grid
Field 1 label | Field 1
Field 2 label | Field 2
Field 3 label | Field 3
^--^
both the column start and the
column padding are different"><pre class="notranslate"><code class="notranslate">Some text
<dt> item 1 | <dd> Description
<dt> item 2 | <dd> Description
<dt> item 3 | <dd> Description
Horizontal form, using a 3:9 grid
Field 1 label | Field 1
Field 2 label | Field 2
Field 3 label | Field 3
^--^
both the column start and the
column padding are different
</code></pre></div> | 1 |
<p dir="auto">You need first "pip install incremental" due to a misspelling in the lines for the installation of dependencies.</p> | <p dir="auto">sudo pip3 install Scrapy -i <a href="https://pypi.douban.com/simple" rel="nofollow">https://pypi.douban.com/simple</a><br>
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-s3504tu6/Twisted/</p>
<p dir="auto">so I use sudo pip3 install Scrapy -i <a href="https://pypi.douban.com/simple" rel="nofollow">https://pypi.douban.com/simple</a> but failed again.<br>
Please give me some advices, Thank you so much</p> | 1 |
<p dir="auto">Latest update: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="301837861" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/15072" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/15072/hovercard?comment_id=898202823&comment_type=issue_comment" href="https://github.com/flutter/flutter/issues/15072#issuecomment-898202823">#15072 (comment)</a></p>
<hr>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">connect iPhone via usb<br>
Open xcode -> window -> devices & Simulators -> select correct device and enable connect via network<br>
Network Symbol is shown in the list to the left<br>
disconnect iPhone</p>
<p dir="auto">Android Studio shows devices but if you try to run it it is in an endless waiting loop without visual indication</p>
<p dir="auto">If you then connect the devices via USB it continues on</p>
<h2 dir="auto">Logs</h2>
<p dir="auto"><a href="https://gist.github.com/phumberdroz/9700d43d2bc9f5e510bebc6dab9b509c">https://gist.github.com/phumberdroz/9700d43d2bc9f5e510bebc6dab9b509c</a></p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.1.5 at /Users/phumberdroz/flutter
• Framework revision 3ea4d06340 (8 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/phumberdroz/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
[✓] VS Code (version 1.20.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.9.2
[✓] Connected devices (2 available)
• Pierre’s iPhone • ec754a5c0607923df2a99ccd051938e0045dee6b • ios • iOS 11.2.6
• iPhone 7 • 5001A557-2FB6-49EB-8C5C-ABC8396F19E9 • ios • iOS 11.2 (simulator)
• No issues found!
> For more information about diagnosing and reporting Flutter bugs, please see [https://flutter.io/bug-reports/](https://flutter.io/bug-reports/)."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.1.5 at /Users/phumberdroz/flutter
• Framework revision 3ea4d06340 (8 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/phumberdroz/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
[✓] VS Code (version 1.20.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.9.2
[✓] Connected devices (2 available)
• Pierre’s iPhone • ec754a5c0607923df2a99ccd051938e0045dee6b • ios • iOS 11.2.6
• iPhone 7 • 5001A557-2FB6-49EB-8C5C-ABC8396F19E9 • ios • iOS 11.2 (simulator)
• No issues found!
> For more information about diagnosing and reporting Flutter bugs, please see [https://flutter.io/bug-reports/](https://flutter.io/bug-reports/).
</code></pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>All you have to do is just scroll down towards the bottom into the green Containers section and then begin scrolling up.</li>
<li>At this point the Container skipping/lagging should occur.</li>
</ol>
<p dir="auto"><strong>More info:</strong></p>
<p dir="auto"><strong><a href="https://gist.github.com/daniilgrodskiy/d0eced8926d3a67624c66f25b75edb3c">Code</a></strong></p>
<p dir="auto">For some reason, my StreamBuilder skips a whole Container whenever I try scrolling up. However, it only starts skipping Containers when I start scrolling up from a certain point in my Firestore stream. Maybe like 2000 or so pixels down? Either way, the important aspect is that this does not NOT happen when I put a normal container in the same scenario-only with StreamBuilders. This only issue only happens when I put it inside a CustomScrollView. (See video below)</p>
<p dir="auto">This whole thing occurred after I was trying to wrap my StreamBuilder in a Column/ListView so that I could put other Containers above the Stream Containers. Wrapping it in a Column/ListView didn't work because in a Column, the other container would not scroll down with the rest of the stream. In a ListView, the StreamBuilder had its own scrolling system that was separate.</p>
<p dir="auto">Basically, my goal is to have one big list of widgets that scroll. There will be some at the top that will be separate from the ones that came from the Firestore (which will be at the bottom). Upon clicking on one of those Firestore Containers, I would be taken to another page.</p>
<p dir="auto">This is the closest I've gotten to getting my goal, but if there's another way, I'd love to hear it.</p>
<hr>
<p dir="auto">Video: <strong>Only the GREEN Containers are from the Firestore StreamBuilder. NOT the red or blue ones.</strong><br>
<a href="https://youtu.be/jOo08oLhZP8" rel="nofollow">https://youtu.be/jOo08oLhZP8</a></p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +41 ms] [/Users/daniilgrodskiy/Downloads/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +41 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git rev-parse --abbrev-ref HEAD
[ +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git ls-remote --get-url origin
[ +10 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git log -n 1 --pretty=format:%H
[ +87 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 8c02b8f889d1012c4e1c74e8e8df919f64d9e0a0
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git log -n 1 --pretty=format:%ar
[ +17 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 3 days ago
[ +1 ms] [/Users/daniilgrodskiy/Downloads/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +212 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ +2 ms] v0.5.7-241-g8c02b8f88
[ +182 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +176 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ ] 3.1
[ +573 ms] /Users/daniilgrodskiy/Library/Android/sdk/platform-tools/adb devices -l
[ +20 ms] Exit code 0 from: /Users/daniilgrodskiy/Library/Android/sdk/platform-tools/adbdevices -l
[ ] List of devices attached
[ +5 ms] idevice_id -h
[ +324 ms] /usr/bin/xcrun simctl list --json devices
[ +238 ms] Found plugin cloud_firestore at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.4/
[ +15 ms] Found plugin firebase_auth at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.15/
[ +2 ms] Found plugin firebase_core at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.2.5/
[ +26 ms] Found plugin google_sign_in at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-3.0.4/
[+1910 ms] Launching lib/main.dart on iPhone 8 in debug mode...
[ +2 ms] /usr/bin/defaults read /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner/Info CFBundleIdentifier
[ +107 ms] Exit code 0 from: /usr/bin/defaults read /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner/Info CFBundleIdentifier
[ ] $(PRODUCT_BUNDLE_IDENTIFIER)
[ +1 ms] [ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner.xcodeproj -target Runner -showBuildSettings
[+4066 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 = daniilgrodskiy
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
BUILD_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
CACHE_ROOT = /var/folders/w1/hh83rhcs36b8cbfxh_w2h6j40000gp/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode
CCHROOT = /var/folders/w1/hh83rhcs36b8cbfxh_w2h6j40000gp/C/com.apple.DeveloperTools/9.4.1-9F2000/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Release
CONFIGURATION_BUILD_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
CONFIGURATION_TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/iPhoneSimulator11.4.sdk
CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator11.4
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_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
DERIVED_FILES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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
DEVELOPMENT_TEAM = 42J33NVA88
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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_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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_BUILD_NAME = 1.0.0
FLUTTER_BUILD_NUMBER = 1
FLUTTER_FRAMEWORK_DIR = /Users/daniilgrodskiy/Downloads/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/daniilgrodskiy/Downloads/flutter
FLUTTER_TARGET = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/../.symlinks/flutter/ios" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/GoogleSignIn/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/../.symlinks/flutter/ios" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/GoogleSignIn/Frameworks" /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 COCOAPODS=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=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
HEADER_SEARCH_PATHS = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Firebase/CoreOnly/Sources "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase""/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore""/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb" /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Firebase/CoreOnly/Sources "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb"
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/daniilgrodskiy
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 = daniilgrodskiy
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/cloud_firestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/nanopb" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/cloud_firestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/nanopb" /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 = 18A336e
MAC_OS_X_VERSION_ACTUAL = 101400
MAC_OS_X_VERSION_MAJOR = 101400
MAC_OS_X_VERSION_MINOR = 1400
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/Runner.app
MODULE_CACHE_DIR = /Users/daniilgrodskiy/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal
OBJROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
ONLY_ACTIVE_ARCH = NO
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core"-isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb"
OTHER_CPLUSPLUSFLAGS = -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb"
OTHER_LDFLAGS = -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_auth" -l"firebase_core" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"leveldb-library" -l"nanopb" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_auth" -l"firebase_core" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"leveldb-library" -l"nanopb" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/daniilgrodskiy/Downloads/flutter/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 = 15F79
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
PODS_PODFILE_DIR_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/.
PODS_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PREVIEW_DART_2 = true
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.example.spanishGrammarAppFlutter
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/DerivedSources
PROJECT_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios
PROJECT_FILE_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build
PROJECT_TEMP_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/iPhoneOS11.4.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk
SDK_DIR_iphoneos11_4 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk
SDK_NAME = iphoneos11.4
SDK_NAMES = iphoneos11.4
SDK_PRODUCT_BUILD_VERSION = 15F79
SDK_VERSION = 11.4
SDK_VERSION_ACTUAL = 110400
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 400
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/SharedPrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios
SRCROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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_PLATFORM_TARGET_PREFIX = ios
SYMROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILE_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 502
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = daniilgrodskiy
USER_APPS_DIR = /Users/daniilgrodskiy/Applications
USER_LIBRARY_DIR = /Users/daniilgrodskiy/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 = daniilgrodskiy
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 = 9F2000
XCODE_VERSION_ACTUAL = 0941
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0940
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = arm64
variant = normal
[ +25 ms] Building Runner.app for C6EFCBCB-4C11-416E-876E-66492D2C6B39.
[ +10 ms] script /dev/null /usr/bin/log stream --style syslog --predicate processImagePath CONTAINS "C6EFCBCB-4C11-416E-876E-66492D2C6B39"
[ +56 ms] [DEVICE LOG] Filtering the log data using "processImagePath CONTAINS "C6EFCBCB-4C11-416E-876E-66492D2C6B39""
[ +216 ms] Skipping kernel compilation. Fingerprint match.
[ +380 ms] Building bundle
[ +1 ms] Writing asset files to build/flutter_assets
[ +103 ms] Wrote build/flutter_assets
[ +1 ms] /usr/bin/xcrun simctl get_app_container C6EFCBCB-4C11-416E-876E-66492D2C6B39 com.example.spanishGrammarAppFlutter
[ +2 ms] /usr/bin/killall Runner
[ +256 ms] /usr/bin/xcrun simctl launch C6EFCBCB-4C11-416E-876E-66492D2C6B39 com.example.spanishGrammarAppFlutter --enable-dart-profiling --enable-checked-mode --observatory-port=0
[ +326 ms] com.example.spanishGrammarAppFlutter: 14817
[ +1 ms] Waiting for observatory port to be available...
[+1614 ms] [DEVICE LOG] Timestamp (process)[PID]
[ ] [DEVICE LOG] 2018-08-07 23:43:11.702306-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b10, Description: Loading Preferences From System CFPrefsD For Search List
[ +22 ms] [DEVICE LOG] 2018-08-07 23:43:11.725845-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b11, Description: Loading Preferences From System CFPrefsD For Search List
[ +50 ms] [DEVICE LOG] 2018-08-07 23:43:11.777266-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b12, Description: Loading Preferences From System CFPrefsD For Search List
[ +27 ms] [DEVICE LOG] 2018-08-07 23:43:11.804954-0400 localhost Runner[14817]: (libAccessibility.dylib) [com.apple.Accessibility:AccessibilitySupport] Retrieving resting unlock: 0
[ +174 ms] [DEVICE LOG] 2018-08-07 23:43:11.979910-0400 localhost Runner[14817]: (UIKit)You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
[ ] [DEVICE LOG] 2018-08-07 23:43:11.980083-0400 localhost Runner[14817]: (UIKit)You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of yoursupported UIBackgroundModes in your Info.plist.
[ ] [DEVICE LOG] 2018-08-07 23:43:11.980788-0400 localhost Runner[14817]: 5.1.0 -[Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
[ ] 5.1.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet beenconfigured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:11.982272-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b13, Description: Loading Preferences From System CFPrefsD For Search List
[ ] [DEVICE LOG] 2018-08-07 23:43:11.982981-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b14, Description: Loading Preferences From System CFPrefsD For Search List
[ +4 ms] [DEVICE LOG] 2018-08-07 23:43:11.989816-0400 localhost Runner[14817]: 5.1.0 -[Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
[ ] 5.1.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
[ +1 ms] [DEVICE LOG] 2018-08-07 23:43:11.991180-0400 localhost Runner[14817]: 5.1.0 -[Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
[ ] 5.1.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
[ +12 ms] [DEVICE LOG] 2018-08-07 23:43:11.998615-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b15, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:11.999478-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b16, Description: SecItemDelete_ios
[ +1 ms] [DEVICE LOG] 2018-08-07 23:43:12.001943-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b17, Description: Loading Preferences From System CFPrefsD For Search List
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:12.002526-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b18, Description: SecItemAdd_ios
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:12.002631-0400 localhost Runner[14817]: (CFNetwork) Faulting in NSHTTPCookieStorage singleton
[ ] [DEVICE LOG] 2018-08-07 23:43:12.002668-0400 localhost Runner[14817]: (CFNetwork) Faulting in CFHTTPCookieStorage singleton
[ ] [DEVICE LOG] 2018-08-07 23:43:12.002726-0400 localhost Runner[14817]: (CFNetwork) Creating default cookie storage with process/bundle identifier
[ ] [DEVICE LOG] 2018-08-07 23:43:12.003628-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b19, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.004312-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1a, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.004737-0400 localhost Runner[14817]: (CFNetwork) TIC Enabling TLS [1:0x604000172840]
[ ] [DEVICE LOG] 2018-08-07 23:43:12.006359-0400 localhost Runner[14817]: (CFNetwork) TIC TCP Conn Start [1:0x604000172840]
[ ] [DEVICE LOG] 2018-08-07 23:43:12.006981-0400 localhost Runner[14817]: (CFNetwork) Task <598D01CF-C5B8-453D-9B03-6F653C06C2B5>.<1> setting up Connection 1
[ ] [DEVICE LOG] 2018-08-07 23:43:12.007148-0400 localhost Runner[14817]: (libnetwork.dylib) [com.apple.network:] [1 play.googleapis.com:443 stream, pid: 14817, tls] start
[ ] [DEVICE LOG] 2018-08-07 23:43:12.009655-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1b, Description: SecItemDelete_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.011263-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1c, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.011916-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1d, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.013619-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1e, Description: SecItemCopyMatching_ios
[ +27 ms] [DEVICE LOG] 2018-08-07 23:43:12.043350-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b1f, Description: Sending Updated Preferences to SystemCFPrefsD
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:12.046939-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b60, Description: Loading Preferences From System CFPrefsD For Search List
[ +2 ms] [DEVICE LOG] 2018-08-07 23:43:12.049303-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b61, Description: Sending Updated Preferences to SystemCFPrefsD
[ +14 ms] [DEVICE LOG] 2018-08-07 23:43:12.062046-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 1, Pending(0)
[ +25 ms] [DEVICE LOG] 2018-08-07 23:43:12.089168-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b62, Description: SecItemCopyMatching_ios
[ +2 ms] [DEVICE LOG] 2018-08-07 23:43:12.091460-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b63, Description: Sending Updated Preferences to SystemCFPrefsD
[ +1 ms] [DEVICE LOG] 2018-08-07 23:43:12.092445-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b64, Description: Sending Updated Preferences to SystemCFPrefsD
[ +9 ms] [DEVICE LOG] 2018-08-07 23:43:12.101910-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 2, Pending(0)
[ +5 ms] [DEVICE LOG] 2018-08-07 23:43:12.105681-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 11, Pending(0)
[ ] [DEVICE LOG] 2018-08-07 23:43:12.106348-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 12, Pending(0)
[ ] [DEVICE LOG] 2018-08-07 23:43:12.106391-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 14, Pending(0)
[ +7 ms] [DEVICE LOG] 2018-08-07 23:43:12.115700-0400 localhost Runner[14817]: (Flutter) flutter: Observatory listening on http://127.0.0.1:60191/
[ +8 ms] Error waiting for a debug connection: FormatException: Invalid character (at character 25)
http://127.0.0.1:60191/
^
[ +1 ms] Error launching application on iPhone 8.
[ +19 ms] "flutter run" took 11,015ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:414:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:348:18)
#3 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9 Future._complete (dart:async/future_impl.dart:476:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:292:13)
#13 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#15 _rootRunUnary (dart:async/zone.dart:1132:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20 Future._complete (dart:async/future_impl.dart:476:7)
#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#23 _rootRun (dart:async/zone.dart:1124:13)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:113:13)
#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:166:5)"><pre class="notranslate"><code class="notranslate">[ +41 ms] [/Users/daniilgrodskiy/Downloads/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +41 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git rev-parse --abbrev-ref HEAD
[ +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git ls-remote --get-url origin
[ +10 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git log -n 1 --pretty=format:%H
[ +87 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 8c02b8f889d1012c4e1c74e8e8df919f64d9e0a0
[ ] [/Users/daniilgrodskiy/Downloads/flutter/] git log -n 1 --pretty=format:%ar
[ +17 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 3 days ago
[ +1 ms] [/Users/daniilgrodskiy/Downloads/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +212 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ +2 ms] v0.5.7-241-g8c02b8f88
[ +182 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +176 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ ] 3.1
[ +573 ms] /Users/daniilgrodskiy/Library/Android/sdk/platform-tools/adb devices -l
[ +20 ms] Exit code 0 from: /Users/daniilgrodskiy/Library/Android/sdk/platform-tools/adbdevices -l
[ ] List of devices attached
[ +5 ms] idevice_id -h
[ +324 ms] /usr/bin/xcrun simctl list --json devices
[ +238 ms] Found plugin cloud_firestore at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.4/
[ +15 ms] Found plugin firebase_auth at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.15/
[ +2 ms] Found plugin firebase_core at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.2.5/
[ +26 ms] Found plugin google_sign_in at /Users/daniilgrodskiy/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-3.0.4/
[+1910 ms] Launching lib/main.dart on iPhone 8 in debug mode...
[ +2 ms] /usr/bin/defaults read /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner/Info CFBundleIdentifier
[ +107 ms] Exit code 0 from: /usr/bin/defaults read /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner/Info CFBundleIdentifier
[ ] $(PRODUCT_BUNDLE_IDENTIFIER)
[ +1 ms] [ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner.xcodeproj -target Runner -showBuildSettings
[+4066 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 = daniilgrodskiy
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
BUILD_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
CACHE_ROOT = /var/folders/w1/hh83rhcs36b8cbfxh_w2h6j40000gp/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode
CCHROOT = /var/folders/w1/hh83rhcs36b8cbfxh_w2h6j40000gp/C/com.apple.DeveloperTools/9.4.1-9F2000/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Release
CONFIGURATION_BUILD_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
CONFIGURATION_TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/iPhoneSimulator11.4.sdk
CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator11.4
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_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
DERIVED_FILES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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
DEVELOPMENT_TEAM = 42J33NVA88
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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_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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_BUILD_NAME = 1.0.0
FLUTTER_BUILD_NUMBER = 1
FLUTTER_FRAMEWORK_DIR = /Users/daniilgrodskiy/Downloads/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/daniilgrodskiy/Downloads/flutter
FLUTTER_TARGET = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/../.symlinks/flutter/ios" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/GoogleSignIn/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/../.symlinks/flutter/ios" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/GoogleSignIn/Frameworks" /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 COCOAPODS=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=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
HEADER_SEARCH_PATHS = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Firebase/CoreOnly/Sources "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase""/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore""/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb" /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Firebase/CoreOnly/Sources "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb"
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/daniilgrodskiy
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 = daniilgrodskiy
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/cloud_firestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/nanopb" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/BoringSSL" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseAuth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseCore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseDatabase" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/FirebaseFirestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMOAuth2" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GTMSessionFetcher" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/GoogleToolboxForMac" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/Protobuf" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/cloud_firestore" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_auth" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/firebase_core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-Core" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-ProtoRPC" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/gRPC-RxLibrary" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/google_sign_in" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/leveldb-library" "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/nanopb" /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 = 18A336e
MAC_OS_X_VERSION_ACTUAL = 101400
MAC_OS_X_VERSION_MAJOR = 101400
MAC_OS_X_VERSION_MINOR = 1400
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/Runner.app
MODULE_CACHE_DIR = /Users/daniilgrodskiy/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal
OBJROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
ONLY_ACTIVE_ARCH = NO
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core"-isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb"
OTHER_CPLUSPLUSFLAGS = -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods/Headers/Public/nanopb"
OTHER_LDFLAGS = -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_auth" -l"firebase_core" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"leveldb-library" -l"nanopb" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_auth" -l"firebase_core" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"leveldb-library" -l"nanopb" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/daniilgrodskiy/Downloads/flutter/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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 = 15F79
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
PODS_PODFILE_DIR_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/.
PODS_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PREVIEW_DART_2 = true
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.example.spanishGrammarAppFlutter
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/DerivedSources
PROJECT_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios
PROJECT_FILE_PATH = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build
PROJECT_TEMP_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/iPhoneOS11.4.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk
SDK_DIR_iphoneos11_4 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk
SDK_NAME = iphoneos11.4
SDK_NAMES = iphoneos11.4
SDK_PRODUCT_BUILD_VERSION = 15F79
SDK_VERSION = 11.4
SDK_VERSION_ACTUAL = 110400
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 400
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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/SharedPrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/ios
SRCROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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_PLATFORM_TARGET_PREFIX = ios
SYMROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/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/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Release-iphoneos
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILES_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILE_DIR = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_ROOT = /Users/daniilgrodskiy/Desktop/FlutterApps/spanish_grammar_app_flutter/build/ios
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 502
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = daniilgrodskiy
USER_APPS_DIR = /Users/daniilgrodskiy/Applications
USER_LIBRARY_DIR = /Users/daniilgrodskiy/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 = daniilgrodskiy
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 = 9F2000
XCODE_VERSION_ACTUAL = 0941
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0940
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = arm64
variant = normal
[ +25 ms] Building Runner.app for C6EFCBCB-4C11-416E-876E-66492D2C6B39.
[ +10 ms] script /dev/null /usr/bin/log stream --style syslog --predicate processImagePath CONTAINS "C6EFCBCB-4C11-416E-876E-66492D2C6B39"
[ +56 ms] [DEVICE LOG] Filtering the log data using "processImagePath CONTAINS "C6EFCBCB-4C11-416E-876E-66492D2C6B39""
[ +216 ms] Skipping kernel compilation. Fingerprint match.
[ +380 ms] Building bundle
[ +1 ms] Writing asset files to build/flutter_assets
[ +103 ms] Wrote build/flutter_assets
[ +1 ms] /usr/bin/xcrun simctl get_app_container C6EFCBCB-4C11-416E-876E-66492D2C6B39 com.example.spanishGrammarAppFlutter
[ +2 ms] /usr/bin/killall Runner
[ +256 ms] /usr/bin/xcrun simctl launch C6EFCBCB-4C11-416E-876E-66492D2C6B39 com.example.spanishGrammarAppFlutter --enable-dart-profiling --enable-checked-mode --observatory-port=0
[ +326 ms] com.example.spanishGrammarAppFlutter: 14817
[ +1 ms] Waiting for observatory port to be available...
[+1614 ms] [DEVICE LOG] Timestamp (process)[PID]
[ ] [DEVICE LOG] 2018-08-07 23:43:11.702306-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b10, Description: Loading Preferences From System CFPrefsD For Search List
[ +22 ms] [DEVICE LOG] 2018-08-07 23:43:11.725845-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b11, Description: Loading Preferences From System CFPrefsD For Search List
[ +50 ms] [DEVICE LOG] 2018-08-07 23:43:11.777266-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b12, Description: Loading Preferences From System CFPrefsD For Search List
[ +27 ms] [DEVICE LOG] 2018-08-07 23:43:11.804954-0400 localhost Runner[14817]: (libAccessibility.dylib) [com.apple.Accessibility:AccessibilitySupport] Retrieving resting unlock: 0
[ +174 ms] [DEVICE LOG] 2018-08-07 23:43:11.979910-0400 localhost Runner[14817]: (UIKit)You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
[ ] [DEVICE LOG] 2018-08-07 23:43:11.980083-0400 localhost Runner[14817]: (UIKit)You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of yoursupported UIBackgroundModes in your Info.plist.
[ ] [DEVICE LOG] 2018-08-07 23:43:11.980788-0400 localhost Runner[14817]: 5.1.0 -[Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
[ ] 5.1.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet beenconfigured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:11.982272-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b13, Description: Loading Preferences From System CFPrefsD For Search List
[ ] [DEVICE LOG] 2018-08-07 23:43:11.982981-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b14, Description: Loading Preferences From System CFPrefsD For Search List
[ +4 ms] [DEVICE LOG] 2018-08-07 23:43:11.989816-0400 localhost Runner[14817]: 5.1.0 -[Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
[ ] 5.1.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
[ +1 ms] [DEVICE LOG] 2018-08-07 23:43:11.991180-0400 localhost Runner[14817]: 5.1.0 -[Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
[ ] 5.1.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
[ +12 ms] [DEVICE LOG] 2018-08-07 23:43:11.998615-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b15, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:11.999478-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b16, Description: SecItemDelete_ios
[ +1 ms] [DEVICE LOG] 2018-08-07 23:43:12.001943-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b17, Description: Loading Preferences From System CFPrefsD For Search List
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:12.002526-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b18, Description: SecItemAdd_ios
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:12.002631-0400 localhost Runner[14817]: (CFNetwork) Faulting in NSHTTPCookieStorage singleton
[ ] [DEVICE LOG] 2018-08-07 23:43:12.002668-0400 localhost Runner[14817]: (CFNetwork) Faulting in CFHTTPCookieStorage singleton
[ ] [DEVICE LOG] 2018-08-07 23:43:12.002726-0400 localhost Runner[14817]: (CFNetwork) Creating default cookie storage with process/bundle identifier
[ ] [DEVICE LOG] 2018-08-07 23:43:12.003628-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b19, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.004312-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1a, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.004737-0400 localhost Runner[14817]: (CFNetwork) TIC Enabling TLS [1:0x604000172840]
[ ] [DEVICE LOG] 2018-08-07 23:43:12.006359-0400 localhost Runner[14817]: (CFNetwork) TIC TCP Conn Start [1:0x604000172840]
[ ] [DEVICE LOG] 2018-08-07 23:43:12.006981-0400 localhost Runner[14817]: (CFNetwork) Task <598D01CF-C5B8-453D-9B03-6F653C06C2B5>.<1> setting up Connection 1
[ ] [DEVICE LOG] 2018-08-07 23:43:12.007148-0400 localhost Runner[14817]: (libnetwork.dylib) [com.apple.network:] [1 play.googleapis.com:443 stream, pid: 14817, tls] start
[ ] [DEVICE LOG] 2018-08-07 23:43:12.009655-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1b, Description: SecItemDelete_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.011263-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1c, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.011916-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1d, Description: SecItemCopyMatching_ios
[ ] [DEVICE LOG] 2018-08-07 23:43:12.013619-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b1e, Description: SecItemCopyMatching_ios
[ +27 ms] [DEVICE LOG] 2018-08-07 23:43:12.043350-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b1f, Description: Sending Updated Preferences to SystemCFPrefsD
[ +3 ms] [DEVICE LOG] 2018-08-07 23:43:12.046939-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b60, Description: Loading Preferences From System CFPrefsD For Search List
[ +2 ms] [DEVICE LOG] 2018-08-07 23:43:12.049303-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b61, Description: Sending Updated Preferences to SystemCFPrefsD
[ +14 ms] [DEVICE LOG] 2018-08-07 23:43:12.062046-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 1, Pending(0)
[ +25 ms] [DEVICE LOG] 2018-08-07 23:43:12.089168-0400 localhost Runner[14817]: (Security) Created Activity ID: 0x40b62, Description: SecItemCopyMatching_ios
[ +2 ms] [DEVICE LOG] 2018-08-07 23:43:12.091460-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b63, Description: Sending Updated Preferences to SystemCFPrefsD
[ +1 ms] [DEVICE LOG] 2018-08-07 23:43:12.092445-0400 localhost Runner[14817]: (CoreFoundation) Created Activity ID: 0x40b64, Description: Sending Updated Preferences to SystemCFPrefsD
[ +9 ms] [DEVICE LOG] 2018-08-07 23:43:12.101910-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 2, Pending(0)
[ +5 ms] [DEVICE LOG] 2018-08-07 23:43:12.105681-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 11, Pending(0)
[ ] [DEVICE LOG] 2018-08-07 23:43:12.106348-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 12, Pending(0)
[ ] [DEVICE LOG] 2018-08-07 23:43:12.106391-0400 localhost Runner[14817]: (CFNetwork) TIC TLS Event [1:0x604000172840]: 14, Pending(0)
[ +7 ms] [DEVICE LOG] 2018-08-07 23:43:12.115700-0400 localhost Runner[14817]: (Flutter) flutter: Observatory listening on http://127.0.0.1:60191/
[ +8 ms] Error waiting for a debug connection: FormatException: Invalid character (at character 25)
http://127.0.0.1:60191/
^
[ +1 ms] Error launching application on iPhone 8.
[ +19 ms] "flutter run" took 11,015ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:414:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:348:18)
#3 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9 Future._complete (dart:async/future_impl.dart:476:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:292:13)
#13 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#15 _rootRunUnary (dart:async/zone.dart:1132:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20 Future._complete (dart:async/future_impl.dart:476:7)
#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#23 _rootRun (dart:async/zone.dart:1124:13)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:113:13)
#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:166:5)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="✓] Flutter (Channel master, v0.5.8-pre.241, on Mac OS X 10.14 18A336e, locale en-US)
• Flutter version 0.5.8-pre.241 at /Users/daniilgrodskiy/Downloads/flutter
• Framework revision 8c02b8f889 (3 days ago), 2018-08-04 21:06:56 +0200
• Engine revision 4893b0760d
• Dart version 2.0.0-dev.69.5.flutter-8bad5c7b29
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/daniilgrodskiy/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 23.2.2
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[!] IntelliJ IDEA Community Edition (version 2017.3.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 173.4127.31
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[✓] Connected devices (1 available)
• iPhone 8 • C6EFCBCB-4C11-416E-876E-66492D2C6B39 • ios • iOS 11.4 (simulator)
! Doctor found issues in 2 categories."><pre class="notranslate"><code class="notranslate">✓] Flutter (Channel master, v0.5.8-pre.241, on Mac OS X 10.14 18A336e, locale en-US)
• Flutter version 0.5.8-pre.241 at /Users/daniilgrodskiy/Downloads/flutter
• Framework revision 8c02b8f889 (3 days ago), 2018-08-04 21:06:56 +0200
• Engine revision 4893b0760d
• Dart version 2.0.0-dev.69.5.flutter-8bad5c7b29
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/daniilgrodskiy/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 23.2.2
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[!] IntelliJ IDEA Community Edition (version 2017.3.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 173.4127.31
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[✓] Connected devices (1 available)
• iPhone 8 • C6EFCBCB-4C11-416E-876E-66492D2C6B39 • ios • iOS 11.4 (simulator)
! Doctor found issues in 2 categories.
</code></pre></div> | 0 |
<p dir="auto">im using glide:3.7.0.<br>
i want to create one folder of cache up to 150mb for specific purpose,and other folder will be for general purposes. ( prefer not to download files to storage on my own unless i have to)<br>
what i actually want to achieve is that specific images must be available offline and their size should not be more than 150 mb.<br>
thanks.</p> | <p dir="auto">Sometimes we need to load image for center inside, but I have not found this method!</p>
<p dir="auto">Can add method for center inside?</p> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version: 0.2.1715"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version: 0.2.1715
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open WSL tab.</li>
<li>Press enter until prompt/cursor are on last line.</li>
<li>Resize the window to be narrower.</li>
</ol>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11667451/59968266-33975e80-94f4-11e9-9bec-6e87de332c15.png"><img src="https://user-images.githubusercontent.com/11667451/59968266-33975e80-94f4-11e9-9bec-6e87de332c15.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/11667451/59968272-49a51f00-94f4-11e9-84c1-41d26bfede48.png"><img src="https://user-images.githubusercontent.com/11667451/59968272-49a51f00-94f4-11e9-84c1-41d26bfede48.png" alt="image" style="max-width: 100%;"></a></p> | <h1 dir="auto">(short) Description of the new feature/enhancement</h1>
<p dir="auto"><strong>Problem</strong>: Some users don't need/like a window title bar with min/max/close buttons and view these default UI elements as a minor design flaw/waste of screen real estate. Same for an empty tab bar with e.g. add-tab button. Likewise for the window resizing borders (these take to space, but needlessly change the mouse cursor)<br>
<strong>Proposed solution</strong>: Please add an user configuration option to completely remove all of thse elements:<br>
1-2) the title bar itself AND min/max/close buttons (currently I can only remove the title bar, but leave the buttons with the <code class="notranslate">"showTabsInTitlebar": true</code><br>
3) window resize borders (so that hovering over the window border would do nothing)<br>
<strong>Ideal result</strong>: only tabs are visible above the terminal window, nothing extra (no title/tab bars)<br>
<strong>User benefit</strong>: no unnecessary window elements are visible</p>
<h1 dir="auto">(longer) Description</h1>
<p dir="auto">I'm never using the default Window controls as there are way more convenient ways to:</p>
<ul dir="auto">
<li>resize: instead of trying to precision-target the little right window border to make the window wider I just <kbd>Win</kbd><kbd>RMB</kbd> in the general right area of the window and then move my mouse left/right to change the window's width (thanks, <a href="https://stefansundin.github.io/altdrag/" rel="nofollow">AltDrag</a>)</li>
<li>move: <kbd>Win</kbd>+Mouse</li>
<li>minimize/maximize: use mouse gestures, e.g. <kbd>RMB</kbd><kbd>↑</kbd> to maximize (thanks, <a href="https://www.strokesplus.net/" rel="nofollow">StrokesPlus)</a></li>
<li>close: any convenient keyboard shortcut, e.g. <kbd>Ctrl</kbd><kbd>Q</kbd></li>
</ul>
<p dir="auto">As a result, I consider the default min/max/close buttons in the title bar as well as the title bar itself as well as the empty tab bar to be a waste of space. Also, moving a mouse pointer over the window borders changes its icon, which is not ideal as that's a useless signal to me</p>
<p dir="auto">While I'm able to <strong>partially</strong> fix it with a script to remove the <strong>WS_Caption</strong> (0x00C00000) and <strong>WS_SizeBox</strong> (0x00040000) window properties (thanks, <a href="https://www.autohotkey.com/" rel="nofollow">AutoHotkey</a>), I thought that you could support such visual no title/tab bar/no borders modifications natively given the advanced features you plan for it</p> | 0 |
<p dir="auto">For example: <a href="https://github.com/6to5/6to5/tree/master/lib/6to5/transformation/transformers/es6-generators">https://github.com/6to5/6to5/tree/master/lib/6to5/transformation/transformers/es6-generators</a></p>
<p dir="auto">You're effectively forking the code, and making it much more difficult for you to incorporate updates quickly (or contribute changes upstream). It's unclear what version of Regenerator these files even represent. I don't understand the benefit you imagine this has for 6to5 or any of its contributing libraries. This isn't how open source should work!</p>
<p dir="auto">Sorry for the alarmist tone, but this is a real problem. I'm happy to work with you to make Regenerator easier to use as an NPM package.</p>
<p dir="auto">Thanks.</p> | <p dir="auto">We currently - now after jest has been landed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="301067338" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/7455" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/7455/hovercard" href="https://github.com/babel/babel/pull/7455">#7455</a> - have a mix of different assertion methods in tests.</p>
<ul dir="auto">
<li>There is <code class="notranslate">chai</code> in use.</li>
<li>There is <code class="notranslate">assert</code> in use.</li>
<li>There is jests <code class="notranslate">expect</code> in use.</li>
</ul>
<p dir="auto">The first two should be removed and rewritten to make use of <code class="notranslate">expect</code> which comes with jest.</p>
<p dir="auto">so for example</p>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="-import chai from "chai";
-import assert from "assert";
-
-chai.expect(actualCode).to.be.equal("var fn;");
+expect(actualCode).toBe("var fn;")
-assert.strictEqual(this.constructor, Bar);
+expect(this.constructor).toBe(Bar)"><pre class="notranslate"><span class="pl-md"><span class="pl-md">-</span>import chai from "chai";</span>
<span class="pl-md"><span class="pl-md">-</span>import assert from "assert";</span>
<span class="pl-md"><span class="pl-md">-</span></span>
<span class="pl-md"><span class="pl-md">-</span>chai.expect(actualCode).to.be.equal("var fn;");</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>expect(actualCode).toBe("var fn;")</span>
<span class="pl-md"><span class="pl-md">-</span>assert.strictEqual(this.constructor, Bar);</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>expect(this.constructor).toBe(Bar)</span></pre></div>
<p dir="auto">The jest matchers should be used as good as possible, so for example not <code class="notranslate">expect(x >= 3).toBe(true)</code> but instead <code class="notranslate">expect(x).toBeGreaterThanOrEqual(3)</code></p>
<p dir="auto">The doc of jests matchers is here: <a href="https://facebook.github.io/jest/docs/en/expect.html" rel="nofollow">https://facebook.github.io/jest/docs/en/expect.html</a></p>
<p dir="auto">As we have a lot of tests split up in a lot of packages this task can also be split up and only one/some package(s) at a time be migrated.</p> | 0 |
<p dir="auto">I used my set of data to plot a streamplot using matplotlib 1.4.3</p>
<p dir="auto">the data range is from 0 to 1, grid points are equally spaced (except near corners which is dx/2 & dy/2)<br>
the generated streamlines are correct but it seems that the whole streamplot is somehow scaled,, the range is shown to be from 0 to 0.5 instead of 0 to 1.</p>
<p dir="auto">Here is my python code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
import matplotlib.pyplot as plt
import linecache
str = linecache.getline("./result.dat", 2)
[n_x, n_y] = [int(s) for s in str.split() if s.isdigit()]
[X, Y, P, U, V] = np.genfromtxt("./result.dat", skip_header=2, unpack=True)
X = X.reshape(n_x,n_y)
Y = Y.reshape(n_x,n_y)
U = U.reshape(n_x,n_y)
V = V.reshape(n_x,n_y)
plt.streamplot(X, Y, U, V,color=U, linewidth=.6)
plt.colorbar()
plt.show()"><pre class="notranslate"><code class="notranslate">import numpy as np
import matplotlib.pyplot as plt
import linecache
str = linecache.getline("./result.dat", 2)
[n_x, n_y] = [int(s) for s in str.split() if s.isdigit()]
[X, Y, P, U, V] = np.genfromtxt("./result.dat", skip_header=2, unpack=True)
X = X.reshape(n_x,n_y)
Y = Y.reshape(n_x,n_y)
U = U.reshape(n_x,n_y)
V = V.reshape(n_x,n_y)
plt.streamplot(X, Y, U, V,color=U, linewidth=.6)
plt.colorbar()
plt.show()
</code></pre></div>
<p dir="auto">and here is my data file called "result.dat":</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" VARIABLES = "Xp", "Yp", "P", "Up", "Vp"
ZONE I= 6 , J= 6 , F=POINT
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
0.12500000 0.00000000 0.00000000 0.00000000 0.00000000
0.37500000 0.00000000 0.00000000 0.00000000 0.00000000
0.62500000 0.00000000 0.00000000 0.00000000 0.00000000
0.87500000 0.00000000 0.00000000 0.00000000 0.00000000
1.00000000 0.00000000 0.00000000 0.00000000 0.00000000
0.00000000 0.12500000 0.00000000 0.00000000 0.00000000
0.12500000 0.12500000 0.00000000 -0.00163538 0.00163537
0.37500000 0.12500000 0.00271924 -0.00390620 0.00063544
0.62500000 0.12500000 0.00654694 -0.00391532 -0.00062633
0.87500000 0.12500000 0.00931612 -0.00164449 -0.00164449
1.00000000 0.12500000 0.00000000 0.00000000 0.00000000
0.00000000 0.37500000 0.00000000 0.00000000 0.00000000
0.12500000 0.37500000 -0.00274526 -0.00271282 0.00598356
0.37500000 0.37500000 0.00165029 -0.00629836 0.00214359
0.62500000 0.37500000 0.00754400 -0.00632485 -0.00209888
0.87500000 0.37500000 0.01205898 -0.00273931 -0.00602829
1.00000000 0.37500000 0.00000000 0.00000000 0.00000000
0.00000000 0.62500000 0.00000000 0.00000000 0.00000000
0.12500000 0.62500000 -0.01019055 -0.00543907 0.01413544
0.37500000 0.62500000 -0.00096611 -0.01172831 0.00386647
0.62500000 0.62500000 0.00987021 -0.01171517 -0.00380840
0.87500000 0.62500000 0.01944773 -0.00542593 -0.01419353
1.00000000 0.62500000 0.00000000 0.00000000 0.00000000
0.00000000 0.87500000 0.00000000 0.00000000 0.00000000
0.12500000 0.87500000 -0.02733655 0.00978724 0.00978725
0.37500000 0.87500000 -0.00486621 0.02193280 0.00235832
0.62500000 0.87500000 0.01378493 0.02195528 -0.00233585
0.87500000 0.87500000 0.03680858 0.00980972 -0.00980973
1.00000000 0.87500000 0.00000000 0.00000000 0.00000000
0.00000000 1.00000000 0.00000000 1.00000000 0.00000000
0.12500000 1.00000000 0.00000000 1.00000000 0.00000000
0.37500000 1.00000000 0.00000000 1.00000000 0.00000000
0.62500000 1.00000000 0.00000000 1.00000000 0.00000000
0.87500000 1.00000000 0.00000000 1.00000000 0.00000000
1.00000000 1.00000000 0.00000000 1.00000000 0.00000000"><pre class="notranslate"><code class="notranslate"> VARIABLES = "Xp", "Yp", "P", "Up", "Vp"
ZONE I= 6 , J= 6 , F=POINT
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
0.12500000 0.00000000 0.00000000 0.00000000 0.00000000
0.37500000 0.00000000 0.00000000 0.00000000 0.00000000
0.62500000 0.00000000 0.00000000 0.00000000 0.00000000
0.87500000 0.00000000 0.00000000 0.00000000 0.00000000
1.00000000 0.00000000 0.00000000 0.00000000 0.00000000
0.00000000 0.12500000 0.00000000 0.00000000 0.00000000
0.12500000 0.12500000 0.00000000 -0.00163538 0.00163537
0.37500000 0.12500000 0.00271924 -0.00390620 0.00063544
0.62500000 0.12500000 0.00654694 -0.00391532 -0.00062633
0.87500000 0.12500000 0.00931612 -0.00164449 -0.00164449
1.00000000 0.12500000 0.00000000 0.00000000 0.00000000
0.00000000 0.37500000 0.00000000 0.00000000 0.00000000
0.12500000 0.37500000 -0.00274526 -0.00271282 0.00598356
0.37500000 0.37500000 0.00165029 -0.00629836 0.00214359
0.62500000 0.37500000 0.00754400 -0.00632485 -0.00209888
0.87500000 0.37500000 0.01205898 -0.00273931 -0.00602829
1.00000000 0.37500000 0.00000000 0.00000000 0.00000000
0.00000000 0.62500000 0.00000000 0.00000000 0.00000000
0.12500000 0.62500000 -0.01019055 -0.00543907 0.01413544
0.37500000 0.62500000 -0.00096611 -0.01172831 0.00386647
0.62500000 0.62500000 0.00987021 -0.01171517 -0.00380840
0.87500000 0.62500000 0.01944773 -0.00542593 -0.01419353
1.00000000 0.62500000 0.00000000 0.00000000 0.00000000
0.00000000 0.87500000 0.00000000 0.00000000 0.00000000
0.12500000 0.87500000 -0.02733655 0.00978724 0.00978725
0.37500000 0.87500000 -0.00486621 0.02193280 0.00235832
0.62500000 0.87500000 0.01378493 0.02195528 -0.00233585
0.87500000 0.87500000 0.03680858 0.00980972 -0.00980973
1.00000000 0.87500000 0.00000000 0.00000000 0.00000000
0.00000000 1.00000000 0.00000000 1.00000000 0.00000000
0.12500000 1.00000000 0.00000000 1.00000000 0.00000000
0.37500000 1.00000000 0.00000000 1.00000000 0.00000000
0.62500000 1.00000000 0.00000000 1.00000000 0.00000000
0.87500000 1.00000000 0.00000000 1.00000000 0.00000000
1.00000000 1.00000000 0.00000000 1.00000000 0.00000000
</code></pre></div>
<p dir="auto">Result:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10244293/6277731/7f82d768-b8a6-11e4-9da4-167ac4833982.png"><img src="https://cloud.githubusercontent.com/assets/10244293/6277731/7f82d768-b8a6-11e4-9da4-167ac4833982.png" alt="figure_1" style="max-width: 100%;"></a></p>
<p dir="auto">Thanks</p> | <p dir="auto">Are there any plans to support streamplotting data on irregular grids?</p>
<p dir="auto">Currently, the streamplot documentations states:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Draws streamlines of a vector flow.
x, y : 1d arrays
an evenly spaced grid."><pre class="notranslate"><code class="notranslate">Draws streamlines of a vector flow.
x, y : 1d arrays
an evenly spaced grid.
</code></pre></div>
<p dir="auto">If my data is on an irregular grid, I currently have to interpolate to an evenly spaced grid before I can create a streamplot. This becomes a problem when the data is very large and interpolating takes a long time.</p>
<p dir="auto">To add more roadbloacks, my x and y values are 2D arrays. Are there plans to support 2D x and ys as input to the streamplot?</p>
<p dir="auto">(cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pp-mo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pp-mo">@pp-mo</a> for reference)</p> | 1 |
<h3 dir="auto">Description</h3>
<p dir="auto">I wrote my custom download middleware, which makes the request to my service(it lives on a different domain than a requested domain). After I receive a response from my service I replace URL in <code class="notranslate">response.url</code> and <code class="notranslate">response.request.url</code> to the original URL. But the issue is in <code class="notranslate">parse</code> function the URL in the <code class="notranslate">response.request</code> object is the URL from request to my service.</p>
<h3 dir="auto">Steps to Reproduce</h3>
<ol dir="auto">
<li>Original URL - <a href="http://example.com/some_page" rel="nofollow">http://example.com/some_page</a></li>
<li>URL of the cache request - http://my_service.com/?url=<a href="http://example.com/some_page" rel="nofollow">http://example.com/some_page</a></li>
<li>I replace the URL in middleware for <code class="notranslate">request</code> and <code class="notranslate">response</code> from step 2 to step 1</li>
<li>In <code class="notranslate">parse</code> function <code class="notranslate">response.url</code> is correct but <code class="notranslate">request.url</code> is from step 2</li>
</ol>
<p dir="auto"><strong>Expected behavior:</strong> request URL will be correct</p>
<p dir="auto"><strong>Actual behavior:</strong> request URL isn't correct</p>
<p dir="auto"><strong>Reproduces how often:</strong> each time</p>
<h3 dir="auto">Versions</h3>
<p dir="auto">1.8.0 - 2.1.0</p>
<h3 dir="auto">Additional context</h3>
<p dir="auto">Here is the code of my middleware</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class MyServiceDownloaderMiddleware:
def process_request(self, request, spider):
if request.meta.get('__service_search') or request.meta.get('__service_action'):
return None
elif request.url.startswith(spider.eligible_url):
qs = {
'url': request.url,
}
request.meta['__service_search'] = True
request.meta['__original_url'] = request.url
new_request = request.replace(url=f'https://my_service.com/?{urlencode(qs)}')
return new_request
return None
def process_response(self, request, response, spider):
if request.meta.get('__service_action'):
request = request.replace(url=request.meta['__original_url'])
response = response.replace(url=request.meta['__original_url'], request=request)
return response
elif request.meta.get('__service_search'):
b_attribute = response.css('div.b_attr:attr(u)').extract_first()
if not b_attribute:
request = request.replace(url=request.meta['__original_url'])
request.meta.pop('__original_url')
request.meta.pop('__service_search')
response = response.replace(status=404, url=request.meta['__original_url'], request=request)
return response
_, _, d, w = b_attribute.split('|')
qs = {
'q': request.meta['__original_url'],
'd': d,
'w': w,
}
url = f'https://my_service.com/action/?{urlencode(qs)}'
new_request = request.replace(url=url)
new_request.meta['__service_action'] = True
return new_request
return response"><pre class="notranslate"><code class="notranslate">class MyServiceDownloaderMiddleware:
def process_request(self, request, spider):
if request.meta.get('__service_search') or request.meta.get('__service_action'):
return None
elif request.url.startswith(spider.eligible_url):
qs = {
'url': request.url,
}
request.meta['__service_search'] = True
request.meta['__original_url'] = request.url
new_request = request.replace(url=f'https://my_service.com/?{urlencode(qs)}')
return new_request
return None
def process_response(self, request, response, spider):
if request.meta.get('__service_action'):
request = request.replace(url=request.meta['__original_url'])
response = response.replace(url=request.meta['__original_url'], request=request)
return response
elif request.meta.get('__service_search'):
b_attribute = response.css('div.b_attr:attr(u)').extract_first()
if not b_attribute:
request = request.replace(url=request.meta['__original_url'])
request.meta.pop('__original_url')
request.meta.pop('__service_search')
response = response.replace(status=404, url=request.meta['__original_url'], request=request)
return response
_, _, d, w = b_attribute.split('|')
qs = {
'q': request.meta['__original_url'],
'd': d,
'w': w,
}
url = f'https://my_service.com/action/?{urlencode(qs)}'
new_request = request.replace(url=url)
new_request.meta['__service_action'] = True
return new_request
return response
</code></pre></div> | <h2 dir="auto">Summary</h2>
<p dir="auto">Currently requests are bound to responses in <a href="https://github.com/scrapy/scrapy/blob/2.1.0/scrapy/core/engine.py#L247">the engine</a> and/or in <a href="https://github.com/scrapy/scrapy/blob/2.1.0/scrapy/core/scraper.py#L149">the scraper</a>.<br>
I would like to start a conversation to figure out the implications of binding them only if the <code class="notranslate">response.request</code> attribute is not already set, i.e. something like this:</p>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="diff --git scrapy/core/engine.py scrapy/core/engine.py
index 77d71846..72f1628a 100644
--- scrapy/core/engine.py
+++ scrapy/core/engine.py
@@ -244,7 +244,8 @@ class ExecutionEngine:
% (type(response), response)
)
if isinstance(response, Response):
- response.request = request # tie request to response received
+ if response.request is None:
+ response.request = request
logkws = self.logformatter.crawled(request, response, spider)
if logkws is not None:
logger.log(*logformatter_adapter(logkws), extra={'spider': spider})
diff --git scrapy/core/scraper.py scrapy/core/scraper.py
index edbb4dd6..256935da 100644
--- scrapy/core/scraper.py
+++ scrapy/core/scraper.py
@@ -146,7 +146,8 @@ class Scraper:
self._log_download_errors, request_result, request, spider)
def call_spider(self, result, request, spider):
- result.request = request
+ if not hasattr(result, "request") or result.request is None:
+ result.request = request
dfd = defer_result(result)
callback = request.callback or spider.parse
warn_on_generator_with_return_value(spider, callback)"><pre class="notranslate"><span class="pl-c1">diff --git scrapy/core/engine.py scrapy/core/engine.py</span>
index 77d71846..72f1628a 100644
<span class="pl-md">--- scrapy/core/engine.py</span>
<span class="pl-mi1">+++ scrapy/core/engine.py</span>
<span class="pl-mdr">@@ -244,7 +244,8 @@</span> class ExecutionEngine:
% (type(response), response)
)
if isinstance(response, Response):
<span class="pl-md"><span class="pl-md">-</span> response.request = request # tie request to response received</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> if response.request is None:</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> response.request = request</span>
logkws = self.logformatter.crawled(request, response, spider)
if logkws is not None:
logger.log(*logformatter_adapter(logkws), extra={'spider': spider})
<span class="pl-c1">diff --git scrapy/core/scraper.py scrapy/core/scraper.py</span>
index edbb4dd6..256935da 100644
<span class="pl-md">--- scrapy/core/scraper.py</span>
<span class="pl-mi1">+++ scrapy/core/scraper.py</span>
<span class="pl-mdr">@@ -146,7 +146,8 @@</span> class Scraper:
self._log_download_errors, request_result, request, spider)
def call_spider(self, result, request, spider):
<span class="pl-md"><span class="pl-md">-</span> result.request = request</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> if not hasattr(result, "request") or result.request is None:</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> result.request = request</span>
dfd = defer_result(result)
callback = request.callback or spider.parse
warn_on_generator_with_return_value(spider, callback)</pre></div>
<h2 dir="auto">Motivation</h2>
<p dir="auto">Recently I've been working on a downloader middleware to transparently redirect requests to a service which takes an URL and returns its response body along with some other metadata. The <code class="notranslate">process_request</code> method replaces the URL, and the <code class="notranslate">process_response</code> decodes the response body and creates a new response, making it look like it came directly from the target website, not from the download service. At this point, I'd like to be able to restore the original request as well, but any request I return in the <code class="notranslate">Response.request</code> attribute gets overridden.</p>
<h2 dir="auto">Describe alternatives you've considered</h2>
<p dir="auto">ATM I don't see a way to modify this behaviour without altering the Scrapy core.</p> | 1 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</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/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</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/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</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/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23412453" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/1700" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/1700/hovercard" href="https://github.com/celery/celery/issues/1700">#1700</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="97109603" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/2725" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/2725/hovercard" href="https://github.com/celery/celery/issues/2725">#2725</a></li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 4.4.2/master (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/20b7a808398b7b865651a5cf0fd7aa2b74be3a4b/hovercard" href="https://github.com/celery/celery/commit/20b7a808398b7b865651a5cf0fd7aa2b74be3a4b"><tt>20b7a80</tt></a>)</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="developer@b7825f7f6305:~/celery$ celery -A tasks report
software -> celery:4.4.2 (cliffs) kombu:4.6.8 py:3.8.0
billiard:3.6.3.0 py-amqp:2.5.2
platform -> system:Linux arch:64bit, ELF
kernel version:3.10.0-957.el7.x86_64 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:db+sqlite:///results.sqlite
broker_url: 'amqp://guest:********@rabbit:5672//'
result_backend: 'db+sqlite:///results.sqlite'"><pre class="notranslate"><code class="notranslate">developer@b7825f7f6305:~/celery$ celery -A tasks report
software -> celery:4.4.2 (cliffs) kombu:4.6.8 py:3.8.0
billiard:3.6.3.0 py-amqp:2.5.2
platform -> system:Linux arch:64bit, ELF
kernel version:3.10.0-957.el7.x86_64 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:db+sqlite:///results.sqlite
broker_url: 'amqp://guest:********@rabbit:5672//'
result_backend: 'db+sqlite:///results.sqlite'
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="alabaster==0.7.12
amqp==2.5.2
appdirs==1.4.3
attrs==19.3.0
aws-xray-sdk==0.95
azure-common==1.1.5
azure-nspkg==3.0.2
azure-storage==0.36.0
azure-storage-common==1.1.0
azure-storage-nspkg==3.1.0
Babel==2.8.0
basho-erlastic==2.1.1
billiard==3.6.3.0
boto==2.49.0
boto3==1.12.37
botocore==1.15.37
bumpversion==0.5.3
case==1.5.3
cassandra-driver==3.23.0
-e git+https://github.com/celery/celery.git@20b7a808398b7b865651a5cf0fd7aa2b74be3a4b#egg=celery
certifi==2020.4.5.1
cffi==1.14.0
cfgv==3.1.0
chardet==3.0.4
click==7.1.1
codecov==2.0.22
couchbase==2.5.11
coverage==5.0.4
cryptography==2.9
DateTime==4.3
distlib==0.3.0
dnspython==1.16.0
docker==4.2.0
docutils==0.16
ecdsa==0.15
elasticsearch==7.6.0
entrypoints==0.3
ephem==3.7.7.1
eventlet==0.25.1
filelock==3.0.12
flake8==3.7.9
flakeplus==1.1.0
future==0.18.2
geomet==0.1.2
gevent==1.4.0
greenlet==0.4.15
identify==1.4.14
idna==2.9
imagesize==1.2.0
Jinja2==2.11.1
jmespath==0.9.5
jsondiff==1.1.1
jsonpickle==1.3
kombu==4.6.8
linecache2==1.0.0
MarkupSafe==1.1.1
mccabe==0.6.1
mock==4.0.2
monotonic==1.5
more-itertools==8.2.0
moto==1.3.7
msgpack==1.0.0
nodeenv==1.3.5
nose==1.3.7
packaging==20.3
pluggy==0.13.1
pre-commit==2.2.0
py==1.8.1
pyaml==20.4.0
pyArango==1.3.4
pycodestyle==2.5.0
pycouchdb==1.14.1
pycparser==2.20
pycryptodome==3.9.7
pycurl==7.43.0.5
pydocstyle==1.1.1
pydocumentdb==2.3.2
pyflakes==2.1.1
Pygments==2.6.1
pylibmc==1.6.1
pymongo==3.10.1
pyparsing==2.4.7
pytest==5.3.4
pytest-cov==2.8.1
pytest-rerunfailures==9.0
pytest-sugar==0.9.2
pytest-travis-fold==1.3.0
python-consul==1.1.0
python-dateutil==2.8.1
python-jose==2.0.2
python-memcached==1.59
python3-protobuf==2.5.0
pytz==2019.3
PyYAML==5.3.1
redis==3.4.1
requests==2.23.0
responses==0.10.12
riak==2.7.0
s3transfer==0.3.3
simplejson==3.17.0
six==1.14.0
snowballstemmer==2.0.0
softlayer-messaging==1.0.3
Sphinx==1.8.5
sphinx-celery==1.4.6
sphinx-testing==0.7.2
sphinx2rst==1.1.0
sphinxcontrib-websupport==1.2.1
SQLAlchemy==1.3.15
tblib==1.6.0
termcolor==1.1.0
toml==0.10.0
tox==3.14.6
traceback2==1.4.0
Unipath==1.1
unittest2==1.1.0
urllib3==1.25.8
vine==1.3.0
virtualenv==20.0.16
wcwidth==0.1.9
websocket-client==0.57.0
Werkzeug==1.0.1
wrapt==1.12.1
xmltodict==0.12.0
zope.interface==5.0.2"><pre class="notranslate"><code class="notranslate">alabaster==0.7.12
amqp==2.5.2
appdirs==1.4.3
attrs==19.3.0
aws-xray-sdk==0.95
azure-common==1.1.5
azure-nspkg==3.0.2
azure-storage==0.36.0
azure-storage-common==1.1.0
azure-storage-nspkg==3.1.0
Babel==2.8.0
basho-erlastic==2.1.1
billiard==3.6.3.0
boto==2.49.0
boto3==1.12.37
botocore==1.15.37
bumpversion==0.5.3
case==1.5.3
cassandra-driver==3.23.0
-e git+https://github.com/celery/celery.git@20b7a808398b7b865651a5cf0fd7aa2b74be3a4b#egg=celery
certifi==2020.4.5.1
cffi==1.14.0
cfgv==3.1.0
chardet==3.0.4
click==7.1.1
codecov==2.0.22
couchbase==2.5.11
coverage==5.0.4
cryptography==2.9
DateTime==4.3
distlib==0.3.0
dnspython==1.16.0
docker==4.2.0
docutils==0.16
ecdsa==0.15
elasticsearch==7.6.0
entrypoints==0.3
ephem==3.7.7.1
eventlet==0.25.1
filelock==3.0.12
flake8==3.7.9
flakeplus==1.1.0
future==0.18.2
geomet==0.1.2
gevent==1.4.0
greenlet==0.4.15
identify==1.4.14
idna==2.9
imagesize==1.2.0
Jinja2==2.11.1
jmespath==0.9.5
jsondiff==1.1.1
jsonpickle==1.3
kombu==4.6.8
linecache2==1.0.0
MarkupSafe==1.1.1
mccabe==0.6.1
mock==4.0.2
monotonic==1.5
more-itertools==8.2.0
moto==1.3.7
msgpack==1.0.0
nodeenv==1.3.5
nose==1.3.7
packaging==20.3
pluggy==0.13.1
pre-commit==2.2.0
py==1.8.1
pyaml==20.4.0
pyArango==1.3.4
pycodestyle==2.5.0
pycouchdb==1.14.1
pycparser==2.20
pycryptodome==3.9.7
pycurl==7.43.0.5
pydocstyle==1.1.1
pydocumentdb==2.3.2
pyflakes==2.1.1
Pygments==2.6.1
pylibmc==1.6.1
pymongo==3.10.1
pyparsing==2.4.7
pytest==5.3.4
pytest-cov==2.8.1
pytest-rerunfailures==9.0
pytest-sugar==0.9.2
pytest-travis-fold==1.3.0
python-consul==1.1.0
python-dateutil==2.8.1
python-jose==2.0.2
python-memcached==1.59
python3-protobuf==2.5.0
pytz==2019.3
PyYAML==5.3.1
redis==3.4.1
requests==2.23.0
responses==0.10.12
riak==2.7.0
s3transfer==0.3.3
simplejson==3.17.0
six==1.14.0
snowballstemmer==2.0.0
softlayer-messaging==1.0.3
Sphinx==1.8.5
sphinx-celery==1.4.6
sphinx-testing==0.7.2
sphinx2rst==1.1.0
sphinxcontrib-websupport==1.2.1
SQLAlchemy==1.3.15
tblib==1.6.0
termcolor==1.1.0
toml==0.10.0
tox==3.14.6
traceback2==1.4.0
Unipath==1.1
unittest2==1.1.0
urllib3==1.25.8
vine==1.3.0
virtualenv==20.0.16
wcwidth==0.1.9
websocket-client==0.57.0
Werkzeug==1.0.1
wrapt==1.12.1
xmltodict==0.12.0
zope.interface==5.0.2
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from celery import Celery, chain, group
app = Celery('tasks',
backend='db+sqlite:///results.sqlite',
broker='amqp://guest:guest@rabbit:5672//')
@app.task()
def foo():
print("this is from foo!")
@app.task()
def fail():
raise ValueError("this is from fail!")
if __name__ == '__main__':
chain(group(chain(foo.si(), fail.si(), foo.si())), foo.si())()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span>, <span class="pl-s1">chain</span>, <span class="pl-s1">group</span>
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s">'tasks'</span>,
<span class="pl-s1">backend</span><span class="pl-c1">=</span><span class="pl-s">'db+sqlite:///results.sqlite'</span>,
<span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s">'amqp://guest:guest@rabbit:5672//'</span>)
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">task</span>()</span>
<span class="pl-k">def</span> <span class="pl-en">foo</span>():
<span class="pl-en">print</span>(<span class="pl-s">"this is from foo!"</span>)
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">task</span>()</span>
<span class="pl-k">def</span> <span class="pl-en">fail</span>():
<span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">"this is from fail!"</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-en">chain</span>(<span class="pl-en">group</span>(<span class="pl-en">chain</span>(<span class="pl-s1">foo</span>.<span class="pl-en">si</span>(), <span class="pl-s1">fail</span>.<span class="pl-en">si</span>(), <span class="pl-s1">foo</span>.<span class="pl-en">si</span>())), <span class="pl-s1">foo</span>.<span class="pl-en">si</span>())()</pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">I'm not sure what the intended behavior of <code class="notranslate">chord_unlock</code> is here but I feel that its current behavior atleast isn't consistent. The test case I've provided above results in what I've included below in <em>Actual Behavior</em> where it gets stuck in an infinite loop. If I instead remove the call to <code class="notranslate">foo</code> that is directly after <code class="notranslate">fail</code>, then the chord_unlock doesn't get stuck in a loop and instead simply stops after the <code class="notranslate">fail</code> task has executed.</p>
<p dir="auto">If I extend <code class="notranslate">fail</code> to, for example, the following</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@app.task()
def fail():
if not os.path.exists('foo.txt'):
raise ValueError("this is from fail!")
print("file does exist!")"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">task</span>()</span>
<span class="pl-k">def</span> <span class="pl-en">fail</span>():
<span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">os</span>.<span class="pl-s1">path</span>.<span class="pl-en">exists</span>(<span class="pl-s">'foo.txt'</span>):
<span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">"this is from fail!"</span>)
<span class="pl-en">print</span>(<span class="pl-s">"file does exist!"</span>)</pre></div>
<p dir="auto">then I can also do the test below to see what happens if I retry the failed task:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="chain(group(chain(foo.si(), fail.si().set(task_id="123"), foo.si())), foo.si().set(task_id="456"))()
sleep(10)
open('foo.txt', 'a').close()
fail.apply_async(task_id="123")"><pre class="notranslate"><span class="pl-en">chain</span>(<span class="pl-en">group</span>(<span class="pl-en">chain</span>(<span class="pl-s1">foo</span>.<span class="pl-en">si</span>(), <span class="pl-s1">fail</span>.<span class="pl-en">si</span>().<span class="pl-en">set</span>(<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">"123"</span>), <span class="pl-s1">foo</span>.<span class="pl-en">si</span>())), <span class="pl-s1">foo</span>.<span class="pl-en">si</span>().<span class="pl-en">set</span>(<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">"456"</span>))()
<span class="pl-en">sleep</span>(<span class="pl-c1">10</span>)
<span class="pl-en">open</span>(<span class="pl-s">'foo.txt'</span>, <span class="pl-s">'a'</span>).<span class="pl-en">close</span>()
<span class="pl-s1">fail</span>.<span class="pl-en">apply_async</span>(<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">"123"</span>)</pre></div>
<p dir="auto">Here I would atleast expect the infinite loop to end, but instead I see that the failed task now succeeds successfully (which is great) but the loop continues. I'm not sure if I should also expect the tasks after the retried task to now also run (they currently do not).</p>
<h1 dir="auto">Actual Behavior</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2020-04-08 10:06:34,804: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
[2020-04-08 10:06:34,816: INFO/MainProcess] mingle: searching for neighbors
[2020-04-08 10:06:35,861: INFO/MainProcess] mingle: all alone
[2020-04-08 10:06:35,876: INFO/MainProcess] celery@b7825f7f6305 ready.
[2020-04-08 10:06:56,992: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:06:57.952640+00:00]
[2020-04-08 10:06:57,004: INFO/MainProcess] Received task: tasks.foo[a2d3f985-68c1-40d8-9a7e-e3d323824901]
[2020-04-08 10:06:57,005: WARNING/ForkPoolWorker-2] this is from foo!
[2020-04-08 10:06:57,031: INFO/MainProcess] Received task: tasks.fail[5a61ee80-e695-4cf7-b182-68de7d848bc7]
[2020-04-08 10:06:57,057: INFO/ForkPoolWorker-2] Task tasks.foo[a2d3f985-68c1-40d8-9a7e-e3d323824901] succeeded in 0.05272179003804922s: None
[2020-04-08 10:06:57,081: ERROR/ForkPoolWorker-3] Task tasks.fail[5a61ee80-e695-4cf7-b182-68de7d848bc7] raised unexpected: ValueError('this is from fail!')
Traceback (most recent call last):
File "/home/developer/celery/celery/app/trace.py", line 411, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/developer/celery/celery/app/trace.py", line 680, in __protected_call__
return self.run(*args, **kwargs)
File "/home/developer/celery/tasks.py", line 13, in fail
raise ValueError("this is from fail!")
ValueError: this is from fail!
[2020-04-08 10:06:59,908: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:00.906229+00:00]
[2020-04-08 10:06:59,908: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:01,914: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:01,920: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:02.912826+00:00]
[2020-04-08 10:07:03,914: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:03,915: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:04.913285+00:00]
[2020-04-08 10:07:05,876: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:05,877: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:06.875506+00:00]"><pre class="notranslate"><code class="notranslate">[2020-04-08 10:06:34,804: INFO/MainProcess] Connected to amqp://guest:**@rabbit:5672//
[2020-04-08 10:06:34,816: INFO/MainProcess] mingle: searching for neighbors
[2020-04-08 10:06:35,861: INFO/MainProcess] mingle: all alone
[2020-04-08 10:06:35,876: INFO/MainProcess] celery@b7825f7f6305 ready.
[2020-04-08 10:06:56,992: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:06:57.952640+00:00]
[2020-04-08 10:06:57,004: INFO/MainProcess] Received task: tasks.foo[a2d3f985-68c1-40d8-9a7e-e3d323824901]
[2020-04-08 10:06:57,005: WARNING/ForkPoolWorker-2] this is from foo!
[2020-04-08 10:06:57,031: INFO/MainProcess] Received task: tasks.fail[5a61ee80-e695-4cf7-b182-68de7d848bc7]
[2020-04-08 10:06:57,057: INFO/ForkPoolWorker-2] Task tasks.foo[a2d3f985-68c1-40d8-9a7e-e3d323824901] succeeded in 0.05272179003804922s: None
[2020-04-08 10:06:57,081: ERROR/ForkPoolWorker-3] Task tasks.fail[5a61ee80-e695-4cf7-b182-68de7d848bc7] raised unexpected: ValueError('this is from fail!')
Traceback (most recent call last):
File "/home/developer/celery/celery/app/trace.py", line 411, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/developer/celery/celery/app/trace.py", line 680, in __protected_call__
return self.run(*args, **kwargs)
File "/home/developer/celery/tasks.py", line 13, in fail
raise ValueError("this is from fail!")
ValueError: this is from fail!
[2020-04-08 10:06:59,908: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:00.906229+00:00]
[2020-04-08 10:06:59,908: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:01,914: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:01,920: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:02.912826+00:00]
[2020-04-08 10:07:03,914: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:03,915: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:04.913285+00:00]
[2020-04-08 10:07:05,876: INFO/ForkPoolWorker-2] Task celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] retry: Retry in 1s
[2020-04-08 10:07:05,877: INFO/MainProcess] Received task: celery.chord_unlock[1cceb33c-3e4f-401d-bc29-cc758b98222b] ETA:[2020-04-08 10:07:06.875506+00:00]
</code></pre></div> | <p dir="auto">Have an issue using celery with SQS: when the connection is being lost and recovered, messages are not being served by celery.<br>
Only after restarting celery (using supervisor), messages are being processed.</p>
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the<br>
<a href="https://github.com/celery/celery/issues/3932/" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/3932/hovercard">celery issues 3932</a><br>
<a href="https://github.com/celery/kombu/issues/931" data-hovercard-type="issue" data-hovercard-url="/celery/kombu/issues/931/hovercard">kombu issue 931</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="216299501" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/3932" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/3932/hovercard" href="https://github.com/celery/celery/issues/3932">#3932</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="370842185" data-permission-text="Title is private" data-url="https://github.com/celery/kombu/issues/931" data-hovercard-type="issue" data-hovercard-url="/celery/kombu/issues/931/hovercard" href="https://github.com/celery/kombu/issues/931">celery/kombu#931</a></li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>:</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:4.4.2 (cliffs) kombu:4.6.11 py:3.7.6
billiard:3.6.3.0 py-amqp:2.6.0
platform -> system:Linux arch:64bit
kernel version:4.15.0-1065-aws imp:CPython
loader -> celery.loaders.default.Loader
settings -> transport:amqp results:disabled"><pre class="notranslate"><code class="notranslate">software -> celery:4.4.2 (cliffs) kombu:4.6.11 py:3.7.6
billiard:3.6.3.0 py-amqp:2.6.0
platform -> system:Linux arch:64bit
kernel version:4.15.0-1065-aws imp:CPython
loader -> celery.loaders.default.Loader
settings -> transport:amqp results:disabled
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: 3.7.6 imp: CPython</li>
<li><strong>Minimal Celery Version</strong>: 4.4.2</li>
<li><strong>Minimal Kombu Version</strong>: 4.6.11</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: GNU Linux Ubuntu x86_64 18.04</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="aiohttp==3.6.2
amqp==2.6.0
argh==0.26.2
asgiref==3.2.10
async-timeout==3.0.1
attrs==19.3.0
billiard==3.6.3.0
boto3==1.12.39
botocore==1.15.49
celery==4.4.2
certifi==2020.6.20
chardet==3.0.4
ddtrace==0.37.0
Django==3.0.4
docutils==0.15.2
future==0.18.2
gunicorn==20.0.4
idna==2.10
jmespath==0.10.0
kombu==4.6.11
msgpack==1.0.0
multidict==4.7.6
pathtools==0.1.2
psycopg2-binary==2.8.4
python-dateutil==2.8.1
python-dotenv==0.12.0
pytz==2020.1
PyYAML==5.3.1
requests==2.23.0
s3transfer==0.3.3
setproctitle==1.1.10
six==1.15.0
slackclient==2.5.0
sqlparse==0.3.1
urllib3==1.25.9
vine==1.3.0
yarl==1.4.2"><pre class="notranslate"><code class="notranslate">aiohttp==3.6.2
amqp==2.6.0
argh==0.26.2
asgiref==3.2.10
async-timeout==3.0.1
attrs==19.3.0
billiard==3.6.3.0
boto3==1.12.39
botocore==1.15.49
celery==4.4.2
certifi==2020.6.20
chardet==3.0.4
ddtrace==0.37.0
Django==3.0.4
docutils==0.15.2
future==0.18.2
gunicorn==20.0.4
idna==2.10
jmespath==0.10.0
kombu==4.6.11
msgpack==1.0.0
multidict==4.7.6
pathtools==0.1.2
psycopg2-binary==2.8.4
python-dateutil==2.8.1
python-dotenv==0.12.0
pytz==2020.1
PyYAML==5.3.1
requests==2.23.0
s3transfer==0.3.3
setproctitle==1.1.10
six==1.15.0
slackclient==2.5.0
sqlparse==0.3.1
urllib3==1.25.9
vine==1.3.0
yarl==1.4.2
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
It depends. The issue is occurring when we will get a connection lost error.
```python
```
</p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">Got this in logs.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2020-06-03 01:36:35,499: WARNING/MainProcess] consumer: Connection to broker lost. Trying to re-establish the connection...
Traceback (most recent call last):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/opt/pyenv/versions/3.7.6/lib/python3.7/socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/httpsession.py", line 263, in send
chunked=self._chunked(request.headers),
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/util/retry.py", line 379, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
raise value
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
conn.connect()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect
conn = self._new_conn()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPSConnection object at 0x7f910d7373d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 318, in start
blueprint.start(self)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 599, in start
c.loop(*c.loop_args())
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/worker/loops.py", line 83, in asynloop
next(loop)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/asynchronous/hub.py", line 301, in create_loop
item()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/vine/promises.py", line 170, in __call__
return self.throw()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/vine/promises.py", line 167, in __call__
retval = fun(*final_args, **final_kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 390, in _schedule_queue
queue, callback=promise(self._loop1, (queue,)),
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 406, in _get_bulk_async
return self._get_async(queue, maxcount, callback=callback)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 417, in _get_async
callback=transform(self._on_messages_ready, callback, q, queue),
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 442, in _get_from_sqs
queue_url = connection.get_queue_url(queue)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/asynchronous/aws/sqs/connection.py", line 45, in get_queue_url
res = self.sqs_connection.get_queue_url(QueueName=queue)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/client.py", line 316, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/ddtrace/contrib/botocore/patch.py", line 70, in patched_api_call
result = original_func(*args, **kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/client.py", line 613, in _make_api_call
operation_model, request_dict, request_context)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/client.py", line 632, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 102, in make_request
return self._send_request(request_dict, operation_model)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 137, in _send_request
success_response, exception):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 231, in _needs_retry
caught_exception=caught_exception, request_dict=request_dict)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit
response = handler(**kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 183, in __call__
if self._checker(attempts, response, caught_exception):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 251, in __call__
caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 277, in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 317, in __call__
caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 223, in __call__
attempt_number, caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
raise caught_exception
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 200, in _do_get_response
http_response = self._send(request)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 244, in _send
return self.http_session.send(request)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/httpsession.py", line 283, in send
raise EndpointConnectionError(endpoint_url=request.url, error=e)
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://queue.amazonaws.com/"
[2020-06-03 01:36:47,080: ERROR/MainProcess] consumer: Cannot connect to sqs://localhost//: Could not connect to the endpoint URL: "https://queue.amazonaws.com/".
Trying again in 2.00 seconds... (1/100)
[2020-06-03 01:36:57,674: INFO/MainProcess] Connected to sqs://localhost//
"><pre class="notranslate"><code class="notranslate">[2020-06-03 01:36:35,499: WARNING/MainProcess] consumer: Connection to broker lost. Trying to re-establish the connection...
Traceback (most recent call last):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/opt/pyenv/versions/3.7.6/lib/python3.7/socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/httpsession.py", line 263, in send
chunked=self._chunked(request.headers),
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/util/retry.py", line 379, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
raise value
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
conn.connect()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect
conn = self._new_conn()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPSConnection object at 0x7f910d7373d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 318, in start
blueprint.start(self)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 599, in start
c.loop(*c.loop_args())
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/celery/worker/loops.py", line 83, in asynloop
next(loop)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/asynchronous/hub.py", line 301, in create_loop
item()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/vine/promises.py", line 170, in __call__
return self.throw()
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/vine/promises.py", line 167, in __call__
retval = fun(*final_args, **final_kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 390, in _schedule_queue
queue, callback=promise(self._loop1, (queue,)),
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 406, in _get_bulk_async
return self._get_async(queue, maxcount, callback=callback)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 417, in _get_async
callback=transform(self._on_messages_ready, callback, q, queue),
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/transport/SQS.py", line 442, in _get_from_sqs
queue_url = connection.get_queue_url(queue)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/kombu/asynchronous/aws/sqs/connection.py", line 45, in get_queue_url
res = self.sqs_connection.get_queue_url(QueueName=queue)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/client.py", line 316, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/ddtrace/contrib/botocore/patch.py", line 70, in patched_api_call
result = original_func(*args, **kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/client.py", line 613, in _make_api_call
operation_model, request_dict, request_context)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/client.py", line 632, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 102, in make_request
return self._send_request(request_dict, operation_model)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 137, in _send_request
success_response, exception):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 231, in _needs_retry
caught_exception=caught_exception, request_dict=request_dict)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit
response = handler(**kwargs)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 183, in __call__
if self._checker(attempts, response, caught_exception):
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 251, in __call__
caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 277, in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 317, in __call__
caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 223, in __call__
attempt_number, caught_exception)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
raise caught_exception
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 200, in _do_get_response
http_response = self._send(request)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/endpoint.py", line 244, in _send
return self.http_session.send(request)
File "/home/$USER/.local/share/virtualenvs/$PROJECT_NAME-zlr2NI-5/lib/python3.7/site-packages/botocore/httpsession.py", line 283, in send
raise EndpointConnectionError(endpoint_url=request.url, error=e)
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://queue.amazonaws.com/"
[2020-06-03 01:36:47,080: ERROR/MainProcess] consumer: Cannot connect to sqs://localhost//: Could not connect to the endpoint URL: "https://queue.amazonaws.com/".
Trying again in 2.00 seconds... (1/100)
[2020-06-03 01:36:57,674: INFO/MainProcess] Connected to sqs://localhost//
</code></pre></div>
<p dir="auto">And after the last line logs are empty because celery stops handling any message.</p> | 0 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Microsoft Windows [Version 10.0.18362.449]</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto"><a href="https://github.com/microsoft/terminal#prerequisites">Prerequisites</a></p>
<ol dir="auto">
<li>Open Terminal as administrator (cmd)</li>
<li>Run <code class="notranslate">git submodule update --init --recursive</code></li>
<li>Run <code class="notranslate">tools\razzle</code></li>
<li>Run <code class="notranslate">bcz</code></li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Ability to completely build the terminal using Razzle <code class="notranslate">bcz</code> command</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Error running <code class="notranslate">tools\razzle</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Setting up dev environment...
Errors in C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj
Unable to resolve 'C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj' for '.NETFramework,Version=v4.7.2'.
The dev environment is ready to go!"><pre class="notranslate"><code class="notranslate">Setting up dev environment...
Errors in C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj
Unable to resolve 'C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj' for '.NETFramework,Version=v4.7.2'.
The dev environment is ready to go!
</code></pre></div>
<p dir="auto">Continuing to run <code class="notranslate">bcz</code> leaves me with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Skipping building appx...
Performing nuget restore...
MSBuild auto-detection: using msbuild version '16.3.2.50909' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\bin'.
All packages listed in packages.config are already installed.
Restoring packages for C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj...
Unable to resolve 'C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj' for '.NETFramework,Version=v4.7.2'.
Committing restore...
Lock file has not changed. Skipping lock file write. Path: C:\projects\terminal\src\cascadia\WpfTerminalControl\obj\project.assets.json
Restore failed in 586.02 ms for C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj.
Errors in C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj
Unable to resolve 'C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj' for '.NETFramework,Version=v4.7.2'.
NuGet Config files used:
C:\projects\terminal\NuGet.Config
C:\Users\Bradl\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
https://terminalnuget.blob.core.windows.net/feed/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" C:\projects\terminal\OpenConsole.sln /t:"Clean,Build" /m /p:Configuration=Debug /p:Platform=x64 /p:AppxBundle=false
Starting build...
Microsoft (R) Build Engine version 16.3.2+e481bbf88 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 10/31/2019 11:27:33 PM.
1>Project "C:\projects\terminal\OpenConsole.sln" on node 1 (Clean,Build target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "Debug|x64".
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\CascadiaPacka
ge\CascadiaPackage.wapproj" (2) on node 1 (Clean,Build target(s)).
2>C:\projects\terminal\src\cascadia\CascadiaPackage\CascadiaPackage.wapproj : error MSB4057: The target "Clean,Bu
ild" does not exist in the project.
2>Done Building Project "C:\projects\terminal\src\cascadia\CascadiaPackage\CascadiaPackage.wapproj" (Clean,Build
target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\propslib\propslib.vcxp
roj" (4) on node 2 (Clean,Build target(s)).
4>C:\projects\terminal\src\propslib\propslib.vcxproj : error MSB4057: The target "Clean,Build" does not exist in
the project.
4>Done Building Project "C:\projects\terminal\src\propslib\propslib.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tsf\tsf.vcxproj" (3) o n node 3 (Clean,Build target(s)).
3>C:\projects\terminal\src\tsf\tsf.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the projec t.
3>Done Building Project "C:\projects\terminal\src\tsf\tsf.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\base\lib\base .vcxproj" (5) on node 4 (Clean,Build target(s)).
5>C:\projects\terminal\src\renderer\base\lib\base.vcxproj : error MSB4057: The target "Clean,Build" does not exis t in the project.
5>Done Building Project "C:\projects\terminal\src\renderer\base\lib\base.vcxproj" (Clean,Build target(s)) -- FAIL ED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\parser\ft_fuz zer\VTCommandFuzzer.vcxproj" (6) on node 8 (Clean,Build target(s)).
6>C:\projects\terminal\src\terminal\parser\ft_fuzzer\VTCommandFuzzer.vcxproj : error MSB4057: The target "Clean,B uild" does not exist in the project.
6>Done Building Project "C:\projects\terminal\src\terminal\parser\ft_fuzzer\VTCommandFuzzer.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\adapter\ut_ad apter\Adapter.UnitTests.vcxproj" (7) on node 7 (Clean,Build target(s)).
7>C:\projects\terminal\src\terminal\adapter\ut_adapter\Adapter.UnitTests.vcxproj : error MSB4057: The target "Cle an,Build" does not exist in the project.
7>Done Building Project "C:\projects\terminal\src\terminal\adapter\ut_adapter\Adapter.UnitTests.vcxproj" (Clean,B uild target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\parser\ut_par ser\Parser.UnitTests.vcxproj" (8) on node 6 (Clean,Build target(s)).
8>C:\projects\terminal\src\terminal\parser\ut_parser\Parser.UnitTests.vcxproj : error MSB4057: The target "Clean, Build" does not exist in the project.
8>Done Building Project "C:\projects\terminal\src\terminal\parser\ut_parser\Parser.UnitTests.vcxproj" (Clean,Buil d target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\propsheet\propsheet.vc xproj" (9) on node 2 (Clean,Build target(s)).
9>C:\projects\terminal\src\propsheet\propsheet.vcxproj : error MSB4057: The target "Clean,Build" does not exist i n the project.
9>Done Building Project "C:\projects\terminal\src\propsheet\propsheet.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\gdi\lib\gdi.v
cxproj" (10) on node 5 (Clean,Build target(s)).
10>C:\projects\terminal\src\renderer\gdi\lib\gdi.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
10>Done Building Project "C:\projects\terminal\src\renderer\gdi\lib\gdi.vcxproj" (Clean,Build target(s)) -- FAILED .
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\server\lib\server.vcxp roj" (11) on node 3 (Clean,Build target(s)).
11>C:\projects\terminal\src\server\lib\server.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
11>Done Building Project "C:\projects\terminal\src\server\lib\server.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\vtapp\VTApp.cspr oj" (12) on node 4 (Clean,Build target(s)).
12>C:\projects\terminal\src\tools\vtapp\VTApp.csproj : error MSB4057: The target "Clean,Build" does not exist in t he project.
12>Done Building Project "C:\projects\terminal\src\tools\vtapp\VTApp.csproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\fontlist\FontLis t.vcxproj" (13) on node 7 (Clean,Build target(s)).
13>C:\projects\terminal\src\tools\fontlist\FontList.vcxproj : error MSB4057: The target "Clean,Build" does not exi st in the project.
13>Done Building Project "C:\projects\terminal\src\tools\fontlist\FontList.vcxproj" (Clean,Build target(s)) -- FAI LED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\nihilist\Nihilis t.vcxproj" (14) on node 8 (Clean,Build target(s)).
14>C:\projects\terminal\src\tools\nihilist\Nihilist.vcxproj : error MSB4057: The target "Clean,Build" does not exi st in the project.
14>Done Building Project "C:\projects\terminal\src\tools\nihilist\Nihilist.vcxproj" (Clean,Build target(s)) -- FAI LED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\scratch\Scratch. vcxproj" (16) on node 6 (Clean,Build target(s)).
16>C:\projects\terminal\src\tools\scratch\Scratch.vcxproj : error MSB4057: The target "Clean,Build" does not exist
in the project.
16>Done Building Project "C:\projects\terminal\src\tools\scratch\Scratch.vcxproj" (Clean,Build target(s)) -- FAILE D.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\buffersize\buffe rsize.vcxproj" (15) on node 2 (Clean,Build target(s)).
15>C:\projects\terminal\src\tools\buffersize\buffersize.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
15>Done Building Project "C:\projects\terminal\src\tools\buffersize\buffersize.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\closetest\CloseT est.vcxproj" (17) on node 3 (Clean,Build target(s)).
17>C:\projects\terminal\src\tools\closetest\CloseTest.vcxproj : error MSB4057: The target "Clean,Build" does not e
xist in the project.
17>Done Building Project "C:\projects\terminal\src\tools\closetest\CloseTest.vcxproj" (Clean,Build target(s)) -- F
AILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\parser\ft_fuz zwrapper\FuzzWrapper.vcxproj" (18) on node 1 (Clean,Build target(s)).
18>C:\projects\terminal\src\terminal\parser\ft_fuzzwrapper\FuzzWrapper.vcxproj : error MSB4057: The target "Clean,
Build" does not exist in the project.
18>Done Building Project "C:\projects\terminal\src\terminal\parser\ft_fuzzwrapper\FuzzWrapper.vcxproj" (Clean,Buil
d target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\vt\lib\vt.vcx proj" (19) on node 4 (Clean,Build target(s)).
19>C:\projects\terminal\src\renderer\vt\lib\vt.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
19>Done Building Project "C:\projects\terminal\src\renderer\vt\lib\vt.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\types\lib\types.vcxpro j" (20) on node 8 (Clean,Build target(s)).
20>C:\projects\terminal\src\types\lib\types.vcxproj : error MSB4057: The target "Clean,Build" does not exist in th
e project.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\echokey\ConEchoK ey.vcxproj" (21) on node 7 (Clean,Build target(s)).
21>C:\projects\terminal\src\tools\echokey\ConEchoKey.vcxproj : error MSB4057: The target "Clean,Build" does not ex ist in the project.
20>Done Building Project "C:\projects\terminal\src\types\lib\types.vcxproj" (Clean,Build target(s)) -- FAILED. 21>Done Building Project "C:\projects\terminal\src\tools\echokey\ConEchoKey.vcxproj" (Clean,Build target(s)) -- FA ILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\vt\ut_lib\vt. unittest.vcxproj" (22) on node 6 (Clean,Build target(s)).
22>C:\projects\terminal\src\renderer\vt\ut_lib\vt.unittest.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\dx\lib\dx.vcx proj" (23) on node 3 (Clean,Build target(s)).
23>C:\projects\terminal\src\renderer\dx\lib\dx.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
23>Done Building Project "C:\projects\terminal\src\renderer\dx\lib\dx.vcxproj" (Clean,Build target(s)) -- FAILED. 22>Done Building Project "C:\projects\terminal\src\renderer\vt\ut_lib\vt.unittest.vcxproj" (Clean,Build target(s))
-- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\buffer\out\lib\buffero ut.vcxproj" (24) on node 2 (Clean,Build target(s)).
24>C:\projects\terminal\src\buffer\out\lib\bufferout.vcxproj : error MSB4057: The target "Clean,Build" does not ex ist in the project.
24>Done Building Project "C:\projects\terminal\src\buffer\out\lib\bufferout.vcxproj" (Clean,Build target(s)) -- FA
ILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\interactivity\base\lib \InteractivityBase.vcxproj" (25) on node 5 (Clean,Build target(s)).
25>C:\projects\terminal\src\interactivity\base\lib\InteractivityBase.vcxproj : error MSB4057: The target "Clean,Bu ild" does not exist in the project.
25>Done Building Project "C:\projects\terminal\src\interactivity\base\lib\InteractivityBase.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\pkg\appx\OpenConsolePackag e.wapproj" (26) on node 8 (Clean,Build target(s)).
26>C:\projects\terminal\pkg\appx\OpenConsolePackage.wapproj : error MSB4057: The target "Clean,Build" does not exi st in the project.
26>Done Building Project "C:\projects\terminal\pkg\appx\OpenConsolePackage.wapproj" (Clean,Build target(s)) -- FAI LED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\internal\internal.vcxp roj" (27) on node 3 (Clean,Build target(s)).
27>C:\projects\terminal\src\internal\internal.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
27>Done Building Project "C:\projects\terminal\src\internal\internal.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\PublicTermina lCore\PublicTerminalCore.vcxproj" (28) on node 2 (Clean,Build target(s)).
28>C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj : error MSB4057: The target "Cl ean,Build" does not exist in the project.
28>Done Building Project "C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj" (Clean, Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\types\ut_types\Types.U nit.Tests.vcxproj" (29) on node 6 (Clean,Build target(s)).
29>C:\projects\terminal\src\types\ut_types\Types.Unit.Tests.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
29>Done Building Project "C:\projects\terminal\src\types\ut_types\Types.Unit.Tests.vcxproj" (Clean,Build target(s) ) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\UnitTests_Ter minalCore\UnitTests.vcxproj" (30) on node 7 (Clean,Build target(s)).
30>C:\projects\terminal\src\cascadia\UnitTests_TerminalCore\UnitTests.vcxproj : error MSB4057: The target "Clean,B uild" does not exist in the project.
30>Done Building Project "C:\projects\terminal\src\cascadia\UnitTests_TerminalCore\UnitTests.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\TerminalSetti ngs\TerminalSettings.vcxproj" (31) on node 4 (Clean,Build target(s)).
31>C:\projects\terminal\src\cascadia\TerminalSettings\TerminalSettings.vcxproj : error MSB4057: The target "Clean, Build" does not exist in the project.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\winconpty\winconpty.vc xproj" (32) on node 8 (Clean,Build target(s)).
32>C:\projects\terminal\src\winconpty\winconpty.vcxproj : error MSB4057: The target "Clean,Build" does not exist i n the project.
31>Done Building Project "C:\projects\terminal\src\cascadia\TerminalSettings\TerminalSettings.vcxproj" (Clean,Buil d target(s)) -- FAILED.
32>Done Building Project "C:\projects\terminal\src\winconpty\winconpty.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\TerminalConne ction\TerminalConnection.vcxproj" (33) on node 1 (Clean,Build target(s)).
33>C:\projects\terminal\src\cascadia\TerminalConnection\TerminalConnection.vcxproj : error MSB4057: The target "Cl ean,Build" does not exist in the project.
33>Done Building Project "C:\projects\terminal\src\cascadia\TerminalConnection\TerminalConnection.vcxproj" (Clean,
Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\WpfTerminalCo
ntrol\WpfTerminalControl.csproj" (34) on node 5 (Clean,Build target(s)).
34>C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj : error MSB4057: The target "Cle an,Build" does not exist in the project.
34>Done Building Project "C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj" (Clean,B uild target(s)) -- FAILED.
1>Done Building Project "C:\projects\terminal\OpenConsole.sln" (Clean,Build target(s)) -- FAILED.
Build FAILED."><pre class="notranslate"><code class="notranslate">Skipping building appx...
Performing nuget restore...
MSBuild auto-detection: using msbuild version '16.3.2.50909' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\bin'.
All packages listed in packages.config are already installed.
Restoring packages for C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj...
Unable to resolve 'C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj' for '.NETFramework,Version=v4.7.2'.
Committing restore...
Lock file has not changed. Skipping lock file write. Path: C:\projects\terminal\src\cascadia\WpfTerminalControl\obj\project.assets.json
Restore failed in 586.02 ms for C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj.
Errors in C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj
Unable to resolve 'C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj' for '.NETFramework,Version=v4.7.2'.
NuGet Config files used:
C:\projects\terminal\NuGet.Config
C:\Users\Bradl\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
https://terminalnuget.blob.core.windows.net/feed/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" C:\projects\terminal\OpenConsole.sln /t:"Clean,Build" /m /p:Configuration=Debug /p:Platform=x64 /p:AppxBundle=false
Starting build...
Microsoft (R) Build Engine version 16.3.2+e481bbf88 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 10/31/2019 11:27:33 PM.
1>Project "C:\projects\terminal\OpenConsole.sln" on node 1 (Clean,Build target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "Debug|x64".
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\CascadiaPacka
ge\CascadiaPackage.wapproj" (2) on node 1 (Clean,Build target(s)).
2>C:\projects\terminal\src\cascadia\CascadiaPackage\CascadiaPackage.wapproj : error MSB4057: The target "Clean,Bu
ild" does not exist in the project.
2>Done Building Project "C:\projects\terminal\src\cascadia\CascadiaPackage\CascadiaPackage.wapproj" (Clean,Build
target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\propslib\propslib.vcxp
roj" (4) on node 2 (Clean,Build target(s)).
4>C:\projects\terminal\src\propslib\propslib.vcxproj : error MSB4057: The target "Clean,Build" does not exist in
the project.
4>Done Building Project "C:\projects\terminal\src\propslib\propslib.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tsf\tsf.vcxproj" (3) o n node 3 (Clean,Build target(s)).
3>C:\projects\terminal\src\tsf\tsf.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the projec t.
3>Done Building Project "C:\projects\terminal\src\tsf\tsf.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\base\lib\base .vcxproj" (5) on node 4 (Clean,Build target(s)).
5>C:\projects\terminal\src\renderer\base\lib\base.vcxproj : error MSB4057: The target "Clean,Build" does not exis t in the project.
5>Done Building Project "C:\projects\terminal\src\renderer\base\lib\base.vcxproj" (Clean,Build target(s)) -- FAIL ED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\parser\ft_fuz zer\VTCommandFuzzer.vcxproj" (6) on node 8 (Clean,Build target(s)).
6>C:\projects\terminal\src\terminal\parser\ft_fuzzer\VTCommandFuzzer.vcxproj : error MSB4057: The target "Clean,B uild" does not exist in the project.
6>Done Building Project "C:\projects\terminal\src\terminal\parser\ft_fuzzer\VTCommandFuzzer.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\adapter\ut_ad apter\Adapter.UnitTests.vcxproj" (7) on node 7 (Clean,Build target(s)).
7>C:\projects\terminal\src\terminal\adapter\ut_adapter\Adapter.UnitTests.vcxproj : error MSB4057: The target "Cle an,Build" does not exist in the project.
7>Done Building Project "C:\projects\terminal\src\terminal\adapter\ut_adapter\Adapter.UnitTests.vcxproj" (Clean,B uild target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\parser\ut_par ser\Parser.UnitTests.vcxproj" (8) on node 6 (Clean,Build target(s)).
8>C:\projects\terminal\src\terminal\parser\ut_parser\Parser.UnitTests.vcxproj : error MSB4057: The target "Clean, Build" does not exist in the project.
8>Done Building Project "C:\projects\terminal\src\terminal\parser\ut_parser\Parser.UnitTests.vcxproj" (Clean,Buil d target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\propsheet\propsheet.vc xproj" (9) on node 2 (Clean,Build target(s)).
9>C:\projects\terminal\src\propsheet\propsheet.vcxproj : error MSB4057: The target "Clean,Build" does not exist i n the project.
9>Done Building Project "C:\projects\terminal\src\propsheet\propsheet.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\gdi\lib\gdi.v
cxproj" (10) on node 5 (Clean,Build target(s)).
10>C:\projects\terminal\src\renderer\gdi\lib\gdi.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
10>Done Building Project "C:\projects\terminal\src\renderer\gdi\lib\gdi.vcxproj" (Clean,Build target(s)) -- FAILED .
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\server\lib\server.vcxp roj" (11) on node 3 (Clean,Build target(s)).
11>C:\projects\terminal\src\server\lib\server.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
11>Done Building Project "C:\projects\terminal\src\server\lib\server.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\vtapp\VTApp.cspr oj" (12) on node 4 (Clean,Build target(s)).
12>C:\projects\terminal\src\tools\vtapp\VTApp.csproj : error MSB4057: The target "Clean,Build" does not exist in t he project.
12>Done Building Project "C:\projects\terminal\src\tools\vtapp\VTApp.csproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\fontlist\FontLis t.vcxproj" (13) on node 7 (Clean,Build target(s)).
13>C:\projects\terminal\src\tools\fontlist\FontList.vcxproj : error MSB4057: The target "Clean,Build" does not exi st in the project.
13>Done Building Project "C:\projects\terminal\src\tools\fontlist\FontList.vcxproj" (Clean,Build target(s)) -- FAI LED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\nihilist\Nihilis t.vcxproj" (14) on node 8 (Clean,Build target(s)).
14>C:\projects\terminal\src\tools\nihilist\Nihilist.vcxproj : error MSB4057: The target "Clean,Build" does not exi st in the project.
14>Done Building Project "C:\projects\terminal\src\tools\nihilist\Nihilist.vcxproj" (Clean,Build target(s)) -- FAI LED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\scratch\Scratch. vcxproj" (16) on node 6 (Clean,Build target(s)).
16>C:\projects\terminal\src\tools\scratch\Scratch.vcxproj : error MSB4057: The target "Clean,Build" does not exist
in the project.
16>Done Building Project "C:\projects\terminal\src\tools\scratch\Scratch.vcxproj" (Clean,Build target(s)) -- FAILE D.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\buffersize\buffe rsize.vcxproj" (15) on node 2 (Clean,Build target(s)).
15>C:\projects\terminal\src\tools\buffersize\buffersize.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
15>Done Building Project "C:\projects\terminal\src\tools\buffersize\buffersize.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\closetest\CloseT est.vcxproj" (17) on node 3 (Clean,Build target(s)).
17>C:\projects\terminal\src\tools\closetest\CloseTest.vcxproj : error MSB4057: The target "Clean,Build" does not e
xist in the project.
17>Done Building Project "C:\projects\terminal\src\tools\closetest\CloseTest.vcxproj" (Clean,Build target(s)) -- F
AILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\terminal\parser\ft_fuz zwrapper\FuzzWrapper.vcxproj" (18) on node 1 (Clean,Build target(s)).
18>C:\projects\terminal\src\terminal\parser\ft_fuzzwrapper\FuzzWrapper.vcxproj : error MSB4057: The target "Clean,
Build" does not exist in the project.
18>Done Building Project "C:\projects\terminal\src\terminal\parser\ft_fuzzwrapper\FuzzWrapper.vcxproj" (Clean,Buil
d target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\vt\lib\vt.vcx proj" (19) on node 4 (Clean,Build target(s)).
19>C:\projects\terminal\src\renderer\vt\lib\vt.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
19>Done Building Project "C:\projects\terminal\src\renderer\vt\lib\vt.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\types\lib\types.vcxpro j" (20) on node 8 (Clean,Build target(s)).
20>C:\projects\terminal\src\types\lib\types.vcxproj : error MSB4057: The target "Clean,Build" does not exist in th
e project.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\tools\echokey\ConEchoK ey.vcxproj" (21) on node 7 (Clean,Build target(s)).
21>C:\projects\terminal\src\tools\echokey\ConEchoKey.vcxproj : error MSB4057: The target "Clean,Build" does not ex ist in the project.
20>Done Building Project "C:\projects\terminal\src\types\lib\types.vcxproj" (Clean,Build target(s)) -- FAILED. 21>Done Building Project "C:\projects\terminal\src\tools\echokey\ConEchoKey.vcxproj" (Clean,Build target(s)) -- FA ILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\vt\ut_lib\vt. unittest.vcxproj" (22) on node 6 (Clean,Build target(s)).
22>C:\projects\terminal\src\renderer\vt\ut_lib\vt.unittest.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\renderer\dx\lib\dx.vcx proj" (23) on node 3 (Clean,Build target(s)).
23>C:\projects\terminal\src\renderer\dx\lib\dx.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
23>Done Building Project "C:\projects\terminal\src\renderer\dx\lib\dx.vcxproj" (Clean,Build target(s)) -- FAILED. 22>Done Building Project "C:\projects\terminal\src\renderer\vt\ut_lib\vt.unittest.vcxproj" (Clean,Build target(s))
-- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\buffer\out\lib\buffero ut.vcxproj" (24) on node 2 (Clean,Build target(s)).
24>C:\projects\terminal\src\buffer\out\lib\bufferout.vcxproj : error MSB4057: The target "Clean,Build" does not ex ist in the project.
24>Done Building Project "C:\projects\terminal\src\buffer\out\lib\bufferout.vcxproj" (Clean,Build target(s)) -- FA
ILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\interactivity\base\lib \InteractivityBase.vcxproj" (25) on node 5 (Clean,Build target(s)).
25>C:\projects\terminal\src\interactivity\base\lib\InteractivityBase.vcxproj : error MSB4057: The target "Clean,Bu ild" does not exist in the project.
25>Done Building Project "C:\projects\terminal\src\interactivity\base\lib\InteractivityBase.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\pkg\appx\OpenConsolePackag e.wapproj" (26) on node 8 (Clean,Build target(s)).
26>C:\projects\terminal\pkg\appx\OpenConsolePackage.wapproj : error MSB4057: The target "Clean,Build" does not exi st in the project.
26>Done Building Project "C:\projects\terminal\pkg\appx\OpenConsolePackage.wapproj" (Clean,Build target(s)) -- FAI LED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\internal\internal.vcxp roj" (27) on node 3 (Clean,Build target(s)).
27>C:\projects\terminal\src\internal\internal.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
27>Done Building Project "C:\projects\terminal\src\internal\internal.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\PublicTermina lCore\PublicTerminalCore.vcxproj" (28) on node 2 (Clean,Build target(s)).
28>C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj : error MSB4057: The target "Cl ean,Build" does not exist in the project.
28>Done Building Project "C:\projects\terminal\src\cascadia\PublicTerminalCore\PublicTerminalCore.vcxproj" (Clean, Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\types\ut_types\Types.U nit.Tests.vcxproj" (29) on node 6 (Clean,Build target(s)).
29>C:\projects\terminal\src\types\ut_types\Types.Unit.Tests.vcxproj : error MSB4057: The target "Clean,Build" does not exist in the project.
29>Done Building Project "C:\projects\terminal\src\types\ut_types\Types.Unit.Tests.vcxproj" (Clean,Build target(s) ) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\UnitTests_Ter minalCore\UnitTests.vcxproj" (30) on node 7 (Clean,Build target(s)).
30>C:\projects\terminal\src\cascadia\UnitTests_TerminalCore\UnitTests.vcxproj : error MSB4057: The target "Clean,B uild" does not exist in the project.
30>Done Building Project "C:\projects\terminal\src\cascadia\UnitTests_TerminalCore\UnitTests.vcxproj" (Clean,Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\TerminalSetti ngs\TerminalSettings.vcxproj" (31) on node 4 (Clean,Build target(s)).
31>C:\projects\terminal\src\cascadia\TerminalSettings\TerminalSettings.vcxproj : error MSB4057: The target "Clean, Build" does not exist in the project.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\winconpty\winconpty.vc xproj" (32) on node 8 (Clean,Build target(s)).
32>C:\projects\terminal\src\winconpty\winconpty.vcxproj : error MSB4057: The target "Clean,Build" does not exist i n the project.
31>Done Building Project "C:\projects\terminal\src\cascadia\TerminalSettings\TerminalSettings.vcxproj" (Clean,Buil d target(s)) -- FAILED.
32>Done Building Project "C:\projects\terminal\src\winconpty\winconpty.vcxproj" (Clean,Build target(s)) -- FAILED. 1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\TerminalConne ction\TerminalConnection.vcxproj" (33) on node 1 (Clean,Build target(s)).
33>C:\projects\terminal\src\cascadia\TerminalConnection\TerminalConnection.vcxproj : error MSB4057: The target "Cl ean,Build" does not exist in the project.
33>Done Building Project "C:\projects\terminal\src\cascadia\TerminalConnection\TerminalConnection.vcxproj" (Clean,
Build target(s)) -- FAILED.
1>Project "C:\projects\terminal\OpenConsole.sln" (1) is building "C:\projects\terminal\src\cascadia\WpfTerminalCo
ntrol\WpfTerminalControl.csproj" (34) on node 5 (Clean,Build target(s)).
34>C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj : error MSB4057: The target "Cle an,Build" does not exist in the project.
34>Done Building Project "C:\projects\terminal\src\cascadia\WpfTerminalControl\WpfTerminalControl.csproj" (Clean,B uild target(s)) -- FAILED.
1>Done Building Project "C:\projects\terminal\OpenConsole.sln" (Clean,Build target(s)) -- FAILED.
Build FAILED.
</code></pre></div> | <h1 dir="auto">Environment</h1>
<p dir="auto">Windows Server 2016 Standard Evaluation</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.14393]
Windows Terminal version (if applicable):
Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.14393]
Windows Terminal version (if applicable):
Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">mode con:Lines=32767</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Should set Lines/ScreenBufferSize to 32767</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The screen cannot be set to the number of lines and columns specified.</p> | 0 |
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">1.6.2</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Ansible running on Fedora 20. EC2 API is the target.</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">If you have a wide open security rule for a group (-1 for proto, from_port and to_port with a cidr of 0.0.0.0/0) it can only be run once. Subsequent run will fail.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">I have the following as part of a playbook that makes sure we have the<br>
appropriate security groups setup and all of them work just fine<br>
except this one:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: Create wide-open testing security group
local_action:
module: ec2_group
name: 'WIDE OPEN'
description: 'WIDE OPEN for TESTING ONLY!'
vpc_id: "{{ vpc_id }}"
region: "{{ aws_region }}"
state: present
rules:
# everything from anywhere
- proto: -1
from_port: -1
to_port: -1
cidr_ip: 0.0.0.0/0"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Create wide-open testing security group</span>
<span class="pl-ent">local_action</span>:
<span class="pl-ent">module</span>: <span class="pl-s">ec2_group</span>
<span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">'</span>WIDE OPEN<span class="pl-pds">'</span></span>
<span class="pl-ent">description</span>: <span class="pl-s"><span class="pl-pds">'</span>WIDE OPEN for TESTING ONLY!<span class="pl-pds">'</span></span>
<span class="pl-ent">vpc_id</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vpc_id }}<span class="pl-pds">"</span></span>
<span class="pl-ent">region</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ aws_region }}<span class="pl-pds">"</span></span>
<span class="pl-ent">state</span>: <span class="pl-s">present</span>
<span class="pl-ent">rules</span>:
<span class="pl-c"><span class="pl-c">#</span> everything from anywhere</span>
- <span class="pl-ent">proto</span>: <span class="pl-c1">-1</span>
<span class="pl-ent">from_port</span>: <span class="pl-c1">-1</span>
<span class="pl-ent">to_port</span>: <span class="pl-c1">-1</span>
<span class="pl-ent">cidr_ip</span>: <span class="pl-s">0.0.0.0/0</span></pre></div>
<p dir="auto">The first time I run the playbook with this task it works just fine.<br>
But every time it's run after that it fails. Other rules in other ec2_group tasks in this same playbook execute as expected when run multiple times.</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">It should recognize that the rule already exists like it does every other rule and just skip it.</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">It fails with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="failed: [localhost] => {"failed": true, "parsed": false}
invalid output was: Traceback (most recent call last):
File "/home/mpeters/.ansible/tmp/ansible-tmp-1403183990.17-2723736991339/ec2_group", line 1754, in <module>
main()
File "/home/mpeters/.ansible/tmp/ansible-tmp-1403183990.17-2723736991339/ec2_group", line 268, in main
group.authorize(rule['proto'], rule['from_port'], rule['to_port'], ip, grantGroup)
File "/usr/lib/python2.7/site-packages/boto/ec2/securitygroup.py", line 204, in authorize
dry_run=dry_run)
File "/usr/lib/python2.7/site-packages/boto/ec2/connection.py", line 3144, in authorize_security_group
params, verb='POST')
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1196, in get_status
raise self.ResponseError(response.status, response.reason, body)"><pre class="notranslate"><code class="notranslate">failed: [localhost] => {"failed": true, "parsed": false}
invalid output was: Traceback (most recent call last):
File "/home/mpeters/.ansible/tmp/ansible-tmp-1403183990.17-2723736991339/ec2_group", line 1754, in <module>
main()
File "/home/mpeters/.ansible/tmp/ansible-tmp-1403183990.17-2723736991339/ec2_group", line 268, in main
group.authorize(rule['proto'], rule['from_port'], rule['to_port'], ip, grantGroup)
File "/usr/lib/python2.7/site-packages/boto/ec2/securitygroup.py", line 204, in authorize
dry_run=dry_run)
File "/usr/lib/python2.7/site-packages/boto/ec2/connection.py", line 3144, in authorize_security_group
params, verb='POST')
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1196, in get_status
raise self.ResponseError(response.status, response.reason, body)
</code></pre></div>
<p dir="auto">boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request<br>
<br>
<code class="notranslate">InvalidPermission.Duplicate</code>the specified rule "peer: 0.0.0.0/0, ALL, ALLOW" already exists40ddc890-fa3a-4528-9cf8-10cf47f3e4d6</p> | <p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rlpowell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rlpowell">@rlpowell</a> on 2015-04-03T18:39:16Z<br>
I apologize that I don't have the background with Ansible or Python to give any useful debugging info here, but:</p>
<p dir="auto">Trying to run a shell command and get the output presented to me. This<br>
version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: run the script the rails way
register: scriptrun
shell: 'uname -a'
- name: get the result back
fetch: src=/tmp/mismatch_visne.csv dest=/tmp/mismatch_visne/
# Print the shell task's stdout.
- debug: msg={{ scriptrun.stdout }}"><pre class="notranslate"><code class="notranslate">- name: run the script the rails way
register: scriptrun
shell: 'uname -a'
- name: get the result back
fetch: src=/tmp/mismatch_visne.csv dest=/tmp/mismatch_visne/
# Print the shell task's stdout.
- debug: msg={{ scriptrun.stdout }}
</code></pre></div>
<p dir="auto">Works fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK: [run the script the rails way] ******************************************
changed: [perf-sedna_tomcat-1-tomcat]
changed: [qa-rhea_tomcat-1-tomcat]
changed: [qa-ariel_tomcat-1-tomcat]
changed: [perf-dione_tomcat-1-tomcat]
TASK: [get the result back] ***************************************************
ok: [perf-sedna_tomcat-1-tomcat]
ok: [qa-rhea_tomcat-1-tomcat]
ok: [qa-ariel_tomcat-1-tomcat]
ok: [perf-dione_tomcat-1-tomcat]
TASK: [debug msg={{ scriptrun.stdout }}] **************************************
ok: [perf-sedna_tomcat-1-tomcat] => {
"msg": "Linux"
}
ok: [qa-ariel_tomcat-1-tomcat] => {
"msg": "Linux"
}
ok: [qa-rhea_tomcat-1-tomcat] => {
"msg": "Linux"
}
ok: [perf-dione_tomcat-1-tomcat] => {
"msg": "Linux"
}
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/rlpowell/cyt_2407.yaml.retry
perf-dione_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0
perf-sedna_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0
qa-ariel_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0
qa-janus_tomcat-1-tomcat : ok=0 changed=0 unreachable=1 failed=0
qa-rhea_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">TASK: [run the script the rails way] ******************************************
changed: [perf-sedna_tomcat-1-tomcat]
changed: [qa-rhea_tomcat-1-tomcat]
changed: [qa-ariel_tomcat-1-tomcat]
changed: [perf-dione_tomcat-1-tomcat]
TASK: [get the result back] ***************************************************
ok: [perf-sedna_tomcat-1-tomcat]
ok: [qa-rhea_tomcat-1-tomcat]
ok: [qa-ariel_tomcat-1-tomcat]
ok: [perf-dione_tomcat-1-tomcat]
TASK: [debug msg={{ scriptrun.stdout }}] **************************************
ok: [perf-sedna_tomcat-1-tomcat] => {
"msg": "Linux"
}
ok: [qa-ariel_tomcat-1-tomcat] => {
"msg": "Linux"
}
ok: [qa-rhea_tomcat-1-tomcat] => {
"msg": "Linux"
}
ok: [perf-dione_tomcat-1-tomcat] => {
"msg": "Linux"
}
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/rlpowell/cyt_2407.yaml.retry
perf-dione_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0
perf-sedna_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0
qa-ariel_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0
qa-janus_tomcat-1-tomcat : ok=0 changed=0 unreachable=1 failed=0
qa-rhea_tomcat-1-tomcat : ok=6 changed=1 unreachable=0 failed=0
</code></pre></div>
<p dir="auto">OTOH, this one (the only change is to the "shell:" param):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: run the script the rails way
register: scriptrun
shell: '/usr/local/bin/cytobank_rails runner /tmp/cyt_2407.rb'
- name: get the result back
fetch: src=/tmp/mismatch_visne.csv dest=/tmp/mismatch_visne/
# Print the shell task's stdout.
- debug: msg={{ scriptrun.stdout }}"><pre class="notranslate"><code class="notranslate">- name: run the script the rails way
register: scriptrun
shell: '/usr/local/bin/cytobank_rails runner /tmp/cyt_2407.rb'
- name: get the result back
fetch: src=/tmp/mismatch_visne.csv dest=/tmp/mismatch_visne/
# Print the shell task's stdout.
- debug: msg={{ scriptrun.stdout }}
</code></pre></div>
<p dir="auto">Gives this output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK: [run the script the rails way] ******************************************
changed: [perf-sedna_tomcat-1-tomcat]
changed: [qa-ariel_tomcat-1-tomcat]
changed: [perf-dione_tomcat-1-tomcat]
changed: [qa-rhea_tomcat-1-tomcat]
TASK: [get the result back] ***************************************************
ok: [qa-rhea_tomcat-1-tomcat]
ok: [qa-ariel_tomcat-1-tomcat]
ok: [perf-sedna_tomcat-1-tomcat]
ok: [perf-dione_tomcat-1-tomcat]
TASK: [debug msg={{ scriptrun.stdout }}] **************************************
fatal: [perf-dione_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
fatal: [qa-ariel_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
fatal: [perf-sedna_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
fatal: [qa-rhea_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/rlpowell/cyt_2407.yaml.retry
perf-dione_tomcat-1-tomcat : ok=5 changed=1 unreachable=1 failed=0
perf-sedna_tomcat-1-tomcat : ok=5 changed=2 unreachable=1 failed=0
qa-ariel_tomcat-1-tomcat : ok=5 changed=1 unreachable=1 failed=0
qa-janus_tomcat-1-tomcat : ok=0 changed=0 unreachable=1 failed=0
qa-rhea_tomcat-1-tomcat : ok=5 changed=1 unreachable=1 failed=0"><pre class="notranslate"><code class="notranslate">TASK: [run the script the rails way] ******************************************
changed: [perf-sedna_tomcat-1-tomcat]
changed: [qa-ariel_tomcat-1-tomcat]
changed: [perf-dione_tomcat-1-tomcat]
changed: [qa-rhea_tomcat-1-tomcat]
TASK: [get the result back] ***************************************************
ok: [qa-rhea_tomcat-1-tomcat]
ok: [qa-ariel_tomcat-1-tomcat]
ok: [perf-sedna_tomcat-1-tomcat]
ok: [perf-dione_tomcat-1-tomcat]
TASK: [debug msg={{ scriptrun.stdout }}] **************************************
fatal: [perf-dione_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
fatal: [qa-ariel_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
fatal: [perf-sedna_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
fatal: [qa-rhea_tomcat-1-tomcat] => a duplicate parameter was found in the argument string ()
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/rlpowell/cyt_2407.yaml.retry
perf-dione_tomcat-1-tomcat : ok=5 changed=1 unreachable=1 failed=0
perf-sedna_tomcat-1-tomcat : ok=5 changed=2 unreachable=1 failed=0
qa-ariel_tomcat-1-tomcat : ok=5 changed=1 unreachable=1 failed=0
qa-janus_tomcat-1-tomcat : ok=0 changed=0 unreachable=1 failed=0
qa-rhea_tomcat-1-tomcat : ok=5 changed=1 unreachable=1 failed=0
</code></pre></div>
<p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="66205564" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/1077" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/1077/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/1077">ansible/ansible-modules-core#1077</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>
<p dir="auto">proxy</p>
<h3 dir="auto">Expected behavior</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="insert into account values(1,0),(2,100);
select * from account;
id | balance
----+---------
2 | 100
1 | 0"><pre class="notranslate"><code class="notranslate">insert into account values(1,0),(2,100);
select * from account;
id | balance
----+---------
2 | 100
1 | 0
</code></pre></div>
<h3 dir="auto">Actual behavior</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" id | balance
----+---------
2 | 100
1 | 0
2 | 100
1 | 0"><pre class="notranslate"><code class="notranslate"> id | balance
----+---------
2 | 100
1 | 0
2 | 100
1 | 0
</code></pre></div>
<h3 dir="auto">config</h3>
<p dir="auto">config-sharding.yaml</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="schemaName: sbtest_sharding
dataSources:
ds_0:
url: jdbc:postgresql://127.0.0.1:15401/sbtest?useSSL=false&useServerPrepStmts=true&cachePrepStmts=true&prepStmtCacheSize=8192&prepStmtCacheSqlLimit=1024
username: test
password: 12345678
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 2000
minPoolSize: 1
ds_1:
url: jdbc:postgresql://127.0.0.1:15402/sbtest?useSSL=false&useServerPrepStmts=true&cachePrepStmts=true&prepStmtCacheSize=8192&prepStmtCacheSqlLimit=1024
username: test
password: 12345678
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 2000
minPoolSize: 1
rules:
- !SHARDING
tables:
account:
actualDataNodes: ds_${0..1}.account_${0..1}
tableStrategy:
standard:
shardingColumn: id
shardingAlgorithmName: account_inline
keyGenerateStrategy:
column: id
keyGeneratorName: snowflake
defaultDatabaseStrategy:
standard:
shardingColumn: id
shardingAlgorithmName: database_inline
shardingAlgorithms:
database_inline:
type: INLINE
props:
algorithm-expression: ds_${id % 2}
account_inline:
type: INLINE
props:
algorithm-expression: account_${id % 2}
keyGenerators:
snowflake:
type: SNOWFLAKE
props:
worker-id: 123"><pre class="notranslate"><span class="pl-ent">schemaName</span>: <span class="pl-s">sbtest_sharding</span>
<span class="pl-ent">dataSources</span>:
<span class="pl-ent">ds_0</span>:
<span class="pl-ent">url</span>: <span class="pl-s">jdbc:postgresql://127.0.0.1:15401/sbtest?useSSL=false&useServerPrepStmts=true&cachePrepStmts=true&prepStmtCacheSize=8192&prepStmtCacheSqlLimit=1024</span>
<span class="pl-ent">username</span>: <span class="pl-s">test</span>
<span class="pl-ent">password</span>: <span class="pl-c1">12345678</span>
<span class="pl-ent">connectionTimeoutMilliseconds</span>: <span class="pl-c1">30000</span>
<span class="pl-ent">idleTimeoutMilliseconds</span>: <span class="pl-c1">60000</span>
<span class="pl-ent">maxLifetimeMilliseconds</span>: <span class="pl-c1">1800000</span>
<span class="pl-ent">maxPoolSize</span>: <span class="pl-c1">2000</span>
<span class="pl-ent">minPoolSize</span>: <span class="pl-c1">1</span>
<span class="pl-ent">ds_1</span>:
<span class="pl-ent">url</span>: <span class="pl-s">jdbc:postgresql://127.0.0.1:15402/sbtest?useSSL=false&useServerPrepStmts=true&cachePrepStmts=true&prepStmtCacheSize=8192&prepStmtCacheSqlLimit=1024</span>
<span class="pl-ent">username</span>: <span class="pl-s">test</span>
<span class="pl-ent">password</span>: <span class="pl-c1">12345678</span>
<span class="pl-ent">connectionTimeoutMilliseconds</span>: <span class="pl-c1">30000</span>
<span class="pl-ent">idleTimeoutMilliseconds</span>: <span class="pl-c1">60000</span>
<span class="pl-ent">maxLifetimeMilliseconds</span>: <span class="pl-c1">1800000</span>
<span class="pl-ent">maxPoolSize</span>: <span class="pl-c1">2000</span>
<span class="pl-ent">minPoolSize</span>: <span class="pl-c1">1</span>
<span class="pl-ent">rules</span>:
- <span class="pl-k">!SHARDING</span>
<span class="pl-ent">tables</span>:
<span class="pl-ent">account</span>:
<span class="pl-ent">actualDataNodes</span>: <span class="pl-s">ds_${0..1}.account_${0..1}</span>
<span class="pl-ent">tableStrategy</span>:
<span class="pl-ent">standard</span>:
<span class="pl-ent">shardingColumn</span>: <span class="pl-s">id</span>
<span class="pl-ent">shardingAlgorithmName</span>: <span class="pl-s">account_inline</span>
<span class="pl-ent">keyGenerateStrategy</span>:
<span class="pl-ent">column</span>: <span class="pl-s">id</span>
<span class="pl-ent">keyGeneratorName</span>: <span class="pl-s">snowflake</span>
<span class="pl-ent">defaultDatabaseStrategy</span>:
<span class="pl-ent">standard</span>:
<span class="pl-ent">shardingColumn</span>: <span class="pl-s">id</span>
<span class="pl-ent">shardingAlgorithmName</span>: <span class="pl-s">database_inline</span>
<span class="pl-ent">shardingAlgorithms</span>:
<span class="pl-ent">database_inline</span>:
<span class="pl-ent">type</span>: <span class="pl-s">INLINE</span>
<span class="pl-ent">props</span>:
<span class="pl-ent">algorithm-expression</span>: <span class="pl-s">ds_${id % 2}</span>
<span class="pl-ent">account_inline</span>:
<span class="pl-ent">type</span>: <span class="pl-s">INLINE</span>
<span class="pl-ent">props</span>:
<span class="pl-ent">algorithm-expression</span>: <span class="pl-s">account_${id % 2}</span>
<span class="pl-ent">keyGenerators</span>:
<span class="pl-ent">snowflake</span>:
<span class="pl-ent">type</span>: <span class="pl-s">SNOWFLAKE</span>
<span class="pl-ent">props</span>:
<span class="pl-ent">worker-id</span>: <span class="pl-c1">123</span></pre></div> | <h2 dir="auto">Bug Report</h2>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">5.1.1</p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<p dir="auto">ShardingSphere-JDBC</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">The sql executes correctly</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">org.apache.shardingsphere.sql.parser.exception.SQLParsingException: You have an error in your SQL syntax</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto">sql parsing generates errors that are not actually sql errors</p>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute</h3>
<div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="select o.* from t_order o where o.json_field -> '$.${item.key}' is null and o.create_time > xxx and o.create_time <yyy;"><pre class="notranslate"><span class="pl-k">select</span> o.<span class="pl-k">*</span> <span class="pl-k">from</span> t_order o <span class="pl-k">where</span> <span class="pl-c1">o</span>.<span class="pl-c1">json_field</span> <span class="pl-k">-</span><span class="pl-k">></span> <span class="pl-s"><span class="pl-pds">'</span>$.${item.key}<span class="pl-pds">'</span></span> is <span class="pl-k">null</span> <span class="pl-k">and</span> <span class="pl-c1">o</span>.<span class="pl-c1">create_time</span> <span class="pl-k">></span> xxx <span class="pl-k">and</span> <span class="pl-c1">o</span>.<span class="pl-c1">create_time</span> <span class="pl-k"><</span>yyy;</pre></div>
<p dir="auto">create_time as a sharding field, but doesn't seem to support json syntax? If I remove <code class="notranslate">o.json_field -> '$.${item.key}' is null </code>, there will be no error. However, this sql can be executed normally in mysql.</p>
<p dir="auto">create_time作为分片字段,但是貌似不支持json语法?如果我移除<code class="notranslate">o.json_field -> '$.${item.key}' is null </code>,就不会报错。然而这个sql是能在mysql里正常执行的</p> | 0 |
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution Ubuntu 18.04 LTS</li>
<li>TensorFlow installed from source or binary): source</li>
<li>TensorFlow version (use command below): v2.0.0-alpha0-4-g2c2d508 2.0.0-alpha0</li>
<li>Python version: 3.5.7</li>
<li>Bazel version (if compiling from source): From docker image</li>
<li>GCC/Compiler version (if compiling from source): From docker image</li>
<li>CUDA/cuDNN version: NA</li>
<li>GPU model and memory: NA</li>
</ul>
<p dir="auto"><strong>Describe the current behavior</strong><br>
This documentation suggests there are 4 ways to load an optimizer:<br>
<a href="https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/optimizers" rel="nofollow">https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/optimizers</a></p>
<p dir="auto">However:</p>
<p dir="auto">(tf_35) mark@science:~$ python tf_optimizers.py<br>
Traceback (most recent call last):<br>
File "tf_optimizers.py", line 7, in <br>
opt4 = tf.optimizers.Adagrad<br>
AttributeError: module 'tensorflow' has no attribute 'optimizers'</p>
<p dir="auto"><strong>Describe the expected behavior</strong></p>
<p dir="auto">opt = tf.optimizers.Adagrad doesn't work. The first 3 methods do.</p>
<p dir="auto"><strong>MINIMAL code to reproduce the issue</strong></p>
<p dir="auto">import tensorflow as tf<br>
tf.<strong>version</strong></p>
<p dir="auto">opt1 = tf.compat.v2.keras.optimizers.Adagrad<br>
opt2 = tf.compat.v2.optimizers.Adagrad<br>
opt3 = tf.keras.optimizers.Adagrad<br>
opt4 = tf.optimizers.Adagrad</p>
<p dir="auto">I don't know if this is a documentation issue or a tensorflow bug.</p> | <p dir="auto">when I try to converto to tflite, occur below errors</p>
<p dir="auto">$ tflite_convert --output_file=./model1/test.tflite --keras_model_file=./model1/186-0.0481.hdf5</p>
<p dir="auto">WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/init_ops.py:96: calling <strong>init</strong> (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Call initializer instance with the dtype argument instead of passing it to the constructor<br>
WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/init_ops.py:1253: calling <strong>init</strong> (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Call initializer instance with the dtype argument instead of passing it to the constructor<br>
WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/init_ops.py:96: calling <strong>init</strong> (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Call initializer instance with the dtype argument instead of passing it to the constructor<br>
2019-02-12 18:00:17.730635: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2<br>
WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/lite.py:636: convert_variables_to_constants (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Use tf.compat.v1.graph_util.convert_variables_to_constants<br>
WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/graph_util_impl.py:245: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Use tf.compat.v1.graph_util.extract_sub_graph<br>
2019-02-12 18:00:18.207014: I tensorflow/core/grappler/devices.cc:53] Number of eligible GPUs (core count >= 8): 0 (Note: TensorFlow was not compiled with CUDA support)<br>
2019-02-12 18:00:18.207141: I tensorflow/core/grappler/clusters/single_machine.cc:359] Starting new session<br>
2019-02-12 18:00:18.210189: E tensorflow/core/grappler/grappler_item_builder.cc:636] Init node dense/kernel/Assign doesn't exist in graph<br>
Traceback (most recent call last):<br>
File "/usr/local/bin/tflite_convert", line 10, in <br>
sys.exit(main())<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/tflite_convert.py", line 442, in main<br>
app.run(main=run_main, argv=sys.argv[:1])<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run<br>
_sys.exit(main(argv))<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/tflite_convert.py", line 438, in run_main<br>
_convert_model(tflite_flags)<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/tflite_convert.py", line 191, in _convert_model<br>
output_data = converter.convert()<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/lite.py", line 500, in convert<br>
**converter_kwargs)<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/convert.py", line 442, in toco_convert_impl<br>
input_data.SerializeToString())<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/convert.py", line 205, in toco_convert_protos<br>
"TOCO failed. See console for info.\n%s\n%s\n" % (stdout, stderr))<br>
tensorflow.lite.python.convert.ConverterError: TOCO failed. See console for info.<br>
2019-02-12 18:00:19.028566: F tensorflow/core/framework/function.cc:1640] Check failed: GetOpGradFactory()->insert({op, func}).second Duplicated gradient for MapAccumulate<br>
Aborted (core dumped)</p>
<p dir="auto">How can I fixed it?<br>
somebody has any idea?</p> | 0 |
<p dir="auto">I get wrong numerical results (real component is off, imaginary component always near underflow) for <code class="notranslate">sph_harm</code> for scipy 0.16.0 that comes with Miniconda3. scipy on Miniconda seems OK.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.4.3 |Continuum Analytics, Inc.| (default, Oct 19 2015, 21:52:17)
IPython 4.0.0 -- An enhanced Interactive Python.
In [1]: from scipy.special import sph_harm
In [2]: sph_harm(2,5,0.2,0.5)
Out[2]: (0.44798449902914189+3.1149082468549677e-310j)
Python 2.7.10 |Continuum Analytics, Inc.| (default, Sep 15 2015, 14:50:01)
IPython 4.0.0 -- An enhanced Interactive Python.
In [1]: from scipy.special import sph_harm
In [2]: sph_harm(2,5,0.2,0.5)
Out[2]: (0.41262104797366594+0.17445338099189969j)"><pre class="notranslate"><code class="notranslate">Python 3.4.3 |Continuum Analytics, Inc.| (default, Oct 19 2015, 21:52:17)
IPython 4.0.0 -- An enhanced Interactive Python.
In [1]: from scipy.special import sph_harm
In [2]: sph_harm(2,5,0.2,0.5)
Out[2]: (0.44798449902914189+3.1149082468549677e-310j)
Python 2.7.10 |Continuum Analytics, Inc.| (default, Sep 15 2015, 14:50:01)
IPython 4.0.0 -- An enhanced Interactive Python.
In [1]: from scipy.special import sph_harm
In [2]: sph_harm(2,5,0.2,0.5)
Out[2]: (0.41262104797366594+0.17445338099189969j)
</code></pre></div>
<p dir="auto"><code class="notranslate">conda list</code> reports for Miniconda3 and Miniconda respectively</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="scipy 0.16.0 np110py34_1
scipy 0.16.0 np19py27_1"><pre class="notranslate"><code class="notranslate">scipy 0.16.0 np110py34_1
scipy 0.16.0 np19py27_1
</code></pre></div>
<p dir="auto">(I have not updated the scipy version in a while for Python2.)</p> | <p dir="auto">Kind of similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="77773362" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/4887" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/4887/hovercard" href="https://github.com/scipy/scipy/issues/4887">#4887</a>, I found an inconsistency in <code class="notranslate">sph_harm</code>, but it appears on Python 3.4 (e.g., on Anaconda scipy=0.16 or scipy=0.15) but not on Python 2.7 with equivalent <code class="notranslate">numpy</code>/<code class="notranslate">scipy</code> versions. Running this command in a Python 3.4 Anaconda virtual environment I get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -c "from scipy.special import sph_harm; print(sph_harm(1, 1, 1., 1.))"
(-0.290723302201-2.02129965364e-310j)"><pre class="notranslate"><code class="notranslate">$ python -c "from scipy.special import sph_harm; print(sph_harm(1, 1, 1., 1.))"
(-0.290723302201-2.02129965364e-310j)
</code></pre></div>
<p dir="auto">But the correct result is what I get on Python 2.7 (verified using calculations from <a href="https://github.com/mne-tools/mne-python/blob/master/mne/preprocessing/maxwell.py#L251">here</a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(-0.157078470549-0.24463522341j)"><pre class="notranslate"><code class="notranslate">(-0.157078470549-0.24463522341j)
</code></pre></div>
<p dir="auto">It does work on my system Python3 when using the Ubuntu-packaged scipy 0.14.1:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(-0.15707847054880641-0.24463522340968866j)"><pre class="notranslate"><code class="notranslate">(-0.15707847054880641-0.24463522340968866j)
</code></pre></div>
<p dir="auto">And when I build <code class="notranslate">scipy</code> myself, latest <code class="notranslate">master</code> with MKL or <code class="notranslate">maintenance/0.16.x</code> using system BLAS, they both give the same correct result:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(-0.157078470549-0.24463522341j)"><pre class="notranslate"><code class="notranslate">(-0.157078470549-0.24463522341j)
</code></pre></div>
<p dir="auto">Any idea why it could break for 3.4 and not 2.7? And only some builds (apparently Anaconda)? This is a weird one.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jennystone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jennystone">@jennystone</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/argriffing/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/argriffing">@argriffing</a> since you were on the last PR merge related to this<br>
cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wronk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wronk">@wronk</a></p> | 1 |
<p dir="auto">I've used Cprofile to test my code, and I find that <code class="notranslate">import tensorflow.contrib.layers</code> takes very long time. Here is the quick screenshot of the result:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="14495011 function calls (14451561 primitive calls) in 6.324 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1023/1 0.058 0.000 6.328 6.328 {built-in method builtins.exec}
1 0.000 0.000 6.328 6.328 test_import.py:10(<module>)
1066/1 0.006 0.000 6.328 6.328 <frozen importlib._bootstrap>:966(_find_and_load)
1066/1 0.005 0.000 6.328 6.328 <frozen importlib._bootstrap>:939(_find_and_load_unlocked)
1360/1 0.001 0.000 6.328 6.328 <frozen importlib._bootstrap>:214(_call_with_frames_removed)
759/1 0.002 0.000 6.328 6.328 {built-in method builtins.__import__}
881/2 0.004 0.000 6.328 3.164 <frozen importlib._bootstrap>:659(_load_unlocked)
833/2 0.003 0.000 6.328 3.164 <frozen importlib._bootstrap_external>:667(exec_module)
6575/625 0.005 0.000 6.102 0.010 <frozen importlib._bootstrap>:996(_handle_fromlist)
... "><pre class="notranslate"><code class="notranslate">14495011 function calls (14451561 primitive calls) in 6.324 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1023/1 0.058 0.000 6.328 6.328 {built-in method builtins.exec}
1 0.000 0.000 6.328 6.328 test_import.py:10(<module>)
1066/1 0.006 0.000 6.328 6.328 <frozen importlib._bootstrap>:966(_find_and_load)
1066/1 0.005 0.000 6.328 6.328 <frozen importlib._bootstrap>:939(_find_and_load_unlocked)
1360/1 0.001 0.000 6.328 6.328 <frozen importlib._bootstrap>:214(_call_with_frames_removed)
759/1 0.002 0.000 6.328 6.328 {built-in method builtins.__import__}
881/2 0.004 0.000 6.328 3.164 <frozen importlib._bootstrap>:659(_load_unlocked)
833/2 0.003 0.000 6.328 3.164 <frozen importlib._bootstrap_external>:667(exec_module)
6575/625 0.005 0.000 6.102 0.010 <frozen importlib._bootstrap>:996(_handle_fromlist)
...
</code></pre></div>
<p dir="auto">As seen above, it took more than 6 secs to just do <code class="notranslate">import tensorflow.contrib.layers</code>, and I wonder if this is expected. Also, I am pretty interested in why it takes so long time to do importing there.</p>
<p dir="auto"><strong>P.S</strong> The profiling test runs on MacOS Sierra 10.12.5 with Tensorflow v1.2 and Python 3.5.</p> | <h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: macOS Sierra 10.12.5</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: source</li>
<li><strong>TensorFlow version (use command below)</strong>: v1.2.0-2420-g2b4a0f9a4 1.3.0-rc0</li>
<li><strong>Python version</strong>: 3.6.2</li>
<li><strong>Bazel version (if compiling from source)</strong>: 0.5.2-homebrew</li>
<li><strong>CUDA/cuDNN version</strong>: CPU only build</li>
<li><strong>GPU model and memory</strong>: CPU only build</li>
<li><strong>Exact command to reproduce</strong>: time python3 -c "import tensorflow.contrib"</li>
</ul>
<h3 dir="auto">The problem</h3>
<p dir="auto">Doing <code class="notranslate">import tensorflow.contrib</code> take 7.5 seconds on my machine when doing it with Python 3.6.2. With Python 2.7.13 it takes 3.2 seconds.</p>
<p dir="auto">Investigating this revealed that a lot of time is spent in <code class="notranslate">_inspect.stack()</code> in the function <code class="notranslate">make_decorator</code> in <code class="notranslate">python/util/tf_decorator.py</code>. The stack is inspected to find the name of the caller of the function. With Python2 <code class="notranslate">inspect.stack()</code> is fast, but with Python 3 each call to <code class="notranslate">inspect.stack()</code> take approximately 0.2 seconds and there are 23 calls made, which account for the difference in time between Python 2 and 3.</p>
<h3 dir="auto">References</h3>
<p dir="auto">Keras by default imports tensorflow.contrib when the Tensorflow backend is used. Therefore Keras is slow to import when using Python 3: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="244913838" data-permission-text="Title is private" data-url="https://github.com/keras-team/keras/issues/7408" data-hovercard-type="issue" data-hovercard-url="/keras-team/keras/issues/7408/hovercard" href="https://github.com/keras-team/keras/issues/7408">keras-team/keras#7408</a></p>
<p dir="auto">There is a stackoverflow question referencing this issue: <a href="https://stackoverflow.com/questions/45093653/import-tensorflow-contrib-module-is-slow-in-tensorflow-1-2-1" rel="nofollow">https://stackoverflow.com/questions/45093653/import-tensorflow-contrib-module-is-slow-in-tensorflow-1-2-1</a></p> | 1 |
<p dir="auto">By default, the link extractor calls canonicalize_url on the collected links.<br>
The following is not what browsers do:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="canonicalize_url('http://example.com/index.php?/a/=/o/')
'http://example.com/index.php?%2Fa%2F=%2Fo%2F' # encoding forward slashes
canonicalize_url('http://example.com/index.php?a')
'http://example.com/index.php?a=' # appending = on empty arguments"><pre class="notranslate"><span class="pl-en">canonicalize_url</span>(<span class="pl-s">'http://example.com/index.php?/a/=/o/'</span>)
<span class="pl-s">'http://example.com/index.php?%2Fa%2F=%2Fo%2F'</span> <span class="pl-c"># encoding forward slashes</span>
<span class="pl-en">canonicalize_url</span>(<span class="pl-s">'http://example.com/index.php?a'</span>)
<span class="pl-s">'http://example.com/index.php?a='</span> <span class="pl-c"># appending = on empty arguments</span></pre></div>
<p dir="auto">I doubt this is a problem in canonicalize_url<br>
because it's not meant to mimic browsers in the first place, is it?</p>
<p dir="auto">However this is a problem for the link extractor<br>
because it can potentially end up extracting urls<br>
that are wrong from the server's perspective.<br>
In this example, the server doesn't recognise the extractor's url, only the browser's:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# http://forum.laptop.bg/index.php?/discover/
LinkExtractor(restrict_xpaths=('//a[contains(@href, "/topic")]',)).extract_links(response)[0].url
# Extractor: http://forum.laptop.bg/index.php?%2Ftopic%2F57339-%D0%BB%D0%B0%D0%BF%D1%82%D0%BE%D0%BF-asus-w90vp%2F=&comment=221153&do=findComment
# Browser: http://forum.laptop.bg/index.php?/topic/57339-%D0%BB%D0%B0%D0%BF%D1%82%D0%BE%D0%BF-asus-w90vp/&do=findComment&comment=221153"><pre class="notranslate"><span class="pl-c"># http://forum.laptop.bg/index.php?/discover/</span>
<span class="pl-v">LinkExtractor</span>(<span class="pl-s1">restrict_xpaths</span><span class="pl-c1">=</span>(<span class="pl-s">'//a[contains(@href, "/topic")]'</span>,)).<span class="pl-en">extract_links</span>(<span class="pl-s1">response</span>)[<span class="pl-c1">0</span>].<span class="pl-s1">url</span>
<span class="pl-c"># Extractor: http://forum.laptop.bg/index.php?%2Ftopic%2F57339-%D0%BB%D0%B0%D0%BF%D1%82%D0%BE%D0%BF-asus-w90vp%2F=&comment=221153&do=findComment</span>
<span class="pl-c"># Browser: http://forum.laptop.bg/index.php?/topic/57339-%D0%BB%D0%B0%D0%BF%D1%82%D0%BE%D0%BF-asus-w90vp/&do=findComment&comment=221153</span></pre></div>
<p dir="auto">Was this a design decision or a bug?</p> | <p dir="auto">Cannot override the default <code class="notranslate">Connection: close</code> header of scrapy requests. I want to scrape a site for which I need to send <code class="notranslate">Connection: keep-alive</code> headers and remove the default <code class="notranslate">Connection: close</code> header.</p>
<p dir="auto">Tried using custom settings, custom headers and default headers to change <code class="notranslate">Connection: close</code> to <code class="notranslate">Connection: keep-alive</code> but it instead merges and sends two <code class="notranslate">Connection</code> headers.</p>
<p dir="auto">It works in scrapy shell but not when used in a spider.</p>
<p dir="auto">I used Fiddler to check the headers scrapy was sending. Please use Fiddler or any other packet sniffing tool to check the headers as it works fine in scrapy shell.</p>
<p dir="auto">Below is the different things I tried:<br>
Using custom settings:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="custom_settings = {
'DEFAULT_REQUEST_HEADERS': {
'Connection': 'keep-alive'
}
}"><pre class="notranslate"><code class="notranslate">custom_settings = {
'DEFAULT_REQUEST_HEADERS': {
'Connection': 'keep-alive'
}
}
</code></pre></div>
<p dir="auto">Using custom headers:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="headers = {"Connection": "keep-alive"}
for url in urls:
yield scrapy.Request(url=url, callback=self.parse, headers=headers)"><pre class="notranslate"><code class="notranslate">headers = {"Connection": "keep-alive"}
for url in urls:
yield scrapy.Request(url=url, callback=self.parse, headers=headers)
</code></pre></div>
<p dir="auto">Changing default header settings:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DEFAULT_REQUEST_HEADERS = {
'Connection': 'keep-alive',
}"><pre class="notranslate"><code class="notranslate">DEFAULT_REQUEST_HEADERS = {
'Connection': 'keep-alive',
}
</code></pre></div> | 0 |
<p dir="auto">I updated to version 0.152.0 and its showing me these release notes below</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7794777/5178760/e87e9dee-747a-11e4-983b-187d2b6a0cf3.PNG"><img src="https://cloud.githubusercontent.com/assets/7794777/5178760/e87e9dee-747a-11e4-983b-187d2b6a0cf3.PNG" alt="capture" style="max-width: 100%;"></a></p> | <p dir="auto">I use Atom on two different machines and I'm seeing anomalies when looking at the release notes. On one of my machines the release notes are always blank with only a button showing to view previous release notes. On the other machine the release notes are old. Here is a current screenshot but keep in mind this isn't the only time the release notes have been outdated compared to the release I was using.</p>
<p dir="auto">Currently using Atom 0.136 on Windows 8.1 (on two different systems).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/190154/4561202/e6b3c3f4-4efa-11e4-917c-87407b1d7419.png"><img src="https://cloud.githubusercontent.com/assets/190154/4561202/e6b3c3f4-4efa-11e4-917c-87407b1d7419.png" alt="atom-release-notes-problem" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">I believe this bug has various scenarios for happening, but I've managed to pinpoint just one:</p>
<p dir="auto">When opening the editor, (only) after adding some object, and duplicating the tab, some settings get corrupt. At the least the keyboard shortcuts are corrupted, but I have reason to believe it may be more than that.</p>
<details open="" class="details-reset border rounded-2">
<summary class="px-3 py-2">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-camera-video">
<path d="M16 3.75v8.5a.75.75 0 0 1-1.136.643L11 10.575v.675A1.75 1.75 0 0 1 9.25 13h-7.5A1.75 1.75 0 0 1 0 11.25v-6.5C0 3.784.784 3 1.75 3h7.5c.966 0 1.75.784 1.75 1.75v.675l3.864-2.318A.75.75 0 0 1 16 3.75Zm-6.5 1a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-6.5ZM11 8.825l3.5 2.1v-5.85l-3.5 2.1Z"></path>
</svg>
<span aria-label="Video description kEMPWgZRAL.mp4" class="m-1">kEMPWgZRAL.mp4</span>
<span class="dropdown-caret"></span>
</summary>
<video src="https://user-images.githubusercontent.com/31798283/125646841-3c06b6fc-60a9-4f31-ac73-3bf6a31bc948.mp4" data-canonical-src="https://user-images.githubusercontent.com/31798283/125646841-3c06b6fc-60a9-4f31-ac73-3bf6a31bc948.mp4" controls="controls" muted="muted" class="d-block rounded-bottom-2 border-top width-fit" style="max-height:640px; min-height: 200px">
</video>
</details>
<ul dir="auto">
<li>Device: Desktop</li>
</ul> | <p dir="auto">Hi,</p>
<p dir="auto">In my current project I have to implement some complex 2D objects (multilayered GUI) and those will be anchored in 3D space.</p>
<p dir="auto">I have noticed lots of artifacts on those planar 2D objects caused by z-index sorting of 2D layers in the same GUI object. There are few ways to solve it:</p>
<ul dir="auto">
<li>disable sorting and use global <code class="notranslate">THREE.Object3D.renderOrder</code> to sort items - this is not the best option as I would need to keep track of <code class="notranslate">THREE.Object3D.renderOrder</code> globally and update it on many objects if only one item gets inserted in the middle.</li>
<li>render to off-screen texture first - could work but my GUI is quite dynamic and I gain no perf when doing so and it requires me to update render targets on window / GUI resize.</li>
<li>apply some small Z epsilon value to separate layers so depth buffer works fine - tried that but this doesn't work 100%. I don't want to limit myself on how far/close to the object the camera can be.</li>
<li>Create multiple scenes and do few separate render passes - won't work for my project as it would make my project non-extensible or at least it would make it very hard.</li>
</ul>
<p dir="auto">None of the above are good enough nor easy to implement. IMO the cleanest solution to the problem (which I implemented and tested) was to modify the way WebGLRendererList sorts items by <strong>adding possibility to group render items</strong> into some kind of layers and then play with rather "local" than "global" <code class="notranslate">THREE.Object3D.renderOrder</code> property.</p>
<p dir="auto">The easiest implementation of this feature would look like this:</p>
<blockquote>
<p dir="auto">Object3D.js</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Object3D {
// Group render items by this value
renderOrderGroup: number;
}"><pre class="notranslate"><code class="notranslate">class Object3D {
// Group render items by this value
renderOrderGroup: number;
}
</code></pre></div>
<blockquote>
<p dir="auto">RenderItem.js</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Object3D {
// Group render items by this value
renderOrderGroup: number;
}"><pre class="notranslate"><code class="notranslate">class Object3D {
// Group render items by this value
renderOrderGroup: number;
}
</code></pre></div>
<blockquote>
<p dir="auto">WebGLRendererLists.js</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Render item would look something like this
renderItem = {
id: object.id,
object: object,
geometry: geometry,
material: material,
program: material.program,
renderOrder: object.renderOrder,
renderOrderGroup: object.renderOrderGroup,
z: z,
group: group
};
// Sorting extended by this
function painterSortStable(a: RenderItem, b: RenderItem) {
if (a.renderOrderGroup !== b.renderOrderGroup) {
return (a.renderOrderGroup || Number.MIN_SAFE_INTEGER) - (b.renderOrderGroup || Number.MIN_SAFE_INTEGER);
}
// ... followed by rest of the sorting comparisons
}"><pre class="notranslate"><code class="notranslate">// Render item would look something like this
renderItem = {
id: object.id,
object: object,
geometry: geometry,
material: material,
program: material.program,
renderOrder: object.renderOrder,
renderOrderGroup: object.renderOrderGroup,
z: z,
group: group
};
// Sorting extended by this
function painterSortStable(a: RenderItem, b: RenderItem) {
if (a.renderOrderGroup !== b.renderOrderGroup) {
return (a.renderOrderGroup || Number.MIN_SAFE_INTEGER) - (b.renderOrderGroup || Number.MIN_SAFE_INTEGER);
}
// ... followed by rest of the sorting comparisons
}
</code></pre></div>
<p dir="auto">Being able to group items with layers is a nice and clean way to solve the limitation of ThreeJS (big one in my project at least) when working with GUI/2D objects embedded in 3D space.</p>
<p dir="auto">Another way (even more extensible IMO) would be to add support for customizing sorting logics so app can do whatever crazy stuff they want (i.e. via data stored in <code class="notranslate">THREE.Object3D.userData</code> property).<br>
One would simply pass custom sorter into the <code class="notranslate">THREE.WebGLRendererLists</code> or even pass entirely new implementation to the <code class="notranslate">THREE.WebGLRenderer.renderLists</code> property.</p>
<p dir="auto">I could make a PR with either of the proposed changes if anyone thinks it is a good idea. Otherwise I will stick with my little hack where I override the prototype of the WebGLRendererLists - ugly but works for me now. :)</p>
<p dir="auto">Thanks,<br>
Lukasz</p> | 0 |
<p dir="auto">This issue is opened to host a discussion about the recurrent attention API for keras.<br>
Related issues:</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="360325397" data-permission-text="Title is private" data-url="https://github.com/keras-team/keras/issues/11142" data-hovercard-type="pull_request" data-hovercard-url="/keras-team/keras/pull/11142/hovercard" href="https://github.com/keras-team/keras/pull/11142">#11142</a>.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="269448036" data-permission-text="Title is private" data-url="https://github.com/keras-team/keras/issues/8296" data-hovercard-type="pull_request" data-hovercard-url="/keras-team/keras/pull/8296/hovercard" href="https://github.com/keras-team/keras/pull/8296">#8296</a>.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="249896911" data-permission-text="Title is private" data-url="https://github.com/keras-team/keras/issues/7633" data-hovercard-type="issue" data-hovercard-url="/keras-team/keras/issues/7633/hovercard" href="https://github.com/keras-team/keras/issues/7633">#7633</a>.</p> | <p dir="auto">Handling Tensors of tf.Tensor outside a custom layer is not a problem.<br>
For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="InputTensor = np.array([[[[255,0,0],[255,0,0]],[[255,0,0],[0,144,0]]],
[[[0,255,0],[0,255,0]],[[0,255,0],[144,0,0]]],
[[[0,245,0],[0,245,0]],[[0,245,0],[144,0,0]]]])
X = tf.constant(InputTensor)
print(X[0,0,0,0].numpy()) #--->255
print(tf.shape(X)[0].numpy() #--->3
print(X.shape[0]) #--->3
print(X) #---->
<tf.Tensor: shape=(3, 2, 2, 3), dtype=int64, numpy=
array([[[[255, 0, 0],
[255, 0, 0]],
[[255, 0, 0],
[ 0, 144, 0]]],
[[[ 0, 255, 0],
[ 0, 255, 0]],
[[ 0, 255, 0],
[144, 0, 0]]],
[[[ 0, 245, 0],
[ 0, 245, 0]],
[[ 0, 245, 0],
[144, 0, 0]]]])>"><pre class="notranslate"><code class="notranslate">InputTensor = np.array([[[[255,0,0],[255,0,0]],[[255,0,0],[0,144,0]]],
[[[0,255,0],[0,255,0]],[[0,255,0],[144,0,0]]],
[[[0,245,0],[0,245,0]],[[0,245,0],[144,0,0]]]])
X = tf.constant(InputTensor)
print(X[0,0,0,0].numpy()) #--->255
print(tf.shape(X)[0].numpy() #--->3
print(X.shape[0]) #--->3
print(X) #---->
<tf.Tensor: shape=(3, 2, 2, 3), dtype=int64, numpy=
array([[[[255, 0, 0],
[255, 0, 0]],
[[255, 0, 0],
[ 0, 144, 0]]],
[[[ 0, 255, 0],
[ 0, 255, 0]],
[[ 0, 255, 0],
[144, 0, 0]]],
[[[ 0, 245, 0],
[ 0, 245, 0]],
[[ 0, 245, 0],
[144, 0, 0]]]])>
</code></pre></div>
<p dir="auto">You get all the values you need for calculating. But inside custom layers the input tensor has another type:<br>
Something like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Tensor("model_10/Cast:0", shape = (None,2,2,3), dtype = float32)"><pre class="notranslate"><code class="notranslate">Tensor("model_10/Cast:0", shape = (None,2,2,3), dtype = float32)
</code></pre></div>
<p dir="auto">There is no numpy(). tf.shape(X)[0].numpy() does not work or X.shape[0] to get the batch. The numpy() function is helpful to get the values of a tensor. The following example is inside of a custom layer. If I make a tensor with tf.constant, then I receive a tensor without the numpy() function.</p>
<p dir="auto">The next example is a dirty example which works fine but you must handle it with attention:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from keras.layers import Layer
import numpy as np
import tensorflow as tf
from keras.layers import Input
from keras.models import Model
InputTensor = np.array([[[[255,0,0],[255,0,0]],[[255,0,0],[0,144,0]]],
[[[0,255,0],[0,255,0]],[[0,255,0],[144,0,0]]],
[[[0,245,0],[0,245,0]],[[0,245,0],[144,0,0]]]])
class MyLayer(Layer):
def __init__(self,indexmax, **kwargs):
self.indexmax = indexmax
super(MyLayer,self).__init__(**kwargs)
def build(self, input_shape):
self.built = True
super(MyLayer,self).build(input_shape)
def call(self, X):
print(X)
y = np.array([[[[0,0,0]]],[[[0,0,0]]],[[[0,0,0]]]])
if X[0,0,0,0] == 255:
y[0,0,0,0] = 10
if X[1,0,0,1] == 255:
y[1,0,0,1] = 20
if X[2,0,0,1] == 245:
y[2,0,0,1] = 30 #y[2,0,0,1] = x[2,0,0,1]-30 # <--- Does not work!
Y =tf.constant(y)
Y= tf.compat.v1.placeholder_with_default(Y,(None,1,1,3))
return Y
indexmax = InputTensor.shape[0]
inputlayer = Input(shape = InputTensor[0].shape)
layer = MyLayer(indexmax)(inputlayer)
model = Model(inputlayer, layer ) #Model wird erzeugt
model.summary()
Output = model.predict(InputTensor)
Output = np.array(Output)
print("Output = "+str(Output))"><pre class="notranslate"><code class="notranslate">from keras.layers import Layer
import numpy as np
import tensorflow as tf
from keras.layers import Input
from keras.models import Model
InputTensor = np.array([[[[255,0,0],[255,0,0]],[[255,0,0],[0,144,0]]],
[[[0,255,0],[0,255,0]],[[0,255,0],[144,0,0]]],
[[[0,245,0],[0,245,0]],[[0,245,0],[144,0,0]]]])
class MyLayer(Layer):
def __init__(self,indexmax, **kwargs):
self.indexmax = indexmax
super(MyLayer,self).__init__(**kwargs)
def build(self, input_shape):
self.built = True
super(MyLayer,self).build(input_shape)
def call(self, X):
print(X)
y = np.array([[[[0,0,0]]],[[[0,0,0]]],[[[0,0,0]]]])
if X[0,0,0,0] == 255:
y[0,0,0,0] = 10
if X[1,0,0,1] == 255:
y[1,0,0,1] = 20
if X[2,0,0,1] == 245:
y[2,0,0,1] = 30 #y[2,0,0,1] = x[2,0,0,1]-30 # <--- Does not work!
Y =tf.constant(y)
Y= tf.compat.v1.placeholder_with_default(Y,(None,1,1,3))
return Y
indexmax = InputTensor.shape[0]
inputlayer = Input(shape = InputTensor[0].shape)
layer = MyLayer(indexmax)(inputlayer)
model = Model(inputlayer, layer ) #Model wird erzeugt
model.summary()
Output = model.predict(InputTensor)
Output = np.array(Output)
print("Output = "+str(Output))
</code></pre></div>
<p dir="auto">But if I try to assign the value of X[2,0,0,1] to a variable or to another tensor, it does not work. I need the value of the input tensor X for calculating to build output-tensors for example with index maps. To slice the input tensor make the access very complicated and also do not work either. What I wish to avoid the parameter indexmax in the custom layer to transport the batch size into the custom layer, which has first the value None. This is also a very important value to know! If there is no possibility to get these values custom layers make no sense!</p> | 0 |
<h3 dir="auto">Description</h3>
<ul dir="auto">
<li>
<p dir="auto">Hello! I'm getting some bad behavior when using lax.scan to compute an exponential moving average over a time axis.</p>
</li>
<li>
<p dir="auto">Specifically, the EMA function here is causing issues <a href="https://github.com/google-research/chirp/blob/main/chirp/audio_utils.py#L37">Here</a></p>
</li>
<li>
<p dir="auto">The model exports to TF SavedModel (with enable_xla=False), but then we get an exception when running the model:</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[google3/third_party/tensorflow/python/eager/execute.py](https://colab.corp.google.com/drive/1FX99EPcaX-1mAVnpnpUQwkkR0WZ_6o3h#) in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
52 try:
53 ctx.ensure_initialized()
---> 54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
55 inputs, attrs, num_outputs)
56 except core._NotOkStatusException as e:
InvalidArgumentError: Must have updates.shape = indices.shape[:batch_dim] + buffer_shape[num_index_dims:], got updates.shape: [1,1,1,16], indices.shape: [1,128,1,16,1], buffer_shape: [2048], num_index_dims: 1, and batch_dim: 4
[[{{node jax2tf_infer_fn_/scan/while/body/ScatterNd_1}}]]
[[PartitionedCall/jax2tf_infer_fn_/scan/while]] [Op:__inference_restored_function_body_8540]
"><pre class="notranslate"><code class="notranslate">[google3/third_party/tensorflow/python/eager/execute.py](https://colab.corp.google.com/drive/1FX99EPcaX-1mAVnpnpUQwkkR0WZ_6o3h#) in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
52 try:
53 ctx.ensure_initialized()
---> 54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
55 inputs, attrs, num_outputs)
56 except core._NotOkStatusException as e:
InvalidArgumentError: Must have updates.shape = indices.shape[:batch_dim] + buffer_shape[num_index_dims:], got updates.shape: [1,1,1,16], indices.shape: [1,128,1,16,1], buffer_shape: [2048], num_index_dims: 1, and batch_dim: 4
[[{{node jax2tf_infer_fn_/scan/while/body/ScatterNd_1}}]]
[[PartitionedCall/jax2tf_infer_fn_/scan/while]] [Op:__inference_restored_function_body_8540]
</code></pre></div>
<p dir="auto">which suggests some indices are being misplaced.</p>
<ul dir="auto">
<li>
<p dir="auto">A couple observations:</p>
</li>
<li>
<p dir="auto">The error occurs even when polymorphic shape is disabled.</p>
</li>
<li>
<p dir="auto">When xla is enabled, the savedmodel works correctly.</p>
</li>
<li>
<p dir="auto">Strangely, converting the SavedModel to TFLite seems to work out; the model runs and the outptus match the jax model numerically.</p>
</li>
<li>
<p dir="auto">Minimal reproducing code is in my usual colab notebook of minimal reproductions <a href="https://colab.corp.google.com/drive/1FX99EPcaX-1mAVnpnpUQwkkR0WZ_6o3h#scrollTo=280PugPMoiQH" rel="nofollow">Here</a></p>
</li>
</ul>
<h3 dir="auto">What jax/jaxlib version are you using?</h3>
<p dir="auto">v0.3.17</p>
<h3 dir="auto">Which accelerator(s) are you using?</h3>
<p dir="auto">CPU, GPU</p>
<h3 dir="auto">Additional system info</h3>
<p dir="auto">Linux</p>
<h3 dir="auto">NVIDIA GPU info</h3>
<p dir="auto"><em>No response</em></p> | <h3 dir="auto">Description</h3>
<p dir="auto">Hello! I'm getting some bad behavior when using lax.scan to compute an exponential moving average over a time axis.</p>
<p dir="auto">Specifically, the EMA function here is causing issues:<br>
<a href="https://github.com/google-research/chirp/blob/main/chirp/audio_utils.py#L37">https://github.com/google-research/chirp/blob/main/chirp/audio_utils.py#L37</a></p>
<p dir="auto">The model exports to TF SavedModel (with enable_xla=False), but then we get an exception when running the model:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[google3/third_party/tensorflow/python/eager/execute.py](https://colab.corp.google.com/drive/1FX99EPcaX-1mAVnpnpUQwkkR0WZ_6o3h#) in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
52 try:
53 ctx.ensure_initialized()
---> 54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
55 inputs, attrs, num_outputs)
56 except core._NotOkStatusException as e:
InvalidArgumentError: Must have updates.shape = indices.shape[:batch_dim] + buffer_shape[num_index_dims:], got updates.shape: [1,1,1,16], indices.shape: [1,128,1,16,1], buffer_shape: [2048], num_index_dims: 1, and batch_dim: 4
[[{{node jax2tf_infer_fn_/scan/while/body/ScatterNd_1}}]]
[[PartitionedCall/jax2tf_infer_fn_/scan/while]] [Op:__inference_restored_function_body_8540]"><pre class="notranslate"><code class="notranslate">[google3/third_party/tensorflow/python/eager/execute.py](https://colab.corp.google.com/drive/1FX99EPcaX-1mAVnpnpUQwkkR0WZ_6o3h#) in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
52 try:
53 ctx.ensure_initialized()
---> 54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
55 inputs, attrs, num_outputs)
56 except core._NotOkStatusException as e:
InvalidArgumentError: Must have updates.shape = indices.shape[:batch_dim] + buffer_shape[num_index_dims:], got updates.shape: [1,1,1,16], indices.shape: [1,128,1,16,1], buffer_shape: [2048], num_index_dims: 1, and batch_dim: 4
[[{{node jax2tf_infer_fn_/scan/while/body/ScatterNd_1}}]]
[[PartitionedCall/jax2tf_infer_fn_/scan/while]] [Op:__inference_restored_function_body_8540]
</code></pre></div>
<p dir="auto">which suggests some indices are being misplaced.</p>
<p dir="auto">A couple observations:</p>
<ul dir="auto">
<li>The error occurs even when polymorphic shape is disabled.</li>
<li>When xla is enabled, the savedmodel works correctly.</li>
<li>Strangely, converting the SavedModel to TFLite seems to work out; the model runs and the outptus match the jax model numerically.</li>
</ul>
<p dir="auto">Minimal reproducing code is in my usual colab notebook of minimal reproductions:<br>
<a href="https://colab.corp.google.com/drive/1FX99EPcaX-1mAVnpnpUQwkkR0WZ_6o3h#scrollTo=280PugPMoiQH" rel="nofollow">https://colab.corp.google.com/drive/1FX99EPcaX-1mAVnpnpUQwkkR0WZ_6o3h#scrollTo=280PugPMoiQH</a></p>
<h3 dir="auto">What jax/jaxlib version are you using?</h3>
<p dir="auto">v0.3.17</p>
<h3 dir="auto">Which accelerator(s) are you using?</h3>
<p dir="auto">CPU, GPU</p>
<h3 dir="auto">Additional System Info</h3>
<p dir="auto">Linux</p> | 1 |
<p dir="auto">In Firefox when using InputAdornement on a TextField of <code class="notranslate">type="number</code> the adornment is moving outside if the field / wrapper is not big enough. I prepared an example (see link below). For that I copied the example from the docs and just added the <code class="notranslate">type</code> property.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2188790/33243854-c02a3cac-d2ed-11e7-808f-3586b76ea7fe.png"><img width="279" alt="bildschirmfoto 2017-11-26 um 21 06 31" src="https://user-images.githubusercontent.com/2188790/33243854-c02a3cac-d2ed-11e7-808f-3586b76ea7fe.png" style="max-width: 100%;"></a></p>
<p dir="auto">I have no idea why this is happening or how to fix that.</p>
<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/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto"><del><a href="https://pmpx74419m.codesandbox.io/" rel="nofollow">https://pmpx74419m.codesandbox.io/</a></del><br>
<a href="https://codesandbox.io/s/pmpx74419m" rel="nofollow">https://codesandbox.io/s/pmpx74419m</a></p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>v1.0.0-beta.21</td>
</tr>
<tr>
<td>browser</td>
<td>Firefox 57</td>
</tr>
</tbody>
</table> | <ul dir="auto">
<li>[x ] I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">I ran the commands<code class="notranslate">npm install material-ui</code> and <code class="notranslate">npm install material-ui@next</code> to get all the modules for an example I'm trying to run. Since they are all material-ui modules, there should've been no error in importing anything.<br>
Here is the link to the example I'm trying to run: <a href="https://github.com/callemall/material-ui/blob/master/docs/src/app/components/pages/components/GridList/ExampleSimple.js">SimpleGrid</a></p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">I am still getting import errors saying that the following two modules aren't found.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7389027/32640701-95aca0fc-c58f-11e7-9064-a299181eb3d7.png"><img src="https://user-images.githubusercontent.com/7389027/32640701-95aca0fc-c58f-11e7-9064-a299181eb3d7.png" alt="screen shot 2017-11-09 at 8 49 52 pm" style="max-width: 100%;"></a></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>
<p dir="auto">Import all material-ui modules<br>
run <code class="notranslate">npm install material-ui</code> and <code class="notranslate">npm install material-ui@next</code></p>
</li>
<li>
<p dir="auto">Get the example code from this file: <a href="https://github.com/callemall/material-ui/blob/master/docs/src/app/components/pages/components/GridList/ExampleSimple.js">SimpleGrid</a></p>
</li>
<li>
<p dir="auto">setup your environment and run <code class="notranslate">npm start</code></p>
</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">I tried importing the specific modules required as well (<code class="notranslate">npm install material-ui/Subheader</code>) but I got more errors.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.20</td>
</tr>
<tr>
<td>React</td>
<td>16.1.0</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome</td>
</tr>
</tbody>
</table> | 0 |
<h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">I would like to have an optional component but with the content being always rendered (so v-if doesn't work with this use case)</p>
<p dir="auto">It's currently not possible without a lot of code duplication</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<my-component v-if="condition">
<the-content>I'm visible</the-content>
</my-component>
<the-content v-else>I'm visible</the-content>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">my-component</span> <span class="pl-c1">v-if</span>="<span class="pl-s">condition</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">the-content</span><span class="pl-kos">></span>I'm visible<span class="pl-kos"></</span><span class="pl-ent">the-content</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">my-component</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">the-content</span> <span class="pl-c1">v-else</span><span class="pl-kos">></span>I'm visible<span class="pl-kos"></</span><span class="pl-ent">the-content</span><span class="pl-kos">></span></pre></div>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto">What I would like to be able to write instead is this</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<my-component v-if-parent="condition">
<the-content>I'm visible</the-content>
</my-component>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">my-component</span> <span class="pl-c1">v-if-parent</span>="<span class="pl-s">condition</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">the-content</span><span class="pl-kos">></span>I'm visible<span class="pl-kos"></</span><span class="pl-ent">the-content</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">my-component</span><span class="pl-kos">></span></pre></div> | <h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">In large applications, there are often families of components, within which components share most of the look/behavior, but vary slightly. This makes it desirable to reuse code between them. Some reuse can be achieved with slots, other is better with component inheritance. But while most of the parent component definition can be smart-merged with child definition, the template has to be either kept as is, or replaced entirely.</p>
<p dir="auto">I have seen multiple approaches to reusing component templates:</p>
<ol dir="auto">
<li>
<p dir="auto">Write very granular appearance-only components with many slots. While this sounds good in theory, in practice the granularity needed often makes this approach into an obstruction rather than abstraction.</p>
</li>
<li>
<p dir="auto">Implement all required variation in a single component and make it configurable with slots and props. The downside is that you are stuck with a god-component, which is hard to maintain and extend further.</p>
</li>
<li>
<p dir="auto">Extend the component, and use <code class="notranslate"><parent>...</parent></code> in the child template, using slots as "parts". The downside is that you have to "proxy" all props and slots down and events up. This is very cumbersome and fragile.</p>
</li>
<li>
<p dir="auto">Split the component in question further into "part" components, so that you can override only certain part. This gets tedious very quickly, especially when you need <code class="notranslate">v-bind</code> or <code class="notranslate">v-on</code> inside of the overridden part.</p>
</li>
<li>
<p dir="auto">Define "part" render functions among the methods, so that they can be overridden. The downside is that you can not really write such parts in template DSL, and the parts get disconnected from the main template, which makes it harder to understand.</p>
</li>
</ol>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto">The Pug template engine (former Jade) implements a feature called <a href="https://pugjs.org/language/inheritance.html" rel="nofollow"><em>blocks</em></a>, which allows templates to extend other templates while overwriting (or extending) certain named blocks. I think this feature ported to Vue would fill the gap described above, and allow the templates to be more reusable.</p>
<p dir="auto">A possible syntax:</p>
<div class="highlight highlight-text-html-vue notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<!-- parent.vue -->
<template>
<div>
<block name="header">
<h3>Default header</h3>
</block>
<block name="body">
<p>Default body</p>
</block>
<block name="footer">
<!-- no footer by default -->
</block>
</div>
</template>"><pre class="notranslate"><span class="pl-c"><span class="pl-c"><!--</span> parent.vue <span class="pl-c">--></span></span>
<<span class="pl-ent">template</span>>
<<span class="pl-ent">div</span>>
<<span class="pl-ent">block</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>header<span class="pl-pds">"</span></span>>
<<span class="pl-ent">h3</span>>Default header</<span class="pl-ent">h3</span>>
</<span class="pl-ent">block</span>>
<<span class="pl-ent">block</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>body<span class="pl-pds">"</span></span>>
<<span class="pl-ent">p</span>>Default body</<span class="pl-ent">p</span>>
</<span class="pl-ent">block</span>>
<<span class="pl-ent">block</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>footer<span class="pl-pds">"</span></span>>
<span class="pl-c"><span class="pl-c"><!--</span> no footer by default <span class="pl-c">--></span></span>
</<span class="pl-ent">block</span>>
</<span class="pl-ent">div</span>>
</<span class="pl-ent">template</span>></pre></div>
<div class="highlight highlight-text-html-vue notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<!-- child.vue -->
<!-- there is no root element (only blocks), so the parent template is reused -->
<template>
<block name="header">
<h2>More pronounced header</h2>
</block>
<block name="footer">
<p>Footer added by the child</p>
</block>
</template>"><pre class="notranslate"><span class="pl-c"><span class="pl-c"><!--</span> child.vue <span class="pl-c">--></span></span>
<span class="pl-c"><span class="pl-c"><!--</span> there is no root element (only blocks), so the parent template is reused <span class="pl-c">--></span></span>
<<span class="pl-ent">template</span>>
<<span class="pl-ent">block</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>header<span class="pl-pds">"</span></span>>
<<span class="pl-ent">h2</span>>More pronounced header</<span class="pl-ent">h2</span>>
</<span class="pl-ent">block</span>>
<<span class="pl-ent">block</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>footer<span class="pl-pds">"</span></span>>
<<span class="pl-ent">p</span>>Footer added by the child</<span class="pl-ent">p</span>>
</<span class="pl-ent">block</span>>
</<span class="pl-ent">template</span>></pre></div> | 1 |
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thestinger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thestinger">@thestinger</a> found this odd bug. This code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="enum Foo { C { a: int, b: int } }
struct C { a: int, b: int }
fn main() { }"><pre class="notranslate"><code class="notranslate">enum Foo { C { a: int, b: int } }
struct C { a: int, b: int }
fn main() { }
</code></pre></div>
<p dir="auto">properly errors out with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test.rs:2:0: 2:27 error: duplicate definition of type C
test.rs:2 struct C { a: int, b: int }
^~~~~~~~~~~~~~~~~~~~~~~~~~~
test.rs:1:11: 1:31 note: first definition of type C here:
test.rs:1 enum Foo { C { a: int, b: int } }
^~~~~~~~~~~~~~~~~~~~"><pre class="notranslate"><code class="notranslate">test.rs:2:0: 2:27 error: duplicate definition of type C
test.rs:2 struct C { a: int, b: int }
^~~~~~~~~~~~~~~~~~~~~~~~~~~
test.rs:1:11: 1:31 note: first definition of type C here:
test.rs:1 enum Foo { C { a: int, b: int } }
^~~~~~~~~~~~~~~~~~~~
</code></pre></div>
<p dir="auto">However, if you swap the enum and struct definition, it compiles fine with rust HEAD:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct C { a: int, b: int }
enum Foo { C { a: int, b: int } }
fn main() { }"><pre class="notranslate"><code class="notranslate">struct C { a: int, b: int }
enum Foo { C { a: int, b: int } }
fn main() { }
</code></pre></div> | <p dir="auto">Using std::net::lookup_host seems to duplicate each IP in the result set.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="prompt> ./main rust-lang.org
V4(72.8.141.90:0)
V4(72.8.141.90:0)
prompt> ./main google.com | sort
V4(74.125.28.100:0)
V4(74.125.28.100:0)
V4(74.125.28.101:0)
V4(74.125.28.101:0)
V4(74.125.28.102:0)
V4(74.125.28.102:0)
V4(74.125.28.113:0)
V4(74.125.28.113:0)
V4(74.125.28.138:0)
V4(74.125.28.138:0)
V4(74.125.28.139:0)
V4(74.125.28.139:0)
V6([2607:f8b0:400e:c04::66]:0)
V6([2607:f8b0:400e:c04::66]:0)"><pre class="notranslate"><code class="notranslate">prompt> ./main rust-lang.org
V4(72.8.141.90:0)
V4(72.8.141.90:0)
prompt> ./main google.com | sort
V4(74.125.28.100:0)
V4(74.125.28.100:0)
V4(74.125.28.101:0)
V4(74.125.28.101:0)
V4(74.125.28.102:0)
V4(74.125.28.102:0)
V4(74.125.28.113:0)
V4(74.125.28.113:0)
V4(74.125.28.138:0)
V4(74.125.28.138:0)
V4(74.125.28.139:0)
V4(74.125.28.139:0)
V6([2607:f8b0:400e:c04::66]:0)
V6([2607:f8b0:400e:c04::66]:0)
</code></pre></div>
<p dir="auto">The documentation snippet (<a href="https://doc.rust-lang.org/std/net/fn.lookup_host.html" rel="nofollow">https://doc.rust-lang.org/std/net/fn.lookup_host.html</a>) is enough to reproduce.</p>
<p dir="auto">I also have a simple gist here: <a href="https://gist.github.com/nieksand/9c42100be6dc52df3305">https://gist.github.com/nieksand/9c42100be6dc52df3305</a></p>
<p dir="auto">I'm using the latest Rust from master branch on MacOS X 10.9.5. I have not checked on other platforms. I see this for any hostname that I try, so I don't think it's a problem on the nameserver side.</p>
<p dir="auto">Expected behavior is seeing each IP address listed only once.</p> | 0 |
<p dir="auto">Do glide having the same method as picasso have??</p>
<p dir="auto">Picasso.with(context).setIndicatorsEnabled(true);</p>
<p dir="auto">this method can show some color on the top left cornor of the imageview to indicate weather this image is loaded from disk, memory or network.</p>
<p dir="auto">Thanks!</p> | <p dir="auto">There should be an optionally available way of displaying an indicator on the target which tells you any feasible combination of these:</p>
<ul dir="auto">
<li>it was downloaded from the network</li>
<li>it was loaded from disk cache</li>
<li>it was loaded from memory cache</li>
<li>it was just put into disk cache</li>
<li>it was just put into memory cache</li>
<li>it's a thumbnail</li>
<li>it's a placeholder</li>
</ul> | 1 |
<p dir="auto">The current output of <code class="notranslate">ClearStacktrace.jl</code> is pretty good. I just wonder if the same technique discussed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="624409221" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/36026" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/36026/hovercard" href="https://github.com/JuliaLang/julia/issues/36026">#36026</a> can be used on how methods are printed in <code class="notranslate">methods</code> and <code class="notranslate">methodswith</code>? Considering the different result types of them, maybe we need to redefine how methods are shown?</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> methodswith(Int) |> typeof
Array{Method,1}
julia> methods(Int) |> typeof
Base.MethodList"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">methodswith</span>(Int) <span class="pl-k">|></span> typeof
Array{Method,<span class="pl-c1">1</span>}
julia<span class="pl-k">></span> <span class="pl-c1">methods</span>(Int) <span class="pl-k">|></span> typeof
Base<span class="pl-k">.</span>MethodList</pre></div> | <p dir="auto">The output of <code class="notranslate">methods</code> can be hard to read in the REPL<br>
It would be good to use some colour (/bold)<br>
to seperate the signature from the line-info.</p>
<p dir="auto">You can see that in the stacktrace at the top of the image below.<br>
Contrast how easy to read it is, vs the methods list at the bottom.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5127634/48843626-7bec7380-ed8f-11e8-97eb-c8a0110c4773.png"><img width="783" alt="image" src="https://user-images.githubusercontent.com/5127634/48843626-7bec7380-ed8f-11e8-97eb-c8a0110c4773.png" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto"><strong>Elasticsearch version</strong>: 5.0.0-beta1</p>
<p dir="auto"><strong>Plugins installed</strong>: []</p>
<p dir="auto"><strong>JVM version</strong>: 1.8.0_72</p>
<p dir="auto"><strong>OS version</strong>: Ubuntu 15</p>
<p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:<br>
As described here <a href="https://www.elastic.co/guide/en/elasticsearch/reference/5.0/search-suggesters-completion.html#querying" rel="nofollow">https://www.elastic.co/guide/en/elasticsearch/reference/5.0/search-suggesters-completion.html#querying</a> one can use source filtering while returning suggestions under _suggest endpoint. However, using the source filtering returns following error to me.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10341430/19214302/2c4a8924-8d9d-11e6-88af-ba838a879c97.png"><img src="https://cloud.githubusercontent.com/assets/10341430/19214302/2c4a8924-8d9d-11e6-88af-ba838a879c97.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Steps to reproduce</strong>:</p>
<ol dir="auto">
<li>Follow examples mentioned on the above mentioned url for creating index with mapping and indexing document.</li>
<li>Use following query for the suggestion<br>
curl -XPOST "<a href="http://localhost:9200/music/_suggest" rel="nofollow">http://localhost:9200/music/_suggest</a>" -d'<br>
{<br>
"_source": "completion.*",<br>
"song-suggest" : {<br>
"prefix" : "nir",<br>
"completion" : {<br>
"field" : "suggest"<br>
}<br>
}<br>
}'</li>
</ol>
<p dir="auto"><strong>Looking at the documentation, i also wonder why to use completion.* as my source filtered field. Shouldn't it be the name of the field which exist in the document??</strong></p>
<p dir="auto"><em>Surprisingly there is no exception thrown in Elasticsearch log file.</em></p> | <p dir="auto">I found this while going through snippets that aren't marked <code class="notranslate">// CONSOLE</code>. In this case the <a href="https://github.com/elastic/elasticsearch/blame/master/docs/reference/search/suggesters/completion-suggest.asciidoc#L201-L222">this</a> snippet looks to suggest something that isn't implemented.</p> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="❯ deno run does-not-exist.ts
Cannot resolve module "file:///<redacted>/does-not-exist.ts" from "."
Cannot resolve module "file:///<redacted>/does-not-exist.ts" from ".""><pre class="notranslate"><code class="notranslate">❯ deno run does-not-exist.ts
Cannot resolve module "file:///<redacted>/does-not-exist.ts" from "."
Cannot resolve module "file:///<redacted>/does-not-exist.ts" from "."
</code></pre></div> | <p dir="auto">I might be missing something, but Deno doesn't appear to expose the number of rows and columns of a controlling terminal:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Node
[width, height] = [process.stdout.columns, process.stdout.rows];
// QuickJS
[width, height] = os.ttyGetWinSize(1);
// Deno
[width, height] = ???;"><pre class="notranslate"><span class="pl-c">// Node</span>
<span class="pl-kos">[</span><span class="pl-s1">width</span><span class="pl-kos">,</span> <span class="pl-s1">height</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">stdout</span><span class="pl-kos">.</span><span class="pl-c1">columns</span><span class="pl-kos">,</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">stdout</span><span class="pl-kos">.</span><span class="pl-c1">rows</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-c">// QuickJS</span>
<span class="pl-kos">[</span><span class="pl-s1">width</span><span class="pl-kos">,</span> <span class="pl-s1">height</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">os</span><span class="pl-kos">.</span><span class="pl-en">ttyGetWinSize</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-c">// Deno</span>
<span class="pl-kos">[</span><span class="pl-s1">width</span><span class="pl-kos">,</span> <span class="pl-s1">height</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">??</span>?<span class="pl-kos">;</span></pre></div>
<p dir="auto">Also, it'd be nice if we could configure a TTY stream to operate as a "raw" device (so that keystrokes like <code class="notranslate">^C</code> could copy-to-clipboard in a terminal-based editing app). For example:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export function setRawTTY(fd = 0){
if(isQuickJS && "object" === typeof os)
os.ttySetRaw(fd);
else if(isNode)
[process.stdin, process.stdout, process.stderr][fd].setRawMode(true);
else unsupported(setRawTTY, fd);
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-en">setRawTTY</span><span class="pl-kos">(</span><span class="pl-s1">fd</span> <span class="pl-c1">=</span> <span class="pl-c1">0</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">isQuickJS</span> <span class="pl-c1">&&</span> <span class="pl-s">"object"</span> <span class="pl-c1">===</span> <span class="pl-k">typeof</span> <span class="pl-s1">os</span><span class="pl-kos">)</span>
<span class="pl-s1">os</span><span class="pl-kos">.</span><span class="pl-en">ttySetRaw</span><span class="pl-kos">(</span><span class="pl-s1">fd</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">else</span> <span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">isNode</span><span class="pl-kos">)</span>
<span class="pl-kos">[</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">stdin</span><span class="pl-kos">,</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">stdout</span><span class="pl-kos">,</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">stderr</span><span class="pl-kos">]</span><span class="pl-kos">[</span><span class="pl-s1">fd</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">setRawMode</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-k">else</span> <span class="pl-en">unsupported</span><span class="pl-kos">(</span><span class="pl-s1">setRawTTY</span><span class="pl-kos">,</span> <span class="pl-s1">fd</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | 0 |
<p dir="auto">There are a few individual TypeScript definitions in the NuGet package library, but it would be neat to have a package for the whole DefinatelyTyped collection.<br>
I could put it in a shared folder to be referenced by all different packages.</p>
<p dir="auto">Just a thought.</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Igorbek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Igorbek">@Igorbek</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Igmat/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Igmat">@Igmat</a> @Lavoaster <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jessidhia/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jessidhia">@Jessidhia</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkillian/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkillian">@jkillian</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eps1lon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eps1lon">@eps1lon</a> @flavordaaave</li>
</ul>
</li>
</ul>
<p dir="auto">Given this <code class="notranslate">tsconfig.json</code> in a project using <code class="notranslate">@types/styled-components</code>, you get a bunch of errors like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node_modules/typescript/lib/lib.dom.iterable.d.ts:67:11 - error TS2300: Duplicate identifier 'FormData'.
67 interface FormData {
~~~~~~~~
node_modules/@types/react-native/globals.d.ts:40:15
40 declare class FormData {
~~~~~~~~
'FormData' was also declared here."><pre class="notranslate"><code class="notranslate">node_modules/typescript/lib/lib.dom.iterable.d.ts:67:11 - error TS2300: Duplicate identifier 'FormData'.
67 interface FormData {
~~~~~~~~
node_modules/@types/react-native/globals.d.ts:40:15
40 declare class FormData {
~~~~~~~~
'FormData' was also declared here.
</code></pre></div>
<p dir="auto"><code class="notranslate">tsconfig.json</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"target": "es6",
"allowJs": true,
"skipLibCheck": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"strictPropertyInitialization": false,
"noUnusedLocals": true,
"noUnusedParameters": false,
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
"jsx": "react",
"typeRoots": ["./types", "./node_modules/@types"],
"baseUrl": "src",
"paths": {
"@/*": ["*"]
}
},
"include": [
"types/*",
"src/*",
"node_modules/@/**/*"
]
}"><pre class="notranslate"><code class="notranslate">{
"compilerOptions": {
"target": "es6",
"allowJs": true,
"skipLibCheck": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"strictPropertyInitialization": false,
"noUnusedLocals": true,
"noUnusedParameters": false,
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
"jsx": "react",
"typeRoots": ["./types", "./node_modules/@types"],
"baseUrl": "src",
"paths": {
"@/*": ["*"]
}
},
"include": [
"types/*",
"src/*",
"node_modules/@/**/*"
]
}
</code></pre></div>
<p dir="auto">I am not using <code class="notranslate">react-native</code> and there is absolutely no reason I can see that <code class="notranslate">styled-components</code> should be pulling this dependency into my project to begin with. Even though it is not inside the <code class="notranslate">package.json</code> of these types, my <code class="notranslate">yarn.lock</code> pulls it as a dependency:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""@types/styled-components@^4.1.18":
version "4.1.18"
dependencies:
"@types/react" "*"
"@types/react-native" "*"
csstype "^2.2.0""><pre class="notranslate"><code class="notranslate">"@types/styled-components@^4.1.18":
version "4.1.18"
dependencies:
"@types/react" "*"
"@types/react-native" "*"
csstype "^2.2.0"
</code></pre></div> | 0 |
<p dir="auto">Starting with <a href="https://github.com/microsoft/PowerToys/releases/tag/v0.12.0">Release v0.12.0</a>, FancyZones stopped interfering with fullscreen applications. For ultrawide single-monitor setups, being able to move fullscreen applications is incredibly useful.</p>
<p dir="auto">I believe that the fullscreen application moving functionality from v0.11.0 should be added back, but as an additional option in PowerToys settings. For example,</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Keep windows in their zones when they are in fullscreen mode</li>
</ul> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">It would be nice if it would be possible to split a screen to allow for multiple "full screen" windows.<br>
This would enable for example to have You Tube in full screen mode without the rest of the UI together with for example the email program below for people using a PIVOTed Display.</p>
<p dir="auto">This would allow to have a video playing like this:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/33052519/65349326-6d572e80-dbe3-11e9-8ea3-f274bef58301.png"><img src="https://user-images.githubusercontent.com/33052519/65349326-6d572e80-dbe3-11e9-8ea3-f274bef58301.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Instead of having a lot of dead space from the UI><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/33052519/65349762-814f6000-dbe4-11e9-8670-ca3ae9180d3e.png"><img src="https://user-images.githubusercontent.com/33052519/65349762-814f6000-dbe4-11e9-8670-ca3ae9180d3e.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<h3 dir="auto">Describe the bug</h3>
<p dir="auto">I'm getting response like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data: ��n�8�_���VIJ�-�`.Y
�x&@��)JbM�
I��y�)_d�I�E���!������W����+�p�ܲ�������)�M�%��HHa�\k�w��&�����u��l�tGЉ�/��������=��_m���b�;H!A��1�t�R�'�ӏ�a�nZ��r�O;�f2�V-B�M�Y�C�M�V�~o�P���� 3|�j<#<�� �R��(���O���9�4M(��4 �Zm��%�x
玬�9�1����o��������ꮰrE�|Yk�z����xF�$�H:y�iDҙ?w�?��K�#�>���K����z�v��qŕ�,^�ڭu�|�r���P�H�6S���o��V8p)+�4�p T���/N�1&c��qF�&(�Ł�㜆�1���hF�8Jqv���}�1͕AYQ�ղ��1ޯ���+�:̪}�? ��1�&��)�� n�m�
<���.��.�wU�ֵ��ޡ2]�#ÛN��'M��^Gd�S�74�bt�Xo'('"�S��gQ����]$�[��6�M_=A��Xs��Z��d���*��m�(��t��,�N�Y�j�*�����M�9r��jn]ߖ����o�>����3��:��Ѯ˻��*�^�l�I�$�a�O�Y#5;g�
ɾ
�0�&��d$dȋ�=bM#��c��α�j�rܷ�m+
�s��y[n���@��+,;!�����I�l��LW���Jܶ9{�d ���9�PD(ʢ�OJ� _�Ӕ�iD��bt�4�}��O
�}�l[EB�+\�e�vj�v�k�\��F���S����`�GŲ̦M�Lfh��snK]l!�����M�W���a�;+T�n��aʱ�i ��p��θXs��m���C�����0�v�������n�\����hڜ���J�Z�ZA�ҭ��
�.�,v�v���VXH����:�,܆s��A���N�N���f�0��T�̍㉓��6.L���h��`w���������!g%Y�;�$����W�t�We�J�Z�'\�o.?z��kTh��ۍ�/��e����k���e5/:ɋE�
߂���u�Y؞�l�k�$���>E���Y
����?<����M�
"><pre class="notranslate"><code class="notranslate">data: ��n�8�_���VIJ�-�`.Y
�x&@��)JbM�
I��y�)_d�I�E���!������W����+�p�ܲ�������)�M�%��HHa�\k�w��&�����u��l�tGЉ�/��������=��_m���b�;H!A��1�t�R�'�ӏ�a�nZ��r�O;�f2�V-B�M�Y�C�M�V�~o�P���� 3|�j<#<�� �R��(���O���9�4M(��4 �Zm��%�x
玬�9�1����o��������ꮰrE�|Yk�z����xF�$�H:y�iDҙ?w�?��K�#�>���K����z�v��qŕ�,^�ڭu�|�r���P�H�6S���o��V8p)+�4�p T���/N�1&c��qF�&(�Ł�㜆�1���hF�8Jqv���}�1͕AYQ�ղ��1ޯ���+�:̪}�? ��1�&��)�� n�m�
<���.��.�wU�ֵ��ޡ2]�#ÛN��'M��^Gd�S�74�bt�Xo'('"�S��gQ����]$�[��6�M_=A��Xs��Z��d���*��m�(��t��,�N�Y�j�*�����M�9r��jn]ߖ����o�>����3��:��Ѯ˻��*�^�l�I�$�a�O�Y#5;g�
ɾ
�0�&��d$dȋ�=bM#��c��α�j�rܷ�m+
�s��y[n���@��+,;!�����I�l��LW���Jܶ9{�d ���9�PD(ʢ�OJ� _�Ӕ�iD��bt�4�}��O
�}�l[EB�+\�e�vj�v�k�\��F���S����`�GŲ̦M�Lfh��snK]l!�����M�W���a�;+T�n��aʱ�i ��p��θXs��m���C�����0�v�������n�\����hڜ���J�Z�ZA�ҭ��
�.�,v�v���VXH����:�,܆s��A���N�N���f�0��T�̍㉓��6.L���h��`w���������!g%Y�;�$����W�t�We�J�Z�'\�o.?z��kTh��ۍ�/��e����k���e5/:ɋE�
߂���u�Y؞�l�k�$���>E���Y
����?<����M�
</code></pre></div>
<p dir="auto">This started happening when I upgraded to Axio 1.2.0, while Axios 1.1.3 still works fine.</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Save the code snippet as a file, then run: <code class="notranslate">node <path-to-file></code>.</p>
<h3 dir="auto">Code snippet</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import axios from 'axios'
axios({
url: 'https://www.githubstatus.com/api/v2/summary.json'
}).then(statusDetails => {
console.log('data: ', statusDetails.data)
}, statusDetailsError => {
console.log(''error: ', statusDetailsError)
})"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">axios</span> <span class="pl-k">from</span> <span class="pl-s">'axios'</span>
<span class="pl-en">axios</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">url</span>: <span class="pl-s">'https://www.githubstatus.com/api/v2/summary.json'</span>
<span class="pl-kos">}</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-s1">statusDetails</span> <span class="pl-c1">=></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-s">'data: '</span><span class="pl-kos">,</span> <span class="pl-s1">statusDetails</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">statusDetailsError</span> <span class="pl-c1">=></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-s">''</span><span class="pl-s1">error</span>: '<span class="pl-kos">,</span> <span class="pl-s1">statusDetailsError</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">I should get a JSON response like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data: {
page: {
id: 'kctbh9vrtdwd',
name: 'GitHub',
url: 'https://www.githubstatus.com',
time_zone: 'Etc/UTC',
updated_at: '2022-11-25T05:16:11.057Z'
},
components: [
{
id: '8l4ygp009s5s',
name: 'Git Operations',
status: 'operational',
created_at: '2017-01-31T20:05:05.370Z',
updated_at: '2022-11-09T01:54:03.540Z',
position: 1,
description: 'Performance of git clones, pulls, pushes, and associated operations',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'brv1bkgrwx7q',
name: 'API Requests',
status: 'operational',
created_at: '2017-01-31T20:01:46.621Z',
updated_at: '2022-11-09T01:54:01.951Z',
position: 2,
description: 'Requests for GitHub APIs',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: '4230lsnqdsld',
name: 'Webhooks',
status: 'operational',
created_at: '2019-11-13T18:00:24.256Z',
updated_at: '2022-11-09T01:54:07.258Z',
position: 3,
description: 'Real time HTTP callbacks of user-generated and system events',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: '0l2p9nhqnxpd',
name: 'Visit www.githubstatus.com for more information',
status: 'operational',
created_at: '2018-12-05T19:39:40.838Z',
updated_at: '2022-09-07T00:08:33.519Z',
position: 4,
description: null,
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'kr09ddfgbfsf',
name: 'Issues',
status: 'operational',
created_at: '2017-01-31T20:01:46.638Z',
updated_at: '2022-11-09T01:54:04.113Z',
position: 5,
description: 'Requests for Issues on GitHub.com',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'hhtssxt0f5v2',
name: 'Pull Requests',
status: 'operational',
created_at: '2020-09-02T15:39:06.329Z',
updated_at: '2022-11-09T01:54:06.027Z',
position: 6,
description: 'Requests for Pull Requests on GitHub.com',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'br0l2tvcx85d',
name: 'Actions',
status: 'operational',
created_at: '2019-11-13T18:02:19.432Z',
updated_at: '2022-11-18T04:11:58.048Z',
position: 7,
description: 'Workflows, Compute and Orchestration for GitHub Actions',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'st3j38cctv9l',
name: 'Packages',
status: 'operational',
created_at: '2019-11-13T18:02:40.064Z',
updated_at: '2022-11-09T01:54:04.600Z',
position: 8,
description: 'API requests and webhook delivery for GitHub Packages',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'vg70hn9s2tyj',
name: 'Pages',
status: 'operational',
created_at: '2017-01-31T20:04:33.923Z',
updated_at: '2022-11-09T01:54:05.104Z',
position: 9,
description: 'Frontend application and API servers for Pages builds',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'h2ftsgbw7kmk',
name: 'Codespaces',
status: 'operational',
created_at: '2021-08-11T16:02:09.505Z',
updated_at: '2022-11-20T19:55:55.204Z',
position: 10,
description: 'Orchestration and Compute for GitHub Codespaces',
showcase: false,
start_date: '2021-08-11',
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'pjmpxvq2cmr2',
name: 'Copilot',
status: 'partial_outage',
created_at: '2022-06-21T16:04:33.017Z',
updated_at: '2022-11-25T04:13:55.392Z',
position: 11,
description: null,
showcase: false,
start_date: '2022-06-21',
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
}
],
incidents: [
{
id: '69flmdbxhtsk',
name: 'Incident with Copilot',
status: 'investigating',
created_at: '2022-11-25T04:13:49.067Z',
updated_at: '2022-11-25T05:16:11.047Z',
monitoring_at: null,
resolved_at: null,
impact: 'minor',
shortlink: 'https://stspg.io/dtmycfy7r5p6',
started_at: '2022-11-25T04:13:49.061Z',
page_id: 'kctbh9vrtdwd',
incident_updates: [Array],
components: [Array]
}
],
scheduled_maintenances: [],
status: { indicator: 'minor', description: 'Minor Service Outage' }
}"><pre class="notranslate"><code class="notranslate">data: {
page: {
id: 'kctbh9vrtdwd',
name: 'GitHub',
url: 'https://www.githubstatus.com',
time_zone: 'Etc/UTC',
updated_at: '2022-11-25T05:16:11.057Z'
},
components: [
{
id: '8l4ygp009s5s',
name: 'Git Operations',
status: 'operational',
created_at: '2017-01-31T20:05:05.370Z',
updated_at: '2022-11-09T01:54:03.540Z',
position: 1,
description: 'Performance of git clones, pulls, pushes, and associated operations',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'brv1bkgrwx7q',
name: 'API Requests',
status: 'operational',
created_at: '2017-01-31T20:01:46.621Z',
updated_at: '2022-11-09T01:54:01.951Z',
position: 2,
description: 'Requests for GitHub APIs',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: '4230lsnqdsld',
name: 'Webhooks',
status: 'operational',
created_at: '2019-11-13T18:00:24.256Z',
updated_at: '2022-11-09T01:54:07.258Z',
position: 3,
description: 'Real time HTTP callbacks of user-generated and system events',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: '0l2p9nhqnxpd',
name: 'Visit www.githubstatus.com for more information',
status: 'operational',
created_at: '2018-12-05T19:39:40.838Z',
updated_at: '2022-09-07T00:08:33.519Z',
position: 4,
description: null,
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'kr09ddfgbfsf',
name: 'Issues',
status: 'operational',
created_at: '2017-01-31T20:01:46.638Z',
updated_at: '2022-11-09T01:54:04.113Z',
position: 5,
description: 'Requests for Issues on GitHub.com',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'hhtssxt0f5v2',
name: 'Pull Requests',
status: 'operational',
created_at: '2020-09-02T15:39:06.329Z',
updated_at: '2022-11-09T01:54:06.027Z',
position: 6,
description: 'Requests for Pull Requests on GitHub.com',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'br0l2tvcx85d',
name: 'Actions',
status: 'operational',
created_at: '2019-11-13T18:02:19.432Z',
updated_at: '2022-11-18T04:11:58.048Z',
position: 7,
description: 'Workflows, Compute and Orchestration for GitHub Actions',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'st3j38cctv9l',
name: 'Packages',
status: 'operational',
created_at: '2019-11-13T18:02:40.064Z',
updated_at: '2022-11-09T01:54:04.600Z',
position: 8,
description: 'API requests and webhook delivery for GitHub Packages',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'vg70hn9s2tyj',
name: 'Pages',
status: 'operational',
created_at: '2017-01-31T20:04:33.923Z',
updated_at: '2022-11-09T01:54:05.104Z',
position: 9,
description: 'Frontend application and API servers for Pages builds',
showcase: false,
start_date: null,
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'h2ftsgbw7kmk',
name: 'Codespaces',
status: 'operational',
created_at: '2021-08-11T16:02:09.505Z',
updated_at: '2022-11-20T19:55:55.204Z',
position: 10,
description: 'Orchestration and Compute for GitHub Codespaces',
showcase: false,
start_date: '2021-08-11',
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
},
{
id: 'pjmpxvq2cmr2',
name: 'Copilot',
status: 'partial_outage',
created_at: '2022-06-21T16:04:33.017Z',
updated_at: '2022-11-25T04:13:55.392Z',
position: 11,
description: null,
showcase: false,
start_date: '2022-06-21',
group_id: null,
page_id: 'kctbh9vrtdwd',
group: false,
only_show_if_degraded: false
}
],
incidents: [
{
id: '69flmdbxhtsk',
name: 'Incident with Copilot',
status: 'investigating',
created_at: '2022-11-25T04:13:49.067Z',
updated_at: '2022-11-25T05:16:11.047Z',
monitoring_at: null,
resolved_at: null,
impact: 'minor',
shortlink: 'https://stspg.io/dtmycfy7r5p6',
started_at: '2022-11-25T04:13:49.061Z',
page_id: 'kctbh9vrtdwd',
incident_updates: [Array],
components: [Array]
}
],
scheduled_maintenances: [],
status: { indicator: 'minor', description: 'Minor Service Outage' }
}
</code></pre></div>
<h3 dir="auto">Axios Version</h3>
<p dir="auto">1.2.0</p>
<h3 dir="auto">Adapter Version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Browser</h3>
<p dir="auto">Node.js</p>
<h3 dir="auto">Browser Version</h3>
<p dir="auto">N/A</p>
<h3 dir="auto">Node.js Version</h3>
<p dir="auto">16.18.0</p>
<h3 dir="auto">OS</h3>
<p dir="auto">macOS 13</p>
<h3 dir="auto">Additional Library Versions</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="N/A"><pre class="notranslate">N/A</pre></div>
<h3 dir="auto">Additional context/Screenshots</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="N/A"><pre class="notranslate">N/A</pre></div> | <p dir="auto">I'm trying to use Axios to test my data management on my Vue.js app. I'm able to do the <code class="notranslate">axios.get()</code>, but the <code class="notranslate">axios.post()</code> is returning a 404 error, indicating the JSON file was not found.</p>
<p dir="auto">Here is how my Vue component script seems like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<script>
import axios from "axios";
export default {
name: "App",
data() {
return {
title: "Códigos FGO",
accounts: null
};
},
methods: {
getAccounts() {
axios
.get("./json/accounts.json")
.then(json => (this.accounts = json.data));
},
postAccount(acc) {
axios
.post("./json/accounts.json", acc)
.then(response => console.log(response));
}
},
created() {
this.getAccounts();
console.log("Foi");
this.postAccount({
id: 3,
code: "TesteAxiosComponent",
server: "NA",
ssr: 5,
notable: [
{
name: "Ramon",
level: 100,
npLvl: 5
}
]
});
}
};
</script>"><pre class="notranslate"><code class="notranslate"><script>
import axios from "axios";
export default {
name: "App",
data() {
return {
title: "Códigos FGO",
accounts: null
};
},
methods: {
getAccounts() {
axios
.get("./json/accounts.json")
.then(json => (this.accounts = json.data));
},
postAccount(acc) {
axios
.post("./json/accounts.json", acc)
.then(response => console.log(response));
}
},
created() {
this.getAccounts();
console.log("Foi");
this.postAccount({
id: 3,
code: "TesteAxiosComponent",
server: "NA",
ssr: 5,
notable: [
{
name: "Ramon",
level: 100,
npLvl: 5
}
]
});
}
};
</script>
</code></pre></div>
<p dir="auto"><strong>Environment:</strong></p>
<ul dir="auto">
<li>Axios Version 0.19.2</li>
<li>OS: Pop!_OS 20.04</li>
<li>Browser Chrome</li>
<li>Vue.js 2.6.11</li>
</ul>
<p dir="auto">EDIT: Please ignore the duplicated error, it was made because I saved the file without refreshing the page.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32439550/84417363-e3754880-abeb-11ea-91ee-d1d0ce2e5feb.png"><img src="https://user-images.githubusercontent.com/32439550/84417363-e3754880-abeb-11ea-91ee-d1d0ce2e5feb.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Thank you so much for this awesome framework. I've only been working with the framework for a couple of months now, and still unsure of all of the limitations. This looks like a limitation of the component system.</p>
<h3 dir="auto">Vue.js version</h3>
<p dir="auto">1.0.26</p>
<h3 dir="auto">Reproduction Link</h3>
<p dir="auto"><a href="https://jsfiddle.net/CristianGiordano/cdLp4uz2/" rel="nofollow">https://jsfiddle.net/CristianGiordano/cdLp4uz2/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Move a person from one list to another (The list component is re-rendered alongside the moved dom node)</p>
<h3 dir="auto">What is Expected?</h3>
<p dir="auto">No duplication of elements. Here is a working version (same code) without a <code class="notranslate">person</code> component.</p>
<p dir="auto"><a href="https://jsfiddle.net/CristianGiordano/ghwgzgtx/" rel="nofollow">https://jsfiddle.net/CristianGiordano/ghwgzgtx/</a></p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">It looks like VueJS cannot re-use existing nodes or find the node which was moved.</p>
<ul dir="auto">
<li>I have tried adding a <code class="notranslate">track-by</code> id with the relevant object properties.</li>
<li>I have tried SortableJS and Dragula sorting libraries with the same issue.</li>
</ul>
<p dir="auto">p.s. Apologies if this is not the right forum to raise such an issue.</p> | <h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">If a user needs to implement a lifecycle hook that depends on async operations, vue should respect the async nature of the implemented hook and await it in vue land.</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto">The API does not change; only how it works now by awaiting async hooks.</p> | 0 |
<p dir="auto">Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on <a href="http://stackoverflow.com/questions/tagged/keras" rel="nofollow">StackOverflow</a> or <a href="https://keras-slack-autojoin.herokuapp.com/" rel="nofollow">join the Keras Slack channel</a> and ask there instead of filing a GitHub issue.</p>
<p dir="auto">Thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check that you are up-to-date with the master branch of Keras. You can update with:<br>
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found <a href="https://www.tensorflow.org/get_started/os_setup" rel="nofollow">here</a>.</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:<br>
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).</p>
</li>
</ul>
<hr>
<p dir="auto">If I create a layer which is shared by two models that are incorporated into another model, then when compiling against the CNTK backend, I get an exception when falling <code class="notranslate">fit</code>. The following simple example works fine against the Theano and Tensorflow backends, but fails against CNTK:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="x1 = keras.layers.Input((1,))
x2 = keras.layers.Input((1,))
x3 = keras.layers.Input((1,))
l = keras.layers.Dense(2)
m1 = keras.Model([x1], [l(x1)])
m2 = keras.Model([x2], [l(x2)])
m = keras.Model([x3], [keras.layers.concatenate([m1(x3), m2(x3)])])
m.compile('sgd', 'mse')
m.summary()
m.fit([np.ones((1,1))], np.ones((1,4)))"><pre class="notranslate"><code class="notranslate">x1 = keras.layers.Input((1,))
x2 = keras.layers.Input((1,))
x3 = keras.layers.Input((1,))
l = keras.layers.Dense(2)
m1 = keras.Model([x1], [l(x1)])
m2 = keras.Model([x2], [l(x2)])
m = keras.Model([x3], [keras.layers.concatenate([m1(x3), m2(x3)])])
m.compile('sgd', 'mse')
m.summary()
m.fit([np.ones((1,1))], np.ones((1,4)))
</code></pre></div>
<p dir="auto">Here's the error I get:</p>
<blockquote>
<p dir="auto">ValueError: Learner's parameters list must not contain duplicates.</p>
<p dir="auto">[CALL STACK]<br>
> CNTK::TrainingParameterSchedule:: GetMinibatchSize<br>
- CNTK:: ZerosLike (x2)<br>
- CNTK:: UniversalLearner<br>
- PyInit__cntk_py (x2)<br>
- PyCFunction_FastCallDict<br>
- PyObject_GenericGetAttr<br>
- PyEval_EvalFrameDefault<br>
- PyErr_Occurred<br>
- PyFunction_FastCallDict<br>
- PyObject_CallFunctionObjArgs<br>
- PyUnicode_AsUTF8AndSize<br>
- PyFrame_New<br>
- PyEval_EvalFrameDefault<br>
- PyErr_Occurred</p>
</blockquote>
<p dir="auto">Note that the summary call correctly indicates that there are only 4 trainable parameters (because the layer is shared between the two models):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="__________________________________________________________________________________________________
Layer (type) Output Shape Param # Connected to
==================================================================================================
input_3 (InputLayer) (None, 1) 0
__________________________________________________________________________________________________
model_1 (Model) (None, 2) 4 input_3[0][0]
__________________________________________________________________________________________________
model_2 (Model) (None, 2) 4 input_3[0][0]
__________________________________________________________________________________________________
concatenate_1 (Concatenate) (None, 4) 0 model_1[1][0]
model_2[1][0]
==================================================================================================
Total params: 4
Trainable params: 4
Non-trainable params: 0"><pre class="notranslate"><code class="notranslate">__________________________________________________________________________________________________
Layer (type) Output Shape Param # Connected to
==================================================================================================
input_3 (InputLayer) (None, 1) 0
__________________________________________________________________________________________________
model_1 (Model) (None, 2) 4 input_3[0][0]
__________________________________________________________________________________________________
model_2 (Model) (None, 2) 4 input_3[0][0]
__________________________________________________________________________________________________
concatenate_1 (Concatenate) (None, 4) 0 model_1[1][0]
model_2[1][0]
==================================================================================================
Total params: 4
Trainable params: 4
Non-trainable params: 0
</code></pre></div> | <p dir="auto">According to <a href="url">https://keras.io/preprocessing/image/#apply_transform</a> , apply_transform is still under keras.preprocessing.image which is not the case.</p> | 0 |
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var a = {
b: {},
c: {}
}
var unwatch = vm.$watch('a', function (newVal, oldVal) {
// do something
}, { deep:true });"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">b</span>: <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">c</span>: <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">var</span> <span class="pl-s1">unwatch</span> <span class="pl-c1">=</span> <span class="pl-s1">vm</span><span class="pl-kos">.</span><span class="pl-en">$watch</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">newVal</span><span class="pl-kos">,</span> <span class="pl-s1">oldVal</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// do something</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">deep</span>:<span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Is is possible to unwatch a specific key or in other words <strong>exclude</strong> a property when deep watch?</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="unwatch('a.b')"><pre class="notranslate"><span class="pl-en">unwatch</span><span class="pl-kos">(</span><span class="pl-s">'a.b'</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">Thank you !</p> | <p dir="auto">I want something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
data() {
return {
song: {
tracks: [...]
}
}
},
computed: {
'song.duration'() {
return max(this.song.tracks.map(track => track.duration))
}
}
}"><pre class="notranslate"><code class="notranslate">{
data() {
return {
song: {
tracks: [...]
}
}
},
computed: {
'song.duration'() {
return max(this.song.tracks.map(track => track.duration))
}
}
}
</code></pre></div>
<p dir="auto">in such a way that <code class="notranslate">duration</code> is an actual (computed) property on the song object.</p>
<p dir="auto">I have a feeling this may be quite easy to add. With some pointers where to start, I'd be happy to try to add this myself.</p> | 0 |
<h3 dir="auto">Current Behavior:</h3>
<p dir="auto">I'm currently in the middle of trying to create a patch build for my prod env and my builds are failing because my lock file is not pinning my internal git dependencies like it used to. It also takes 5mins vs npm 6's 15sec.</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">The lock file is respected and only it is consulted... no updates, no resolutions, no healing.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<p dir="auto">Install a project that has a git dependency... observe the lock file has a git hash. Blow away the node_modules, use <code class="notranslate">npm ci</code> after making some obvious change in the git dependency and observe the locked version without the change is not present and the latest is.</p>
<h3 dir="auto">Environment:</h3>
<p dir="auto">OS: linux<br>
node: 15.12.0<br>
npm: 7.8.0 (tested all the way back to 7.6...) npm 6 works as expected.</p> | <h3 dir="auto">Current Behavior:</h3>
<p dir="auto">put <code class="notranslate">package-lock=false</code> in <code class="notranslate">.npmrc</code>.</p>
<p dir="auto">Run <code class="notranslate">npm install --package-lock-only</code>.</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">a package-lock.json is generated.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<p dir="auto">See above.</p>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>npm: 7.5.4</li>
</ul>
<p dir="auto">This is a regression from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="402441600" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/146" data-hovercard-type="pull_request" data-hovercard-url="/npm/cli/pull/146/hovercard" href="https://github.com/npm/cli/pull/146">#146</a> / v6.9.0.</p>
<p dir="auto">(possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="768208995" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/2358" data-hovercard-type="pull_request" data-hovercard-url="/npm/cli/pull/2358/hovercard" href="https://github.com/npm/cli/pull/2358">#2358</a>)</p> | 1 |
<h3 dir="auto">Describe the bug</h3>
<p dir="auto">If you fit an <code class="notranslate">IsolationForest</code> using a <code class="notranslate">pd.DataFrame</code> it generates a warning</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="X does not have valid feature names, but IsolationForest was fitted with feature names"><pre class="notranslate"><span class="pl-v">X</span> <span class="pl-s1">does</span> <span class="pl-c1">not</span> <span class="pl-s1">have</span> <span class="pl-s1">valid</span> <span class="pl-s1">feature</span> <span class="pl-s1">names</span>, <span class="pl-s1">but</span> <span class="pl-v">IsolationForest</span> <span class="pl-s1">was</span> <span class="pl-s1">fitted</span> <span class="pl-s1">with</span> <span class="pl-s1">feature</span> <span class="pl-s1">names</span></pre></div>
<p dir="auto">This only seems to occur if you supply a non-default value (i.e. not "auto") for the <code class="notranslate">contamination</code> parameter. This warning is unexpected as a) X does have valid feature names and b) it is being raised by the <code class="notranslate">fit()</code> method but in general is supposed to indicate that predict has been called with ie. an ndarray but the model was fitted using a dataframe.</p>
<p dir="auto">The reason is most likely when you pass contamination != "auto" the estimator essentially calls predict on the training data in order to determine the <code class="notranslate">offset_</code> parameters:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/scikit-learn/scikit-learn/blob/9aaed498795f68e5956ea762fef9c440ca9eb239/sklearn/ensemble/_iforest.py#L337">scikit-learn/sklearn/ensemble/_iforest.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 337
in
<a data-pjax="true" class="commit-tease-sha" href="/scikit-learn/scikit-learn/commit/9aaed498795f68e5956ea762fef9c440ca9eb239">9aaed49</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="L337" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="337"></td>
<td id="LC337" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">self</span>.<span class="pl-s1">offset_</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">percentile</span>(<span class="pl-s1">self</span>.<span class="pl-en">score_samples</span>(<span class="pl-v">X</span>), <span class="pl-c1">100.0</span> <span class="pl-c1">*</span> <span class="pl-s1">self</span>.<span class="pl-s1">contamination</span>) </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<h3 dir="auto">Steps/Code to Reproduce</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.ensemble import IsolationForest
import pandas as pd
X = pd.DataFrame({"a": [-1.1, 0.3, 0.5, 100]})
clf = IsolationForest(random_state=0, contamination=0.05).fit(X)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">ensemble</span> <span class="pl-k">import</span> <span class="pl-v">IsolationForest</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">"a"</span>: [<span class="pl-c1">-</span><span class="pl-c1">1.1</span>, <span class="pl-c1">0.3</span>, <span class="pl-c1">0.5</span>, <span class="pl-c1">100</span>]})
<span class="pl-s1">clf</span> <span class="pl-c1">=</span> <span class="pl-v">IsolationForest</span>(<span class="pl-s1">random_state</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">contamination</span><span class="pl-c1">=</span><span class="pl-c1">0.05</span>).<span class="pl-en">fit</span>(<span class="pl-v">X</span>)</pre></div>
<h3 dir="auto">Expected Results</h3>
<p dir="auto">Does not raise "X does not have valid feature names, but IsolationForest was fitted with feature names"</p>
<h3 dir="auto">Actual Results</h3>
<p dir="auto">raises "X does not have valid feature names, but IsolationForest was fitted with feature names"</p>
<h3 dir="auto">Versions</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="System:
python: 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
executable: /home/david/dev/warpspeed-timeseries/.venv/bin/python
machine: Linux-5.15.0-67-generic-x86_64-with-glibc2.35
Python dependencies:
sklearn: 1.2.1
pip: 23.0.1
setuptools: 67.1.0
numpy: 1.23.5
scipy: 1.10.0
Cython: 0.29.33
pandas: 1.5.3
matplotlib: 3.7.1
joblib: 1.2.0
threadpoolctl: 3.1.0
Built with OpenMP: True
threadpoolctl info:
user_api: blas
internal_api: openblas
prefix: libopenblas
filepath: /home/david/dev/warpspeed-timeseries/.venv/lib/python3.10/site-packages/numpy.libs/libopenblas64_p-r0-742d56dc.3.20.so
version: 0.3.20
threading_layer: pthreads
architecture: Haswell
num_threads: 12
user_api: blas
internal_api: openblas
prefix: libopenblas
filepath: /home/david/dev/warpspeed-timeseries/.venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-41284840.3.18.so
version: 0.3.18
threading_layer: pthreads
architecture: Haswell
num_threads: 12
user_api: openmp
internal_api: openmp
prefix: libgomp
filepath: /home/david/dev/warpspeed-timeseries/.venv/lib/python3.10/site-packages/scikit_learn.libs/libgomp-a34b3233.so.1.0.0
version: None
num_threads: 12"><pre class="notranslate">System:
python: 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
executable: /home/david/dev/warpspeed-timeseries/.venv/bin/python
machine: Linux-5.15.0-67-generic-x86_64-with-glibc2.35
Python dependencies:
sklearn: 1.2.1
pip: 23.0.1
setuptools: 67.1.0
numpy: 1.23.5
scipy: 1.10.0
Cython: 0.29.33
pandas: 1.5.3
matplotlib: 3.7.1
joblib: 1.2.0
threadpoolctl: 3.1.0
Built with OpenMP: True
threadpoolctl info:
user_api: blas
internal_api: openblas
prefix: libopenblas
filepath: /home/david/dev/warpspeed-timeseries/.venv/lib/python3.10/site-packages/numpy.libs/libopenblas64_p-r0-742d56dc.3.20.so
version: 0.3.20
threading_layer: pthreads
architecture: Haswell
num_threads: 12
user_api: blas
internal_api: openblas
prefix: libopenblas
filepath: /home/david/dev/warpspeed-timeseries/.venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-41284840.3.18.so
version: 0.3.18
threading_layer: pthreads
architecture: Haswell
num_threads: 12
user_api: openmp
internal_api: openmp
prefix: libgomp
filepath: /home/david/dev/warpspeed-timeseries/.venv/lib/python3.10/site-packages/scikit_learn.libs/libgomp-a34b3233.so.1.0.0
version: None
num_threads: 12</pre></div> | <p dir="auto">This post is to follow up a discussion on the mailing list with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pprett/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pprett">@pprett</a> .</p>
<p dir="auto"><strong>This issue is not about a general monitoring API, just about the ability to add trees</strong><br>
The motivation for this feature request is monitoring (see below), but <em>let's avoid discussion of a general monitoring API here</em> (which should be the same API as used for monitoring other estimators). It might take a long time for us to all agree on a monitoring API, but in the meantime if someone implements a way to add more trees (or use a <code class="notranslate">warm_start</code> option in the fit method), then we'll have made some progress in the right direction.</p>
<p dir="auto"><strong>Motivation: monitoring and early termination</strong><br>
Two of the most important parameters for the boosting estimators are learn_rate and n_estimators. In <a href="http://cran.r-project.org/web/packages/gbm/vignettes/gbm.pdf" rel="nofollow">this document</a>, Greg Ridgeway provides advice for settings these:</p>
<blockquote>
<p dir="auto">My rule of thumb is to set shrinkage as small as possible while still being able to fit the model in a reasonable amount of time and storage. I usually aim for 3,000 to 10,000 iterations with shrinkage rates between 0.01 and 0.001.</p>
</blockquote>
<p dir="auto">Often such a large number of iterations will be an overkill, and this will be clear if one monitors the accuracy on the out-of-bag estimate. In this situation (which is perhaps the usual situation), one should set the learning rate to be small, add some number of trees, check to see if the accuracy is still improving, and if so, keep adding trees. This requires the ability to add more estimators (perhaps using a warm_start option in the fit function, or a more() method).</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pprett/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pprett">@pprett</a> mentioned</p>
<blockquote>
<p dir="auto">The original pull-request supported an additional parameter <code class="notranslate">monitor</code> which was called after each iteration using the current state of the model and allowed proper early stopping, however, we removed the parameter because we could not agree on the API.</p>
</blockquote> | 0 |
<p dir="auto"><strong>bug - getDerivedStateFromProps is invoked after change state in the same component</strong></p>
<p dir="auto">CodeSandbox ( <a href="https://codesandbox.io/s/8k1v8xjq68" rel="nofollow">https://codesandbox.io/s/8k1v8xjq68</a> )<br>
In my example you can see, that the ElementOne clear state after change state in this component, because the static function getDerivedStateFromProps is invoked (In the guide is: The static getDerivedStateFromProps lifecycle is invoked after a component is instantiated as well as when it <strong>receives new props</strong>. -> ElementOne received new state.). ElementTwo is same with component willReceiveProps, but this behavior is ok.</p>
<p dir="auto">react 16.4<br>
react-dom 16.4</p> | <p dir="auto">According to semver, only non-breaking changes are supposed to go into minor and patch version releases. With the release of 16.4, you have made breaking changes to <code class="notranslate">getDerivedStateFromProps</code>. Our entire codebase, running perfectly on 16.3.2 is a dumpster fire as soon as we raise that dependency to 16.4.</p>
<p dir="auto">The only thing in your CHANGELOG about this <em>breaking</em> change is:</p>
<blockquote>
<p dir="auto">Properly call getDerivedStateFromProps() regardless of the reason for re-rendering. (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/acdlite/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/acdlite">@acdlite</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="313087680" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/12600" data-hovercard-type="pull_request" data-hovercard-url="/facebook/react/pull/12600/hovercard" href="https://github.com/facebook/react/pull/12600">#12600</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="322993706" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/12802" data-hovercard-type="pull_request" data-hovercard-url="/facebook/react/pull/12802/hovercard" href="https://github.com/facebook/react/pull/12802">#12802</a>)</p>
</blockquote>
<p dir="auto">Please revert this change and save it for 17.0.0, or provide proper documentation to what this change actually entails so that its use can be adjusted by those who have already implemented <code class="notranslate">getDerivedStateFromProps</code>.</p> | 1 |
<p dir="auto">Hello everyone,<br>
I got the code from tensorflow website for this tutorial. It processed for a long while and got the following errors. Installing tensorflow from sources also did not work for me as it gave me many errors. so I deleted everything installed tensorflow on my Ubuntu 16.04 LTS. Please please help me in resolving these errors as it is an emergency. I am a beginner to tensorflow and its been 2 months already I have been seeing this error</p>
<p dir="auto">Thanks in advance<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/20130992/24480978/67188b74-149c-11e7-89a5-63d69c3a8412.png"><img src="https://cloud.githubusercontent.com/assets/20130992/24480978/67188b74-149c-11e7-89a5-63d69c3a8412.png" alt="seq" style="max-width: 100%;"></a></p> | <p dir="auto">Hello everyone,<br>
I got the code from tensorflow website for this tutorial. It processed for a long while and got the following errors. Installing tensorflow from sources also did not work for me as it gave me many errors. so I deleted everything installed tensorflow on my Ubuntu 16.04 LTS. Please please help me in resolving these errors as it is an emergency. I am a beginner to tensorflow and its been 2 months already I have been seeing this error</p>
<p dir="auto">Thanks in advance<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/20130992/24480912/0820eb52-149c-11e7-8734-c5861c14d73e.png"><img src="https://cloud.githubusercontent.com/assets/20130992/24480912/0820eb52-149c-11e7-8734-c5861c14d73e.png" alt="seq" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">There is a bit of a UI bug when going from a selected dropdown item to one of its subitems. See:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/96e00cd2e58e2f3642c2b34b3fa5beea29d681e89374013d7143097a3243d9a7/687474703a2f2f7374617469632e74756d626c722e636f6d2f396867737779732f6955316d6a386336792f626f6f7473747261702d6275672e676966"><img src="https://camo.githubusercontent.com/96e00cd2e58e2f3642c2b34b3fa5beea29d681e89374013d7143097a3243d9a7/687474703a2f2f7374617469632e74756d626c722e636f6d2f396867737779732f6955316d6a386336792f626f6f7473747261702d6275672e676966" alt="example" data-animated-image="" data-canonical-src="http://static.tumblr.com/9hgswys/iU1mj8c6y/bootstrap-bug.gif" style="max-width: 100%;"></a></p>
<p dir="auto">Increasing the delay is one way to solve it, but the other is to detect the direction of the mouse cursor and apply a delay when the cursor is moving towards one of the submenus.</p>
<p dir="auto">This <a href="https://github.com/kamens/jQuery-menu-aim">repository</a> implements this (see example of how it works <a href="http://htmlpreview.github.io/?https://github.com/kamens/jQuery-menu-aim/blob/master/example/example.html" rel="nofollow">here</a>.</p>
<p dir="auto">It would be nice to have this as Bootstrap's default behavior.</p> | <p dir="auto">Bootstrap's hierarchical menus are a lot like Mac OSX, i.e., broken. I'd like to suggest two changes that would greatly improve usability:</p>
<ol dir="auto">
<li>Don't hide the menu when you click on a divider or bottom/top padding.</li>
<li>Implement mouse movement tracked submenu display, like the one invented by Apple in the 80's and currently used prominently in Amazon's homepage. More info <a href="http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown" rel="nofollow">here</a>.</li>
</ol> | 1 |
<p dir="auto">Hello, im trying to use the playwright test projects function, but seeing the page <a href="https://playwright.dev/docs/test-parameterize#parameterized-projects" rel="nofollow">https://playwright.dev/docs/test-parameterize#parameterized-projects</a>, the part</p>
<p dir="auto">export const test = base.test.extend({<br>
// Define an option and provide a default value.<br>
// We can later override it in the config.<br>
person: ['John', { option: true }],</p>
<p dir="auto">// Override default "page" fixture.<br>
page: async ({ page, person }, use) => {<br>
await page.goto('/chat');<br>
// We use "person" parameter as a "name" for the chat room.<br>
await page.locator('#name').fill(person);<br>
await page.click('text=Enter chat room');<br>
// Each test will get a "page" that already has the person name.<br>
await use(page);<br>
},<br>
});</p>
<p dir="auto">In this code, i cant use "base.test.extend" the .test. is shown as an error</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v 1.31.2]</li>
<li>Operating System: [Microsoft Windows 10 Enterprise Version 10.0.19042 Build 19042]</li>
<li>Browser: [Playwright codegen]</li>
<li>Other info:<br>
If i take a screenshot with the devtools playwright is closed after the screenshot.</li>
</ul>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>in <code class="notranslate">cmd.exe</code> enter <code class="notranslate">npx playwright codegen https://playwright.dev/docs/debug-selectors#using-devtools</code></li>
<li>on <code class="notranslate">https://playwright.dev/docs/debug-selectors</code> change the theme to dark by manually clicking one of the buttons <code class="notranslate">document.querySelectorAll("button.toggleButton_gllP")</code></li>
<li>open the devtools of the browser</li>
<li>To run a command either press <kbd>CTRL+SHIFT+P</kbd> or click the three bullets</li>
<li>Type <code class="notranslate">screenshot</code> in the run input field and select <code class="notranslate">Capture full size screenshot</code></li>
<li>Expected Result: screenshot is taken, stored and playwright stays open</li>
<li>Actual Result: playwright is closed, possibly the screenshot is not stored</li>
</ol>
<h3 dir="auto">Screenshots of step 4 and 5</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1271555/233570752-96b44076-2e0d-45ba-9d4f-6e1ef51f4ea3.png"><img width="1280" alt="Playwright_take_screenshot_devtools_01" src="https://user-images.githubusercontent.com/1271555/233570752-96b44076-2e0d-45ba-9d4f-6e1ef51f4ea3.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1271555/233570768-ac3a2953-475e-4402-be3a-9174d49cb85e.png"><img width="1269" alt="Playwright_take_screenshot_devtools_02" src="https://user-images.githubusercontent.com/1271555/233570768-ac3a2953-475e-4402-be3a-9174d49cb85e.png" style="max-width: 100%;"></a></p>
<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"> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<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
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], },
},
});"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</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-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</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-kos">}</span><span class="pl-kos">)</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="it('should check the box using setChecked', async ({ page }) => {
await page.setContent(`<input id='checkbox' type='checkbox'></input>`);
await page.getByRole('checkbox').check();
await expect(page.getByRole('checkbox')).toBeChecked();
});"><pre class="notranslate"><span class="pl-en">it</span><span class="pl-kos">(</span><span class="pl-s">'should check the box using setChecked'</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">setContent</span><span class="pl-kos">(</span><span class="pl-s">`<input id='checkbox' type='checkbox'></input>`</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">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'checkbox'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">check</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'checkbox'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toBeChecked</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>[...]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">[Describe expected behavior]</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">[Describe actual behavior]</p> | 0 |
<h3 dir="auto">Describe the issue:</h3>
<p dir="auto">In the documentation, it is explained that "arange(stop): Values are generated within the half-open interval [0, stop) (in other words, the interval including start but excluding stop)" but in case of using e-4 order number as argument "stop", the return includes the number of "stop" at the end of array.<br>
For example,<br>
<code class="notranslate">print(np.arange(1e-5, 1e-4, 2e-6))</code><br>
returns<br>
<code class="notranslate">[1.0e-05 1.2e-05 1.4e-05 1.6e-05 1.8e-05 2.0e-05 2.2e-05 2.4e-05 2.6e-05 2.8e-05 3.0e-05 3.2e-05 3.4e-05 3.6e-05 3.8e-05 4.0e-05 4.2e-05 4.4e-05 4.6e-05 4.8e-05 5.0e-05 5.2e-05 5.4e-05 5.6e-05 5.8e-05 6.0e-05 6.2e-05 6.4e-05 6.6e-05 6.8e-05 7.0e-05 7.2e-05 7.4e-05 7.6e-05 7.8e-05 8.0e-05 8.2e-05 8.4e-05 8.6e-05 8.8e-05 9.0e-05 9.2e-05 9.4e-05 9.6e-05 9.8e-05 1.0e-04]</code><br>
But for some other cases which also use e-4 order number return correctly;<br>
<code class="notranslate">print(np.arange(1e-5, 3e-4, 2e-6))</code><br>
returns<br>
<code class="notranslate">[1.00e-05 1.20e-05 1.40e-05 1.60e-05 1.80e-05 2.00e-05 2.20e-05 2.40e-05 2.60e-05 2.80e-05 3.00e-05 3.20e-05 3.40e-05 3.60e-05 3.80e-05 4.00e-05 4.20e-05 4.40e-05 4.60e-05 4.80e-05 5.00e-05 5.20e-05 5.40e-05 5.60e-05 5.80e-05 6.00e-05 6.20e-05 6.40e-05 6.60e-05 6.80e-05 7.00e-05 7.20e-05 7.40e-05 7.60e-05 7.80e-05 8.00e-05 8.20e-05 8.40e-05 8.60e-05 8.80e-05 9.00e-05 9.20e-05 9.40e-05 9.60e-05 9.80e-05 1.00e-04 1.02e-04 1.04e-04 1.06e-04 1.08e-04 1.10e-04 1.12e-04 1.14e-04 1.16e-04 1.18e-04 1.20e-04 1.22e-04 1.24e-04 1.26e-04 1.28e-04 1.30e-04 1.32e-04 1.34e-04 1.36e-04 1.38e-04 1.40e-04 1.42e-04 1.44e-04 1.46e-04 1.48e-04 1.50e-04 1.52e-04 1.54e-04 1.56e-04 1.58e-04 1.60e-04 1.62e-04 1.64e-04 1.66e-04 1.68e-04 1.70e-04 1.72e-04 1.74e-04 1.76e-04 1.78e-04 1.80e-04 1.82e-04 1.84e-04 1.86e-04 1.88e-04 1.90e-04 1.92e-04 1.94e-04 1.96e-04 1.98e-04 2.00e-04 2.02e-04 2.04e-04 2.06e-04 2.08e-04 2.10e-04 2.12e-04 2.14e-04 2.16e-04 2.18e-04 2.20e-04 2.22e-04 2.24e-04 2.26e-04 2.28e-04 2.30e-04 2.32e-04 2.34e-04 2.36e-04 2.38e-04 2.40e-04 2.42e-04 2.44e-04 2.46e-04 2.48e-04 2.50e-04 2.52e-04 2.54e-04 2.56e-04 2.58e-04 2.60e-04 2.62e-04 2.64e-04 2.66e-04 2.68e-04 2.70e-04 2.72e-04 2.74e-04 2.76e-04 2.78e-04 2.80e-04 2.82e-04 2.84e-04 2.86e-04 2.88e-04 2.90e-04 2.92e-04 2.94e-04 2.96e-04 2.98e-04]</code></p>
<h3 dir="auto">Reproduce the code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
print(np.arange(1e-5, 1e-4, 2e-6))
print(np.arange(1e-5, 3e-4, 2e-6))"><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-en">print</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1e-5</span>, <span class="pl-c1">1e-4</span>, <span class="pl-c1">2e-6</span>))
<span class="pl-en">print</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1e-5</span>, <span class="pl-c1">3e-4</span>, <span class="pl-c1">2e-6</span>))</pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Runtime information:</h3>
<p dir="auto">1.24.2<br>
3.8.16 | packaged by conda-forge | (default, Feb 1 2023, 16:05:36)<br>
[Clang 14.0.6 ]</p>
<p dir="auto">[{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'],<br>
'found': ['SSSE3', 'SSE41', 'POPCNT', 'SSE42'],<br>
'not_found': ['AVX',<br>
'F16C',<br>
'FMA3',<br>
'AVX2',<br>
'AVX512F',<br>
'AVX512CD',<br>
'AVX512_KNL',<br>
'AVX512_SKX',<br>
'AVX512_CLX',<br>
'AVX512_CNL',<br>
'AVX512_ICL']}},<br>
{'architecture': 'Nehalem',<br>
'filepath': '/Users/uematsuryota/opt/anaconda3/envs/env_healpy/lib/libopenblasp-r0.3.21.dylib',<br>
'internal_api': 'openblas',<br>
'num_threads': 8,<br>
'prefix': 'libopenblas',<br>
'threading_layer': 'openmp',<br>
'user_api': 'blas',<br>
'version': '0.3.21'},<br>
{'filepath': '/Users/uematsuryota/opt/anaconda3/envs/env_healpy/lib/libomp.dylib',<br>
'internal_api': 'openmp',<br>
'num_threads': 8,<br>
'prefix': 'libomp',<br>
'user_api': 'openmp',<br>
'version': None}]<br>
None</p>
<h3 dir="auto">Context for the issue:</h3>
<p dir="auto">If we know this behavior before using we can treat that, but I haven't confirm for all other case causing same phenomenon and I guess certain amount of people are using this without knowing that.<br>
I had crosschecked with some colleagues.</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1516" rel="nofollow">http://projects.scipy.org/numpy/ticket/1516</a> on 2010-06-20 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tonysyu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tonysyu">@tonysyu</a>, assigned to unknown.</em></p>
<p dir="auto">When multiplying a numpy float and a python list, the float is cast as an int and then does the usual python thing (creates duplicates of the original sequence).</p>
<p dir="auto">For example,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> np.float64(2.3) * [1, 2]
[1, 2, 1, 2]"><pre class="notranslate"><code class="notranslate">>>> np.float64(2.3) * [1, 2]
[1, 2, 1, 2]
</code></pre></div>
<p dir="auto">Instead, the multiplication should either work like an array scalar:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> np.array(2.3) * [1, 2]
array([ 2.3, 4.6])"><pre class="notranslate"><code class="notranslate">>>> np.array(2.3) * [1, 2]
array([ 2.3, 4.6])
</code></pre></div>
<p dir="auto">or throw an exception like a python float:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> 2.3 * [1, 2]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can't multiply sequence by non-int of type 'float'"><pre class="notranslate"><code class="notranslate">>>> 2.3 * [1, 2]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can't multiply sequence by non-int of type 'float'
</code></pre></div> | 0 |
<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.): Nothing(), selector, Nothing selector</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
Bug Report</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br>
HEAD</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):</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
code snippet: `labels.Parse(labels.Nothing().String())``</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
I expected <code class="notranslate">labels.Parse(labels.Nothing().String()) == labels.Nothing()</code></p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br>
<a href="https://gist.github.com/rudle/d6225be92164fd235072ffa4a243c32d">https://gist.github.com/rudle/d6225be92164fd235072ffa4a243c32d</a></p>
<p dir="auto"><strong>Anything else do we need to know</strong>:<br>
I have already written a patch for this issue. PR coming soon.</p> | <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>.):</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.):</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</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):</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p> | 0 |
<h4 dir="auto">Challenge Name</h4>
<p dir="auto">Diff Two Arrays</p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">Hi,<br>
I have a problem with the Diff Two Arrays challenge - my code seems to give the following expected results, however they're not accepted by some reason:<br>
[1, "calf", 3, "piglet", 7, "filly"]<br>
["diorite", "pink wool"]</p>
<p dir="auto">other results are accepted.</p>
<p dir="auto">Thanks in advance!</p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Browser Name, Version: Chrome, Internet Explorer</li>
<li>Operating System: Windows 7</li>
<li>Mobile, Desktop, or Tablet: desktop</li>
</ul>
<h4 dir="auto">Your Code</h4>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var toRemove = [];
function diffArray(arr1, arr2) {
var newArr = arr1.concat(arr2);
for (var i = 0; i < newArr.length; i++) {
if (arr1.indexOf(newArr[i]) !== -1 && arr2.indexOf(newArr[i]) !== -1) {
toRemove.push(newArr[i]);
}
}
// Same, same; but different.
return newArr.filter(filterOutNewArr);
//return toRemove;
}
function filterOutNewArr(value) {
var pass = true;
for (var i = 0; i < toRemove.length; i++) {
if (toRemove[i] == value) {
pass = false;
}
}
return pass;
}
diffArray([1, "calf", 3, "piglet"], [7, "filly"]);
"><pre class="notranslate"> <span class="pl-k">var</span> <span class="pl-s1">toRemove</span> <span class="pl-c1">=</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-en">diffArray</span><span class="pl-kos">(</span><span class="pl-s1">arr1</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-k">var</span> <span class="pl-s1">newArr</span> <span class="pl-c1">=</span> <span class="pl-s1">arr1</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-k">for</span> <span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-s1">newArr</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1">++</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">arr1</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-s1">newArr</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-c1">!==</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-c1">&&</span> <span class="pl-s1">arr2</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-s1">newArr</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-c1">!==</span> <span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">toRemove</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">newArr</span><span class="pl-kos">[</span><span class="pl-s1">i</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">// Same, same; but different.</span>
<span class="pl-k">return</span> <span class="pl-s1">newArr</span><span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">filterOutNewArr</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">//return toRemove;</span>
<span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">filterOutNewArr</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-k">var</span> <span class="pl-s1">pass</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-s1">toRemove</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1">++</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">toRemove</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</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-s1">pass</span> <span class="pl-c1">=</span> <span class="pl-c1">false</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-s1">pass</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">diffArray</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-s">"calf"</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-s">"piglet"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">7</span><span class="pl-kos">,</span> <span class="pl-s">"filly"</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/factorialize-a-number#?solution=var%20count%3D1%3B%0Afunction%20factorialize%28num%29%20%7B%0A%20%20for%28var%20i%3D1%3B%20i%3C%3Dnum%3Bi%2B%2B%29%7B%0A%20%20%20%20%0A%20%20%20%20count%3D%20count%20*%20i%3B%0A%20%20%20%20%0A%20%20%7D%0A%20%20return%20count%3B%0A%20%20%0A%7D%0A%0Afactorialize%280%29%3B%0A" rel="nofollow">Factorialize a Number</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 5.1; rv:47.0) Gecko/20100101 Firefox/47.0</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var count=1;
function factorialize(num) {
for(var i=1; i<=num;i++){
count= count * i;
}
return count;
}
factorialize(0);
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">count</span><span class="pl-c1">=</span><span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">factorialize</span><span class="pl-kos">(</span><span class="pl-s1">num</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">for</span><span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1"><=</span><span class="pl-s1">num</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-s1">count</span><span class="pl-c1">=</span> <span class="pl-s1">count</span> <span class="pl-c1">*</span> <span class="pl-s1">i</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">count</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">factorialize</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 1 |
<p dir="auto">hi everybody , i had this error after starting new projet in symfony 2.8 and after the following command : php app/console doctrine:generate:entity<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30234640/28269416-f1e2524a-6af9-11e7-8d6e-597ec26aedb5.png"><img src="https://user-images.githubusercontent.com/30234640/28269416-f1e2524a-6af9-11e7-8d6e-597ec26aedb5.png" alt="28268939-19a17baa-6af8-11e7-88ac-361cc0b7fef1" style="max-width: 100%;"></a></p> | <p dir="auto">ClassNotFoundExceptionAttempted to load class "TestBundle" from namespace "TestBundle".Did you forget a "use" statement for "Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\TestBundle"?</p>
<p dir="auto">in AppKernel.php (line 19)</p> | 1 |
<p dir="auto">CAP_PROP_FRAME_COUNT &<br>
CAP_PROP_FRAME_WIDTH &<br>
CAP_PROP_FRAME_HEIGHT &<br>
CAP_PROP_FPS<br>
all return 0</p>
<p dir="auto">Android Opencv : 4.1.0<br>
Is't a bug? please fix it.</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.1</li>
<li>Operating System macOS High Sierra 10.13.6 / Platform => Android 7.1.1 API 25</li>
<li>Compiler => Android NDK</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<h6 dir="auto">Context</h6>
<p dir="auto">I'm writing a cross platform OpenCV based C++ library. The consuming code is a React Native Application through a <a href="https://facebook.github.io/react-native/docs/native-modules-android.html" rel="nofollow">react native native module</a>.</p>
<p dir="auto">To be perfectly clear, there is no access from Java Code to C++ OpenCV on Android. There are events with the result of the OpenCV C++ code sent to Javascript through the react native bridge.</p>
<p dir="auto">My native library is compiled on Android as a SHARED library. It is dynamically linked to the libopencv_world.so that is produced by the compilation of OpenCV C++ for Android.</p>
<h6 dir="auto">What it does</h6>
<p dir="auto">Basically, it opens the device's default camera and take snapshots.</p>
<h6 dir="auto">The outcome</h6>
<p dir="auto">This code is then ran on iOS and Android.</p>
<p dir="auto">This is working perfectly well on iOS.<br>
It fails on Android.</p>
<p dir="auto">Here is the failing part of C++ code on Adndroid:</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// cap is a cv::VideoCapture object
if (cap.open(0))
{
cap.set(cv::CAP_PROP_FRAME_WIDTH, CAM_WIDTH);
cap.set(cv::CAP_PROP_FRAME_HEIGHT, CAM_HEIGHT);
}
else
{
reject("false", "cap.open(0) returned false");
}"><pre class="notranslate"><span class="pl-c"><span class="pl-c">//</span> cap is a cv::VideoCapture object </span>
<span class="pl-k">if</span> (cap.open(<span class="pl-c1">0</span>))
{
cap.<span class="pl-c1">set</span>(cv::CAP_PROP_FRAME_WIDTH, CAM_WIDTH);
cap.<span class="pl-c1">set</span>(cv::CAP_PROP_FRAME_HEIGHT, CAM_HEIGHT);
}
<span class="pl-k">else</span>
{
<span class="pl-c1">reject</span>(<span class="pl-s"><span class="pl-pds">"</span>false<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>cap.open(0) returned false<span class="pl-pds">"</span></span>);
}</pre></div> | 1 |
<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" checked=""> 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" checked=""> 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" checked=""> 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>7.0.0 and up</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10, 1903 </li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>6.1.7 </li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">process.windowsStore returns true</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">process.windowsStore returns undefined</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Package and run App as a Windows Store App</p>
<h3 dir="auto">Screenshots</h3>
<h3 dir="auto">Additional Information</h3> | <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" checked=""> 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" checked=""> 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" checked=""> 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>Tested on electron 5.0.0, through 5.0.6</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10 (Tested on both 1803 and 1809)</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto"><code class="notranslate">process.windowsStore</code> should return true if running inside of an appx package, as described in <a href="https://electronjs.org/docs/api/process#processwindowsstore" rel="nofollow">https://electronjs.org/docs/api/process#processwindowsstore</a></p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto"><code class="notranslate">process.windowsStore</code> returns undefined, even when running in an appx package</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">I forked electron-quick-start to demonstrate the issue I found.<br>
<a href="https://github.com/dangeredwolf/electron-quick-start">https://github.com/dangeredwolf/electron-quick-start</a></p>
<p dir="auto">You can then use <code class="notranslate">npm run buildWindows</code> to create the appx.</p>
<p dir="auto">If you're unfamiliar with appx deployment, appx files need to be signed to be installed, even in developer mode. <a href="https://docs.microsoft.com/en-gb/windows/uwp/packaging/sign-app-package-using-signtool" rel="nofollow">This is basically how to do that (from Microsoft's docs)</a></p>
<p dir="auto"><code class="notranslate">process.windowsStore</code> is undefined in both the main and renderer processes when installed as an AppX</p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto">I set it up to throw a dialog box of whatever process.windowsStore is</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2636265/57185775-bb230280-6e9f-11e9-901b-0bb384de9fe8.png"><img src="https://user-images.githubusercontent.com/2636265/57185775-bb230280-6e9f-11e9-901b-0bb384de9fe8.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">It's obvious from electron itself that it's running from C:\Program Files\WindowsApps</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2636265/57185783-d726a400-6e9f-11e9-8d05-bfc38a959897.png"><img src="https://user-images.githubusercontent.com/2636265/57185783-d726a400-6e9f-11e9-8d05-bfc38a959897.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">After further testing, I confirmed that this is an issue introduced in Electron 5.0.0. You can test this by cloning <a href="https://github.com/dangeredwolf/electron-quick-start">the electron-quick-start fork with process.windowsStore checks</a> and changing <code class="notranslate">package.json</code>'s <code class="notranslate">"devDependencies"</code>><code class="notranslate">"electron"</code> from <code class="notranslate">"^5.0.0"</code> to <code class="notranslate">"^4.2.0"</code></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2636265/57185900-e9561180-6ea2-11e9-84b7-75a4e3ef7a48.png"><img src="https://user-images.githubusercontent.com/2636265/57185900-e9561180-6ea2-11e9-84b7-75a4e3ef7a48.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import win32timezone
import pywintypes
import pandas
d = pywintypes.TimeType(2001, 1, 1, tzinfo=win32timezone.TimeZoneInfo('Eastern Standard Time'))
ix = pandas.Index([d]) ## crash occurs here"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">win32timezone</span>
<span class="pl-k">import</span> <span class="pl-s1">pywintypes</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span>
<span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-s1">pywintypes</span>.<span class="pl-v">TimeType</span>(<span class="pl-c1">2001</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-s1">tzinfo</span><span class="pl-c1">=</span><span class="pl-s1">win32timezone</span>.<span class="pl-v">TimeZoneInfo</span>(<span class="pl-s">'Eastern Standard Time'</span>))
<span class="pl-s1">ix</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-v">Index</span>([<span class="pl-s1">d</span>]) <span class="pl-c">## crash occurs here</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">In the example above, tzinfo.utcoffset(None) returns None. In tslib.pyx _get_dst_info calls int(total_seconds(_get_utcoffset(tz, None))), and _get_utcoffset(tz, None) returns None. This causes a hard crash because total_seconds from datetime_helper.h expects a timedelta object, and crashes if the attributes "microseconds", "seconds" or "days" don't exist.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// from datetime_helper.h
npy_int64 get_long_attr(PyObject *o, const char *attr) {
npy_int64 long_val;
PyObject *value = PyObject_GetAttrString(o, attr); <-- This returns NULL"><pre class="notranslate"><code class="notranslate">// from datetime_helper.h
npy_int64 get_long_attr(PyObject *o, const char *attr) {
npy_int64 long_val;
PyObject *value = PyObject_GetAttrString(o, attr); <-- This returns NULL
</code></pre></div>
<p dir="auto">When using a timezone from pytz the _utcoffset attribute is set, which is used by _get_utcoffset, and so this crash doesn't happen with that library.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">It shouldn't crash. Ideally it would handle these timezone types, but at least it should raise an Exception if the timezone type isn't currently supported.</p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
<p dir="auto">pandas: 0.20.0rc1+6.g844013b20.dirty<br>
pytest: 3.0.5<br>
pip: 9.0.1<br>
setuptools: 34.3.3<br>
Cython: 0.25.2<br>
numpy: 1.11.2<br>
scipy: None<br>
xarray: None<br>
IPython: 5.3.0<br>
sphinx: 1.5.3<br>
patsy: None<br>
dateutil: 2.6.0<br>
pytz: 2016.10<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: None<br>
openpyxl: 2.4.1<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: 0.9.3<br>
lxml: None<br>
bs4: None<br>
html5lib: None<br>
sqlalchemy: 1.1.4<br>
pymysql: None<br>
psycopg2: 2.7.1 (dt dec pq3 ext lo64)<br>
jinja2: 2.9.5<br>
s3fs: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | <p dir="auto">Thanks to the wonders of duck typing, <code class="notranslate">pandas.Timestamp</code> happily accepts <code class="notranslate">pywintypes.TimeType</code> objects (otherwise known as <code class="notranslate">pywintypes.datetime</code>), including those that employ the <code class="notranslate">win32timezone.TimeZoneInfo</code> object. And most methods work.</p>
<p dir="auto">For some reason, <code class="notranslate">to_datetime</code> does not, and indeed it crashes:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
from win32timezone import TimeZoneInfo
from pywintypes import TimeType
x = TimeType(2012,12,1,0,0,tzinfo=TimeZoneInfo('GMT Standard TIme'))
y = pd.Timestamp(x)
print(y)
y.tzinfo
y.utcoffset()
y.to_datetime64()
y.to_datetime()"><pre class="notranslate"><code class="notranslate">import pandas as pd
from win32timezone import TimeZoneInfo
from pywintypes import TimeType
x = TimeType(2012,12,1,0,0,tzinfo=TimeZoneInfo('GMT Standard TIme'))
y = pd.Timestamp(x)
print(y)
y.tzinfo
y.utcoffset()
y.to_datetime64()
y.to_datetime()
</code></pre></div>
<p dir="auto">This occurs with Anaconda installed win64 Python 3.4.3 and Pandas 0.16.2.</p>
<p dir="auto">I'm going to see if I can't dig down to find a key source of failure. Stay tuned</p> | 1 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Enhancement</h2>
<p dir="auto">It seems like we can improve the way user-facing APIs are surfaced in the python inteface for distributed. Specifically, we have user-facing APIs defined in many places, but there is no clear way to make something part of the external API vs internal only. One way to do this would be to define an <strong>all</strong> in <strong>init</strong>.py that exports all of our public-facing APIs.</p>
<p dir="auto">This will also make it easier for users to introspect our module in python and see the different functions/classes that are intended to be used, and our implementation stays hidden.</p>
<h2 dir="auto">Motivation</h2>
<p dir="auto">The discussion and context in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="499666728" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/26997" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/26997/hovercard" href="https://github.com/pytorch/pytorch/pull/26997">#26997</a> makes it seem like something that we would want.</p>
<h2 dir="auto">Pitch</h2>
<ol dir="auto">
<li>Figure out our external facing APIs</li>
<li>Instead of importing everything (*) from other modules in <strong>init</strong>.py, import only the ones required</li>
<li>Create an <strong>all</strong> that exports these in <code class="notranslate">__init__.py</code></li>
</ol>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a></p> | <p dir="auto">This is to summarize maintability requests from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="499098236" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/26919" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/26919/hovercard" href="https://github.com/pytorch/pytorch/pull/26919">#26919</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="499666728" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/26997" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/26997/hovercard" href="https://github.com/pytorch/pytorch/pull/26997">#26997</a>.</p>
<p dir="auto">I think rpc should create a folder like <code class="notranslate">distributed/autograd</code> does<br>
Maintain the names want to be exposed to users in <code class="notranslate">torch/distributed/rpc/__init__.py</code>.<br>
Do the actual implmentation in <code class="notranslate">torch/distributed/rpc/rpc_api.py</code>.</p>
<p dir="auto">Also, do not use <code class="notranslate">from "something" import *</code>, as descirebd in <a href="https://docs.quantifiedcode.com/python-anti-patterns/maintainability/from_module_import_all_used.html" rel="nofollow">https://docs.quantifiedcode.com/python-anti-patterns/maintainability/from_module_import_all_used.html</a>, it's not clear what has been imported to current module.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a></p> | 1 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.