text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">roles</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2.4.2.0"><pre class="notranslate"><code class="notranslate">2.4.2.0 </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Mac OS X</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">ansible role's dependency is called only once although it is called twice with defferent parameters.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">roles/foo/meta/main.yml</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- dependencies: - role: hello name: &quot;{{key}}&quot;"><pre class="notranslate">--- <span class="pl-ent">dependencies</span>: - <span class="pl-ent">role</span>: <span class="pl-s">hello</span> <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{key}}<span class="pl-pds">"</span></span></pre></div> <p dir="auto">roles/hello/tasks/main.yml</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- - debug: var: name"><pre class="notranslate">--- - <span class="pl-ent">debug</span>: <span class="pl-ent">var</span>: <span class="pl-s">name</span></pre></div> <p dir="auto">playbook.yml</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- - hosts: localhost roles: - role: foo key: foo - role: foo key: bar"><pre class="notranslate">--- - <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span> <span class="pl-ent">roles</span>: - <span class="pl-ent">role</span>: <span class="pl-s">foo</span> <span class="pl-ent">key</span>: <span class="pl-s">foo</span> - <span class="pl-ent">role</span>: <span class="pl-s">foo</span> <span class="pl-ent">key</span>: <span class="pl-s">bar</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">When the playbook is run, the role <code class="notranslate">hello</code> is called twice because roles <code class="notranslate">foo</code> and <code class="notranslate">hello</code> are called twice with different parameters.</p> <p dir="auto"><a href="http://docs.ansible.com/ansible/latest/playbooks_reuse_roles.html#role-duplication-and-execution" rel="nofollow">http://docs.ansible.com/ansible/latest/playbooks_reuse_roles.html#role-duplication-and-execution</a></p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="PLAY [localhost] ***************************************************************************************************************** TASK [Gathering Facts] *********************************************************************************************************** ok: [localhost] TASK [hello : debug] ************************************************************************************************************* ok: [localhost] =&gt; { &quot;name&quot;: &quot;foo&quot; } TASK [hello : debug] ************************************************************************************************************* ok: [localhost] =&gt; { &quot;name&quot;: &quot;bar&quot; } PLAY RECAP *********************************************************************************************************************** localhost : ok=3 changed=0 unreachable=0 failed=0"><pre class="notranslate"><span class="pl-s">PLAY [localhost] *****************************************************************************************************************</span> <span class="pl-s">TASK [Gathering Facts] ***********************************************************************************************************</span> <span class="pl-ent">ok</span>: <span class="pl-s">[localhost]</span> <span class="pl-ent">TASK [hello </span>: <span class="pl-s">debug] *************************************************************************************************************</span> <span class="pl-ent">ok</span>: <span class="pl-s">[localhost] =&gt; {</span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-ent">name</span><span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>foo<span class="pl-pds">"</span></span> <span class="pl-s">}</span> <span class="pl-ent">TASK [hello </span>: <span class="pl-s">debug] *************************************************************************************************************</span> <span class="pl-ent">ok</span>: <span class="pl-s">[localhost] =&gt; {</span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-ent">name</span><span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>bar<span class="pl-pds">"</span></span> <span class="pl-s">}</span> <span class="pl-s">PLAY RECAP ***********************************************************************************************************************</span> <span class="pl-ent">localhost </span>: <span class="pl-s">ok=3 changed=0 unreachable=0 failed=0</span></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">The role <code class="notranslate">hello</code> is called only once.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [localhost] ***************************************************************************************************************** TASK [Gathering Facts] *********************************************************************************************************** ok: [localhost] TASK [hello : debug] ************************************************************************************************************* ok: [localhost] =&gt; { &quot;name&quot;: &quot;foo&quot; } PLAY RECAP *********************************************************************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">PLAY [localhost] ***************************************************************************************************************** TASK [Gathering Facts] *********************************************************************************************************** ok: [localhost] TASK [hello : debug] ************************************************************************************************************* ok: [localhost] =&gt; { "name": "foo" } PLAY RECAP *********************************************************************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=0 </code></pre></div>
<p dir="auto"><code class="notranslate">os_stack</code> will attempt an update if the stack is present. When it does the update HOT parameters are not applied.</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">os_stack</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.2.0 config file = configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.2.0 config file = configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">SUMMARY</h5> <h5 dir="auto">STEPS TO REPRODUCE</h5> <ul dir="auto"> <li>create a Heat Template (hot) yaml file with parameters</li> <li>Run play to create stack</li> <li>Run play again and<br> ** if the parameter was mandatory you get a 400 bad request<br> ** if the parameter has a default it will use this instead</li> </ul> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: create stack register: stack_create os_stack: name: test-stack state: present template: &quot;../heat/teststack.yaml&quot; parameters: default_net: 7acd9647-4b84-4edd-b618-123f6cb82c3f server_flavor: m1.medium"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">create stack</span> <span class="pl-ent">register</span>: <span class="pl-s">stack_create</span> <span class="pl-ent">os_stack</span>: <span class="pl-ent">name</span>: <span class="pl-s">test-stack</span> <span class="pl-ent">state</span>: <span class="pl-s">present</span> <span class="pl-ent">template</span>: <span class="pl-s"><span class="pl-pds">"</span>../heat/teststack.yaml<span class="pl-pds">"</span></span> <span class="pl-ent">parameters</span>: <span class="pl-ent">default_net</span>: <span class="pl-s">7acd9647-4b84-4edd-b618-123f6cb82c3f</span> <span class="pl-ent">server_flavor</span>: <span class="pl-s">m1.medium</span></pre></div> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="heat_template_version: 2015-10-15 parameters: server_flavor: type: string description: size of the server instances default_net: type: string description: Id of default-net default: 7acd9647-4b84-4edd-b618-123f6cb82c3f ..."><pre class="notranslate"><span class="pl-ent">heat_template_version</span>: <span class="pl-c1">2015-10-15</span> <span class="pl-ent">parameters</span>: <span class="pl-ent">server_flavor</span>: <span class="pl-ent">type</span>: <span class="pl-s">string</span> <span class="pl-ent">description</span>: <span class="pl-s">size of the server instances</span> <span class="pl-ent">default_net</span>: <span class="pl-ent">type</span>: <span class="pl-s">string</span> <span class="pl-ent">description</span>: <span class="pl-s">Id of default-net</span> <span class="pl-ent">default</span>: <span class="pl-s">7acd9647-4b84-4edd-b618-123f6cb82c3f</span> ...</pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Stack update with parameters</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Debug shows the parameters, but they appear to be omitted from the API call. Below is 400 because there was no default for <code class="notranslate">server_flavor</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [localhost]: FAILED! =&gt; { &quot;changed&quot;: false, &quot;failed&quot;: true, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;api_timeout&quot;: null, &quot;auth&quot;: null, &quot;auth_type&quot;: null, &quot;availability_zone&quot;: null, &quot;cacert&quot;: null, &quot;cert&quot;: null, &quot;cloud&quot;: null, &quot;endpoint_type&quot;: &quot;public&quot;, &quot;environment&quot;: null, &quot;key&quot;: null, &quot;name&quot;: &quot;test-stack&quot;, &quot;parameters&quot;: { &quot;default_net&quot;: &quot;7acd9647-4b84-4edd-b618-123f6cb82c3f&quot;, &quot;server_flavor&quot;: &quot;m1.medium&quot; }, &quot;region_name&quot;: null, &quot;rollback&quot;: false, &quot;state&quot;: &quot;present&quot;, &quot;template&quot;: &quot;../heat/teststack.yaml&quot;, &quot;timeout&quot;: 3600, &quot;verify&quot;: true, &quot;wait&quot;: true }, &quot;module_name&quot;: &quot;os_stack&quot; }, &quot;msg&quot;: &quot;(400) Client Error: Bad Request"><pre class="notranslate"><code class="notranslate">fatal: [localhost]: FAILED! =&gt; { "changed": false, "failed": true, "invocation": { "module_args": { "api_timeout": null, "auth": null, "auth_type": null, "availability_zone": null, "cacert": null, "cert": null, "cloud": null, "endpoint_type": "public", "environment": null, "key": null, "name": "test-stack", "parameters": { "default_net": "7acd9647-4b84-4edd-b618-123f6cb82c3f", "server_flavor": "m1.medium" }, "region_name": null, "rollback": false, "state": "present", "template": "../heat/teststack.yaml", "timeout": 3600, "verify": true, "wait": true }, "module_name": "os_stack" }, "msg": "(400) Client Error: Bad Request </code></pre></div> <p dir="auto">** if the parameter has a default it will use this instead<br> If <code class="notranslate">server_flavour</code> has the following the instances will resize</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" default: m1.small"><pre class="notranslate"><code class="notranslate"> default: m1.small </code></pre></div>
0
<h3 dir="auto">Version</h3> <p dir="auto">2.5.16</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codepen.io/windyflying/pen/JvzvRb" rel="nofollow">https://codepen.io/windyflying/pen/JvzvRb</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">1.用Chrome或Firefox或Edge打开重现链接,查看结果,代码按预期工作。<br> 2.用IE11打开重现链接,代码不能按预期运行。检查浏览器控制台,有运行时错误,如标题。</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">没有运行时错误</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">出现运行时错误</p> <hr> <p dir="auto">编译后的模板函数在IE11、 IE10和工作正常的浏览器的不一致。</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.5.16 / 2.5.17</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/plasmaeng/ndmjjkho/1/" rel="nofollow">https://jsfiddle.net/plasmaeng/ndmjjkho/1/</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Running the code below in IE10 will result in the following error:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;meta charset=&quot;utf-8&quot;&gt; &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; &lt;title&gt;Page Title&lt;/title&gt; &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt; &lt;script src=&quot;vue.js&quot;&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id=&quot;app_test&quot;&gt; &lt;form&gt; &lt;select&gt; &lt;option v-for=&quot;value in L&quot;&gt;{{value}}&lt;/option&gt; &lt;/select&gt; &lt;/form&gt; &lt;/div&gt; &lt;script&gt; var appTest = new Vue({ el: '#app_test', data: { L : [ '1', '2' ,'3'] } }); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;"><pre class="notranslate"><span class="pl-c1">&lt;!DOCTYPE html<span class="pl-kos">&gt;</span></span> <span class="pl-kos">&lt;</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">head</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">meta</span> <span class="pl-c1">charset</span>="<span class="pl-s">utf-8</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">meta</span> <span class="pl-c1">http-equiv</span>="<span class="pl-s">X-UA-Compatible</span>" <span class="pl-c1">content</span>="<span class="pl-s">IE=edge</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">title</span><span class="pl-kos">&gt;</span>Page Title<span class="pl-kos">&lt;/</span><span class="pl-ent">title</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</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</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">vue.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">head</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">id</span>="<span class="pl-s">app_test</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">form</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">select</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">v-for</span>="<span class="pl-s">value in L</span>"<span class="pl-kos">&gt;</span>{{value}}<span class="pl-kos">&lt;/</span><span class="pl-ent">option</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">select</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">form</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-k">var</span> <span class="pl-s1">appTest</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Vue</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">el</span>: <span class="pl-s">'#app_test'</span><span class="pl-kos">,</span> <span class="pl-c1">data</span>: <span class="pl-kos">{</span> <span class="pl-c1">L</span> : <span class="pl-kos">[</span> <span class="pl-s">'1'</span><span class="pl-kos">,</span> <span class="pl-s">'2'</span> <span class="pl-kos">,</span><span class="pl-s">'3'</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">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">Here is the error message from IE10.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Vue warn]: Error compiling template: &lt;div id=&quot;app_test&quot;&gt; &lt;form&gt; &lt;select&gt; &lt;option v-for=&quot;value in L&quot;&gt;{{value}}&lt;/option&gt; &lt;/select&gt; &lt;/form&gt; &lt;/div&gt; invalid expression: Syntax error in Raw expression: v-for=&quot;value in L&quot; invalid v-for alias &quot;&quot; in expression: v-for=&quot;value in L&quot;"><pre class="notranslate"><code class="notranslate">[Vue warn]: Error compiling template: &lt;div id="app_test"&gt; &lt;form&gt; &lt;select&gt; &lt;option v-for="value in L"&gt;{{value}}&lt;/option&gt; &lt;/select&gt; &lt;/form&gt; &lt;/div&gt; invalid expression: Syntax error in Raw expression: v-for="value in L" invalid v-for alias "" in expression: v-for="value in L" </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7733913/38195565-fcaff2c8-36b8-11e8-9f26-2af218142fd5.png"><img src="https://user-images.githubusercontent.com/7733913/38195565-fcaff2c8-36b8-11e8-9f26-2af218142fd5.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/7733913/38196349-7d88efea-36bd-11e8-83ba-df6c3443c848.png"><img src="https://user-images.githubusercontent.com/7733913/38196349-7d88efea-36bd-11e8-83ba-df6c3443c848.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">What is expected?</h3> <p dir="auto"><code class="notranslate">&lt;option&gt;</code> is generated from 1 to 3.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto"><code class="notranslate">&lt;option&gt;</code> is not generated with error !!!</p> <hr> <p dir="auto">I have persuaded a senior for a long time to introduce Vue.js.<br> If this problem is solved, we plan to reorganize the site into Vue.js.<br> Please solve the problem.</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.0</li> <li>Operating System version: macOS Sierra 10.12</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">We are going to support Google PB serialization with Hessian2 as delegate to write buffer to channel. But, the readInputStream cannot parse the tag from the BytesOutputStream.</p> <ol dir="auto"> <li>write stream direct to Hessian2Output BytesOutputStream.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="protected AbstractProtobufObjectOutput(OutputStream os) { this.delegate = new Hessian2ObjectOutput(os); } private void writeStream(Object obj) throws IOException { Hessian2ObjectOutput hessian2ObjectOutput = (Hessian2ObjectOutput) delegate; OutputStream outputStream = hessian2ObjectOutput.getOutput().getBytesOutputStream(); protobufUtil.serializeWithProtobuf(obj, outputStream); }"><pre class="notranslate"><code class="notranslate">protected AbstractProtobufObjectOutput(OutputStream os) { this.delegate = new Hessian2ObjectOutput(os); } private void writeStream(Object obj) throws IOException { Hessian2ObjectOutput hessian2ObjectOutput = (Hessian2ObjectOutput) delegate; OutputStream outputStream = hessian2ObjectOutput.getOutput().getBytesOutputStream(); protobufUtil.serializeWithProtobuf(obj, outputStream); } </code></pre></div> <ol start="2" dir="auto"> <li>read the stream from the Hessian2Input readInputStream.</li> </ol> <p dir="auto">protected AbstractProtobufObjectInput(InputStream is) {<br> this.delegate = new Hessian2ObjectInput(is);<br> }</p> <p dir="auto"> T deserializeWithStream(Class clazz)<br> throws IOException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {<br> Hessian2ObjectInput input = (Hessian2ObjectInput) delegate;<br> InputStream inputStream = input.getOutput().readInputStream();<br> return deserializeWithProtobuf(inputStream, clazz);<br> }</p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">Google Protobuf should be able to read inputStream from Hessian2Input readInputStream.</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">The tag value should be 'B' or 'b', actually it's not.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Override public InputStream readInputStream() throws IOException { int tag = read(); switch (tag) { case 'B': case 'b': _isLastChunk = tag == 'B'; _chunkLength = (read() &lt;&lt; 8) + read(); break; default: throw expect(&quot;binary&quot;, tag); } return new ReadInputStream(); }"><pre class="notranslate"><code class="notranslate">@Override public InputStream readInputStream() throws IOException { int tag = read(); switch (tag) { case 'B': case 'b': _isLastChunk = tag == 'B'; _chunkLength = (read() &lt;&lt; 8) + read(); break; default: throw expect("binary", tag); } return new ReadInputStream(); } </code></pre></div> <p dir="auto">From the Hessian2Output's BytesOutputStream, we are able to see write 'A' for continue, but 'B' for close.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Override public void write(byte[] buffer, int offset, int length) throws IOException { while (length &gt; 0) { int sublen = SIZE - _offset; if (length &lt; sublen) sublen = length; if (sublen &gt; 0) { System.arraycopy(buffer, offset, _buffer, _offset, sublen); _offset += sublen; } length -= sublen; offset += sublen; if (SIZE &lt;= _offset) { int chunkLength = (_offset - _startOffset) - 3; _buffer[_startOffset] = (byte) BC_BINARY_CHUNK; _buffer[_startOffset + 1] = (byte) (chunkLength &gt;&gt; 8); _buffer[_startOffset + 2] = (byte) (chunkLength); Hessian2Output.this.flush(); _startOffset = _offset; _offset += 3; } } } @Override public void close() throws IOException { int startOffset = _startOffset; _startOffset = -1; if (startOffset &lt; 0) return; int length = (_offset - startOffset) - 3; _buffer[startOffset] = (byte) 'B'; _buffer[startOffset + 1] = (byte) (length &gt;&gt; 8); _buffer[startOffset + 2] = (byte) (length); Hessian2Output.this.flush(); }"><pre class="notranslate"><code class="notranslate">@Override public void write(byte[] buffer, int offset, int length) throws IOException { while (length &gt; 0) { int sublen = SIZE - _offset; if (length &lt; sublen) sublen = length; if (sublen &gt; 0) { System.arraycopy(buffer, offset, _buffer, _offset, sublen); _offset += sublen; } length -= sublen; offset += sublen; if (SIZE &lt;= _offset) { int chunkLength = (_offset - _startOffset) - 3; _buffer[_startOffset] = (byte) BC_BINARY_CHUNK; _buffer[_startOffset + 1] = (byte) (chunkLength &gt;&gt; 8); _buffer[_startOffset + 2] = (byte) (chunkLength); Hessian2Output.this.flush(); _startOffset = _offset; _offset += 3; } } } @Override public void close() throws IOException { int startOffset = _startOffset; _startOffset = -1; if (startOffset &lt; 0) return; int length = (_offset - startOffset) - 3; _buffer[startOffset] = (byte) 'B'; _buffer[startOffset + 1] = (byte) (length &gt;&gt; 8); _buffer[startOffset + 2] = (byte) (length); Hessian2Output.this.flush(); } </code></pre></div> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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.3</li> <li>Operating System version: Mac OS</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">1.RouterChain#buildChain(URL)<br> 2.RouterChain#initWithRouters()<br> 3.RouterChain#sort()</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">ServiceRouter is High priority than AppRouter</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">AppRouter is High priority than ServiceRouter</p> <h3 dir="auto">Cause by</h3> <p dir="auto">the code was on ListenableRouter 94~96 line</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public abstract class ListenableRouter extends AbstractRouter implements ConfigurationListener { ...... ...... @Override public int getPriority() { return DEFAULT_PRIORITY; }"><pre class="notranslate"><code class="notranslate">public abstract class ListenableRouter extends AbstractRouter implements ConfigurationListener { ...... ...... @Override public int getPriority() { return DEFAULT_PRIORITY; } </code></pre></div> <h3 dir="auto">Resolve</h3> <p dir="auto">i think can like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public abstract class ListenableRouter extends AbstractRouter implements ConfigurationListener { ...... ...... @Override public int getPriority() { return priority; }"><pre class="notranslate"><code class="notranslate">public abstract class ListenableRouter extends AbstractRouter implements ConfigurationListener { ...... ...... @Override public int getPriority() { return priority; } </code></pre></div>
0
<h2 dir="auto">ℹ Computer information</h2> <ul dir="auto"> <li>PowerToys version: 0.21.1</li> <li>PowerToy Utility: Fancy Zones</li> <li>Running PowerToys as Admin: Yes</li> <li>Windows build number: [run "winver"] Windows 10 1909</li> </ul> <p dir="auto">I had previously setup zones for each of my 3 displays, and they were working well. In the last couple weeks, the application of my zone templates seems to have run into issues. For example if I apply the template to the left display, it will apply to all of the displays. If i try to correct one of the other displays, that template then gets applied to all 3 displays.</p> <p dir="auto">I have removed all my zone templates and recreated them, but the problem persists. Issue happens running in normal user mode and as an administrator.</p> <p dir="auto">All 3 Displays are the same make and model, Asus VS247, connected to INtel HD 520 integrated graphics card</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/71510329/93603837-2df42700-f98a-11ea-85f7-e17f93100ff3.png"><img src="https://user-images.githubusercontent.com/71510329/93603837-2df42700-f98a-11ea-85f7-e17f93100ff3.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Setting the zone on the left display using the template for that display:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/71510329/93603502-b3c3a280-f989-11ea-9fa0-9f890a020036.png"><img src="https://user-images.githubusercontent.com/71510329/93603502-b3c3a280-f989-11ea-9fa0-9f890a020036.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Going to correct the template applied to the right display, it shows that the Left template is applied:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/71510329/93603620-df468d00-f989-11ea-9edf-aa3870e6f041.png"><img src="https://user-images.githubusercontent.com/71510329/93603620-df468d00-f989-11ea-9edf-aa3870e6f041.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">FancyZones Zones Editor applies new layout to all monitors instead of applying this new layout to the active monitor only. Cannot use different layouts for different monitors.</p> <h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2> <ul dir="auto"> <li>PowerToys version: 0.21.1</li> <li>PowerToy Utility: FancyZones</li> <li>Running PowerToys as Admin: Yes (also when No)</li> <li>Windows build number: 19041.450</li> </ul> <h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2> <ol dir="auto"> <li>Press WIN+GRAVE (FancyZones Zones Editor) on monitor 1</li> <li>Select new layout</li> </ol> <h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3> <p dir="auto">New layout applied to monitor 1, layout of monitor 2 unchanged,</p> <h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3> <p dir="auto">Both monitors have the new layout applied. Cannot create different layouts for different monitors.</p> <p dir="auto">A workaround is to use 'Allow zones to span across monitors, but this would require the creation of new multi-monitor layouts and makes all 'single monitor templates' unusable.</p> <h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2> <p dir="auto">N/A</p>
1
<h2 dir="auto">Bug Report</h2> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">master branch</p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-Proxy &amp; governance</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">create readwrite splitting rule success after execute drop readwrite splitting rule</p> <h3 dir="auto">Actual behavior</h3> <div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mysql&gt; DROP READWRITE_SPLITTING RULE ms_group_0, ms_group_1; mysql&gt; CREATE READWRITE_SPLITTING RULE ms_group_0 ( -&gt; WRITE_RESOURCE=primary_ds, -&gt; READ_RESOURCES(replica_ds_0,replica_ds_1), -&gt; TYPE(NAME=random) -&gt; ), ms_group_1 ( -&gt; WRITE_RESOURCE=primary_ds, -&gt; READ_RESOURCES(replica_ds_0,replica_ds_1), -&gt; TYPE(NAME=random) -&gt; ); ERROR 1105 (C1105): Duplicate rule names [ms_group_0, ms_group_1] in schema sharding_db"><pre class="notranslate">mysql<span class="pl-k">&gt;</span> DROP READWRITE_SPLITTING RULE ms_group_0, ms_group_1; mysql<span class="pl-k">&gt;</span> CREATE READWRITE_SPLITTING RULE ms_group_0 ( <span class="pl-k">-</span><span class="pl-k">&gt;</span> WRITE_RESOURCE<span class="pl-k">=</span>primary_ds, <span class="pl-k">-</span><span class="pl-k">&gt;</span> READ_RESOURCES(replica_ds_0,replica_ds_1), <span class="pl-k">-</span><span class="pl-k">&gt;</span> TYPE(NAME<span class="pl-k">=</span>random) <span class="pl-k">-</span><span class="pl-k">&gt;</span> ), ms_group_1 ( <span class="pl-k">-</span><span class="pl-k">&gt;</span> WRITE_RESOURCE<span class="pl-k">=</span>primary_ds, <span class="pl-k">-</span><span class="pl-k">&gt;</span> READ_RESOURCES(replica_ds_0,replica_ds_1), <span class="pl-k">-</span><span class="pl-k">&gt;</span> TYPE(NAME<span class="pl-k">=</span>random) <span class="pl-k">-</span><span class="pl-k">&gt;</span> ); ERROR <span class="pl-c1">1105</span> (C1105): Duplicate rule names [ms_group_0, ms_group_1] <span class="pl-k">in</span> schema sharding_db</pre></div> <h3 dir="auto">Reason analyze (If you can)</h3> <p dir="auto">Not refresh metadata in memory.</p>
<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">5.0.0-RC1</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">After configuring Zookeeper's permission token, connect normally.<br> The following is my configuration in server.yaml.</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mode: type: Cluster repository: type: ZooKeeper props: namespace: governance_ds server-lists: 127.0.0.1:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 digest: digest:us234243er:shdnegzow@%=:* overwrite: true rules: - !AUTHORITY users: - shardingsphere233@%:shardingsphere213 - shard2233@:shard634876 provider: type: ALL_PRIVILEGES_PERMITTED - !TRANSACTION defaultType: XA providerType: Atomikos props: max-connections-size-per-query: 1 kernel-executor-size: 16 proxy-frontend-flush-threshold: 128 proxy-opentracing-enabled: false proxy-hint-enabled: false sql-show: false check-table-metadata-enabled: false lock-wait-timeout-milliseconds: 50000 show-process-list-enabled: false proxy-backend-query-fetch-size: -1 check-duplicate-table-enabled: false sql-comment-parse-enabled: false proxy-frontend-executor-size: 0 proxy-backend-executor-suitable: OLAP"><pre class="notranslate"><span class="pl-ent">mode</span>: <span class="pl-ent">type</span>: <span class="pl-s">Cluster</span> <span class="pl-ent">repository</span>: <span class="pl-ent">type</span>: <span class="pl-s">ZooKeeper</span> <span class="pl-ent">props</span>: <span class="pl-ent">namespace</span>: <span class="pl-s">governance_ds</span> <span class="pl-ent">server-lists</span>: <span class="pl-s">127.0.0.1:2181</span> <span class="pl-ent">retryIntervalMilliseconds</span>: <span class="pl-c1">500</span> <span class="pl-ent">timeToLiveSeconds</span>: <span class="pl-c1">60</span> <span class="pl-ent">maxRetries</span>: <span class="pl-c1">3</span> <span class="pl-ent">operationTimeoutMilliseconds</span>: <span class="pl-c1">500</span> <span class="pl-ent">digest</span>: <span class="pl-s">digest:us234243er:shdnegzow@%=:*</span> <span class="pl-ent">overwrite</span>: <span class="pl-c1">true</span> <span class="pl-ent">rules</span>: - <span class="pl-k">!AUTHORITY</span> <span class="pl-ent">users</span>: - <span class="pl-s">shardingsphere233@%:shardingsphere213</span> - <span class="pl-s">shard2233@:shard634876</span> <span class="pl-ent">provider</span>: <span class="pl-ent">type</span>: <span class="pl-s">ALL_PRIVILEGES_PERMITTED</span> - <span class="pl-k">!TRANSACTION</span> <span class="pl-ent">defaultType</span>: <span class="pl-s">XA</span> <span class="pl-ent">providerType</span>: <span class="pl-s">Atomikos</span> <span class="pl-ent">props</span>: <span class="pl-ent">max-connections-size-per-query</span>: <span class="pl-c1">1</span> <span class="pl-ent">kernel-executor-size</span>: <span class="pl-c1">16</span> <span class="pl-ent">proxy-frontend-flush-threshold</span>: <span class="pl-c1">128</span> <span class="pl-ent">proxy-opentracing-enabled</span>: <span class="pl-c1">false</span> <span class="pl-ent">proxy-hint-enabled</span>: <span class="pl-c1">false</span> <span class="pl-ent">sql-show</span>: <span class="pl-c1">false</span> <span class="pl-ent">check-table-metadata-enabled</span>: <span class="pl-c1">false</span> <span class="pl-ent">lock-wait-timeout-milliseconds</span>: <span class="pl-c1">50000</span> <span class="pl-ent">show-process-list-enabled</span>: <span class="pl-c1">false</span> <span class="pl-ent">proxy-backend-query-fetch-size</span>: <span class="pl-c1">-1</span> <span class="pl-ent">check-duplicate-table-enabled</span>: <span class="pl-c1">false</span> <span class="pl-ent">sql-comment-parse-enabled</span>: <span class="pl-c1">false</span> <span class="pl-ent">proxy-frontend-executor-size</span>: <span class="pl-c1">0</span> <span class="pl-ent">proxy-backend-executor-suitable</span>: <span class="pl-s">OLAP</span></pre></div> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Throw an exception message and abort.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20187731/138537179-8b7b626c-977f-4e6c-b28d-c1ec19cece00.png"><img src="https://user-images.githubusercontent.com/20187731/138537179-8b7b626c-977f-4e6c-b28d-c1ec19cece00.png" alt="3c8a5689942e098ff3925bfa154f8d3" style="max-width: 100%;"></a></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[INFO ] 2021-10-23 09:13:09.437 [main] org.apache.zookeeper.ZooKeeper - Client environment:os.memory.free=1765MB [INFO ] 2021-10-23 09:13:09.437 [main] org.apache.zookeeper.ZooKeeper - Client environment:os.memory.max=1945MB [INFO ] 2021-10-23 09:13:09.438 [main] org.apache.zookeeper.ZooKeeper - Client environment:os.memory.total=1945MB [INFO ] 2021-10-23 09:13:09.444 [main] org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@74f6c5d8 [INFO ] 2021-10-23 09:13:09.454 [main] org.apache.zookeeper.common.X509Util - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation [INFO ] 2021-10-23 09:13:09.625 [main] o.apache.zookeeper.ClientCnxnSocket - jute.maxbuffer value is 1048575 Bytes [INFO ] 2021-10-23 09:13:09.635 [main] org.apache.zookeeper.ClientCnxn - zookeeper.request.timeout value is 0. feature enabled=false [INFO ] 2021-10-23 09:13:09.645 [main] o.a.c.f.imps.CuratorFrameworkImpl - Default schema [INFO ] 2021-10-23 09:13:18.736 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. [INFO ] 2021-10-23 09:13:18.737 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - SASL config status: Will not attempt to authenticate using SASL (unknown error) [WARN ] 2021-10-23 09:13:20.803 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Session 0x0 for sever 127.0.0.1/127.0.0.1:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1262) [WARN ] 2021-10-23 09:13:30.671 [Curator-Framework-0] o.a.c.retry.ExponentialBackoffRetry - Sleep extension too large (70000). Pinning to 30000 [INFO ] 2021-10-23 09:13:30.980 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. [INFO ] 2021-10-23 09:13:30.981 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - SASL config status: Will not attempt to authenticate using SASL (unknown error) [WARN ] 2021-10-23 09:13:33.039 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Session 0x0 for sever 127.0.0.1/127.0.0.1:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1262) [INFO ] 2021-10-23 09:13:39.656 [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting [INFO ] 2021-10-23 09:13:43.234 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. [INFO ] 2021-10-23 09:13:43.235 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - SASL config status: Will not attempt to authenticate using SASL (unknown error) [WARN ] 2021-10-23 09:13:45.318 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - An exception was thrown while closing send thread for session 0x0. java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1262) [INFO ] 2021-10-23 09:13:45.430 [main] org.apache.zookeeper.ZooKeeper - Session: 0x0 closed [INFO ] 2021-10-23 09:13:45.431 [main-EventThread] org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x0 Exception in thread &quot;main&quot; org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryException: org.apache.zookeeper.KeeperException$OperationTimeoutException: KeeperErrorCode = OperationTimeout at org.apache.shardingsphere.mode.repository.cluster.zookeeper.handler.CuratorZookeeperExceptionHandler.handleException(CuratorZookeeperExceptionHandler.java:51) at org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:128) at org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.init(CuratorZookeeperRepository.java:82) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.createClusterPersistRepository(ClusterContextManagerBuilder.java:115) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.beforeBuildContextManager(ClusterContextManagerBuilder.java:92) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:82) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.initContext(BootstrapInitializer.java:77) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:68) at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47) Caused by: org.apache.zookeeper.KeeperException$OperationTimeoutException: KeeperErrorCode = OperationTimeout at org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:125) ... 7 more"><pre class="notranslate">[INFO ] 2021-10-23 09:13:09.437 [main] org.apache.zookeeper.ZooKeeper - Client environment:os.memory.free=1765MB [INFO ] 2021-10-23 09:13:09.437 [main] org.apache.zookeeper.ZooKeeper - Client environment:os.memory.max=1945MB [INFO ] 2021-10-23 09:13:09.438 [main] org.apache.zookeeper.ZooKeeper - Client environment:os.memory.total=1945MB [INFO ] 2021-10-23 09:13:09.444 [main] org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@74f6c5d8 [INFO ] 2021-10-23 09:13:09.454 [main] org.apache.zookeeper.common.X509Util - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation [INFO ] 2021-10-23 09:13:09.625 [main] o.apache.zookeeper.ClientCnxnSocket - jute.maxbuffer value is 1048575 Bytes [INFO ] 2021-10-23 09:13:09.635 [main] org.apache.zookeeper.ClientCnxn - zookeeper.request.timeout value is 0. feature enabled=false [INFO ] 2021-10-23 09:13:09.645 [main] o.a.c.f.imps.CuratorFrameworkImpl - Default schema [INFO ] 2021-10-23 09:13:18.736 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. [INFO ] 2021-10-23 09:13:18.737 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - SASL config status: Will not attempt to authenticate using SASL (unknown error) [WARN ] 2021-10-23 09:13:20.803 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Session 0x0 <span class="pl-k">for</span> sever 127.0.0.1/127.0.0.1:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342) at org.apache.zookeeper.ClientCnxn<span class="pl-smi">$SendThread</span>.run(ClientCnxn.java:1262) [WARN ] 2021-10-23 09:13:30.671 [Curator-Framework-0] o.a.c.retry.ExponentialBackoffRetry - Sleep extension too large (70000). Pinning to 30000 [INFO ] 2021-10-23 09:13:30.980 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. [INFO ] 2021-10-23 09:13:30.981 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - SASL config status: Will not attempt to authenticate using SASL (unknown error) [WARN ] 2021-10-23 09:13:33.039 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Session 0x0 <span class="pl-k">for</span> sever 127.0.0.1/127.0.0.1:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342) at org.apache.zookeeper.ClientCnxn<span class="pl-smi">$SendThread</span>.run(ClientCnxn.java:1262) [INFO ] 2021-10-23 09:13:39.656 [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting [INFO ] 2021-10-23 09:13:43.234 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. [INFO ] 2021-10-23 09:13:43.235 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - SASL config status: Will not attempt to authenticate using SASL (unknown error) [WARN ] 2021-10-23 09:13:45.318 [main-SendThread(127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn - An exception was thrown <span class="pl-k">while</span> closing send thread <span class="pl-k">for</span> session 0x0. java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342) at org.apache.zookeeper.ClientCnxn<span class="pl-smi">$SendThread</span>.run(ClientCnxn.java:1262) [INFO ] 2021-10-23 09:13:45.430 [main] org.apache.zookeeper.ZooKeeper - Session: 0x0 closed [INFO ] 2021-10-23 09:13:45.431 [main-EventThread] org.apache.zookeeper.ClientCnxn - EventThread shut down <span class="pl-k">for</span> session: 0x0 Exception <span class="pl-k">in</span> thread <span class="pl-s"><span class="pl-pds">"</span>main<span class="pl-pds">"</span></span> org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryException: org.apache.zookeeper.KeeperException<span class="pl-smi">$OperationTimeoutException</span>: KeeperErrorCode = OperationTimeout at org.apache.shardingsphere.mode.repository.cluster.zookeeper.handler.CuratorZookeeperExceptionHandler.handleException(CuratorZookeeperExceptionHandler.java:51) at org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:128) at org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.init(CuratorZookeeperRepository.java:82) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.createClusterPersistRepository(ClusterContextManagerBuilder.java:115) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.beforeBuildContextManager(ClusterContextManagerBuilder.java:92) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:82) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.initContext(BootstrapInitializer.java:77) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:68) at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47) Caused by: org.apache.zookeeper.KeeperException<span class="pl-smi">$OperationTimeoutException</span>: KeeperErrorCode = OperationTimeout at org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:125) ... 7 more</pre></div> <p dir="auto">I have seen another closed issue.( <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="990978605" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/12292" data-hovercard-type="issue" data-hovercard-url="/apache/shardingsphere/issues/12292/hovercard" href="https://github.com/apache/shardingsphere/issues/12292">#12292</a> )I initially thought it was a zookeeper problem, until I found out that after removing <code class="notranslate">digest: digest:us234243er:shdnegzow@%=:*</code> and removing the zookeeper configuration, the program ran normally.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20187731/138537148-d3ad9b26-5a8f-433c-bad1-8a9d8d5df774.png"><img src="https://user-images.githubusercontent.com/20187731/138537148-d3ad9b26-5a8f-433c-bad1-8a9d8d5df774.png" alt="ac8b93e49daa35626f108ec4d0d58e2" style="max-width: 100%;"></a></p> <p dir="auto">Does this mean that the configuration method of the new version has changed, but the official website document does not mention it?<br> In order to provide information, I changed the zookeeper address in the issue to 127.0.0.1. In fact, the connection failed was a remote server.</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>
0
<p dir="auto">right now it fails in list of lists but the error isn't informative.</p> <p dir="auto">xref: commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/5a152bdfdd044c6f53c76b361065b1784dc73b61/hovercard" href="https://github.com/pandas-dev/pandas/commit/5a152bdfdd044c6f53c76b361065b1784dc73b61"><tt>5a152bd</tt></a></p>
<h4 dir="auto">A small, complete example of the issue</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a ,a ,a 1,2,3 4,5,6 7,8,9"><pre class="notranslate"><code class="notranslate">a ,a ,a 1,2,3 4,5,6 7,8,9 </code></pre></div> <p dir="auto">note the white space next to the char.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import pandas &gt;&gt;&gt; df = pandas.read_table('test.csv', sep=',') &gt;&gt;&gt; df.columns Index([u'a ', u'a .1', u'a .2'], dtype='object')"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-en">read_table</span>(<span class="pl-s">'test.csv'</span>, <span class="pl-s1">sep</span><span class="pl-c1">=</span><span class="pl-s">','</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-s1">columns</span> <span class="pl-v">Index</span>([<span class="pl-s">u'a '</span>, <span class="pl-s">u'a .1'</span>, <span class="pl-s">u'a .2'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>)</pre></div> <p dir="auto">again, note the white space between the char and the num.</p> <p dir="auto">A work around previously was to set <code class="notranslate">mangle_dupe_cols</code> to <code class="notranslate">False</code>, manually strip the columns and then clean up the column names. With <code class="notranslate">pandas 0.19.0</code>, <code class="notranslate">mangle_dupe_cols=False</code> raises a <code class="notranslate">ValueError</code>.</p> <p dir="auto">This issue is more of a question as to what the spec of <code class="notranslate">mangle_dupe_cols</code> is and what a full implementation, mentioned in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156376368" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13262" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/13262/hovercard" href="https://github.com/pandas-dev/pandas/issues/13262">#13262</a> , desires/is going to be.</p> <h4 dir="auto">Expected Output</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Index([u'a', u'a.1', u'a.2'], dtype='object')"><pre class="notranslate"><span class="pl-v">Index</span>([<span class="pl-s">u'a'</span>, <span class="pl-s">u'a.1'</span>, <span class="pl-s">u'a.2'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>)</pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> ## INSTALLED VERSIONS <p dir="auto">commit: None<br> python: 2.7.11.final.0<br> python-bits: 64<br> OS: Darwin<br> OS-release: 15.6.0<br> machine: x86_64<br> processor: i386<br> byteorder: little<br> LC_ALL: en_US.UTF-8<br> LANG: en_US.UTF-8<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.19.0<br> nose: 1.3.7<br> pip: 8.1.2<br> setuptools: 23.1.0<br> Cython: 0.24<br> numpy: 1.10.4<br> scipy: None<br> statsmodels: None<br> xarray: None<br> IPython: 5.1.0<br> sphinx: 1.4.1<br> patsy: None<br> dateutil: 2.5.2<br> pytz: 2016.3<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> matplotlib: None<br> openpyxl: 2.4.0<br> xlrd: 1.0.0<br> xlwt: None<br> xlsxwriter: None<br> lxml: 3.6.0<br> bs4: 4.4.1<br> html5lib: 0.999<br> httplib2: None<br> apiclient: None<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: None<br> boto: None<br> pandas_datareader: None</p> </details>
0
<h3 dir="auto">Problem description</h3> <p dir="auto">Trying to import from <code class="notranslate">material-ui/styles</code> (any submodule actually) yields compilation errors from <code class="notranslate">tsc</code> when <code class="notranslate">noImplicitAny</code> is enabled.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(3,32): error TS7016: Could not find a declaration file for module 'material-ui/styles'. '/Users/shousper/Source/test/node_modules/material-ui/styles/index.js' implicitly has an 'any' type. Try `npm install @types/material-ui/styles` if it exists or add a new declaration (.d.ts) file containing `declare module 'material-ui/styles';`"><pre class="notranslate"><code class="notranslate">(3,32): error TS7016: Could not find a declaration file for module 'material-ui/styles'. '/Users/shousper/Source/test/node_modules/material-ui/styles/index.js' implicitly has an 'any' type. Try `npm install @types/material-ui/styles` if it exists or add a new declaration (.d.ts) file containing `declare module 'material-ui/styles';` </code></pre></div> <h3 dir="auto">Steps to reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yarn add material-ui@next typescript echo 'import { createMuiTheme } from \'material-ui/styles\'' &gt; index.ts echo 'const x = createMuiTheme()' &gt;&gt; index.ts yarn run tsc -- --noImplicitAny index.ts"><pre class="notranslate"><code class="notranslate">yarn add material-ui@next typescript echo 'import { createMuiTheme } from \'material-ui/styles\'' &gt; index.ts echo 'const x = createMuiTheme()' &gt;&gt; index.ts yarn run tsc -- --noImplicitAny index.ts </code></pre></div> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 1.0.0-beta.6</li> <li>React: N/A</li> <li>Browser: N/A</li> </ul>
<h3 dir="auto">Problem description</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sebald/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sebald">@sebald</a> In beta.6 the typescript types exist for material-ui (I see the .d.ts file in the installed package directory) however I keep getting definition errors when doing imports with <code class="notranslate">import Paper from 'material-ui/Paper';</code></p> <p dir="auto"><code class="notranslate"> error TS7016: Could not find a declaration file for module 'material-ui/Paper'. '...' implicitly has an 'any' type. Try 'npm install @types/material-ui/Paper' if it exists or add a new declaration (.d.ts) file containing 'declare module 'material-ui/Paper';'</code></p> <p dir="auto">Im not sure why, I dont think there is anything strange with my <code class="notranslate">tsconfig</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;compilerOptions&quot;: { &quot;target&quot;: &quot;es2017&quot;, &quot;module&quot;: &quot;commonjs&quot;, &quot;jsx&quot;: &quot;react&quot;, &quot;strict&quot;: true, &quot;baseUrl&quot;: &quot;.&quot;, &quot;paths&quot;: { &quot;*&quot;: [&quot;./build-tools/types/*&quot;] }, &quot;inlineSourceMap&quot;: true, &quot;experimentalDecorators&quot;: true } }"><pre class="notranslate"><code class="notranslate">{ "compilerOptions": { "target": "es2017", "module": "commonjs", "jsx": "react", "strict": true, "baseUrl": ".", "paths": { "*": ["./build-tools/types/*"] }, "inlineSourceMap": true, "experimentalDecorators": true } } </code></pre></div> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">I installed beta.6 and removed my local copies of the material-ui typings (up to now Ive been keeping the typings locally)</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 1.0.0-beta.6</li> </ul>
1
<p dir="auto">The example given for setting a life cycle event does not use a setter method at:</p> <p dir="auto"><a href="http://symfony.com/doc/current/book/doctrine.html#lifecycle-callbacks" rel="nofollow">http://symfony.com/doc/current/book/doctrine.html#lifecycle-callbacks</a></p> <p dir="auto">The current example is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/** * @ORM\PrePersist */ public function setCreatedAtValue() { $this-&gt;createdAt = new \DateTime(); }"><pre class="notranslate"><code class="notranslate">/** * @ORM\PrePersist */ public function setCreatedAtValue() { $this-&gt;createdAt = new \DateTime(); } </code></pre></div> <p dir="auto">I assume it should be something like the following (assuming that there is a database column "createdAt" that has had getters and setters generated for it:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/** * @ORM\PrePersist */ public function setCreatedAtValue() { $this-&gt;setCreatedAt(new \DateTime()); }"><pre class="notranslate"><code class="notranslate">/** * @ORM\PrePersist */ public function setCreatedAtValue() { $this-&gt;setCreatedAt(new \DateTime()); } </code></pre></div> <p dir="auto">Having a "createdAt" DateTime field that does not get updated after the initial submission is a common need, and it would be nice if it were more thoroughly explained (including how to exclude it from display in a Twig template). FWIW, I still can't get this to work right, so my suggestion may be misguided or incomplete.</p>
<p dir="auto"><strong>Symfony version(s) affected</strong>: x.y.z<br> 4.1.1</p> <p dir="auto"><strong>Description</strong><br> By using a ChoiceType as a container for a select, and adding options dynamically in the form (e.g. from ajax request) means that the values cannot be passed in the FormType class, which inturn means validation always failed. It's impossible to modify allowed choices in a form event</p> <p dir="auto"><strong>How to reproduce</strong></p> <ul dir="auto"> <li>Create a form which uses a <code class="notranslate">ChoiceType</code> input, pass in an empty array for the choices, and dynamically populate the input in javascript: untested jquery code</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$(function(){ $('#foo').append(new Option('new option', 'newoption')); });"><pre class="notranslate"><code class="notranslate">$(function(){ $('#foo').append(new Option('new option', 'newoption')); }); </code></pre></div> <ul dir="auto"> <li>submit form and see failed validation for input</li> </ul> <p dir="auto"><strong>Possible Solution</strong></p> <p dir="auto">Being able to modify the parameters that are used in the creation of the input would be great so I could fetch the permitted values from the db based upon other input and then add them to the choices.</p> <p dir="auto">At the moment, I'm having to do something like this in a FormEvent::SUBMIT event listener:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $input = $form-&gt;get('itemCondition'); $value = $input-&gt;getViewData(); $form-&gt;remove('itemCondition'); $obj-&gt;setItemCondition($value);"><pre class="notranslate"><code class="notranslate"> $input = $form-&gt;get('itemCondition'); $value = $input-&gt;getViewData(); $form-&gt;remove('itemCondition'); $obj-&gt;setItemCondition($value); </code></pre></div> <p dir="auto"><strong>Additional context</strong></p>
0
<p dir="auto">There are docstring consistency tests in test_docstring_parameters.py, but they have many modules commented out. We should fix them one by one.</p>
<p dir="auto">Continue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="238114509" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/9206" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/9206/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/9206">#9206</a> and finish up the rest of the docstrings.</p> <p dir="auto">Uncomment the untested modules in <code class="notranslate">sklearn/tests/test_docstring_parameters.py</code>, fix doc inconsistencies and make all tests pass.</p> <p dir="auto">todo (modules)</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 'sklearn.cross_decomposition', (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clemkoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clemkoa">@clemkoa</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 'sklearn.discriminant_analysis', (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clemkoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clemkoa">@clemkoa</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 'sklearn.ensemble', (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clemkoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clemkoa">@clemkoa</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 'sklearn.feature_selection', (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clemkoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clemkoa">@clemkoa</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 'sklearn.kernel_approximation', (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clemkoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clemkoa">@clemkoa</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 'sklearn.model_selection',</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 'sklearn.multioutput',</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 'sklearn.random_projection', <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="337573277" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/11405" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/11405/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/11405">#11405</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 'sklearn.svm' <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="337573277" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/11405" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/11405/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/11405">#11405</a></li> </ul>
1
<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> <h2 dir="auto">To Reproduce</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@torch.jit.script def fn(): a = [1, 2, 3, 4] return a[::-1] fn()"><pre class="notranslate"><code class="notranslate">@torch.jit.script def fn(): a = [1, 2, 3, 4] return a[::-1] fn() </code></pre></div> <blockquote> <p dir="auto">RuntimeError: vector::_M_range_check The above operation failed in interpreter, with the following stack trace: at test/test_jit.py:6263:19<br> @torch.jit.script<br> def test():<br> a = [1, 2, 3, 4]<br> return a[::-1]<br> ~~~~~~ &lt;--- HERE</p> </blockquote> <p dir="auto">This should either give a compile error, or work (better), but it should not compile and be unsupported.</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>
<p dir="auto">For</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def t(): x = [1,2,3] x = x[::-1] print(x) torch.jit.script(t)()"><pre class="notranslate"><code class="notranslate">def t(): x = [1,2,3] x = x[::-1] print(x) torch.jit.script(t)() </code></pre></div> <p dir="auto">it gives <code class="notranslate">IndexError: vector::_M_range_check: __n (which is 18446744073709551615) &gt;= this-&gt;size() (which is 3)</code></p> <p dir="auto"><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> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</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> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bdhirsh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bdhirsh">@bdhirsh</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gmagogsfm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gmagogsfm">@gmagogsfm</a> <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
<h3 dir="auto">What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?</h3> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="213417771" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/8284" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/8284/hovercard" href="https://github.com/tensorflow/tensorflow/issues/8284">#8284</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187456302" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/5406" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/5406/hovercard" href="https://github.com/tensorflow/tensorflow/issues/5406">#5406</a></p> <h3 dir="auto">Environment info</h3> <p dir="auto">Operating System:</p> <p dir="auto">macOS 10.12.3</p> <p dir="auto">Installed version of CUDA and cuDNN:<br> (please attach the output of <code class="notranslate">ls -l /path/to/cuda/lib/libcud*</code>):</p> <p dir="auto">CPU only</p> <ol dir="auto"> <li>The commit hash (<code class="notranslate">git rev-parse HEAD</code>) <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/e895d5ca395c2362df4f5c8f08b68501b41f8a98/hovercard" href="https://github.com/tensorflow/tensorflow/commit/e895d5ca395c2362df4f5c8f08b68501b41f8a98"><tt>e895d5c</tt></a></li> <li>The output of <code class="notranslate">bazel version</code></li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Build label: 0.4.4-homebrew Build target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Thu Feb 2 01:05:15 2017 (1485997515) Build timestamp: 1485997515 Build timestamp as int: 1485997515"><pre class="notranslate"><code class="notranslate">Build label: 0.4.4-homebrew Build target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Thu Feb 2 01:05:15 2017 (1485997515) Build timestamp: 1485997515 Build timestamp as int: 1485997515 </code></pre></div> <h3 dir="auto">If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import tensorflow as tf from tensorflow.python.framework.graph_util import convert_variables_to_constants x = tf.placeholder(tf.float32, shape=(None), name=&quot;x&quot;) def add_one(x): return tf.add(x, 1) y = tf.map_fn(add_one, x) y = tf.identity(y, name=&quot;y&quot;) with tf.Session() as sess: print(tf.get_default_graph().as_graph_def().node) minimal_graph = convert_variables_to_constants(sess, sess.graph.as_graph_def(add_shapes=True), [&quot;y&quot;]) tf.train.write_graph(minimal_graph, '.', 'minimal_graph.proto', as_text=False)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">tensorflow</span> <span class="pl-k">as</span> <span class="pl-s1">tf</span> <span class="pl-k">from</span> <span class="pl-s1">tensorflow</span>.<span class="pl-s1">python</span>.<span class="pl-s1">framework</span>.<span class="pl-s1">graph_util</span> <span class="pl-k">import</span> <span class="pl-s1">convert_variables_to_constants</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-en">placeholder</span>(<span class="pl-s1">tf</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">shape</span><span class="pl-c1">=</span>(<span class="pl-c1">None</span>), <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"x"</span>) <span class="pl-k">def</span> <span class="pl-en">add_one</span>(<span class="pl-s1">x</span>): <span class="pl-k">return</span> <span class="pl-s1">tf</span>.<span class="pl-en">add</span>(<span class="pl-s1">x</span>, <span class="pl-c1">1</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-en">map_fn</span>(<span class="pl-s1">add_one</span>, <span class="pl-s1">x</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-en">identity</span>(<span class="pl-s1">y</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"y"</span>) <span class="pl-k">with</span> <span class="pl-s1">tf</span>.<span class="pl-v">Session</span>() <span class="pl-k">as</span> <span class="pl-s1">sess</span>: <span class="pl-en">print</span>(<span class="pl-s1">tf</span>.<span class="pl-en">get_default_graph</span>().<span class="pl-en">as_graph_def</span>().<span class="pl-s1">node</span>) <span class="pl-s1">minimal_graph</span> <span class="pl-c1">=</span> <span class="pl-en">convert_variables_to_constants</span>(<span class="pl-s1">sess</span>, <span class="pl-s1">sess</span>.<span class="pl-s1">graph</span>.<span class="pl-en">as_graph_def</span>(<span class="pl-s1">add_shapes</span><span class="pl-c1">=</span><span class="pl-c1">True</span>), [<span class="pl-s">"y"</span>]) <span class="pl-s1">tf</span>.<span class="pl-s1">train</span>.<span class="pl-en">write_graph</span>(<span class="pl-s1">minimal_graph</span>, <span class="pl-s">'.'</span>, <span class="pl-s">'minimal_graph.proto'</span>, <span class="pl-s1">as_text</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)</pre></div> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="package main import ( tf &quot;github.com/tensorflow/tensorflow/tensorflow/go&quot; &quot;io/ioutil&quot; ) func main() { modelPath := &quot;cond_test/minimal_graph.proto&quot; graphDef, _ := ioutil.ReadFile(modelPath) graph := tf.NewGraph() graph.Import(graphDef, &quot;&quot;) }"><pre class="notranslate"><span class="pl-k">package</span> main <span class="pl-k">import</span> ( tf <span class="pl-s">"github.com/tensorflow/tensorflow/tensorflow/go"</span> <span class="pl-s">"io/ioutil"</span> ) <span class="pl-k">func</span> <span class="pl-en">main</span>() { <span class="pl-s1">modelPath</span> <span class="pl-c1">:=</span> <span class="pl-s">"cond_test/minimal_graph.proto"</span> <span class="pl-s1">graphDef</span>, <span class="pl-s1">_</span> <span class="pl-c1">:=</span> <span class="pl-s1">ioutil</span>.<span class="pl-en">ReadFile</span>(<span class="pl-s1">modelPath</span>) <span class="pl-s1">graph</span> <span class="pl-c1">:=</span> <span class="pl-s1">tf</span>.<span class="pl-en">NewGraph</span>() <span class="pl-s1">graph</span>.<span class="pl-en">Import</span>(<span class="pl-s1">graphDef</span>, <span class="pl-s">""</span>) }</pre></div> <h3 dir="auto">What other attempted solutions have you tried?</h3> <ul dir="auto"> <li>Loading the graph without the <code class="notranslate">map_fn</code> works as expected. (<code class="notranslate">y = add_one(x)</code>)</li> <li>Originally encountered problem using prebuild tensorflow for python: <code class="notranslate">pip install tensorflow</code></li> <li>Same issue when saving / restoring using SavedModel routines.</li> </ul> <h3 dir="auto">Logs or other output that would be helpful</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5de318c] runtime stack: runtime.throw(0x40cdc29, 0x2a) /usr/local/go/src/runtime/panic.go:596 +0x95 runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:274 +0x2db goroutine 1 [syscall, locked to thread]: runtime.cgocall(0x40973d0, 0xc42004de60, 0x40b34e0) /usr/local/go/src/runtime/cgocall.go:131 +0xe2 fp=0xc42004de30 sp=0xc42004ddf0 github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_GraphImportGraphDef(0xbf00020, 0xd0be3f0, 0xd0bee20, 0xd0bd5a0) github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:386 +0x45 fp=0xc42004de60 sp=0xc42004de30 github.com/tensorflow/tensorflow/tensorflow/go.(*Graph).Import.func7(0xbf00020, 0xd0be3f0, 0xd0bee20, 0xd0bd5a0) /Users/olav/go/src/github.com/tensorflow/tensorflow/tensorflow/go/graph.go:96 +0x121 fp=0xc42004de98 sp=0xc42004de60 github.com/tensorflow/tensorflow/tensorflow/go.(*Graph).Import(0xc42000e038, 0xc42008a000, 0x1ae9, 0x1ce9, 0x0, 0x0, 0x0, 0x0) /Users/olav/go/src/github.com/tensorflow/tensorflow/tensorflow/go/graph.go:96 +0x1ef fp=0xc42004df00 sp=0xc42004de98 main.main() /Users/olav/go/src/github.com/olavhn/infer/test.go:14 +0x112 fp=0xc42004df88 sp=0xc42004df00 runtime.main() /usr/local/go/src/runtime/proc.go:185 +0x20a fp=0xc42004dfe0 sp=0xc42004df88 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004dfe8 sp=0xc42004dfe0 goroutine 17 [syscall, locked to thread]: runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1"><pre class="notranslate"><code class="notranslate">fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5de318c] runtime stack: runtime.throw(0x40cdc29, 0x2a) /usr/local/go/src/runtime/panic.go:596 +0x95 runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:274 +0x2db goroutine 1 [syscall, locked to thread]: runtime.cgocall(0x40973d0, 0xc42004de60, 0x40b34e0) /usr/local/go/src/runtime/cgocall.go:131 +0xe2 fp=0xc42004de30 sp=0xc42004ddf0 github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_GraphImportGraphDef(0xbf00020, 0xd0be3f0, 0xd0bee20, 0xd0bd5a0) github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:386 +0x45 fp=0xc42004de60 sp=0xc42004de30 github.com/tensorflow/tensorflow/tensorflow/go.(*Graph).Import.func7(0xbf00020, 0xd0be3f0, 0xd0bee20, 0xd0bd5a0) /Users/olav/go/src/github.com/tensorflow/tensorflow/tensorflow/go/graph.go:96 +0x121 fp=0xc42004de98 sp=0xc42004de60 github.com/tensorflow/tensorflow/tensorflow/go.(*Graph).Import(0xc42000e038, 0xc42008a000, 0x1ae9, 0x1ce9, 0x0, 0x0, 0x0, 0x0) /Users/olav/go/src/github.com/tensorflow/tensorflow/tensorflow/go/graph.go:96 +0x1ef fp=0xc42004df00 sp=0xc42004de98 main.main() /Users/olav/go/src/github.com/olavhn/infer/test.go:14 +0x112 fp=0xc42004df88 sp=0xc42004df00 runtime.main() /usr/local/go/src/runtime/proc.go:185 +0x20a fp=0xc42004dfe0 sp=0xc42004df88 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004dfe8 sp=0xc42004dfe0 goroutine 17 [syscall, locked to thread]: runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 </code></pre></div>
<p dir="auto">Right now, to specify a particular GPU, I do something like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gpu = 0 available_devices = os.environ['CUDA_VISIBLE_DEVICES'].split(',') os.environ['CUDA_VISIBLE_DEVICES'] = available_devices[gpu]"><pre class="notranslate"><code class="notranslate">gpu = 0 available_devices = os.environ['CUDA_VISIBLE_DEVICES'].split(',') os.environ['CUDA_VISIBLE_DEVICES'] = available_devices[gpu] </code></pre></div> <p dir="auto">after which TensorFlow will only allocate resources on the first GPU device. It would be nice to include a native way to do this.</p> <p dir="auto">Side note: There isn't much documentation (any?) on <code class="notranslate">device_count</code>, so I'm not sure if it's meant to handle this. Either way, I have experimented with the <code class="notranslate">device_count</code>, but with no luck: if I use <code class="notranslate">device_count = {'GPU': 1}</code>, TensorFlow still allocates memory on all available GPUs.</p>
0
<h3 dir="auto">Describe your issue.</h3> <p dir="auto">I am getting the error message down below in running MCMC on PyMC on Apple M1. I am posting it here because I see a runtime warning originating in Scipy. I was wondering if v 1.8.0 has addressed this issue. Currently I am using v.1.7.3. The code is running well however, it is just I keep getting this error message and so two of students who have M1 machines too.</p> <p dir="auto">here info on my system:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Python implementation: CPython Python version : 3.9.10 IPython version : 8.0.1 Compiler : Clang 11.1.0 OS : Darwin Release : 21.4.0 Machine : arm64 Processor : arm CPU cores : 10 Architecture: 64bit pymc : 4.0.0b3 aesara : 2.4.0 pandas : 1.4.1 matplotlib: 3.5.1 arviz : 0.11.4 numpy : 1.21.5 seaborn : 0.11.2 "><pre class="notranslate"><span class="pl-v">Python</span> <span class="pl-s1">implementation</span>: <span class="pl-v">CPython</span> <span class="pl-v">Python</span> <span class="pl-s1">version</span> : <span class="pl-c1">3.9</span>.<span class="pl-c1">10</span> <span class="pl-v">IPython</span> <span class="pl-s1">version</span> : <span class="pl-c1">8.0</span>.<span class="pl-c1">1</span> <span class="pl-v">Compiler</span> : <span class="pl-v">Clang</span> <span class="pl-c1">11.1</span><span class="pl-c1">.0</span> <span class="pl-v">OS</span> : <span class="pl-v">Darwin</span> <span class="pl-v">Release</span> : <span class="pl-c1">21.4</span>.<span class="pl-c1">0</span> <span class="pl-v">Machine</span> : <span class="pl-s1">arm64</span> <span class="pl-v">Processor</span> : <span class="pl-s1">arm</span> <span class="pl-v">CPU</span> <span class="pl-s1">cores</span> : <span class="pl-c1">10</span> <span class="pl-v">Architecture</span>: <span class="pl-c1">64</span><span class="pl-s1">bit</span> <span class="pl-s1">pymc</span> : <span class="pl-c1">4.0</span>.<span class="pl-c1">0</span><span class="pl-s1">b3</span> <span class="pl-s1">aesara</span> : <span class="pl-c1">2.4</span>.<span class="pl-c1">0</span> <span class="pl-s1">pandas</span> : <span class="pl-c1">1.4</span>.<span class="pl-c1">1</span> <span class="pl-s1">matplotlib</span>: <span class="pl-c1">3.5</span>.<span class="pl-c1">1</span> <span class="pl-s1">arviz</span> : <span class="pl-c1">0.11</span>.<span class="pl-c1">4</span> <span class="pl-s1">numpy</span> : <span class="pl-c1">1.21</span>.<span class="pl-c1">5</span> <span class="pl-s1">seaborn</span> : <span class="pl-c1">0.11</span>.<span class="pl-c1">2</span></pre></div> <p dir="auto">Thank you for any help or clarification.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" /opt/homebrew/Caskroom/miniforge/base/envs/pymc-dev-py39/lib/python3.9/site-packages/scipy/stats/_continuous_distns.py:624: RuntimeWarning: overflow encountered in _beta_ppf return _boost._beta_ppf(q, a, b) "><pre class="notranslate"><span class="pl-c1">/</span><span class="pl-s1">opt</span><span class="pl-c1">/</span><span class="pl-s1">homebrew</span><span class="pl-c1">/</span><span class="pl-v">Caskroom</span><span class="pl-c1">/</span><span class="pl-s1">miniforge</span><span class="pl-c1">/</span><span class="pl-s1">base</span><span class="pl-c1">/</span><span class="pl-s1">envs</span><span class="pl-c1">/</span><span class="pl-s1">pymc</span><span class="pl-c1">-</span><span class="pl-s1">dev</span><span class="pl-c1">-</span><span class="pl-s1">py39</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">9</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">scipy</span><span class="pl-c1">/</span><span class="pl-s1">stats</span><span class="pl-c1">/</span><span class="pl-s1">_continuous_distns</span>.<span class="pl-s1">py</span>:<span class="pl-c1">624</span>: <span class="pl-v">RuntimeWarning</span>: <span class="pl-s1">overflow</span> <span class="pl-s1">encountered</span> <span class="pl-c1">in</span> <span class="pl-s1">_beta_ppf</span> <span class="pl-k">return</span> <span class="pl-s1">_boost</span>.<span class="pl-en">_beta_ppf</span>(<span class="pl-s1">q</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>)</pre></div> <h3 dir="auto">Reproducing Code Example</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div> <h3 dir="auto">Error message</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/opt/homebrew/Caskroom/miniforge/base/envs/pymc-dev-py39/lib/python3.9/site-packages/scipy/stats/_continuous_distns.py:624: RuntimeWarning: overflow encountered in _beta_ppf return _boost._beta_ppf(q, a, b)"><pre class="notranslate">/opt/homebrew/Caskroom/miniforge/base/envs/pymc-dev-py39/lib/python3.9/site-packages/scipy/stats/_continuous_distns.py:624: RuntimeWarning: overflow encountered <span class="pl-k">in</span> _beta_ppf <span class="pl-k">return</span> _boost._beta_ppf(q, a, b)</pre></div> <h3 dir="auto">SciPy/NumPy/Python version information</h3> <p dir="auto">1.7.3 1.21.5 sys.version_info(major=3, minor=9, micro=10, releaselevel='final', serial=0)</p>
<h3 dir="auto">Describe your issue</h3> <p dir="auto">Several statistical distribution methods emit warnings stemming from Boost. This issue tracks the status of all of them.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">beta.ppf</code> as reported here; should be fixed by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1393910253" data-permission-text="Title is private" data-url="https://github.com/boostorg/math/issues/827" data-hovercard-type="pull_request" data-hovercard-url="/boostorg/math/pull/827/hovercard" href="https://github.com/boostorg/math/pull/827">boostorg/math#827</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">ncf</code> as reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1388256302" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/17101" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/17101/hovercard" href="https://github.com/scipy/scipy/issues/17101">gh-17101</a>, should be fixed by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1410540033" data-permission-text="Title is private" data-url="https://github.com/boostorg/math/issues/846" data-hovercard-type="pull_request" data-hovercard-url="/boostorg/math/pull/846/hovercard" href="https://github.com/boostorg/math/pull/846">boostorg/math#846</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">nct</code> - I'm not sure that this has been reported separately yet. Is it caused by the same sort of thing?</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">ncx2</code> - Ditto.</li> </ul> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1418900239" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/17272" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/17272/hovercard" href="https://github.com/scipy/scipy/pull/17272">gh-17272</a> will silence <a href="https://github.com/scipy/scipy/issues/14901#issuecomment-1272504168" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/14901/hovercard">the failures in SciPy's tests</a> temporarily, but as many of these marks as possible should be removed when <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1405303062" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/17207" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/17207/hovercard" href="https://github.com/scipy/scipy/pull/17207">gh-17207</a> merges.</p> <hr> <p dir="auto"><em>Original Post</em></p> <h3 dir="auto">Describe your issue.</h3> <p dir="auto">macOS CI is failing due to an overflow. I am still trying to reproduce locally.</p> <p dir="auto">NumPy was updated to 1.21.3, could be this or another dependency.</p> <p dir="auto"><a href="https://github.com/scipy/scipy/runs/3960228039">https://github.com/scipy/scipy/runs/3960228039</a></p> <h3 dir="auto">Reproducing Code Example</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# from scipy/stats/tests/test_distributions.py:2878: in test_issue_12796 import numpy as np from scipy import stats q = 0.999995 a = np.array([ 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]) b = np.array([99999, 99998, 99997, 99996, 99995, 99994, 99993, 99992, 99991, 99990, 99989, 99988, 99987, 99986, 99985, 99984, 99983, 99982, 99981]) stats.beta.ppf(q, a, b)"><pre class="notranslate"><span class="pl-c"># from scipy/stats/tests/test_distributions.py:2878: in test_issue_12796</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">from</span> <span class="pl-s1">scipy</span> <span class="pl-k">import</span> <span class="pl-s1">stats</span> <span class="pl-s1">q</span> <span class="pl-c1">=</span> <span class="pl-c1">0.999995</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([ <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>, <span class="pl-c1">5</span>, <span class="pl-c1">6</span>, <span class="pl-c1">7</span>, <span class="pl-c1">8</span>, <span class="pl-c1">9</span>, <span class="pl-c1">10</span>, <span class="pl-c1">11</span>, <span class="pl-c1">12</span>, <span class="pl-c1">13</span>, <span class="pl-c1">14</span>, <span class="pl-c1">15</span>, <span class="pl-c1">16</span>, <span class="pl-c1">17</span>, <span class="pl-c1">18</span>, <span class="pl-c1">19</span>, <span class="pl-c1">20</span>]) <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">99999</span>, <span class="pl-c1">99998</span>, <span class="pl-c1">99997</span>, <span class="pl-c1">99996</span>, <span class="pl-c1">99995</span>, <span class="pl-c1">99994</span>, <span class="pl-c1">99993</span>, <span class="pl-c1">99992</span>, <span class="pl-c1">99991</span>, <span class="pl-c1">99990</span>, <span class="pl-c1">99989</span>, <span class="pl-c1">99988</span>, <span class="pl-c1">99987</span>, <span class="pl-c1">99986</span>, <span class="pl-c1">99985</span>, <span class="pl-c1">99984</span>, <span class="pl-c1">99983</span>, <span class="pl-c1">99982</span>, <span class="pl-c1">99981</span>]) <span class="pl-s1">stats</span>.<span class="pl-s1">beta</span>.<span class="pl-en">ppf</span>(<span class="pl-s1">q</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>)</pre></div> <h3 dir="auto">Error message</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12635 - ... 927 FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12794 - ... 928 FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12796 - ... ... scipy/stats/_continuous_distns.py:626: in _ppf 916 return _boost._beta_ppf(q, a, b) 917 E RuntimeWarning: overflow encountered in _beta_ppf"><pre class="notranslate">FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12635 - ... 927 FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12794 - ... 928 FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12796 - ... ... scipy/stats/_continuous_distns.py:626: <span class="pl-k">in</span> _ppf 916 <span class="pl-k">return</span> _boost._beta_ppf(q, a, b) 917 E RuntimeWarning: overflow encountered <span class="pl-k">in</span> _beta_ppf</pre></div> <h3 dir="auto">SciPy/NumPy/Python version information</h3> <p dir="auto">master on macOS/CI</p>
1
<h3 dir="auto">Version</h3> <p dir="auto">2.5.17</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codepen.io/AmrIKhudair/pen/YRLEYo" rel="nofollow">https://codepen.io/AmrIKhudair/pen/YRLEYo</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">1- open the minimal reproduction<br> 2- Type something (notice that the first time you focus the last input a new input appears)<br> 3- delete one of the todos (other than the last one)<br> 4- Focus the last one again (now a new todo is not created)</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">A new todo is created</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">A new todo isn't created</p> <hr> <p dir="auto">I think it has something to do with reusing dom elements for improving performance</p>
<p dir="auto">I have an existing project that is using Vue 0.12.16 and recently migrated the code over to Vue 1.0.7.</p> <p dir="auto">The project went from a startup time of 0.7s to 6.8s with the change of <code class="notranslate">&lt;select v-model="item.value" options="dropdownChoices"&gt;&lt;/select&gt;</code> to <code class="notranslate">&lt;select v-model="item.value"&gt;&lt;option v-for="opt in dropdownChoices" value="{{* opt.value }}"&gt;{{* opt.text }}&lt;/option&gt;&lt;/select&gt;</code></p> <p dir="auto">The cause of the dramatic increase in time comes from the additional fragments and directives that are created by the removal of the options= parameter.</p> <p dir="auto">The application in question contains a very large list of items that each have an associated select dropdown. The dropdown choices are identical for list each item, but the items are often updated based on another area of the application.</p> <p dir="auto">I attempted to create a new directive that created the option items the way the old item had, but ran into the problem of being unable to signal to v-model that it needed to update which item was selected, and I did not have access to the value that it was watching.</p> <p dir="auto">Please add the v-model select 'options' parameter back, as it is a very large performance gain when working with a large number of items.</p> <p dir="auto">Vue 1.0.7 method: <a href="https://jsfiddle.net/mc33346o/" rel="nofollow">https://jsfiddle.net/mc33346o/</a><br> Vue 0.12.16 method: <a href="https://jsfiddle.net/s7pwqkjn/" rel="nofollow">https://jsfiddle.net/s7pwqkjn/</a></p>
0
<p dir="auto">cf <a href="http://stackoverflow.com/questions/12979062/using-a-custom-offset-alias-in-pandas" rel="nofollow">http://stackoverflow.com/questions/12979062/using-a-custom-offset-alias-in-pandas</a></p>
<p dir="auto"><a href="http://stackoverflow.com/questions/12979062/using-a-custom-offset-alias-in-pandas" rel="nofollow">http://stackoverflow.com/questions/12979062/using-a-custom-offset-alias-in-pandas</a></p> <p dir="auto">I'm thinking:</p> <p dir="auto">@offset_alias<br> class CustomOffset(DateOffset):<br> ...</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=fatboysuns" rel="nofollow">Sundar Sankarnarayanan</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6385?redirect=false" rel="nofollow">SPR-6385</a></strong> and commented</p> <p dir="auto">Hi All,<br> When I use context scanning and deploy it on Jboss5. Spring somehow seem to have issue of finding the beans in the classpath. If the same war is dropped on Jboss 4.X it seems to Work just fine.</p> <p dir="auto">I tried using the newer Spring3 - m3 as well with no luck.</p> <p dir="auto">Any suggestions is appreciated.</p> <p dir="auto">-Sundar</p> <p dir="auto"><a href="http://forum.springsource.org/showthread.php?p=269977" rel="nofollow">http://forum.springsource.org/showthread.php?p=269977</a></p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6</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="398090638" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9793" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9793/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9793">#9793</a> Spring component scanning does not work within JBoss EJB container (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rbrewster" rel="nofollow">Ravi Brewster</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-427?redirect=false" rel="nofollow">SPR-427</a></strong> and commented</p> <p dir="auto">While I'm aware of the convention to log at "info" level at startup and "debug" @ runtime, I feel the following logging is excessive:</p> <p dir="auto">SQLErrorCodesFactory.getErrorCodes(197) | Looking up default SQLErrorCodes for DataSource</p> <p dir="auto">SQLErrorCodesFactory.getErrorCodes(202) | Database product name found in cache for DataSource [org.apache.commons.dbcp.BasicDataSource@ba17<br> 5f]. Name is 'MySQL'.</p> <p dir="auto">These same messages are repeated for each of my Dao's (in my case, thats over a hundred) Is there a chance these can be demoted to debug since they don't really provide any additional info?</p> <p dir="auto"><a href="http://forum.springframework.org/viewtopic.php?t=1569" rel="nofollow">http://forum.springframework.org/viewtopic.php?t=1569</a></p> <p dir="auto">-Ravi</p> <hr> <p dir="auto"><strong>Affects:</strong> 1.1.1</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="398052011" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5119" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5119/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5119">#5119</a> SQLErrorCodesFactory logger.info() spamming (<em><strong>"duplicates"</strong></em>)</li> </ul>
0
<p dir="auto">I get the source code and build atom.I can't input chinese and display chinese.I search the issues history.The similar issue is No6214.I setup the font family and install the support-gbk package,but it didn't work.<br> OS is Ubuntu 14.10.<br> LANG=en_US.UTF-8.<br> The version is 0.198.0-4f5e9b1.</p>
<p dir="auto">Text:</p> <blockquote> <p dir="auto">这上面的夜的天空,奇怪而高,我生平没有见过这样奇怪而高的天空。他仿佛要离开人间而去,使人们仰面不再看见。然而现在却非常之蓝,闪闪地睒着几十个星星的眼,冷眼。他的口角上现出微笑,似乎自以为大有深意,而将繁霜洒在我的园里的野花草上。</p> </blockquote> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png"><img src="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png" alt="3" style="max-width: 100%;"></a></p> <p dir="auto">It happen after update to 0.189.0, and it's normal in 0.188.0 .</p> <p dir="auto">I try disabled all community packages or star with <code class="notranslate">--safe</code> mode, still happen.</p> <p dir="auto">Update: Ubuntu 14.04</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.2, dubbo-admin最新develop分支a21b125</li> <li>Operating System version: Ubuntu18.04</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>在dubbo-admin里建应用级规则路由。填写应用名时只能写provider的应用名(如demo-provider)</li> <li>查看zk,生的配置路径为:/dubbo/config/demo-provider/condition-router的Data中。</li> <li>跟踪consumer请求时的dubbo代码,发现在创建AppRouter时查找路径为消费者(如demo-consumer)的路径/dubbo/config/demo-consumer/condition-router。造成配置不生效。</li> <li>如果切换到dubbo2.7.3,consumer请求时生成AppRouter时读取ZK路径变为/dubbo/config/dubbo/demo-consumer.condition-router。所以无论2.7.2, 2.7.3 都和admin中配置的路径不一样。</li> </ol>
<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.5</li> <li>Operating System version: CentOS 7.7 (K8S v1.16.6)</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>Use multicast Registry, address: <code class="notranslate">multicast://224.5.6.7:1234</code></li> <li>Start up application</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">Application start up succeed.</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">Application start up failed, stack trace</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.IllegalStateException: Network is unreachable (sendto failed) at org.apache.dubbo.registry.multicast.MulticastRegistry.multicast(MulticastRegistry.java:238) at org.apache.dubbo.registry.multicast.MulticastRegistry.doRegister(MulticastRegistry.java:257) at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:240) at org.apache.dubbo.registry.multicast.MulticastRegistry.register(MulticastRegistry.java:377) at org.apache.dubbo.registry.ListenerRegistryWrapper.register(ListenerRegistryWrapper.java:57) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:396) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:70) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:73) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:151) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:324) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:266) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:151)"><pre class="notranslate"><code class="notranslate">java.lang.IllegalStateException: Network is unreachable (sendto failed) at org.apache.dubbo.registry.multicast.MulticastRegistry.multicast(MulticastRegistry.java:238) at org.apache.dubbo.registry.multicast.MulticastRegistry.doRegister(MulticastRegistry.java:257) at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:240) at org.apache.dubbo.registry.multicast.MulticastRegistry.register(MulticastRegistry.java:377) at org.apache.dubbo.registry.ListenerRegistryWrapper.register(ListenerRegistryWrapper.java:57) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:396) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:70) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:73) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:151) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:324) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:266) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:151) </code></pre></div> <p dir="auto">Here's network interfaces</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt; ifconfig eth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt; mtu 1500 inet 192.168.40.116 netmask 255.255.240.0 broadcast 192.168.47.255 inet6 fe80::216:3eff:fe16:3eec prefixlen 64 scopeid 0x20&lt;link&gt; ether 00:16:3e:16:3e:ec txqueuelen 1000 (Ethernet) RX packets 958592 bytes 1408986475 (1.3 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 56904 bytes 4593937 (4.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt; mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10&lt;host&gt; loop txqueuelen 1000 (Local Loopback) RX packets 1698 bytes 7096626 (6.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1698 bytes 7096626 (6.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0"><pre class="notranslate"><span class="pl-k">&gt;</span> ifconfig eth0: flags=<span class="pl-k">4163&lt;</span>UP,BROADCAST,RUNNING,MULTICAST<span class="pl-k">&gt;</span> mtu 1500 inet 192.168.40.116 netmask 255.255.240.0 broadcast 192.168.47.255 inet6 fe80::216:3eff:fe16:3eec prefixlen 64 scopeid 0x<span class="pl-k">20&lt;</span>link<span class="pl-k">&gt;</span> ether 00:16:3e:16:3e:ec txqueuelen 1000 (Ethernet) RX packets 958592 bytes 1408986475 (1.3 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 56904 bytes 4593937 (4.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=<span class="pl-k">73&lt;</span>UP,LOOPBACK,RUNNING<span class="pl-k">&gt;</span> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x<span class="pl-k">10&lt;</span>host<span class="pl-k">&gt;</span> loop txqueuelen 1000 (Local Loopback) RX packets 1698 bytes 7096626 (6.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1698 bytes 7096626 (6.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</pre></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt; ifconfig -a dummy0: flags=130&lt;BROADCAST,NOARP&gt; mtu 1500 ether 7e:7f:fe:1a:8f:23 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt; mtu 1500 inet 192.168.40.116 netmask 255.255.240.0 broadcast 192.168.47.255 inet6 fe80::216:3eff:fe16:3eec prefixlen 64 scopeid 0x20&lt;link&gt; ether 00:16:3e:16:3e:ec txqueuelen 1000 (Ethernet) RX packets 958636 bytes 1408991887 (1.3 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 56941 bytes 4600900 (4.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 kube-ipvs0: flags=130&lt;BROADCAST,NOARP&gt; mtu 1500 inet 172.21.0.1 netmask 255.255.255.255 broadcast 172.21.0.1 ether 7e:61:57:a0:de:b3 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt; mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10&lt;host&gt; loop txqueuelen 1000 (Local Loopback) RX packets 1813 bytes 7104868 (6.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1813 bytes 7104868 (6.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0"><pre class="notranslate"><span class="pl-k">&gt;</span> ifconfig -a dummy0: flags=<span class="pl-k">130&lt;</span>BROADCAST,NOARP<span class="pl-k">&gt;</span> mtu 1500 ether 7e:7f:fe:1a:8f:23 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth0: flags=<span class="pl-k">4163&lt;</span>UP,BROADCAST,RUNNING,MULTICAST<span class="pl-k">&gt;</span> mtu 1500 inet 192.168.40.116 netmask 255.255.240.0 broadcast 192.168.47.255 inet6 fe80::216:3eff:fe16:3eec prefixlen 64 scopeid 0x<span class="pl-k">20&lt;</span>link<span class="pl-k">&gt;</span> ether 00:16:3e:16:3e:ec txqueuelen 1000 (Ethernet) RX packets 958636 bytes 1408991887 (1.3 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 56941 bytes 4600900 (4.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 kube-ipvs0: flags=<span class="pl-k">130&lt;</span>BROADCAST,NOARP<span class="pl-k">&gt;</span> mtu 1500 inet 172.21.0.1 netmask 255.255.255.255 broadcast 172.21.0.1 ether 7e:61:57:a0:de:b3 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=<span class="pl-k">73&lt;</span>UP,LOOPBACK,RUNNING<span class="pl-k">&gt;</span> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x<span class="pl-k">10&lt;</span>host<span class="pl-k">&gt;</span> loop txqueuelen 1000 (Local Loopback) RX packets 1813 bytes 7104868 (6.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1813 bytes 7104868 (6.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</pre></div> <p dir="auto">The reason is that interface <code class="notranslate">kube-ipvs0</code> is not <code class="notranslate">UP</code>, but was set to <code class="notranslate">MulticastSocket</code> in <code class="notranslate">org.apache.dubbo.common.utils.NetUtils#setInterface</code> method.</p> <p dir="auto">Should use validNetworkInterfaces</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@@ -471,10 +471,8 @@ public class NetUtils { public static void setInterface(MulticastSocket multicastSocket, boolean preferIpv6) throws IOException { boolean interfaceSet = false; - Enumeration interfaces = NetworkInterface.getNetworkInterfaces(); - while (interfaces.hasMoreElements()) { - NetworkInterface i = (NetworkInterface) interfaces.nextElement(); - Enumeration addresses = i.getInetAddresses(); + for (NetworkInterface networkInterface : getValidNetworkInterfaces()) { + Enumeration addresses = networkInterface.getInetAddresses(); while (addresses.hasMoreElements()) { InetAddress address = (InetAddress) addresses.nextElement(); if (preferIpv6 &amp;&amp; address instanceof Inet6Address) {"><pre class="notranslate"><span class="pl-mdr">@@ -471,10 +471,8 @@</span> public class NetUtils { public static void setInterface(MulticastSocket multicastSocket, boolean preferIpv6) throws IOException { boolean interfaceSet = false; <span class="pl-md"><span class="pl-md">-</span> Enumeration interfaces = NetworkInterface.getNetworkInterfaces();</span> <span class="pl-md"><span class="pl-md">-</span> while (interfaces.hasMoreElements()) {</span> <span class="pl-md"><span class="pl-md">-</span> NetworkInterface i = (NetworkInterface) interfaces.nextElement();</span> <span class="pl-md"><span class="pl-md">-</span> Enumeration addresses = i.getInetAddresses();</span> <span class="pl-mi1"><span class="pl-mi1">+</span> for (NetworkInterface networkInterface : getValidNetworkInterfaces()) {</span> <span class="pl-mi1"><span class="pl-mi1">+</span> Enumeration addresses = networkInterface.getInetAddresses();</span> while (addresses.hasMoreElements()) { InetAddress address = (InetAddress) addresses.nextElement(); if (preferIpv6 &amp;&amp; address instanceof Inet6Address) {</pre></div> <p dir="auto">or just check <code class="notranslate">UP</code> flag</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@@ -474,6 +474,9 @@ public class NetUtils { Enumeration interfaces = NetworkInterface.getNetworkInterfaces(); while (interfaces.hasMoreElements()) { NetworkInterface i = (NetworkInterface) interfaces.nextElement(); + if (!i.isUp()) { + continue; + } Enumeration addresses = i.getInetAddresses(); while (addresses.hasMoreElements()) { InetAddress address = (InetAddress) addresses.nextElement(); "><pre class="notranslate"><span class="pl-mdr">@@ -474,6 +474,9 @@</span> public class NetUtils { Enumeration interfaces = NetworkInterface.getNetworkInterfaces(); while (interfaces.hasMoreElements()) { NetworkInterface i = (NetworkInterface) interfaces.nextElement(); <span class="pl-mi1"><span class="pl-mi1">+</span> if (!i.isUp()) {</span> <span class="pl-mi1"><span class="pl-mi1">+</span> continue;</span> <span class="pl-mi1"><span class="pl-mi1">+</span> }</span> Enumeration addresses = i.getInetAddresses(); while (addresses.hasMoreElements()) { InetAddress address = (InetAddress) addresses.nextElement(); </pre></div>
0
<p dir="auto">This might be easier to demonstrate with a screencast, but try moving your mouse in and out of a tooltip parent really fast. From then on then on the tooltip can't tell if it's supposed to be open or not. If you try to open it again it closes after a split second before mousing out</p>
<p dir="auto">This problem have been around for quite some time, and issues have been created and closed without being fixed.</p> <ul dir="auto"> <li><a href="https://github.com/twitter/bootstrap/issues/3712" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/3712/hovercard">Disappearing Tooltips</a></li> <li><a href="https://github.com/twitter/bootstrap/issues/4702" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/4702/hovercard">Tooltips disappear when hovering hiding/showing them fast</a></li> </ul> <p dir="auto">Bug: Let's say you have an anchor-tag, which has a tooltip, enabled either from javascript or data-attributes. Place your mouse cursor over the anchor, and you'll see the popup. Now hover out and in again very quickly, and let the cursor stay on the anchor. Voilà, the <strong>tooltip disappears</strong>.</p> <p dir="auto">Of course, you furiously start hovering out and in again (you <em>want</em> to read what the tooltip says), only to see the same thing happen over and over again, even if you are hovering much slower than the first time. The only way to see the tooltip is to remove your cursor from the anchor, wait a while, and hover again.</p> <p dir="auto">I'll use a jsfiddle that has already been posted to demonstrate: <a href="http://jsfiddle.net/VXs44/" rel="nofollow">http://jsfiddle.net/VXs44/</a>. Otherwise, check your own <a href="http://twitter.github.com/bootstrap/javascript.html#tooltips">http://twitter.github.com/bootstrap/javascript.html#tooltips</a>, the same thing happens there.</p> <p dir="auto">Tested in all 5 major browsers, latest versions, and it's only IE that doesn't have this bug, since it doesn't animate the tooltip. Setting animation to false also fixes the problem.</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 =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[X] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> I upgraded my project from SystemJs to webpack (angular-cli). I realized that input and output decorators defined in a base class of a component are not recognized as valid properties. Sample code:</p> <p dir="auto">`@Component({<br> selector: 'foo',<br> template: '...'<br> })<br> export class FooComponent extends FooBase {<br> }</p> <p dir="auto">export class FooBase {<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/input/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/input">@input</a>() protected testInput: any;<br> }`</p> <p dir="auto">In my html I wanted to use this component normally set <code class="notranslate">testInput</code> variable. With SystemJs there was no problem with this structure. Since I use core-js I get the following error:</p> <blockquote> <p dir="auto">Unhandled Promise rejection: Template parse errors:<br> Can't bind to 'testInput' since it isn't a known property of 'foo'.</p> </blockquote> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">All input and output decorators defined in base classes should be recognized as valid properties of the component.</p> <p dir="auto"><strong>Reproduction of the problem</strong></p> <p dir="auto">I started to debug this problem and I found that the root couse of the problem is the <code class="notranslate">getPrototypeOf()</code> function in the es7 shim of core-js.</p> <p dir="auto">This function is much more simplier than it was in System-Js:</p> <p dir="auto"><code class="notranslate">getPrototypeOf()</code> in core-js:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module.exports = Object.getPrototypeOf || function(O){ O = toObject(O); if(has(O, IE_PROTO))return O[IE_PROTO]; if(typeof O.constructor == 'function' &amp;&amp; O instanceof O.constructor){ return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; };"><pre class="notranslate"><code class="notranslate">module.exports = Object.getPrototypeOf || function(O){ O = toObject(O); if(has(O, IE_PROTO))return O[IE_PROTO]; if(typeof O.constructor == 'function' &amp;&amp; O instanceof O.constructor){ return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; }; </code></pre></div> <p dir="auto"><code class="notranslate">getPrototypeOf()</code> in SystemJs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" function GetPrototypeOf(O: any): Object { let proto = Object.getPrototypeOf(O); if (typeof O !== &quot;function&quot; || O === functionPrototype) { return proto; } if (proto !== functionPrototype) { return proto; } let prototype = O.prototype; let prototypeProto = Object.getPrototypeOf(prototype); if (prototypeProto == null || prototypeProto === Object.prototype) { return proto; } let constructor = prototypeProto.constructor; if (typeof constructor !== &quot;function&quot;) { return proto; } if (constructor === O) { return proto; } return constructor; }"><pre class="notranslate"><code class="notranslate"> function GetPrototypeOf(O: any): Object { let proto = Object.getPrototypeOf(O); if (typeof O !== "function" || O === functionPrototype) { return proto; } if (proto !== functionPrototype) { return proto; } let prototype = O.prototype; let prototypeProto = Object.getPrototypeOf(prototype); if (prototypeProto == null || prototypeProto === Object.prototype) { return proto; } let constructor = prototypeProto.constructor; if (typeof constructor !== "function") { return proto; } if (constructor === O) { return proto; } return constructor; } </code></pre></div> <p dir="auto">The first function returns an anonymus function when it reaches the parent of the component since it is using <code class="notranslate">Object.getPrototypeOf()</code> the second returns with the correct parent function. I know that it is not connected direcly to Angular but I'am not an expert of these shims and I cannot decide which is better and why. So that I didn't want to submit a ticket to core-js for the first time.<br> Since <a href="https://github.com/angular/angular/commit/66df335998d097fa8fe46dec41f1183737332021">Angular also switched to core-js</a> it can be problematic in the future. What is the proposal for this? Is it a core-js bug?</p> <p dir="auto">PS.: If someone would face with the same problem, my <strong>workaround</strong> was to remove all decorators from the base class and specify them explicitly in the <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/component/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/component">@component</a> attribute.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Described above.</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> Windows 7, IntelliJ, npm, angular-cli</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-rc.X<br> Angular 2.0.0 final</li> <li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]<br> all</li> <li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br> Typescript 2.2</li> <li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = v6.5.0</li> </ul>
<p dir="auto">In Ionic we use a lot of attributes. For example, say we have an attribute called <code class="notranslate">primary</code> that we only want added if the platform is Android. Doing something like this on an element:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;div [attr.primary]=&quot;isAndroid&quot;&gt;&lt;/div&gt;"><pre class="notranslate"><code class="notranslate">&lt;div [attr.primary]="isAndroid"&gt;&lt;/div&gt; </code></pre></div> <p dir="auto">Would be added as <code class="notranslate">primary="true"</code> for Android and <code class="notranslate">primary="false"</code> for iOS. We want it to not add <code class="notranslate">primary</code> at all if iOS, and add just <code class="notranslate">primary</code> if Android.</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/adamdbradley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adamdbradley">@adamdbradley</a></p>
0
<p dir="auto">Hi, back again after resolving the issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1303669204" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/15619" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/15619/hovercard" href="https://github.com/microsoft/playwright/issues/15619">#15619</a>.<br> Here is another automation use case for the application we are evaluating with Playwright.</p> <p dir="auto">I tried to find out the solution on internet, but many of them are either duplicate of issue as mentioned below or are just incomplete. I saw the solution provided here but could not figure out how to provide the complete selector string to the dispatchEvent function.</p> <p dir="auto"><code class="notranslate">await page.dispatchEvent('YOUR_TARGET_SELECTOR', 'drop', { dataTransfer });</code></p> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1069164941" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/10667" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/10667/hovercard" href="https://github.com/microsoft/playwright/issues/10667">#10667</a></p> <p dir="auto">I tried with my below code snippet but it did not work. It does not give me any error but nothing happened on the page.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32839577/179572163-7db8f895-752d-4339-b4cf-8cf2d628c3dd.PNG"><img src="https://user-images.githubusercontent.com/32839577/179572163-7db8f895-752d-4339-b4cf-8cf2d628c3dd.PNG" alt="DragandDrop" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;iframe id=&quot;legacy-app&quot; src=&quot;//admin.xyz.asdf.com/xyz/zxy/12341a8ab651df98b842df40?vp=bulkproduct&quot; data-test=&quot;legacy-app&quot;&gt; &lt;div class=&quot;dropzone single dropBox&quot; __playwright_target__=&quot;after@call@28&quot;&gt;&lt;/div&gt; &lt;/iframe&gt;"><pre class="notranslate"><code class="notranslate">&lt;iframe id="legacy-app" src="//admin.xyz.asdf.com/xyz/zxy/12341a8ab651df98b842df40?vp=bulkproduct" data-test="legacy-app"&gt; &lt;div class="dropzone single dropBox" __playwright_target__="after@call@28"&gt;&lt;/div&gt; &lt;/iframe&gt; </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" const dropBox = await page.frameLocator('[data-test=&quot;legacy-app&quot;]').locator('[class=&quot;dropzone single dropBox&quot;]'); await expect(dropBox).toBeVisible(); // Read your file into a buffer. const filePath ='./test-data/sheets/UU-24074-C202362.xlsx'; const buffer = fs.readFileSync(filePath); // Create the DataTransfer and File const dataTransfer = await dropBox.evaluateHandle((data) =&gt; { const dt = new DataTransfer(); // Convert the buffer to a hex array const file = new File([data.toString('hex')], 'UU-24074-C202362.xlsx', { type: 'application/xlsx' }); dt.items.add(file); return dt; }, buffer); await dropBox.dispatchEvent('drop', { dataTransfer }); "><pre class="notranslate"><code class="notranslate"> const dropBox = await page.frameLocator('[data-test="legacy-app"]').locator('[class="dropzone single dropBox"]'); await expect(dropBox).toBeVisible(); // Read your file into a buffer. const filePath ='./test-data/sheets/UU-24074-C202362.xlsx'; const buffer = fs.readFileSync(filePath); // Create the DataTransfer and File const dataTransfer = await dropBox.evaluateHandle((data) =&gt; { const dt = new DataTransfer(); // Convert the buffer to a hex array const file = new File([data.toString('hex')], 'UU-24074-C202362.xlsx', { type: 'application/xlsx' }); dt.items.add(file); return dt; }, buffer); await dropBox.dispatchEvent('drop', { dataTransfer }); </code></pre></div>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: 1.32.0</li> <li>Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]</li> <li>Browser: Chromium</li> <li>Other info:</li> </ul> <h3 dir="auto">Test code</h3> <ol dir="auto"> <li>Can be reproduced in the <code class="notranslate">har.spec.ts</code> file. Copied from there for reference</li> </ol> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="it('should not hang on slow chunked response', async ({ browserName, browser, contextFactory, server }, testInfo) =&gt; { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/21182' }); server.setRoute('/empty.html', (req, res) =&gt; { res.writeHead(200, { 'Content-Type': 'text/html', }); res.end(`&lt;script&gt; let receivedFirstData = new Promise(f =&gt; { setTimeout(() =&gt; { var x = new XMLHttpRequest(); x.open(&quot;GET&quot;, &quot;slow.txt&quot;); x.onprogress = () =&gt; f(); x.send(); }, 0); }); &lt;/script&gt;`); }); server.setRoute('/slow.txt', async (req, res) =&gt; { res.writeHead(200, { 'Content-Type': 'text/plain', 'Transfer-Encoding': 'chunked', 'Content-length': '2023' }); res.write('begin'); }); const { page, getLog, context } = await pageWithHar(contextFactory, testInfo); // will not be fired for slow.txt file context.on('response', resp =&gt; console.log('received response', resp.url())); await page.goto(server.EMPTY_PAGE); await page.evaluate(() =&gt; (window as any).receivedFirstData); const log = await getLog(); expect(log.browser.name.toLowerCase()).toBe(browserName); expect(log.browser.version).toBe(browser.version()); }); "><pre class="notranslate"><span class="pl-en">it</span><span class="pl-kos">(</span><span class="pl-s">'should not hang on slow chunked response'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> browserName<span class="pl-kos">,</span> browser<span class="pl-kos">,</span> contextFactory<span class="pl-kos">,</span> server <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">testInfo</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">it</span><span class="pl-kos">.</span><span class="pl-en">info</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">annotations</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-s">'issue'</span><span class="pl-kos">,</span> <span class="pl-c1">description</span>: <span class="pl-s">'https://github.com/microsoft/playwright/issues/21182'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">server</span><span class="pl-kos">.</span><span class="pl-en">setRoute</span><span class="pl-kos">(</span><span class="pl-s">'/empty.html'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">,</span> <span class="pl-s1">res</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">res</span><span class="pl-kos">.</span><span class="pl-en">writeHead</span><span class="pl-kos">(</span><span class="pl-c1">200</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">'Content-Type'</span>: <span class="pl-s">'text/html'</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">res</span><span class="pl-kos">.</span><span class="pl-en">end</span><span class="pl-kos">(</span><span class="pl-s">`&lt;script&gt;</span> <span class="pl-s"> let receivedFirstData = new Promise(f =&gt; {</span> <span class="pl-s"> setTimeout(() =&gt; {</span> <span class="pl-s"> var x = new XMLHttpRequest();</span> <span class="pl-s"> x.open("GET", "slow.txt");</span> <span class="pl-s"> x.onprogress = () =&gt; f();</span> <span class="pl-s"> x.send();</span> <span class="pl-s"> }, 0);</span> <span class="pl-s"> });</span> <span class="pl-s"> &lt;/script&gt;`</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">server</span><span class="pl-kos">.</span><span class="pl-en">setRoute</span><span class="pl-kos">(</span><span class="pl-s">'/slow.txt'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">,</span> <span class="pl-s1">res</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">res</span><span class="pl-kos">.</span><span class="pl-en">writeHead</span><span class="pl-kos">(</span><span class="pl-c1">200</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">'Content-Type'</span>: <span class="pl-s">'text/plain'</span><span class="pl-kos">,</span> <span class="pl-s">'Transfer-Encoding'</span>: <span class="pl-s">'chunked'</span><span class="pl-kos">,</span> <span class="pl-s">'Content-length'</span>: <span class="pl-s">'2023'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">res</span><span class="pl-kos">.</span><span class="pl-en">write</span><span class="pl-kos">(</span><span class="pl-s">'begin'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-kos">{</span> page<span class="pl-kos">,</span> getLog<span class="pl-kos">,</span> context <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-en">pageWithHar</span><span class="pl-kos">(</span><span class="pl-s1">contextFactory</span><span class="pl-kos">,</span> <span class="pl-s1">testInfo</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// will not be fired for slow.txt file</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'response'</span><span class="pl-kos">,</span> <span class="pl-s1">resp</span> <span class="pl-c1">=&gt;</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">'received response'</span><span class="pl-kos">,</span> <span class="pl-s1">resp</span><span class="pl-kos">.</span><span class="pl-en">url</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">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-s1">server</span><span class="pl-kos">.</span><span class="pl-c1">EMPTY_PAGE</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">evaluate</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-smi">window</span> <span class="pl-k">as</span> <span class="pl-smi">any</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">receivedFirstData</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">log</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-en">getLog</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">log</span><span class="pl-kos">.</span><span class="pl-c1">browser</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">.</span><span class="pl-en">toLowerCase</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">toBe</span><span class="pl-kos">(</span><span class="pl-s1">browserName</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">log</span><span class="pl-kos">.</span><span class="pl-c1">browser</span><span class="pl-kos">.</span><span class="pl-c1">version</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toBe</span><span class="pl-kos">(</span><span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">version</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>Steps</strong></p> <ul dir="auto"> <li>Run the above test in the PW repo</li> <li><code class="notranslate">npm run ctest -- -g 'should not hang on slow chunked response'</code></li> </ul> <p dir="auto"><strong>Expected</strong></p> <ul dir="auto"> <li><code class="notranslate">context.on("response")</code> is fired correctly for Firefox and Webkit browsers.</li> </ul> <p dir="auto"><strong>Actual</strong></p> <ul dir="auto"> <li><code class="notranslate">context.on("response")</code> event will not be fired for the chunked response.</li> </ul>
0
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134810656" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3159" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3159/hovercard" href="https://github.com/microsoft/vscode/issues/3159">#3159</a></p> <p dir="auto">When looking through the snippet list I get some strange rendering.</p> <p dir="auto">There are definitely 5 snippets in the list but only 4 show up until I arrow through the complete set of 5. Once I did that the list rendered correctly. I would not have known there were 5 items if the sample screenshot did not show 5 (vs the 4 I could see).</p> <p dir="auto">I also saw some other partial rendering issues such as the double up in the image below.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1051190/13258726/31611f42-da09-11e5-8eef-aa890f663929.png"><img src="https://cloud.githubusercontent.com/assets/1051190/13258726/31611f42-da09-11e5-8eef-aa890f663929.png" alt="screen shot 2016-02-23 at 8 33 12 am" style="max-width: 100%;"></a></p>
<p dir="auto">Whenever I use "Open File", the box defaults from some default directory. I would like the Open File dialog to show the directory that the current file is in. 99% of the time when I open a file it is to find some sibling file to the one I'm looking at.</p> <p dir="auto">Either a user setting, or a completely new command would be great.</p>
0
<p dir="auto">We should probably fix <code class="notranslate">styled-jsx</code>'s Global mode (<code class="notranslate">&lt;style jsx global&gt;</code>) working when placed in <code class="notranslate">_document</code> during Development but not when deployed to Production.</p> <p dir="auto">Also, by fix I don't necessarily mean it has to work in production. Maybe it shouldn't work for development.</p>
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">I'm working on next.js 7.0.0 and <a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-css">next-css</a> 1.0.0.<br> I created following two pages.</p> <p dir="auto"><em><strong>pages/index.tsx</strong></em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import Link from 'next/link'; export default () =&gt; &lt;Link href=&quot;/css&quot;&gt;&lt;a&gt;Go&lt;/a&gt;&lt;/Link&gt;;"><pre class="notranslate"><code class="notranslate">import Link from 'next/link'; export default () =&gt; &lt;Link href="/css"&gt;&lt;a&gt;Go&lt;/a&gt;&lt;/Link&gt;; </code></pre></div> <p dir="auto"><em><strong>pages/css.tsx</strong></em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import &quot;../style.css&quot;; export default () =&gt; &lt;div className=&quot;example&quot;&gt;styled text&lt;/div&gt;;"><pre class="notranslate"><code class="notranslate">import "../style.css"; export default () =&gt; &lt;div className="example"&gt;styled text&lt;/div&gt;; </code></pre></div> <p dir="auto">When I click the link in the index page, css page is not displayed.<br> I removed the import statement from css page, it works fine.</p> <h2 dir="auto">To Reproduce</h2> <ol dir="auto"> <li>Clone <code class="notranslate">[email protected]:hikoma/next-css-bug.git</code></li> <li><code class="notranslate">yarn &amp;&amp; yarn dev</code></li> <li>Click a "With css import" link</li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Pages importing css should be loaded.</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: Ubuntu 18.04</li> <li>Version of Next.js: 7.0.0</li> <li>Version of <a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-css">next-css</a>: 1.0.0</li> </ul>
0
<ul dir="auto"> <li>VSCode Version: 1.0</li> <li>OS Version: OS X 10.10</li> </ul> <p dir="auto">I could be missing this in an option somewhere, but if not, it would be awesome if there was an option for "use_simple_full_screen" (like in Sublime Text) which just full screens VS Code in the current window and not create a new space like it does currently.</p>
<p dir="auto">I am starting to selfhost on running the gulp tsb task in the workbench. Since errors are multi line, I am missing important information I had before:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/900690/15890026/ea6aea2e-2d6d-11e6-8959-1beec6329c80.png"><img src="https://cloud.githubusercontent.com/assets/900690/15890026/ea6aea2e-2d6d-11e6-8959-1beec6329c80.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Neither are the multi line errors showing up in the hover in the editor nor are they showing up in the problems view.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/900690/15890047/13c8e6e6-2d6e-11e6-9885-f8989c8a3f3b.png"><img src="https://cloud.githubusercontent.com/assets/900690/15890047/13c8e6e6-2d6e-11e6-9885-f8989c8a3f3b.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Marking as important because this makes my selfhost unusable with this setup.</p>
0
<p dir="auto">deno: 0.13.0<br> v8: 7.7.200<br> typescript: 3.5.1</p> <p dir="auto">Today, I wrote a great replacement for jQuery:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function $(dollarAmount) { const locale = 'en-US'; const options = { style: 'currency', currency: 'USD' }; return Intl.NumberFormat(locale, options).format(dollarAmount); } $(987654.321); // This should return: '$987,654.32'"><pre class="notranslate"><code class="notranslate">function $(dollarAmount) { const locale = 'en-US'; const options = { style: 'currency', currency: 'USD' }; return Intl.NumberFormat(locale, options).format(dollarAmount); } $(987654.321); // This should return: '$987,654.32' </code></pre></div> <p dir="auto">A you can see, it is the most sensible use of the "$" character, as a function name, that has ever been written in the history of javascript.</p> <p dir="auto">The only issue is, when I run this code in Deno, I get this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught ReferenceError: Intl is not defined ► &lt;unknown&gt;:5:2 at $ (&lt;unknown&gt;:5:2) at &lt;unknown&gt;:7:1 at evaluate (js/repl.ts:87:34) at replLoop (js/repl.ts:145:13)"><pre class="notranslate"><code class="notranslate">error: Uncaught ReferenceError: Intl is not defined ► &lt;unknown&gt;:5:2 at $ (&lt;unknown&gt;:5:2) at &lt;unknown&gt;:7:1 at evaluate (js/repl.ts:87:34) at replLoop (js/repl.ts:145:13) </code></pre></div>
<p dir="auto">As seen in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="422116599" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1952" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1952/hovercard" href="https://github.com/denoland/deno/issues/1952">#1952</a> / <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="405562913" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1636" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1636/hovercard" href="https://github.com/denoland/deno/issues/1636">#1636</a> ICU needs to be added in Deno build.</p> <p dir="auto">Switching this flag to true maybe: <a href="https://github.com/denoland/deno/blob/master/.gn#L50">https://github.com/denoland/deno/blob/master/.gn#L50</a> ?</p> <p dir="auto">ref: <a href="https://v8.dev/docs/i18n" rel="nofollow">https://v8.dev/docs/i18n</a></p>
1
<p dir="auto">The <a href="https://github.com/tensorflow/models/blob/master/inception/inception/imagenet_distributed_train.py">Code Here</a> shows how to set each replica which has a single tower that uses one GPU. I'm wondering if there is a way changing this code a little bit to make use of multiple GPU on one machine like <a href="https://github.com/tensorflow/models/blob/master/inception/inception/inception_train.py">that example</a>.</p> <p dir="auto">The way I currently used for using all GPU on a worker machine is starting the number of workers that equal to the number of GPUs. then the workers can communicate to each other as if they are not on one machine. That is slower than if I can start a woker that control more than one GPU.</p>
<p dir="auto">The <a href="https://github.com/tensorflow/models/blob/master/inception/inception/imagenet_distributed_train.py">Code Here</a> shows how to set each replica which has a single tower that uses one GPU. I'm wondering if there is a way changing this code a little bit to make use of multiple GPU on one machine like <a href="https://github.com/tensorflow/models/blob/master/inception/inception/inception_train.py">that example</a>.</p> <p dir="auto">The way I currently used for using all GPU on a worker machine is starting the number of workers that equal to the number of GPUs. then the workers can communicate to each other as if they are not on one machine. That is slower than if I can start a woker that control more than one GPU.</p>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4 pre</li> <li>Operating System / Platform =&gt; Ubuntu 18.04</li> <li>Compiler =&gt; GCC 7.3.0<br> -DWITH_QT=ON -DWITH_OPENGL=ON</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">following code<br> int main(){<br> cv::Mat1f img = cv::Mat1f::zeros(100,100);<br> cv::imshow("img",img);<br> cv::waitKey(0);<br> return 0;<br> }<br> will crash with the following exception:<br> opencv/modules/highgui/src/window_QT.cpp:2561: error: (-215:Assertion failed) dst.data == image2Draw_mat-&gt;data.ptr in function 'updateImage'</p> <p dir="auto">Note the image type cv::Mat1w will also crash. Actualy given the error almost everything except rgb8 and grey8 will crash.</p>
<ul dir="auto"> <li>OpenCV =&gt; master</li> <li>Operating System / Platform =&gt; Windows 64 Bit</li> <li>Compiler =&gt; mingw64 / 7.2.0</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">regression after: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/opencv/opencv/commit/11eafca3e2a4cbc62f1309d25db0ea3ed9a6ea8e/hovercard" href="https://github.com/opencv/opencv/commit/11eafca3e2a4cbc62f1309d25db0ea3ed9a6ea8e"><tt>11eafca</tt></a></p> <p dir="auto">the <code class="notranslate">cvConvertImage()</code> calls <a href="https://github.com/opencv/opencv/commit/11eafca3e2a4cbc62f1309d25db0ea3ed9a6ea8e#diff-baec79d9f6cf2a8b605a5d9aad326540L1214">were removed</a>.<br> while code was added to adapt the colorspace, there is no more depth conversion to CV_8U</p> <h5 dir="auto">Steps to reproduce</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//Mat m(400,400,CV_32FC3,Scalar(1.0)); Mat m(400,400,CV_16U,Scalar(255)); imshow(&quot;win&quot;,m); waitKey();"><pre class="notranslate"><code class="notranslate">//Mat m(400,400,CV_32FC3,Scalar(1.0)); Mat m(400,400,CV_16U,Scalar(255)); imshow("win",m); waitKey(); </code></pre></div> <p dir="auto">leading to:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OpenCV(4.0.0-pre) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\p\opencv\modules\highgui\src\window_w32.cpp, line 1230"><pre class="notranslate"><code class="notranslate">OpenCV(4.0.0-pre) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\p\opencv\modules\highgui\src\window_w32.cpp, line 1230 </code></pre></div> <p dir="auto">apart from the windows version (tried here), others will be affected:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> window_w32.cpp</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> window_cocoa.mm</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> window_gtk.cpp</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> window_QT.cpp</li> </ul>
1
<p dir="auto">Hello and sorry, in case this doesn't belong here.</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">Expected Behavior</h2> <p dir="auto">My application should still work after upgrading to react 16.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">When opening Modals/Drawers in cordova i get a whitescreen due to:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Material-UI: you are most likely evaluating the code before the browser has a chance to reach the &lt;body&gt;. Please move the import at the end of the &lt;body&gt;. Cannot read property 'children' of null&quot;, source: http://localhost:12416/packages/modules.js?hash=ae58e0b4a06841e8623d6981b97ea750b49e01d2 (115282) &quot;The above error occurred in the &lt;Modal&gt; component: in Modal (created by withStyles(Modal)) in withStyles(Modal) (created by Drawer) in Drawer (created by withStyles(Drawer))"><pre class="notranslate"><code class="notranslate">Material-UI: you are most likely evaluating the code before the browser has a chance to reach the &lt;body&gt;. Please move the import at the end of the &lt;body&gt;. Cannot read property 'children' of null", source: http://localhost:12416/packages/modules.js?hash=ae58e0b4a06841e8623d6981b97ea750b49e01d2 (115282) "The above error occurred in the &lt;Modal&gt; component: in Modal (created by withStyles(Modal)) in withStyles(Modal) (created by Drawer) in Drawer (created by withStyles(Drawer)) </code></pre></div> <p dir="auto">My gut feeling is that it's somehow related to portal handling in <a href="https://github.com/mui-org/material-ui/blob/v1-beta/src/internal/Portal.js">https://github.com/mui-org/material-ui/blob/v1-beta/src/internal/Portal.js</a> but i'm not sure.</p> <p dir="auto">I dug a bit into the source and finally I know where the error comes from:</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Not sure how to provide a "simple codebox" as you basically have to bundle an app in cordova.<br> I'm opening this ticket in hope someone has an idea, but will continue debugging and eventually create a pr to fix this.</p> <h2 dir="auto">Context</h2> <p dir="auto">I'm working on a pp which is shipped as web and cordova. Since upgrading to react 16 drawers are broken, but I also tested modals which are used by drawers and seem to be broken to.</p> <h2 dir="auto">Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>latest</td> </tr> <tr> <td>React</td> <td>latest</td> </tr> <tr> <td>browser</td> <td>webview</td> </tr> </tbody> </table>
<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">Expected Behavior</h2> <p dir="auto">When moving between tabs the ink bar should slide along with the selected tab.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">the ink bar is navigating to the opposite direction</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">dem: <a href="https://codesandbox.io/s/9j78334vow" rel="nofollow">https://codesandbox.io/s/9j78334vow</a></p> <h2 dir="auto">Your Environment</h2> <p dir="auto">create react app 1.0.17<br> material-ui 0.20.0</p>
0
<p dir="auto">by <strong>melkanner</strong>:</p> <pre class="notranslate">Don't know where else to send this. I haven't seen any other reports of problems with installation. I am trying to install Go on my MacBookPro 17, using either go1.1.2.darwin-amd64.pkg or go1.1.2.darwin-386.pkg I am running OS X 10.8.4 Mountain Lion. There's enough memory and HD space available. On either of them I get an unsuccessful installation. No other message other than to try installing again, and contact the provider. I've tried installing again. I've tried re-downloading the package file(s) Is there something I am overlooking? Is there a log file that I can look at to determine what is causing the problem? [email protected]</pre>
<pre class="notranslate">"!$&amp;'()*+,;=" is the sub-delims class in RFC 3986. As such, they're allowed in every part of a URL apart from the scheme, but the Go URI formatter escapes "()'!" anyway. Example: <a href="http://play.golang.org/p/JrYygt6C5q" rel="nofollow">http://play.golang.org/p/JrYygt6C5q</a></pre>
0
<p dir="auto">Hi everyone,<br> I'm trying to extend a component using Class inheritance.</p> <p dir="auto">Here is my component (feed.ts)</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/component/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/component">@component</a>({<br> selector: 'feed',<br> templateUrl: 'feed.html',<br> // providers: [provide(BaseListContainer, { useExisting: BaseListContainer })]<br> })<br> export class Feed extends BaseListContainer {<br> }</p> <p dir="auto">and my classe BaseListContainer is like that:</p> <p dir="auto">export class BaseListContainer {<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/input/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/input">@input</a>() key: string;<br> }</p> <p dir="auto">The "feed" component is used in *.html like:<br> &lt;feed [key]="somevalue"&gt;</p> <p dir="auto">The error I received is :<br> polyfills.js:3 Unhandled Promise rejection: Template parse errors:<br> Can't bind to 'key' since it isn't a known property of 'feed'. ("</p> <p dir="auto">This schema worked fine with angular2 Rc4 but not with angular2 final.<br> For more detail, I'am using Ionic2 Rc/ Typescript 2</p> <p dir="auto">Thanks for any help</p>
<p dir="auto">Currently, when classes with decorators are used in an inheritance chain, the results are undefined.</p> <p dir="auto">Consider the following two components:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Component({selector: 'a', inputs: ['metaFoo']) class A { @Input() fieldFoo; metaFoo; } @Component({selector: 'b', inputs: ['metaBar']} class B extends A { @Input() fieldBar; metaBar; }"><pre class="notranslate"><code class="notranslate">@Component({selector: 'a', inputs: ['metaFoo']) class A { @Input() fieldFoo; metaFoo; } @Component({selector: 'b', inputs: ['metaBar']} class B extends A { @Input() fieldBar; metaBar; } </code></pre></div> <p dir="auto">Currently, using component <code class="notranslate">B</code> in JIT mode does not cause an error, but only inputs <code class="notranslate">fieldBar</code> and <code class="notranslate">metaBar</code> will be understood by Angular. This is because the decorators result in properties being defined on the class functions, and those properties are subject to shadowing via prototypical inheritance. So <code class="notranslate">B.annotations</code> (where the <code class="notranslate">@Component</code> metadata lives) shadows <code class="notranslate">A.annotations</code>, and <code class="notranslate">B.propMetadata</code> (where the <code class="notranslate">@Input</code>s live) shadows <code class="notranslate">A.propMetadata</code>.</p> <p dir="auto">If the <code class="notranslate">@Input() fieldBar</code> from <code class="notranslate">B</code> is removed, however, then <code class="notranslate">B</code> will have no property metadata, and so the lookup for<code class="notranslate">B.propMetadata</code> will reach <code class="notranslate">A.propMetadata</code> via the prototype chain and suddenly the <code class="notranslate">fieldFoo</code> input will become visible to Angular.</p> <p dir="auto">There is no provision in the spec for inheritance of decorator metadata. However, Angular could be made to support well-defined rules of inheritance for its own decorators.</p> <p dir="auto">Here is one set of rules which I believe covers most of the cases where users attempt to inherit components:</p> <ul dir="auto"> <li>Class-level decorators (<code class="notranslate">@Component</code> and friends) have their metadata merged according to the merge rules: <ul dir="auto"> <li>Metadata objects are merged property by property.</li> <li>For properties with primitive values, a subclass value, if present, overwrites a superclass value.</li> <li>For properties with array values, the arrays are concatenated, superclass first.</li> <li>If the subclass provides no value, the superclass value, if present, is used.</li> </ul> </li> <li>Property-level decorators (<code class="notranslate">@Input</code>, etc) on superclasses are included in compilation. <ul dir="auto"> <li><code class="notranslate">@Input</code>s with the same name on the superclass and subclass should have the same behavior as two <code class="notranslate">@Input</code>s with the same name on the same class.</li> </ul> </li> </ul> <p dir="auto">Applying these rules would change the behavior of the above example, so component <code class="notranslate">B</code> would have all 4 defined inputs recognized.</p> <p dir="auto">For JIT mode, this requires two changes to Angular.</p> <p dir="auto">First, the class-level decorators would be changed to check for metadata on the superclass, and perform the merging operation if present.</p> <p dir="auto">Secondly, the runtime compiler would need to consider superclass metadata when checking for property annotations.</p> <p dir="auto">For the AOT compiler, the semantics would have to be built into the compiler itself as the decorators don't execute during AOT compilation.</p>
1
<p dir="auto">For bugs/issues, please fill in the following. The more information you<br> provide, the more likely we can help you.</p> <h3 dir="auto">Environment info</h3> <p dir="auto">Operating System:<br> ubuntu 15.10 64-bit<br> Python 3.4.3+</p> <p dir="auto">If installed from binary pip package, provide:</p> <ol dir="auto"> <li>Which pip package you installed.<br> <a href="https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.7.1-cp34-none-linux_x86_64.whl" rel="nofollow">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.7.1-cp34-none-linux_x86_64.whl</a></li> <li>The output from python -c "import tensorflow; print(tensorflow.<strong>version</strong>)".<br> python3 -c "import tensorflow; print(tensorflow.<strong>version</strong>)"<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally<br> 0.7.1</li> </ol> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>import gi</li> <li>from gi.repository import Gtk</li> <li>import tensorflow</li> </ol> <h3 dir="auto">What have you tried?</h3> <ol dir="auto"> <li>Identified the necessary steps to reproduce the segfault.</li> <li>Importing in opposite order does NOT produce any segfault. <ol dir="auto"> <li>import tensorflow</li> <li>import gi</li> <li>from gi.repository import Gtk</li> </ol> </li> </ol> <h3 dir="auto">Logs or other output that would be helpful</h3> <p dir="auto">Segmentation fault (core dumped)</p>
<p dir="auto">I install tensorflow use:sudo pip install --upgrade <a href="https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0rc0-cp27-none-linux_x86_64.whl" rel="nofollow">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0rc0-cp27-none-linux_x86_64.whl</a></p> <p dir="auto">linux version is :Linux version 3.10.0-229.el7.x86_64 (<a href="mailto:[email protected]">[email protected]</a>) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115886302" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/1/hovercard" href="https://github.com/tensorflow/tensorflow/issues/1">#1</a> SMP Fri Mar 6 11:36:42 UTC 2015</p> <p dir="auto">when I learn python, and import tensorflow,segmentation fault</p> <blockquote> <blockquote> <blockquote> <p dir="auto">import tensorflow<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally<br> I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally<br> Segmentation fault (core dumped)</p> </blockquote> </blockquote> </blockquote>
1
<h3 dir="auto">Current Behavior:</h3> <p dir="auto">In a normal terminal <code class="notranslate">npm install</code> yields <code class="notranslate">must not have multiple workspaces with the same name</code> without any mention of conflicting namespaces.</p> <p dir="auto">Opening a debug terminal in VSCode and running the same command in same folder clears the problem and <code class="notranslate">npm install</code> now works in both terminals.</p> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">Conflicting workspaces should be named.</p> <h3 dir="auto">Steps To Reproduce:</h3> <p dir="auto">See <code class="notranslate">Current behavior</code></p> <h3 dir="auto">Environment:</h3> <ul dir="auto"> <li>OS: Windows 10</li> <li>Node: 15.6.0</li> <li>npm: 7.4.0</li> </ul>
<p dir="auto">hi, when I say install npm install package, it gives error. not loaded.</p> <p dir="auto">npm ERR! cb() never called!</p> <p dir="auto">npm ERR! This is an error with npm itself. Please report this error at:<br> npm ERR! <a href="https://npm.community" rel="nofollow">https://npm.community</a></p> <p dir="auto">npm ERR! A complete log of this run can be found in:</p> <p dir="auto">what should I do?</p>
0
<h1 dir="auto">Description of the new feature/enhancement</h1> <p dir="auto">Allow the user to access multiple options for each tab if right click is performed on any tab. Right click menu can have features such as closing the tab, opening the tab in a seperate terminal instance, changing tab configurations etc.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">If the user performs right mouse click on any tab, there will be a popup menu (context menu?) with feature options for that tab.</p>
<h1 dir="auto">Context Menu for Tabs</h1> <p dir="auto">Useful for now, whilst the Tab Bar is in an incomplete state, but will also be useful in a finished version. Each Tab should have a Context Menu with a <strong>Close</strong> command, as well as eventually, options for renaming the Profile/Tab Title, and changing the TabWidth behaviour.</p> <p dir="auto">For now, the Tab Title Text can be so long, you need to scroll with the mouse wheel to get to the close button on some tabs, so having a right click option would help for now.</p> <h2 dir="auto">team notes</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="606053517" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/5524" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/5524/hovercard" href="https://github.com/microsoft/terminal/issues/5524">#5524</a> ("Close all tabs to the right") would be a good addition.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> "Reload tab" would be a good addition, which would require <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="529087590" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/3726" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/3726/hovercard" href="https://github.com/microsoft/terminal/issues/3726">#3726</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> The tab color picker is already in there, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="530634529" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/3789" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/terminal/pull/3789/hovercard" href="https://github.com/microsoft/terminal/pull/3789">#3789</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Renaming was added in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="613629273" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/5775" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/terminal/pull/5775/hovercard" href="https://github.com/microsoft/terminal/pull/5775">#5775</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> "Find" isn't a bad idea <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="608785727" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/5633" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/5633/hovercard" href="https://github.com/microsoft/terminal/issues/5633">#5633</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Split new panes? Another good idea <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="584737522" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/5025" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/5025/hovercard" href="https://github.com/microsoft/terminal/issues/5025">#5025</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Duplicate tab? Why not <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="821826285" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/9373" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/9373/hovercard" href="https://github.com/microsoft/terminal/issues/9373">#9373</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1315602142" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/13580" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/13580/hovercard" href="https://github.com/microsoft/terminal/issues/13580">#13580</a></li> </ul>
1
<p dir="auto">This may be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="136289924" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7234" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7234/hovercard" href="https://github.com/microsoft/TypeScript/issues/7234">#7234</a> and/or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="94344571" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/3812" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/3812/hovercard" href="https://github.com/microsoft/TypeScript/issues/3812">#3812</a>, but I don't know enough about the internals of TypeScript to know for sure. Let's say I have the following:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface MyInfo&lt;T&gt; { data: T; } class Foo { x: number; } let fooInfos: MyInfo&lt;Foo&gt;[]; let objectInfos: MyInfo&lt;Object&gt;[]; for (let info of objectInfos) { if (info.data instanceof Foo) { fooInfos.push(info); // should infer that info is MyInfo&lt;Foo&gt;, but it doesn't } } "><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">MyInfo</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span> <span class="pl-c1">data</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">fooInfos</span>: <span class="pl-smi">MyInfo</span><span class="pl-kos">&lt;</span><span class="pl-smi">Foo</span><span class="pl-kos">&gt;</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">objectInfos</span>: <span class="pl-smi">MyInfo</span><span class="pl-kos">&lt;</span><span class="pl-smi">Object</span><span class="pl-kos">&gt;</span><span class="pl-kos">[</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">let</span> <span class="pl-s1">info</span> <span class="pl-k">of</span> <span class="pl-s1">objectInfos</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">info</span><span class="pl-kos">.</span><span class="pl-c1">data</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Foo</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">fooInfos</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">info</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// should infer that info is MyInfo&lt;Foo&gt;, but it doesn't</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> </pre></div> <p dir="auto">In this case, the compiler still thinks <code class="notranslate">info</code> is of type <code class="notranslate">MyInfo&lt;Object&gt;</code> instead of <code class="notranslate">MyInfo&lt;Foo&gt;</code>, whereas I would expect it to be able to properly infer the type.</p>
<p dir="auto">I just found out that property access expressions doesn't work on type predicate functions and <code class="notranslate">instanceof</code> type guards.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" class A { propA: number; } class B { propB: number; } class C { propC: A; } declare function isA(p1: any): p1 is D; interface D { a: A | B b: A | C; } let d: D; if (isA(d.b)) { d.b.propA; //error } function foo(d: D) { if (d.b instanceof A) { d.b.propA // error } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-c1">propA</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">B</span> <span class="pl-kos">{</span> <span class="pl-c1">propB</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">C</span> <span class="pl-kos">{</span> <span class="pl-c1">propC</span>: <span class="pl-smi">A</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">isA</span><span class="pl-kos">(</span><span class="pl-s1">p1</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span>: <span class="pl-s1">p1</span> is <span class="pl-smi">D</span><span class="pl-kos">;</span> <span class="pl-k">interface</span> <span class="pl-smi">D</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-smi">A</span> <span class="pl-c1">|</span> <span class="pl-smi">B</span> <span class="pl-c1">b</span>: <span class="pl-smi">A</span> <span class="pl-c1">|</span> <span class="pl-smi">C</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">d</span>: <span class="pl-smi">D</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">isA</span><span class="pl-kos">(</span><span class="pl-s1">d</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-s1">d</span><span class="pl-kos">.</span><span class="pl-c1">b</span><span class="pl-kos">.</span><span class="pl-c1">propA</span><span class="pl-kos">;</span> <span class="pl-c">//error</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">d</span>: <span class="pl-smi">D</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">d</span><span class="pl-kos">.</span><span class="pl-c1">b</span> <span class="pl-k">instanceof</span> <span class="pl-smi">A</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">d</span><span class="pl-kos">.</span><span class="pl-c1">b</span><span class="pl-kos">.</span><span class="pl-c1">propA</span> <span class="pl-c">// error</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">I'm not sure if there is an easy fix on this problem. We are provided just a symbol when narrowing. That symbol represent the left most expression and then we walk up the if statement. There is no easy way of controlling symbol by symbol on each namespace in a property access expression in the if-statement-body. Because there is no info about the property access expression provided in <code class="notranslate">getTypeOfSymbolAtLocation(symbol: Symbol, node: Node)</code>.</p> <p dir="auto">I also found that type assertion expressions are also not working in type predicate functions. But I will land a fix on that.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if (isA(&lt;A&gt;union)) { a = union; } if (isA(union as A)) { a = union; }"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">isA</span><span class="pl-kos">(</span><span class="pl-kos">&lt;</span><span class="pl-smi">A</span><span class="pl-kos">&gt;</span><span class="pl-s1">union</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">union</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-en">isA</span><span class="pl-kos">(</span><span class="pl-s1">union</span> <span class="pl-k">as</span> <span class="pl-smi">A</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">union</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div>
1
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">I'm trying to display alert dialog with listview inside</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39688814/40833301-d03f6832-658d-11e8-8e24-e39fe779942c.png"><img src="https://user-images.githubusercontent.com/39688814/40833301-d03f6832-658d-11e8-8e24-e39fe779942c.png" alt="screen shot 2018-06-01 at 11 20 05" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39688814/40833222-9047d5c0-658d-11e8-92bf-317a0d5a0ac6.png"><img src="https://user-images.githubusercontent.com/39688814/40833222-9047d5c0-658d-11e8-92bf-317a0d5a0ac6.png" alt="screen shot 2018-06-01 at 11 18 02" style="max-width: 100%;"></a></p> <p dir="auto">But I'm getting following exception</p> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-06-01 11:04:00.028 29259-29301/com.hatak.migawka I/flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ 2018-06-01 11:04:00.042 29259-29301/com.hatak.migawka I/flutter: The following assertion was thrown during performLayout(): 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: RenderViewport does not support returning intrinsic dimensions. 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: Calculating the intrinsic dimensions would require instantiating every child of the viewport, which 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: defeats the point of viewports being lazy. 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: If you are merely trying to shrink-wrap the viewport in the main axis direction, consider a 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: RenderShrinkWrappingViewport render object (ShrinkWrappingViewport widget), which achieves that 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: effect without implementing the intrinsic dimension API. 2018-06-01 11:04:00.044 29259-29301/com.hatak.migawka I/flutter: When the exception was thrown, this was the stack: 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #0 RenderViewportBase.debugThrowIfNotCheckingIntrinsics.&lt;anonymous closure&gt; (package:flutter/src/rendering/viewport.dart:230:9) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #1 RenderViewportBase.debugThrowIfNotCheckingIntrinsics (package:flutter/src/rendering/viewport.dart:240:6) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #2 RenderViewportBase.computeMaxIntrinsicWidth (package:flutter/src/rendering/viewport.dart:252:12) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #3 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #4 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #5 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #6 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #7 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #8 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #9 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #10 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #11 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #12 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #13 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #14 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #15 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #16 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #17 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #18 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #19 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #20 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #21 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #22 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #23 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #24 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #25 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #26 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #27 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #28 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #29 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #30 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #31 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #32 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #33 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #34 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #35 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #36 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #37 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.056 29259-29301/com.hatak.migawka I/flutter: #38 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.056 29259-29301/com.hatak.migawka I/flutter: #39 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.056 29259-29301/com.hatak.migawka I/flutter: #40 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #41 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #42 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #43 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #44 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #45 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #46 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #47 RenderPadding.computeMaxIntrinsicWidth (package:flutter/src/rendering/shifted_box.dart:163:20) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #48 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #49 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #50 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #51 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #52 RenderFlex.computeMaxIntrinsicWidth.&lt;anonymous closure&gt; (package:flutter/src/rendering/flex.dart:575:60) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #53 RenderFlex._getIntrinsicSize (package:flutter/src/rendering/flex.dart:552:58) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #54 RenderFlex.computeMaxIntrinsicWidth (package:flutter/src/rendering/flex.dart:572:12) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #55 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #56 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #57 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #58 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #59 RenderIntrinsicWidth.performLayout (package:flutter/src/rendering/proxy_box.dart:618:36) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #60 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #61 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #62 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #63 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #64 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #65 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #66 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1143:11) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #67 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #68 RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:259:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #69 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #70 RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:381:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #71 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #72 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #73 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #74 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #75 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #76 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #77 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #78 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #79 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #80 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #81 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #82 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #83 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #84 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #85 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #86 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #87 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #88 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #89 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2809:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #90 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #91 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:520:15) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #92 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1445:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #93 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:709:18) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #94 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #95 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:627:13) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #96 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #97 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #98 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #99 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #100 _invoke (dart:ui/hooks.dart:120:13) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #101 _drawFrame (dart:ui/hooks.dart:109:3) 2018-06-01 11:04:00.080 29259-29301/com.hatak.migawka I/flutter: The following RenderObject was being processed when the exception was fired: 2018-06-01 11:04:00.080 29259-29301/com.hatak.migawka I/flutter: RenderIntrinsicWidth#7ad68 relayoutBoundary=up5 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:00.080 29259-29301/com.hatak.migawka I/flutter: creator: IntrinsicWidth ← DefaultTextStyle ← AnimatedDefaultTextStyle ← 2018-06-01 11:04:01.089 29259-29301/com.hatak.migawka I/flutter: _InkFeatures-[GlobalKey#30891 ink renderer] ← NotificationListener&lt;LayoutChangedNotification&gt; ← 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: CustomPaint ← _ShapeBorderPaint ← PhysicalShape ← _MaterialInterior ← Material ← ConstrainedBox ← 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: Center ← ⋯ 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: parentData: &lt;none&gt; (can use size) 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: constraints: BoxConstraints(280.0&lt;=w&lt;=331.4, 0.0&lt;=h&lt;=611.4) 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: size: MISSING 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: stepWidth: null 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: stepHeight: null 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: This RenderObject had the following descendants (showing up to depth 5): 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderFlex#004f4 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderPadding#465a7 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderSemanticsAnnotations#faae7 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderParagraph#45dc4 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderPadding#457b7 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderRepaintBoundary#d7502 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderCustomPaint#02004 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderRepaintBoundary#547e5 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderPadding#1d029 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderFlex#87a32 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderPadding#db7c9 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderSemanticsAnnotations#cd010 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderIntrinsicWidth#7ad68 relayoutBoundary=up5 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: _RenderInkFeatures#a362b relayoutBoundary=up4 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderCustomPaint#579f5 relayoutBoundary=up3 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderPhysicalShape#4557f relayoutBoundary=up2 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 310 pos 12: 'child.hasSize': is not true. 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderPhysicalShape#4557f relayoutBoundary=up2 2018-06-01 11:04:03.173 1557-1611/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 16324115 , only wrote 16171920 "><pre class="notranslate"><code class="notranslate">2018-06-01 11:04:00.028 29259-29301/com.hatak.migawka I/flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ 2018-06-01 11:04:00.042 29259-29301/com.hatak.migawka I/flutter: The following assertion was thrown during performLayout(): 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: RenderViewport does not support returning intrinsic dimensions. 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: Calculating the intrinsic dimensions would require instantiating every child of the viewport, which 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: defeats the point of viewports being lazy. 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: If you are merely trying to shrink-wrap the viewport in the main axis direction, consider a 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: RenderShrinkWrappingViewport render object (ShrinkWrappingViewport widget), which achieves that 2018-06-01 11:04:00.043 29259-29301/com.hatak.migawka I/flutter: effect without implementing the intrinsic dimension API. 2018-06-01 11:04:00.044 29259-29301/com.hatak.migawka I/flutter: When the exception was thrown, this was the stack: 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #0 RenderViewportBase.debugThrowIfNotCheckingIntrinsics.&lt;anonymous closure&gt; (package:flutter/src/rendering/viewport.dart:230:9) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #1 RenderViewportBase.debugThrowIfNotCheckingIntrinsics (package:flutter/src/rendering/viewport.dart:240:6) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #2 RenderViewportBase.computeMaxIntrinsicWidth (package:flutter/src/rendering/viewport.dart:252:12) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #3 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.049 29259-29301/com.hatak.migawka I/flutter: #4 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #5 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #6 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #7 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #8 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #9 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #10 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.050 29259-29301/com.hatak.migawka I/flutter: #11 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #12 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #13 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #14 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #15 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.051 29259-29301/com.hatak.migawka I/flutter: #16 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #17 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #18 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #19 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #20 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #21 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #22 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.052 29259-29301/com.hatak.migawka I/flutter: #23 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #24 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #25 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #26 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #27 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.053 29259-29301/com.hatak.migawka I/flutter: #28 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #29 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #30 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #31 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #32 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.054 29259-29301/com.hatak.migawka I/flutter: #33 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #34 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #35 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #36 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.055 29259-29301/com.hatak.migawka I/flutter: #37 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.056 29259-29301/com.hatak.migawka I/flutter: #38 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.056 29259-29301/com.hatak.migawka I/flutter: #39 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.056 29259-29301/com.hatak.migawka I/flutter: #40 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #41 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #42 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.computeMaxIntrinsicWidth (package:flutter/src/rendering/proxy_box.dart:81:20) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #43 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #44 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #45 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #46 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #47 RenderPadding.computeMaxIntrinsicWidth (package:flutter/src/rendering/shifted_box.dart:163:20) 2018-06-01 11:04:00.057 29259-29301/com.hatak.migawka I/flutter: #48 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #49 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #50 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #51 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #52 RenderFlex.computeMaxIntrinsicWidth.&lt;anonymous closure&gt; (package:flutter/src/rendering/flex.dart:575:60) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #53 RenderFlex._getIntrinsicSize (package:flutter/src/rendering/flex.dart:552:58) 2018-06-01 11:04:00.058 29259-29301/com.hatak.migawka I/flutter: #54 RenderFlex.computeMaxIntrinsicWidth (package:flutter/src/rendering/flex.dart:572:12) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #55 RenderBox._computeIntrinsicDimension.&lt;anonymous closure&gt; (package:flutter/src/rendering/box.dart:1063:23) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #56 __InternalLinkedHashMap&amp;_HashVMBase&amp;MapMixin&amp;_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #57 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1061:41) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #58 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1245:12) 2018-06-01 11:04:00.059 29259-29301/com.hatak.migawka I/flutter: #59 RenderIntrinsicWidth.performLayout (package:flutter/src/rendering/proxy_box.dart:618:36) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #60 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #61 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #62 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.060 29259-29301/com.hatak.migawka I/flutter: #63 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #64 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #65 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #66 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1143:11) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #67 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #68 RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:259:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #69 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #70 RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:381:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #71 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #72 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #73 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #74 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #75 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.061 29259-29301/com.hatak.migawka I/flutter: #76 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #77 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #78 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #79 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #80 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #81 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #82 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.062 29259-29301/com.hatak.migawka I/flutter: #83 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #84 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #85 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #86 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #87 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #88 _RenderProxyBox&amp;RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #89 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2809:13) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #90 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #91 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:520:15) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #92 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1445:7) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #93 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:709:18) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #94 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19) 2018-06-01 11:04:00.063 29259-29301/com.hatak.migawka I/flutter: #95 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:627:13) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #96 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #97 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #98 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #99 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #100 _invoke (dart:ui/hooks.dart:120:13) 2018-06-01 11:04:00.064 29259-29301/com.hatak.migawka I/flutter: #101 _drawFrame (dart:ui/hooks.dart:109:3) 2018-06-01 11:04:00.080 29259-29301/com.hatak.migawka I/flutter: The following RenderObject was being processed when the exception was fired: 2018-06-01 11:04:00.080 29259-29301/com.hatak.migawka I/flutter: RenderIntrinsicWidth#7ad68 relayoutBoundary=up5 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:00.080 29259-29301/com.hatak.migawka I/flutter: creator: IntrinsicWidth ← DefaultTextStyle ← AnimatedDefaultTextStyle ← 2018-06-01 11:04:01.089 29259-29301/com.hatak.migawka I/flutter: _InkFeatures-[GlobalKey#30891 ink renderer] ← NotificationListener&lt;LayoutChangedNotification&gt; ← 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: CustomPaint ← _ShapeBorderPaint ← PhysicalShape ← _MaterialInterior ← Material ← ConstrainedBox ← 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: Center ← ⋯ 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: parentData: &lt;none&gt; (can use size) 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: constraints: BoxConstraints(280.0&lt;=w&lt;=331.4, 0.0&lt;=h&lt;=611.4) 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: size: MISSING 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: stepWidth: null 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: stepHeight: null 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: This RenderObject had the following descendants (showing up to depth 5): 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderFlex#004f4 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderPadding#465a7 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderSemanticsAnnotations#faae7 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderParagraph#45dc4 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderPadding#457b7 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderRepaintBoundary#d7502 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.090 29259-29301/com.hatak.migawka I/flutter: RenderCustomPaint#02004 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderRepaintBoundary#547e5 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderPadding#1d029 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderFlex#87a32 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderPadding#db7c9 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: RenderSemanticsAnnotations#cd010 NEEDS-LAYOUT NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderIntrinsicWidth#7ad68 relayoutBoundary=up5 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: _RenderInkFeatures#a362b relayoutBoundary=up4 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderCustomPaint#579f5 relayoutBoundary=up3 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderPhysicalShape#4557f relayoutBoundary=up2 NEEDS-PAINT 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 310 pos 12: 'child.hasSize': is not true. 2018-06-01 11:04:01.091 29259-29301/com.hatak.migawka I/flutter: Another exception was thrown: RenderBox was not laid out: RenderPhysicalShape#4557f relayoutBoundary=up2 2018-06-01 11:04:03.173 1557-1611/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 16324115 , only wrote 16171920 </code></pre></div> <p dir="auto">If I remove listview from dialog it works.</p>
<p dir="auto">(Filed at the request of <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hixie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hixie">@Hixie</a>)<br> MethodChannel.invokeMethod currently returns <code class="notranslate">Future&lt;dynamic&gt;</code> though it should be one of a few types (yes, a perfect opportunity for union types, but anyway). A better would be to make it generic in some way <code class="notranslate">MethodChannel.invokeMethod&lt;T&gt;(...)</code> or <code class="notranslate">MethodChannel&lt;T&gt;</code> depending on how MethodChannel is used... I've only looked at it extremely superficially.</p>
0
<h3 dir="auto">Version</h3> <p dir="auto">2.6.11</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codepen.io/thomaslwq/pen/abdoZXM" rel="nofollow">https://codepen.io/thomaslwq/pen/abdoZXM</a></p> <h3 dir="auto">Steps to reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 1. use the component keep-alive 2. set the max(1) component for cache 3. the max parameter dosen't work"><pre class="notranslate"><code class="notranslate"> 1. use the component keep-alive 2. set the max(1) component for cache 3. the max parameter dosen't work </code></pre></div> <h3 dir="auto">What is expected?</h3> <p dir="auto">when the max parameter is 1,it works</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">it doesn't work</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.6.10</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/p0te9vL3/" rel="nofollow">https://jsfiddle.net/p0te9vL3/</a></p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Open dev tools to see console</li> <li>Cycle through the routes</li> <li>View console and observe lifecycle hook logging</li> </ol> <h3 dir="auto">What is expected?</h3> <p dir="auto">I'd expect once the <code class="notranslate">max</code> cache is reached (in the example case of 1), the component that gets pruned also gets destroyed. In <a href="https://vuejs.org/v2/api/#keep-alive" rel="nofollow">the documentation</a> it states (emphasis mine):</p> <blockquote> <p dir="auto"><code class="notranslate">max</code></p> <p dir="auto">The maximum number of component instances to cache. Once this number is reached, the cached component instance that was least recently accessed <strong>will be destroyed</strong> before creating a new instance.</p> </blockquote> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">The pruned component is never destroyed, it's just removed from the cache. In the example, the <code class="notranslate">beforeDestroy</code> hook is never called.</p> <hr> <p dir="auto">Related 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/vuejs/vue/blob/636c9b4ef17f2062720b677cbbe613f146f4d4db/src/core/components/keep-alive.js#L37-L49">vue/src/core/components/keep-alive.js</a> </p> <p class="mb-0 color-fg-muted"> Lines 37 to 49 in <a data-pjax="true" class="commit-tease-sha" href="/vuejs/vue/commit/636c9b4ef17f2062720b677cbbe613f146f4d4db">636c9b4</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="L37" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="37"></td> <td id="LC37" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">function</span> <span class="pl-en">pruneCacheEntry</span> <span class="pl-kos">(</span> </td> </tr> <tr class="border-0"> <td id="L38" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="38"></td> <td id="LC38" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">cache</span>: <span class="pl-v">VNodeCache</span><span class="pl-kos">,</span> </td> </tr> <tr class="border-0"> <td id="L39" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="39"></td> <td id="LC39" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">key</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> </td> </tr> <tr class="border-0"> <td id="L40" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="40"></td> <td id="LC40" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">keys</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> </td> </tr> <tr class="border-0"> <td id="L41" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="41"></td> <td id="LC41" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">current</span>?: <span class="pl-v">VNode</span> </td> </tr> <tr class="border-0"> <td id="L42" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="42"></td> <td id="LC42" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">)</span> <span class="pl-kos">{</span> </td> </tr> <tr class="border-0"> <td id="L43" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="43"></td> <td id="LC43" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">const</span> <span class="pl-s1">cached</span> <span class="pl-c1">=</span> <span class="pl-s1">cache</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span> </td> </tr> <tr class="border-0"> <td id="L44" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="44"></td> <td id="LC44" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">cached</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">current</span> <span class="pl-c1">||</span> <span class="pl-s1">cached</span><span class="pl-kos">.</span><span class="pl-c1">tag</span> <span class="pl-c1">!==</span> <span class="pl-s1">current</span><span class="pl-kos">.</span><span class="pl-c1">tag</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> </td> </tr> <tr class="border-0"> <td id="L45" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="45"></td> <td id="LC45" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">cached</span><span class="pl-kos">.</span><span class="pl-c1">componentInstance</span><span class="pl-kos">.</span><span class="pl-en">$destroy</span><span class="pl-kos">(</span><span class="pl-kos">)</span> </td> </tr> <tr class="border-0"> <td id="L46" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="46"></td> <td id="LC46" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">}</span> </td> </tr> <tr class="border-0"> <td id="L47" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="47"></td> <td id="LC47" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">cache</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">null</span> </td> </tr> <tr class="border-0"> <td id="L48" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="48"></td> <td id="LC48" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-s1">keys</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">)</span> </td> </tr> <tr class="border-0"> <td id="L49" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="49"></td> <td id="LC49" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">}</span> </td> </tr> </tbody></table> </div> </div> <p></p>
1
<p dir="auto">In my code</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;div id=&quot;app&quot;&gt; &lt;test-component type=&quot;normal&quot;&gt;&lt;/test-component&gt; &lt;test-component type=&quot;block&quot;&gt;&lt;/test-component&gt; &lt;/div&gt; &lt;template id=&quot;template-test-component&quot;&gt; &lt;li v-if=&quot;type == 'normal'&quot; class=&quot;test&quot;&gt; test &lt;/li&gt; &lt;div v-if=&quot;type == 'block'&quot; class=&quot;test&quot;&gt; &lt;p&gt;Hello, World!&lt;/p&gt; &lt;/div&gt; &lt;/template&gt; &lt;script&gt; var testComponent = Vue.extend({ template: '#template-test-component', props: ['type'] }); var app = new Vue({ el: '#app', components: { 'test-component': testComponent } }) &lt;/script&gt;"><pre class="notranslate"><code class="notranslate"> &lt;div id="app"&gt; &lt;test-component type="normal"&gt;&lt;/test-component&gt; &lt;test-component type="block"&gt;&lt;/test-component&gt; &lt;/div&gt; &lt;template id="template-test-component"&gt; &lt;li v-if="type == 'normal'" class="test"&gt; test &lt;/li&gt; &lt;div v-if="type == 'block'" class="test"&gt; &lt;p&gt;Hello, World!&lt;/p&gt; &lt;/div&gt; &lt;/template&gt; &lt;script&gt; var testComponent = Vue.extend({ template: '#template-test-component', props: ['type'] }); var app = new Vue({ el: '#app', components: { 'test-component': testComponent } }) &lt;/script&gt; </code></pre></div> <p dir="auto">This work in plunk, but on real project this code not work. v-if work only in div wrapper, example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;template id=&quot;template-test-component&quot;&gt; &lt;div class=wrapper&gt; &lt;li v-if=&quot;type == 'normal'&quot; class=&quot;test&quot;&gt; test &lt;/li&gt; &lt;div v-if=&quot;type == 'block'&quot; class=&quot;test&quot;&gt; &lt;p&gt;Hello, World!&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/template&gt;"><pre class="notranslate"><code class="notranslate"> &lt;template id="template-test-component"&gt; &lt;div class=wrapper&gt; &lt;li v-if="type == 'normal'" class="test"&gt; test &lt;/li&gt; &lt;div v-if="type == 'block'" class="test"&gt; &lt;p&gt;Hello, World!&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/template&gt; </code></pre></div> <p dir="auto">But .wrapper screws up my layout.</p>
<h3 dir="auto">Vue.js version</h3> <p dir="auto">2.0.3</p> <h3 dir="auto">Reproduction Link</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;div v-if=&quot;type===1&quot;&gt;&lt;/div&gt; &lt;div v-if=&quot;type===2&quot;&gt;&lt;/div&gt; &lt;div v-if=&quot;type===3&quot;&gt;&lt;/div&gt; &lt;div v-if=&quot;type===4&quot;&gt;&lt;/div&gt; &lt;div v-if=&quot;type===5&quot;&gt;&lt;/div&gt;"><pre class="notranslate"><code class="notranslate">&lt;div v-if="type===1"&gt;&lt;/div&gt; &lt;div v-if="type===2"&gt;&lt;/div&gt; &lt;div v-if="type===3"&gt;&lt;/div&gt; &lt;div v-if="type===4"&gt;&lt;/div&gt; &lt;div v-if="type===5"&gt;&lt;/div&gt; </code></pre></div> <h3 dir="auto">Steps to reproduce</h3> <h3 dir="auto">What is Expected?</h3> <p dir="auto">No warning, because it will generate at most one element.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Warning: Component template should contain exactly one root element</p>
1
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait Mirror { type It; } impl&lt;T&gt; Mirror for T { type It = Self; } #[repr(C)] pub struct S; extern { pub fn f(s:*mut &lt;S as Mirror&gt;::It); } fn main() {}"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">Mirror</span> <span class="pl-kos">{</span> <span class="pl-k">type</span> <span class="pl-smi">It</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">impl</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span> <span class="pl-smi">Mirror</span> <span class="pl-k">for</span> <span class="pl-smi">T</span> <span class="pl-kos">{</span> <span class="pl-k">type</span> <span class="pl-smi">It</span> = <span class="pl-smi">Self</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c1">#<span class="pl-kos">[</span>repr<span class="pl-kos">(</span><span class="pl-v">C</span><span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">S</span><span class="pl-kos">;</span> <span class="pl-k">extern</span> <span class="pl-kos">{</span> <span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-s1">s</span><span class="pl-kos">:</span><span class="pl-c1">*</span><span class="pl-k">mut</span> &lt;<span class="pl-smi">S</span> <span class="pl-k">as</span> <span class="pl-smi">Mirror</span>&gt;<span class="pl-kos">::</span><span class="pl-smi">It</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: type_of with ty_projection"><pre class="notranslate"><code class="notranslate">error: internal compiler error: type_of with ty_projection </code></pre></div> <p dir="auto">It's apparently crashing in trans. Tested on nightly.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: type_of with ty_projection note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:190 stack backtrace: 1: 0x7fab454c2034 - sys::backtrace::write::he62bcb548164e961YyC 2: 0x7fab454e7df8 - panicking::on_panic::h3cb4936e695d67bdOGI 3: 0x7fab4541efaa - rt::unwind::begin_unwind_inner::hfe13dbe91daef70cmnI 4: 0x7fab428bd41d - rt::unwind::begin_unwind::h10911018176195016387 5: 0x7fab428bdc65 - diagnostic::Handler::bug::h3c5d38abd490322elgB 6: 0x7fab432d507b - session::Session::bug::h23eaba6d447e27ca3yn 7: 0x7fab44b5f17f - trans::type_of::in_memory_type_of::hd518d125e463ffd5lEo 8: 0x7fab44b5ef41 - trans::type_of::in_memory_type_of::hd518d125e463ffd5lEo 9: 0x7fab44c61137 - trans::foreign::foreign_signature::h4618e8fc5486898feOB 10: 0x7fab44c60603 - trans::foreign::foreign_types_for_fn_ty::hbb4f8804cec19fffKPB 11: 0x7fab44c15e2f - trans::foreign::register_rust_fn_with_foreign_abi::hff88e81da38aeb0f6gB 12: 0x7fab44b1e905 - trans::base::get_item_val::hfbaf01eba019b69eVnu 13: 0x7fab44b1bb50 - trans::base::trans_item::h1506a2e4228c48caCSt 14: 0x7fab44c1859c - trans::base::trans_crate::h6ca4511310a24dc9fPu 15: 0x7fab45af55c3 - driver::phase_4_translate_to_llvm::h44ad816874743241kOa 16: 0x7fab45ad11b3 - driver::compile_input::h3bad48bfc23f6006Rba 17: 0x7fab45b88b02 - run_compiler::haa99afb1c99d7db1x2b 18: 0x7fab45b8694c - thunk::F.Invoke&lt;A, R&gt;::invoke::h10898031602178947258 19: 0x7fab45b859d0 - rt::unwind::try::try_fn::h4687345873392121579 20: 0x7fab45558fc8 - rust_try_inner 21: 0x7fab45558fb5 - rust_try 22: 0x7fab45b85e76 - thunk::F.Invoke&lt;A, R&gt;::invoke::h18058446263424162958 23: 0x7fab454d69f5 - sys::thread::thread_start::h8ed6b7636995fe24B1G 24: 0x7fab3f39e373 - start_thread 25: 0x7fab450a027c - __clone 26: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">error: internal compiler error: type_of with ty_projection note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:190 stack backtrace: 1: 0x7fab454c2034 - sys::backtrace::write::he62bcb548164e961YyC 2: 0x7fab454e7df8 - panicking::on_panic::h3cb4936e695d67bdOGI 3: 0x7fab4541efaa - rt::unwind::begin_unwind_inner::hfe13dbe91daef70cmnI 4: 0x7fab428bd41d - rt::unwind::begin_unwind::h10911018176195016387 5: 0x7fab428bdc65 - diagnostic::Handler::bug::h3c5d38abd490322elgB 6: 0x7fab432d507b - session::Session::bug::h23eaba6d447e27ca3yn 7: 0x7fab44b5f17f - trans::type_of::in_memory_type_of::hd518d125e463ffd5lEo 8: 0x7fab44b5ef41 - trans::type_of::in_memory_type_of::hd518d125e463ffd5lEo 9: 0x7fab44c61137 - trans::foreign::foreign_signature::h4618e8fc5486898feOB 10: 0x7fab44c60603 - trans::foreign::foreign_types_for_fn_ty::hbb4f8804cec19fffKPB 11: 0x7fab44c15e2f - trans::foreign::register_rust_fn_with_foreign_abi::hff88e81da38aeb0f6gB 12: 0x7fab44b1e905 - trans::base::get_item_val::hfbaf01eba019b69eVnu 13: 0x7fab44b1bb50 - trans::base::trans_item::h1506a2e4228c48caCSt 14: 0x7fab44c1859c - trans::base::trans_crate::h6ca4511310a24dc9fPu 15: 0x7fab45af55c3 - driver::phase_4_translate_to_llvm::h44ad816874743241kOa 16: 0x7fab45ad11b3 - driver::compile_input::h3bad48bfc23f6006Rba 17: 0x7fab45b88b02 - run_compiler::haa99afb1c99d7db1x2b 18: 0x7fab45b8694c - thunk::F.Invoke&lt;A, R&gt;::invoke::h10898031602178947258 19: 0x7fab45b859d0 - rt::unwind::try::try_fn::h4687345873392121579 20: 0x7fab45558fc8 - rust_try_inner 21: 0x7fab45558fb5 - rust_try 22: 0x7fab45b85e76 - thunk::F.Invoke&lt;A, R&gt;::invoke::h18058446263424162958 23: 0x7fab454d69f5 - sys::thread::thread_start::h8ed6b7636995fe24B1G 24: 0x7fab3f39e373 - start_thread 25: 0x7fab450a027c - __clone 26: 0x0 - &lt;unknown&gt; </code></pre></div>
1
<p dir="auto">In pandas 0.13.1 this code produces a plot that, when "moused over", indicates incorrect dates on the 't' (x) axis, despite having the correct axis label.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pd.Series([1, 2, 3], index=pd.date_range('2014-01-01', periods=3, freq='D')).plot()"><pre class="notranslate"><span class="pl-s1">pd</span>.<span class="pl-v">Series</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'2014-01-01'</span>, <span class="pl-s1">periods</span><span class="pl-c1">=</span><span class="pl-c1">3</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'D'</span>)).<span class="pl-en">plot</span>()</pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6dd5fc1e3be5a34400c7a3def8a8ddac54459da6107dd08ead808126092b244a/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353335363334302f323430353837392f38663764326566362d616135632d313165332d396336382d6631333833656663366235322e706e67"><img src="https://camo.githubusercontent.com/6dd5fc1e3be5a34400c7a3def8a8ddac54459da6107dd08ead808126092b244a/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353335363334302f323430353837392f38663764326566362d616135632d313165332d396336382d6631333833656663366235322e706e67" alt="screenshot" data-canonical-src="https://f.cloud.github.com/assets/5356340/2405879/8f7d2ef6-aa5c-11e3-9c68-f1383efc6b52.png" style="max-width: 100%;"></a></p> <p dir="auto">(matplotlib version is 1.3.1)</p>
<p dir="auto">After using the <code class="notranslate">asfreq</code> method to change the frequency of a time-series DataFrame from <code class="notranslate">None</code> to something e.g. <code class="notranslate">15Min</code> the cursor position in matplotlib graphs of that DataFrame is no longer correct (usually shows a datetime just after the unix epoch). The following demonstrates this (NB dt in df1 is not a constant):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df1 = pandas.read_csv('tseries1.csv', names=['tstamp', 'Q'], parse_dates=True, index_col='tstamp').clip_lower(0).fillna(0) df1['T'] = pandas.read_csv('tseries2.csv', names=['tstamp', 'T'], parse_dates=True, index_col='tstamp', squeeze=True).clip_lower(0).fillna(0) df2 = df1.asfreq(freq='15Min', method='ffill') # NB df1.index.freq is None # NB df2.index.freq is &lt;15 * Minutes&gt; df1.plot() df2.plot() plt.show()"><pre class="notranslate"><code class="notranslate">df1 = pandas.read_csv('tseries1.csv', names=['tstamp', 'Q'], parse_dates=True, index_col='tstamp').clip_lower(0).fillna(0) df1['T'] = pandas.read_csv('tseries2.csv', names=['tstamp', 'T'], parse_dates=True, index_col='tstamp', squeeze=True).clip_lower(0).fillna(0) df2 = df1.asfreq(freq='15Min', method='ffill') # NB df1.index.freq is None # NB df2.index.freq is &lt;15 * Minutes&gt; df1.plot() df2.plot() plt.show() </code></pre></div> <p dir="auto">I find the Matplotlib cursor position to be invaluable when looking for features in very long time-series.</p> <p dir="auto">Versions:</p> <ul dir="auto"> <li>pandas master (commit ID <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/764b4446820f1bcd6463cf7eeda9e16234713949/hovercard" href="https://github.com/pandas-dev/pandas/commit/764b4446820f1bcd6463cf7eeda9e16234713949"><tt>764b444</tt></a>)</li> <li>numpy 1.8</li> <li>matplotlib 1.3.0</li> </ul>
1
<p dir="auto">This code</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy a = numpy.zeros(1, dtype = numpy.uint64)[0] print(type(a)) i = 1 print(type(i)) a += i print(type(a))"><pre class="notranslate"><code class="notranslate">import numpy a = numpy.zeros(1, dtype = numpy.uint64)[0] print(type(a)) i = 1 print(type(i)) a += i print(type(a)) </code></pre></div> <p dir="auto">prints</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;class 'numpy.uint64'&gt; &lt;class 'int'&gt; &lt;class 'numpy.float64'&gt;"><pre class="notranslate"><code class="notranslate">&lt;class 'numpy.uint64'&gt; &lt;class 'int'&gt; &lt;class 'numpy.float64'&gt; </code></pre></div> <p dir="auto">which was a big surprise for me. Why would adding an integer to uint64 result in a floating point value?</p>
<p dir="auto">We have these financial functions that are exported in the main <code class="notranslate">numpy</code> namespace, and are really out of place:<br> <a href="http://docs.scipy.org/doc/numpy/reference/routines.financial.html" rel="nofollow">http://docs.scipy.org/doc/numpy/reference/routines.financial.html</a></p> <p dir="auto">Also:</p> <ul dir="auto"> <li>They have terrible names (even if they weren't in the main namespace, but especially so given that they are)</li> <li>There are multiple documented, but unimplemented, functions here. WTF.</li> </ul> <p dir="auto">Let's move them to numpy.financial (currently they're also in <code class="notranslate">numpy.lib.financial</code>, but the <code class="notranslate">.lib.</code> part is just noise IMO) with better names and deprecate the current names.</p>
0
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p> <p dir="auto">When a pool can't connect to the DB, Python 3 does this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#! Traceback (most recent call last): File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 1122, in _do_get return self._pool.get(wait, self._timeout) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/util/queue.py&quot;, line 145, in get raise Empty sqlalchemy.util.queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/engine/base.py&quot;, line 2147, in _wrap_pool_connect return fn() File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 328, in unique_connection return _ConnectionFairy._checkout(self) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 766, in _checkout fairy = _ConnectionRecord.checkout(pool) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 516, in checkout rec = pool._do_get() File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 1138, in _do_get self._dec_overflow() File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/util/langhelpers.py&quot;, line 66, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/util/compat.py&quot;, line 187, in reraise raise value File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 1135, in _do_get return self._create_connection() File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 333, in _create_connection return _ConnectionRecord(self) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 461, in __init__ self.__connect(first_connect_check=True) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py&quot;, line 651, in __connect connection = pool._invoke_creator(self) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/engine/strategies.py&quot;, line 105, in connect return dialect.connect(*cargs, **cparams) File &quot;/usr/local/lib64/python3.5/site-packages/sqlalchemy/engine/default.py&quot;, line 393, in connect return self.dbapi.connect(*cargs, **cparams) File &quot;/usr/local/lib64/python3.5/site-packages/MySQLdb/__init__.py&quot;, line 81, in Connect return Connection(*args, **kwargs) File &quot;/usr/local/lib64/python3.5/site-packages/MySQLdb/connections.py&quot;, line 191, in __init__ super(Connection, self).__init__(*args, **kwargs2) _mysql_exceptions.OperationalError: (2003, &quot;Can't connect to MySQL server on 'dbhost_obviously' (4)&quot;)"><pre class="notranslate"><code class="notranslate">#! Traceback (most recent call last): File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 1122, in _do_get return self._pool.get(wait, self._timeout) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/util/queue.py", line 145, in get raise Empty sqlalchemy.util.queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/engine/base.py", line 2147, in _wrap_pool_connect return fn() File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 328, in unique_connection return _ConnectionFairy._checkout(self) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 766, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 516, in checkout rec = pool._do_get() File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 1138, in _do_get self._dec_overflow() File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/util/compat.py", line 187, in reraise raise value File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 1135, in _do_get return self._create_connection() File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 333, in _create_connection return _ConnectionRecord(self) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 461, in __init__ self.__connect(first_connect_check=True) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/pool.py", line 651, in __connect connection = pool._invoke_creator(self) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/engine/strategies.py", line 105, in connect return dialect.connect(*cargs, **cparams) File "/usr/local/lib64/python3.5/site-packages/sqlalchemy/engine/default.py", line 393, in connect return self.dbapi.connect(*cargs, **cparams) File "/usr/local/lib64/python3.5/site-packages/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, **kwargs) File "/usr/local/lib64/python3.5/site-packages/MySQLdb/connections.py", line 191, in __init__ super(Connection, self).__init__(*args, **kwargs2) _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL server on 'dbhost_obviously' (4)") </code></pre></div> <p dir="auto">this confuses everyone. move the handling outside of Empty.</p>
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">The code looks like this (skipping a log of details):</p> <p dir="auto">class visit_dim_category(object):<br> pass</p> <p dir="auto">...</p> <p dir="auto">class schema<br> ...</p> <p dir="auto">#somewhere in class schema:</p> <p dir="auto">self.visit_dim_category = Table( "visit_dim_category", self.metadata,<br> Column("id",Integer, primary_key=True)<br> ,Column("affiliate", Integer, ForeignKey("affiliate.id"))<br> ,Column("product", Integer, ForeignKey("product.id"))<br> )</p> <p dir="auto">Index("visit_dim_category_idx1",self.visit_dim_category.c.affiliate, self.visit_dim_category.c.product, unique=True)</p> <p dir="auto">...</p> <p dir="auto">visit_dim_category.mapper = mapper(visit_dim_category, self.visit_dim_category)</p> <h2 dir="auto"></h2> <p dir="auto">#creating test db<br> db = create_engine(conf.connection())<br> schema = schema(db)<br> schema.metadata.drop_all()<br> schema.metadata.create_all()</p> <p dir="auto">it works fine in 0.2.7 and 0.2.8 but after updrade to 0.3 this code gives the following errors:</p> <p dir="auto">[04:49 ]cff@joy:~/work/stats3/server/test# ./test_db.py<br> create test schema...<br> mysql://root:root@localhost/stat3<br> Traceback (most recent call last):<br> File "./test_db.py", line 15, in ?<br> schema.metadata.create_all()<br> File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 862, in<br> create_all<br> File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line<br> 413, in create<br> File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line<br> 437, in _run_visitor<br> File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 882, in<br> accept_schema_visitor<br> File "build/bdist.linux-i686/egg/sqlalchemy/ansisql.py", line 637,<br> in visit_metadata<br> File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 268, in<br> accept_schema_visitor<br> File "build/bdist.linux-i686/egg/sqlalchemy/ansisql.py", line 671,<br> in visit_table<br> File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 819, in<br> accept_schema_visitor<br> File "build/bdist.linux-i686/egg/sqlalchemy/ansisql.py", line 749,<br> in visit_index<br> File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line<br> 763, in execute<br> File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line<br> 365, in proxy<br> File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line<br> 329, in _execute_raw<br> File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line<br> 348, in _execute<br> sqlalchemy.exceptions.SQLError: (OperationalError) (1061, "Duplicate<br> key name 'visit_dim_category_idx1'") 'CREATE UNIQUE INDEX<br> visit_dim_category_idx1 ON visit_dim_category (affiliate, product)' ()</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> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li></li> <li></li> <li></li> </ol> <h2 dir="auto">Expected behavior</h2> <h2 dir="auto">Environment</h2> <p dir="auto">Please copy and paste the output from our<br> <a href="https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py" rel="nofollow">environment collection script</a><br> (or fill out the checklist below manually).</p> <p dir="auto">You can get the script and run it with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py # For security purposes, please check the contents of collect_env.py before running it. python collect_env.py"><pre class="notranslate"><code class="notranslate">wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py # For security purposes, please check the contents of collect_env.py before running it. python collect_env.py </code></pre></div> <ul dir="auto"> <li>PyTorch Version (e.g., 1.0):</li> <li>OS (e.g., Linux):</li> <li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source):</li> <li>Build command you used (if compiling from source):</li> <li>Python version:</li> <li>CUDA/cuDNN version:</li> <li>GPU models and configuration:</li> <li>Any other relevant information:</li> </ul> <h2 dir="auto">Additional context</h2>
<p dir="auto">Using the example in <a href="https://pytorch.org/cppdocs/installing.html" rel="nofollow">https://pytorch.org/cppdocs/installing.html</a> page, developed in IDE, the error message is "std": ambiguous symbol.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26763453/55209599-7233ba80-521e-11e9-97b8-eae4e78f0a62.png"><img src="https://user-images.githubusercontent.com/26763453/55209599-7233ba80-521e-11e9-97b8-eae4e78f0a62.png" alt="image" style="max-width: 100%;"></a><br> There's a lot of information about this type of error.<br> You guys meet again? how do you solve this?<br> environment:windows10 ,visual studio 2017,cuda10,c++.</p>
1
<p dir="auto">Hi developers,<br> I really appreciate the effort spent to develop the most awaited application in Windows. I really want to see it come out of beta as a final product as soon as possible.</p> <p dir="auto">My suggestions for Windows Terminal:</p> <ol dir="auto"> <li>Atleast provide all the basic text editing capabilities like the word-by-word cursor navigation using Ctrl+&lt;navigation-key-left&gt;|&lt;navigation-key-right&gt; (Already present in cmd.exe).</li> <li>Provide the tab re-positioning capability, by dragging tab using the mouse.</li> <li>Text font looks little bold (a difference noticed in comparison to cmd font even after keeping the same font properties).</li> <li>Full-screen capability (should have already been there).</li> <li>Tab switcher pop-up like in other editor applications (e.g. in Visual Studio Code editor when pressed Ctrl+TAB).</li> <li>Auto-complete feature like in the macOS iTerm.</li> <li>Add "Open Windows terminal here" to Windows File Explorer right-click context menu.</li> <li>Support for transparency also like in cmd.exe or wsl.exe.</li> </ol> <p dir="auto">Thank you. Hope I get to see atleast some of the requested features/suggestions if not all.</p> <p dir="auto">Keep doing the awesome work!</p>
<ul dir="auto"> <li> <p dir="auto">Your Windows build number: Microsoft Windows [Versione 10.0.17677.1000]</p> </li> <li> <p dir="auto">What you're doing and what's happening: make menuconfig command</p> </li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20289090/40575412-ea9f10ae-60e4-11e8-885d-13b9059d1724.PNG"><img src="https://user-images.githubusercontent.com/20289090/40575412-ea9f10ae-60e4-11e8-885d-13b9059d1724.PNG" alt="cattura" style="max-width: 100%;"></a></p> <ul dir="auto"> <li>What's wrong / what should be happening instead: as you can see from the screen, the vertical line char is broken and not displayed. Trying to paste it to a nano editor doesn't show anything, trying with other works... For example this is displayed ├ but this not ─</li> </ul>
0
<p dir="auto">As of today, videos are stored with uuids which leads to end user SDET's having to create solutions of their own for things that should be considered granted in a Framework that attempts to be a one-solution-for-all.</p> <p dir="auto">This issue might be duplicated but I have not seen the staff of PW putting any attention to this issue.</p> <p dir="auto">Please provide a way to name the screenshots and videos. I suggest a configuration for each test scenario that can be passed to the playwright Page object.</p>
<p dir="auto">Hi team. I love the new video API in 1.5.0. Very clean. I don't see any information about how to name video files in the examples though. Seems like each file is just assigned a random name with no way to change that. When the API was in beta, we could get a handle to the file in order to rename it. Am I missing something in the docs?<br> <a href="https://playwright.dev/docs/videos" rel="nofollow">https://playwright.dev/docs/videos</a></p> <p dir="auto">Thanks!</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=eberhardwolff" rel="nofollow">Eberhard Wolff</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7170?redirect=false" rel="nofollow">SPR-7170</a></strong> and commented</p> <p dir="auto">In JavaConfig beans created by protected methods with <code class="notranslate">@Bean</code> annotation had visibility inside the <code class="notranslate">@Configuration</code> class only but were not exported into the global <code class="notranslate">ApplicationContext</code> and therefore cannot be referenced from there or other <code class="notranslate">@Configuration</code> annotated classes:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Configuration public class MyConfiguration { @Bean public ABean globallyVisible() { ... } @Bean protected ABean visibleOnlyInThisClass() { ... } }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Configuration</span> <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">MyConfiguration</span> { <span class="pl-c1">@</span><span class="pl-c1">Bean</span> <span class="pl-k">public</span> <span class="pl-smi">ABean</span> <span class="pl-en">globallyVisible</span>() { ... } <span class="pl-c1">@</span><span class="pl-c1">Bean</span> <span class="pl-k">protected</span> <span class="pl-smi">ABean</span> <span class="pl-en">visibleOnlyInThisClass</span>() { ... } }</pre></div> <p dir="auto">This is great to structure large configuration because beans can be hidden. Bring that feature back please.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 GA, 3.0.1, 3.0.2</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="398111454" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12839" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12839/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12839">#12839</a> Revised support for bean definition visibility and overriding (<em><strong>"is depended on by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398073079" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7548" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7548/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7548">#7548</a> Allow to restrict the visibility of beans to a file (<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="398094306" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10325" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10325/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10325">#10325</a> Consider using javassist for proxy generation</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398110303" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12637" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12637/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12637">#12637</a> Support profile exclusivity and/or bean definition finality</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398082106" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8713" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8713/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8713">#8713</a> Exporting / Importing beans across ApplicationContexts</li> </ul> <p dir="auto">27 votes, 22 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=martinahrer" rel="nofollow">Martin Ahrer</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5235?redirect=false" rel="nofollow">SPR-5235</a></strong> and commented</p> <p dir="auto">org.springframework.orm.jpa.vendor.HibernateJpaDialect.getSession should not try to cast directly to HibernateEntityManager since there is a chance that the entity manager passed in is just a proxy for the EntityManager interface!</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="protected Session getSession(EntityManager em) { return ((HibernateEntityManager) em).getSession(); }"><pre class="notranslate"><code class="notranslate">protected Session getSession(EntityManager em) { return ((HibernateEntityManager) em).getSession(); } </code></pre></div> <p dir="auto">This cast can be avoided (see below)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="protected Session getSession(EntityManager em) { return (Session) em.getDelegate(); }"><pre class="notranslate"><code class="notranslate">protected Session getSession(EntityManager em) { return (Session) em.getDelegate(); } </code></pre></div> <p dir="auto">I'm facing this problem while I'm trying to integrate Seam with Spring. Seam is in charge of managing the life time of the entity manager and passing it on to Spring using org.jboss.seam.ioc.spring.SeamManagedEntityManagerFactoryBean.</p> <p dir="auto">Currently a work around is to subclass HibernateJpaDialect and implement getSession as shown!</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="398091508" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9910" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9910/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9910">#9910</a> HibernateJpaDialect.getSession casting to HibernateEntityManager (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
0
<p dir="auto">by <strong>jonnosan</strong>:</p> <pre class="notranslate">What steps will reproduce the problem? 1. grab current version of go with "hg clone -r release <a href="https://go.googlecode.com/hg/" rel="nofollow">https://go.googlecode.com/hg/</a> go" 2. cd go 3. ./all.bash What is the expected output? ########### 1 known bugs; 0 unexpected bugs --- Installed Go for darwin/amd64 in /Users/jonnosan/src/go. Installed commands in /Users/jonnosan/src/go/bin. The compiler is 6g. ########### What do you see instead? ########### gopack grc _test/net.a _gotest_.6 --- FAIL: net.TestGoogleSRV failed: lookup _xmpp-server._tcp.google.com. on 10.5.1.1:53: no answer from server no results FAIL ########### Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? OS X 10.6.5 Which revision are you using? (hg identify) a7800e20064a+ tip Please provide any additional information below. It looks like there are two tests that depend on a the host _xmpp-server._tcp.google.com. resolving, and this hostname is not currently resolving, which means the test fails, and thus installation of go is aborted. commenting out the tests using this hostname in pkg/net/srv_test.go and pkg/net/dns_nametest.go allowed installation to complete.</pre>
<p dir="auto">by <strong>robryk</strong>:</p> <pre class="notranslate">When the current client follows a redirect, all subsequent requests are sent without any of the headers sent on the initial request. The following program demonstrates this behaviour: <a href="http://play.golang.org/p/AExnEZNwv8" rel="nofollow">http://play.golang.org/p/AExnEZNwv8</a> The header which gets printed on stdout is empty; I'd expect it to be equal to "bytes=0-1", the value set in the original request. This is counterintuitive and makes the Request.Header useless if a redirect can occur. It seems that one must either make a custom transport wrapper that adds headers and create a client on top of that, or use an undocumented feature of CheckRedirect, namely that the request passed is going to be actually sent, so it can modify it before that. I'm not sure what resolution I'd expect. My main problem is that this behaviour confused me, and I can't see an elegant way of setting eg. a Range header on subsequent requests -- creating a new transport wrapper for every request seems weird, even if it's mostly cost-free.</pre>
0
<h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li>Create new a Flutter application <code class="notranslate">flutter create foo</code></li> <li>Open the project in Android Studio</li> <li>Run <code class="notranslate">main.dart</code> (Shift + F10)</li> </ol> <h2 dir="auto">Expectation</h2> <p dir="auto">I expected that flutter will hot reload my application when I make changes to the source code and save, without performing any action in the workaround section.</p> <h2 dir="auto">Workaround</h2> <p dir="auto">In order to make hot reload work (with pressing "r" in the terminal, instead of reloading automatically when I save file), I have to perform the following actions:</p> <ol dir="auto"> <li>Find the observatory port in logcat:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="09-08 20:31:27.119 17682-17706/com.example.foo I/flutter: Observatory listening on http://127.0.0.1:37604/"><pre class="notranslate"><code class="notranslate">09-08 20:31:27.119 17682-17706/com.example.foo I/flutter: Observatory listening on http://127.0.0.1:37604/ </code></pre></div> <ol start="2" dir="auto"> <li>Open terminal and run <code class="notranslate">adb forward tcp:37604 tcp:37604</code></li> <li>Open browser and navigate to <code class="notranslate">http://127.0.0.1:37604/</code> and make sure Dart VM Observatory is accessible.</li> <li>Open terminal and run <code class="notranslate">flutter attach --debug-port 37604</code>:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Syncing files to device LG H930... 2.3s 🔥 To hot reload changes while running, press &quot;r&quot;. To hot restart (and rebuild state), press &quot;R&quot;. An Observatory debugger and profiler on LG H930 is available at: http://127.0.0.1:65084/ For a more detailed help message, press &quot;h&quot;. To detach, press &quot;d&quot;; to quit, press &quot;q&quot;."><pre class="notranslate"><code class="notranslate">Syncing files to device LG H930... 2.3s 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R". An Observatory debugger and profiler on LG H930 is available at: http://127.0.0.1:65084/ For a more detailed help message, press "h". To detach, press "d"; to quit, press "q". </code></pre></div> <ol start="5" dir="auto"> <li>Press "r" to hot reload.</li> </ol> <h2 dir="auto">Remark</h2> <p dir="auto">I am developing in Android Studio 3.1.4 on Windows 10, running application on a LG V30 (Android 8.0.0) connected through adb usb. This issue does not happen when using Android Emulator.</p> <h2 dir="auto">Logs</h2> <p dir="auto">Result of running from Android Studio</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib\main.dart on LG H930 in debug mode... Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'... Built build\app\outputs\apk\debug\app-debug.apk. Installing build\app\outputs\apk\app.apk..."><pre class="notranslate"><code class="notranslate">Launching lib\main.dart on LG H930 in debug mode... Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'... Built build\app\outputs\apk\debug\app-debug.apk. Installing build\app\outputs\apk\app.apk... </code></pre></div> <p dir="auto">Result of running <code class="notranslate">flutter run -v</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +60 ms] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +86 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref HEAD [ +38 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ ] executing: [C:\Development\Flutter\] git ls-remote --get-url origin [ +34 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +1 ms] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%H [ +39 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] ed698b81650eb66a49f37a43a915e80271e0ce04 [ ] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%ar [ +39 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] 13 hours ago [ ] executing: [C:\Development\Flutter\] git describe --match v*.*.* --first-parent --long --tags [ +41 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v0.8.1-17-ged698b816 [ +182 ms] executing: C:\Development\Android\Sdk\platform-tools\adb devices -l [ +26 ms] Exit code 0 from: C:\Development\Android\Sdk\platform-tools\adb devices -l [ ] List of devices attached LGH930d3d0d038 device product:joan_global_com model:LG_H930 device:joan transport_id:1 [ +412 ms] C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell getprop [ +100 ms] ro.hardware = joan [ ] ro.build.characteristics = default [ +792 ms] Launching lib/main.dart on LG H930 in debug mode... [ +55 ms] Initializing gradle... [ ] Using gradle from D:\Projects\Test\foo\android\gradlew.bat. [ +126 ms] executing: D:\Projects\Test\foo\android\gradlew.bat -v [ +750 ms] ------------------------------------------------------------ Gradle 4.4 ------------------------------------------------------------ Build time: 2017-12-06 09:05:06 UTC Revision: cf7821a6f79f8e2a598df21780e3ff7ce8db2b82 Groovy: 2.4.12 Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b02) OS: Windows 10 10.0 amd64 [ ] Initializing gradle... (completed) [ ] Resolving dependencies... [ ] executing: [D:\Projects\Test\foo\android\] D:\Projects\Test\foo\android\gradlew.bat app:properties [+1214 ms] :app:properties ------------------------------------------------------------ Project :app ------------------------------------------------------------ allprojects: [project ':app'] android: com.android.build.gradle.AppExtension_Decorated@2bc48ae1 androidDependencies: task ':app:androidDependencies' ant: org.gradle.api.internal.project.DefaultAntBuilder@f12500d antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@535aeb5b archivesBaseName: app artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@5e49904d asDynamicObject: DynamicObject for project ':app' assemble: task ':app:assemble' assembleAndroidTest: task ':app:assembleAndroidTest' assembleDebug: task ':app:assembleDebug' assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest' assembleDebugUnitTest: task ':app:assembleDebugUnitTest' assembleDynamicProfile: task ':app:assembleDynamicProfile' assembleDynamicProfileUnitTest: task ':app:assembleDynamicProfileUnitTest' assembleDynamicRelease: task ':app:assembleDynamicRelease' assembleDynamicReleaseUnitTest: task ':app:assembleDynamicReleaseUnitTest' assembleProfile: task ':app:assembleProfile' assembleProfileUnitTest: task ':app:assembleProfileUnitTest' assembleRelease: task ':app:assembleRelease' assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest' baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@51d59ae7 buildDependents: task ':app:buildDependents' buildDir: D:\Projects\Test\foo\build\app buildFile: D:\Projects\Test\foo\android\app\build.gradle buildNeeded: task ':app:buildNeeded' buildOutputs: BaseVariantOutput container buildPath: : buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@4c5a2ae8 buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@485e000b bundleAppClassesDebug: task ':app:bundleAppClassesDebug' bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest' bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest' bundleAppClassesDynamicProfile: task ':app:bundleAppClassesDynamicProfile' bundleAppClassesDynamicProfileUnitTest: task ':app:bundleAppClassesDynamicProfileUnitTest' bundleAppClassesDynamicRelease: task ':app:bundleAppClassesDynamicRelease' bundleAppClassesDynamicReleaseUnitTest: task ':app:bundleAppClassesDynamicReleaseUnitTest' bundleAppClassesProfile: task ':app:bundleAppClassesProfile' bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest' bundleAppClassesRelease: task ':app:bundleAppClassesRelease' bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest' bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources' bundleDebugResources: task ':app:bundleDebugResources' bundleDynamicProfileResources: task ':app:bundleDynamicProfileResources' bundleDynamicReleaseResources: task ':app:bundleDynamicReleaseResources' bundleProfileResources: task ':app:bundleProfileResources' bundleReleaseResources: task ':app:bundleReleaseResources' check: task ':app:check' checkDebugManifest: task ':app:checkDebugManifest' checkDynamicProfileManifest: task ':app:checkDynamicProfileManifest' checkDynamicReleaseManifest: task ':app:checkDynamicReleaseManifest' checkProfileManifest: task ':app:checkProfileManifest' checkReleaseManifest: task ':app:checkReleaseManifest' childProjects: {} class: class org.gradle.api.internal.project.DefaultProject_Decorated classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@5a072ab5 cleanBuildCache: task ':app:cleanBuildCache' compileDebugAidl: task ':app:compileDebugAidl' compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl' compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac' compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk' compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript' compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders' compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources' compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac' compileDebugNdk: task ':app:compileDebugNdk' compileDebugRenderscript: task ':app:compileDebugRenderscript' compileDebugShaders: task ':app:compileDebugShaders' compileDebugSources: task ':app:compileDebugSources' compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac' compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources' compileDynamicProfileAidl: task ':app:compileDynamicProfileAidl' compileDynamicProfileJavaWithJavac: task ':app:compileDynamicProfileJavaWithJavac' compileDynamicProfileNdk: task ':app:compileDynamicProfileNdk' compileDynamicProfileRenderscript: task ':app:compileDynamicProfileRenderscript' compileDynamicProfileShaders: task ':app:compileDynamicProfileShaders' compileDynamicProfileSources: task ':app:compileDynamicProfileSources' compileDynamicProfileUnitTestJavaWithJavac: task ':app:compileDynamicProfileUnitTestJavaWithJavac' compileDynamicProfileUnitTestSources: task ':app:compileDynamicProfileUnitTestSources' compileDynamicReleaseAidl: task ':app:compileDynamicReleaseAidl' compileDynamicReleaseJavaWithJavac: task ':app:compileDynamicReleaseJavaWithJavac' compileDynamicReleaseNdk: task ':app:compileDynamicReleaseNdk' compileDynamicReleaseRenderscript: task ':app:compileDynamicReleaseRenderscript' compileDynamicReleaseShaders: task ':app:compileDynamicReleaseShaders' compileDynamicReleaseSources: task ':app:compileDynamicReleaseSources' compileDynamicReleaseUnitTestJavaWithJavac: task ':app:compileDynamicReleaseUnitTestJavaWithJavac' compileDynamicReleaseUnitTestSources: task ':app:compileDynamicReleaseUnitTestSources' compileLint: task ':app:compileLint' compileProfileAidl: task ':app:compileProfileAidl' compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac' compileProfileNdk: task ':app:compileProfileNdk' compileProfileRenderscript: task ':app:compileProfileRenderscript' compileProfileShaders: task ':app:compileProfileShaders' compileProfileSources: task ':app:compileProfileSources' compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac' compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources' compileReleaseAidl: task ':app:compileReleaseAidl' compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac' compileReleaseNdk: task ':app:compileReleaseNdk' compileReleaseRenderscript: task ':app:compileReleaseRenderscript' compileReleaseShaders: task ':app:compileReleaseShaders' compileReleaseSources: task ':app:compileReleaseSources' compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac' compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources' components: SoftwareComponentInternal set configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@277881b0 configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@3a68e2dd configurations: configuration container connectedAndroidTest: task ':app:connectedAndroidTest' connectedCheck: task ':app:connectedCheck' connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest' consumeConfigAttr: task ':app:consumeConfigAttr' convention: org.gradle.api.internal.plugins.DefaultConvention@20ee3c3 copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug' copyFlutterAssetsDynamicProfile: task ':app:copyFlutterAssetsDynamicProfile' copyFlutterAssetsDynamicRelease: task ':app:copyFlutterAssetsDynamicRelease' copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile' copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease' createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests' createDynamicProfileCompatibleScreenManifests: task ':app:createDynamicProfileCompatibleScreenManifests' createDynamicReleaseCompatibleScreenManifests: task ':app:createDynamicReleaseCompatibleScreenManifests' createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests' createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests' defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@613f33b5 defaultTasks: [] deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@2a94b23 dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@7faa2fa1 depth: 1 description: null deviceAndroidTest: task ':app:deviceAndroidTest' deviceCheck: task ':app:deviceCheck' displayName: project ':app' distsDir: D:\Projects\Test\foo\build\app\distributions distsDirName: distributions docsDir: D:\Projects\Test\foo\build\app\docs docsDirName: docs ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@acfdb6c extensions: org.gradle.api.internal.plugins.DefaultConvention@20ee3c3 extractProguardFiles: task ':app:extractProguardFiles' fileOperations: org.gradle.api.internal.file.DefaultFileOperations@12f5f31b fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@5acd5235 flutter: FlutterExtension_Decorated@74b4b9ea flutterBuildDebug: task ':app:flutterBuildDebug' flutterBuildDynamicProfile: task ':app:flutterBuildDynamicProfile' flutterBuildDynamicRelease: task ':app:flutterBuildDynamicRelease' flutterBuildProfile: task ':app:flutterBuildProfile' flutterBuildRelease: task ':app:flutterBuildRelease' flutterBuildX86Jar: task ':app:flutterBuildX86Jar' generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets' generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig' generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues' generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources' generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources' generateDebugAssets: task ':app:generateDebugAssets' generateDebugBuildConfig: task ':app:generateDebugBuildConfig' generateDebugResValues: task ':app:generateDebugResValues' generateDebugResources: task ':app:generateDebugResources' generateDebugSources: task ':app:generateDebugSources' generateDynamicProfileAssets: task ':app:generateDynamicProfileAssets' generateDynamicProfileBuildConfig: task ':app:generateDynamicProfileBuildConfig' generateDynamicProfileResValues: task ':app:generateDynamicProfileResValues' generateDynamicProfileResources: task ':app:generateDynamicProfileResources' generateDynamicProfileSources: task ':app:generateDynamicProfileSources' generateDynamicReleaseAssets: task ':app:generateDynamicReleaseAssets' generateDynamicReleaseBuildConfig: task ':app:generateDynamicReleaseBuildConfig' generateDynamicReleaseResValues: task ':app:generateDynamicReleaseResValues' generateDynamicReleaseResources: task ':app:generateDynamicReleaseResources' generateDynamicReleaseSources: task ':app:generateDynamicReleaseSources' generateProfileAssets: task ':app:generateProfileAssets' generateProfileBuildConfig: task ':app:generateProfileBuildConfig' generateProfileResValues: task ':app:generateProfileResValues' generateProfileResources: task ':app:generateProfileResources' generateProfileSources: task ':app:generateProfileSources' generateReleaseAssets: task ':app:generateReleaseAssets' generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig' generateReleaseResValues: task ':app:generateReleaseResValues' generateReleaseResources: task ':app:generateReleaseResources' generateReleaseSources: task ':app:generateReleaseSources' gradle: build 'android' group: android identityPath: :app inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@5418ab installDebug: task ':app:installDebug' installDebugAndroidTest: task ':app:installDebugAndroidTest' installDynamicProfile: task ':app:installDynamicProfile' installDynamicRelease: task ':app:installDynamicRelease' installProfile: task ':app:installProfile' installRelease: task ':app:installRelease' javaPreCompileDebug: task ':app:javaPreCompileDebug' javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest' javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest' javaPreCompileDynamicProfile: task ':app:javaPreCompileDynamicProfile' javaPreCompileDynamicProfileUnitTest: task ':app:javaPreCompileDynamicProfileUnitTest' javaPreCompileDynamicRelease: task ':app:javaPreCompileDynamicRelease' javaPreCompileDynamicReleaseUnitTest: task ':app:javaPreCompileDynamicReleaseUnitTest' javaPreCompileProfile: task ':app:javaPreCompileProfile' javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest' javaPreCompileRelease: task ':app:javaPreCompileRelease' javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest' layout: org.gradle.api.internal.file.DefaultProjectLayout@3d844e91 libsDir: D:\Projects\Test\foo\build\app\libs libsDirName: libs lint: task ':app:lint' lintDebug: task ':app:lintDebug' lintDynamicProfile: task ':app:lintDynamicProfile' lintDynamicRelease: task ':app:lintDynamicRelease' lintProfile: task ':app:lintProfile' lintRelease: task ':app:lintRelease' lintVitalRelease: task ':app:lintVitalRelease' logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@70eec3e8 logging: org.gradle.internal.logging.services.DefaultLoggingManager@d68efee mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug' mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest' mainApkListPersistenceDynamicProfile: task ':app:mainApkListPersistenceDynamicProfile' mainApkListPersistenceDynamicRelease: task ':app:mainApkListPersistenceDynamicRelease' mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile' mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease' mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets' mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders' mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources' mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders' mergeDebugAssets: task ':app:mergeDebugAssets' mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders' mergeDebugResources: task ':app:mergeDebugResources' mergeDebugShaders: task ':app:mergeDebugShaders' mergeDynamicProfileAssets: task ':app:mergeDynamicProfileAssets' mergeDynamicProfileJniLibFolders: task ':app:mergeDynamicProfileJniLibFolders' mergeDynamicProfileResources: task ':app:mergeDynamicProfileResources' mergeDynamicProfileShaders: task ':app:mergeDynamicProfileShaders' mergeDynamicReleaseAssets: task ':app:mergeDynamicReleaseAssets' mergeDynamicReleaseJniLibFolders: task ':app:mergeDynamicReleaseJniLibFolders' mergeDynamicReleaseResources: task ':app:mergeDynamicReleaseResources' mergeDynamicReleaseShaders: task ':app:mergeDynamicReleaseShaders' mergeProfileAssets: task ':app:mergeProfileAssets' mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders' mergeProfileResources: task ':app:mergeProfileResources' mergeProfileShaders: task ':app:mergeProfileShaders' mergeReleaseAssets: task ':app:mergeReleaseAssets' mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders' mergeReleaseResources: task ':app:mergeReleaseResources' mergeReleaseShaders: task ':app:mergeReleaseShaders' mockableAndroidJar: task ':app:mockableAndroidJar' modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@5cc26c40 modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@284debee module: org.gradle.api.internal.artifacts.ProjectBackedModule@665c5d98 name: app normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@7c73b633 objects: org.gradle.api.internal.model.DefaultObjectFactory@639c8fea org.gradle.jvmargs: -Xmx1536M packageDebug: task ':app:packageDebug' packageDebugAndroidTest: task ':app:packageDebugAndroidTest' packageDynamicProfile: task ':app:packageDynamicProfile' packageDynamicRelease: task ':app:packageDynamicRelease' packageProfile: task ':app:packageProfile' packageRelease: task ':app:packageRelease' parent: root project 'android' parentIdentifier: root project 'android' path: :app platformAttrExtractor: task ':app:platformAttrExtractor' pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@29410be8 plugins: [org.gradle.api.plugins.HelpTasksPlugin@6cfae469, com.android.build.gradle.api.AndroidBasePlugin@3c685362, org.gradle.language.base.plugins.LifecycleBasePlugin@5ef77c0a, org.gradle.api.plugins .BasePlugin@3b48e1c6, org.gradle.api.plugins.ReportingBasePlugin@7805ef9c, org.gradle.platform.base.plugins.ComponentBasePlugin@f289af0, org.gradle.language.base.plugins.LanguageBasePlugin@5806fd86, org.gradle.platform.b ase.plugins.BinaryBasePlugin@3ed7befe, org.gradle.api.plugins.JavaBasePlugin@2def01a, com.android.build.gradle.AppPlugin@37db5007, FlutterPlugin@55d5aa1] preBuild: task ':app:preBuild' preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild' preDebugBuild: task ':app:preDebugBuild' preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild' preDynamicProfileBuild: task ':app:preDynamicProfileBuild' preDynamicProfileUnitTestBuild: task ':app:preDynamicProfileUnitTestBuild' preDynamicReleaseBuild: task ':app:preDynamicReleaseBuild' preDynamicReleaseUnitTestBuild: task ':app:preDynamicReleaseUnitTestBuild' preProfileBuild: task ':app:preProfileBuild' preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild' preReleaseBuild: task ':app:preReleaseBuild' preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild' prepareLintJar: task ':app:prepareLintJar' preparePUBLISHED_DEXDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_DEXDebugAndroidTestForPublishing' preparePUBLISHED_DEXDebugForPublishing: task ':app:preparePUBLISHED_DEXDebugForPublishing' preparePUBLISHED_DEXDynamicProfileForPublishing: task ':app:preparePUBLISHED_DEXDynamicProfileForPublishing' preparePUBLISHED_DEXDynamicReleaseForPublishing: task ':app:preparePUBLISHED_DEXDynamicReleaseForPublishing' preparePUBLISHED_DEXProfileForPublishing: task ':app:preparePUBLISHED_DEXProfileForPublishing' preparePUBLISHED_DEXReleaseForPublishing: task ':app:preparePUBLISHED_DEXReleaseForPublishing' preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing' preparePUBLISHED_JAVA_RESDebugForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugForPublishing' preparePUBLISHED_JAVA_RESDynamicProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESDynamicProfileForPublishing' preparePUBLISHED_JAVA_RESDynamicReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESDynamicReleaseForPublishing' preparePUBLISHED_JAVA_RESProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESProfileForPublishing' preparePUBLISHED_JAVA_RESReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESReleaseForPublishing' preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing' preparePUBLISHED_NATIVE_LIBSDebugForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugForPublishing' preparePUBLISHED_NATIVE_LIBSDynamicProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDynamicProfileForPublishing' preparePUBLISHED_NATIVE_LIBSDynamicReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDynamicReleaseForPublishing' preparePUBLISHED_NATIVE_LIBSProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSProfileForPublishing' preparePUBLISHED_NATIVE_LIBSReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSReleaseForPublishing' processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes' processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest' processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources' processDebugJavaRes: task ':app:processDebugJavaRes' processDebugManifest: task ':app:processDebugManifest' processDebugResources: task ':app:processDebugResources' processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes' processDynamicProfileJavaRes: task ':app:processDynamicProfileJavaRes' processDynamicProfileManifest: task ':app:processDynamicProfileManifest' processDynamicProfileResources: task ':app:processDynamicProfileResources' processDynamicProfileUnitTestJavaRes: task ':app:processDynamicProfileUnitTestJavaRes' processDynamicReleaseJavaRes: task ':app:processDynamicReleaseJavaRes' processDynamicReleaseManifest: task ':app:processDynamicReleaseManifest' processDynamicReleaseResources: task ':app:processDynamicReleaseResources' processDynamicReleaseUnitTestJavaRes: task ':app:processDynamicReleaseUnitTestJavaRes' processOperations: org.gradle.api.internal.file.DefaultFileOperations@12f5f31b processProfileJavaRes: task ':app:processProfileJavaRes' processProfileManifest: task ':app:processProfileManifest' processProfileResources: task ':app:processProfileResources' processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes' processReleaseJavaRes: task ':app:processReleaseJavaRes' processReleaseManifest: task ':app:processReleaseManifest' processReleaseResources: task ':app:processReleaseResources' processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes' project: project ':app' projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@66aed2ec projectDir: D:\Projects\Test\foo\android\app projectEvaluationBroadcaster: ProjectEvaluationListener broadcast projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@78d2224 projectPath: :app projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@e91ee0 properties: {...} providers: org.gradle.api.internal.provider.DefaultProviderFactory@3600db51 reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug' reportBuildArtifactsDynamicProfile: task ':app:reportBuildArtifactsDynamicProfile' reportBuildArtifactsDynamicRelease: task ':app:reportBuildArtifactsDynamicRelease' reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile' reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease' reporting: org.gradle.api.reporting.ReportingExtension_Decorated@21565b5e reportsDir: D:\Projects\Test\foo\build\app\reports repositories: repository container resolveConfigAttr: task ':app:resolveConfigAttr' resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@31ffd42a resources: org.gradle.api.internal.resources.DefaultResourceHandler@5f0d5c33 rootDir: D:\Projects\Test\foo\android rootProject: root project 'android' script: false scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@17db472c scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@4c46222 serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@4bd5a814 services: ProjectScopeServices signingReport: task ':app:signingReport' sourceCompatibility: 1.8 sourceSets: SourceSet container splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug' splitsDiscoveryTaskDynamicProfile: task ':app:splitsDiscoveryTaskDynamicProfile' splitsDiscoveryTaskDynamicRelease: task ':app:splitsDiscoveryTaskDynamicRelease' splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile' splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease' standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@d68efee state: project state 'EXECUTED' status: integration subprojects: [] targetCompatibility: 1.8 tasks: task set test: task ':app:test' testDebugUnitTest: task ':app:testDebugUnitTest' testDynamicProfileUnitTest: task ':app:testDynamicProfileUnitTest' testDynamicReleaseUnitTest: task ':app:testDynamicReleaseUnitTest' testProfileUnitTest: task ':app:testProfileUnitTest' testReleaseUnitTest: task ':app:testReleaseUnitTest' testReportDir: D:\Projects\Test\foo\build\app\reports\tests testReportDirName: tests testResultsDir: D:\Projects\Test\foo\build\app\test-results testResultsDirName: test-results transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug' transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest' transformClassesWithDexBuilderForDynamicProfile: task ':app:transformClassesWithDexBuilderForDynamicProfile' transformClassesWithDexBuilderForDynamicRelease: task ':app:transformClassesWithDexBuilderForDynamicRelease' transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile' transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease' transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug' transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest' transformDexArchiveWithDexMergerForDynamicProfile: task ':app:transformDexArchiveWithDexMergerForDynamicProfile' transformDexArchiveWithDexMergerForDynamicRelease: task ':app:transformDexArchiveWithDexMergerForDynamicRelease' transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile' transformDexArchiveWithDexMergerForRelease: task ':app:transformDexArchiveWithDexMergerForRelease' transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest' transformDexArchiveWithExternalLibsDexMergerForDynamicProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicProfile' transformDexArchiveWithExternalLibsDexMergerForDynamicRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicRelease' transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile' transformDexArchiveWithExternalLibsDexMergerForRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease' transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug' transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest' transformNativeLibsWithMergeJniLibsForDynamicProfile: task ':app:transformNativeLibsWithMergeJniLibsForDynamicProfile' transformNativeLibsWithMergeJniLibsForDynamicRelease: task ':app:transformNativeLibsWithMergeJniLibsForDynamicRelease' transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile' transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease' transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug' transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest' transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest' transformResourcesWithMergeJavaResForDynamicProfile: task ':app:transformResourcesWithMergeJavaResForDynamicProfile' transformResourcesWithMergeJavaResForDynamicProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicProfileUnitTest' transformResourcesWithMergeJavaResForDynamicRelease: task ':app:transformResourcesWithMergeJavaResForDynamicRelease' transformResourcesWithMergeJavaResForDynamicReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicReleaseUnitTest' transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile' transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest' transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease' transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest' uninstallAll: task ':app:uninstallAll' uninstallDebug: task ':app:uninstallDebug' uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest' uninstallDynamicProfile: task ':app:uninstallDynamicProfile' uninstallDynamicRelease: task ':app:uninstallDynamicRelease' uninstallProfile: task ':app:uninstallProfile' uninstallRelease: task ':app:uninstallRelease' validateSigningDebug: task ':app:validateSigningDebug' validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest' validateSigningDynamicProfile: task ':app:validateSigningDynamicProfile' validateSigningDynamicRelease: task ':app:validateSigningDynamicRelease' validateSigningProfile: task ':app:validateSigningProfile' validateSigningRelease: task ':app:validateSigningRelease' version: unspecified writeDebugApplicationId: task ':app:writeDebugApplicationId' writeDynamicProfileApplicationId: task ':app:writeDynamicProfileApplicationId' writeDynamicReleaseApplicationId: task ':app:writeDynamicReleaseApplicationId' writeProfileApplicationId: task ':app:writeProfileApplicationId' writeReleaseApplicationId: task ':app:writeReleaseApplicationId' BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed [ +10 ms] Resolving dependencies... (completed) [ +4 ms] executing: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ +22 ms] Exit code 0 from: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)=&quot;1.0.0&quot; (Raw: &quot;1.0.0&quot;) A: package=&quot;com.example.foo&quot; (Raw: &quot;com.example.foo&quot;) E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b E: uses-permission (line=16) A: android:name(0x01010003)=&quot;android.permission.INTERNET&quot; (Raw: &quot;android.permission.INTERNET&quot;) E: application (line=24) A: android:label(0x01010001)=&quot;foo&quot; (Raw: &quot;foo&quot;) A: android:icon(0x01010002)=@0x7f020000 A: android:name(0x01010003)=&quot;io.flutter.app.FlutterApplication&quot; (Raw: &quot;io.flutter.app.FlutterApplication&quot;) A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff E: activity (line=29) A: android:theme(0x01010000)=@0x7f030000 A: android:name(0x01010003)=&quot;com.example.foo.MainActivity&quot; (Raw: &quot;com.example.foo.MainActivity&quot;) A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=43) A: android:name(0x01010003)=&quot;io.flutter.app.android.SplashScreenUntilFirstFrame&quot; (Raw: &quot;io.flutter.app.android.SplashScreenUntilFirstFrame&quot;) A: android:value(0x01010024)=(type 0x12)0xffffffff E: intent-filter (line=47) E: action (line=48) A: android:name(0x01010003)=&quot;android.intent.action.MAIN&quot; (Raw: &quot;android.intent.action.MAIN&quot;) E: category (line=50) A: android:name(0x01010003)=&quot;android.intent.category.LAUNCHER&quot; (Raw: &quot;android.intent.category.LAUNCHER&quot;) [ +16 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 logcat -v time -t 1 [ +159 ms] Exit code 0 from: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 logcat -v time -t 1 [ +4 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 logcat -v time [ +325 ms] DependencyChecker: D:\Projects\Test\foo\lib\main.dart is newer than 2018-09-08 20:30:20.000 [ +4 ms] executing: C:\Development\Android\Sdk\platform-tools\adb version [ +36 ms] Android Debug Bridge version 1.0.40 Version 4986621 Installed as C:\Development\Android\Sdk\platform-tools\adb.EXE [ +2 ms] executing: C:\Development\Android\Sdk\platform-tools\adb start-server [ +21 ms] Building APK [ +11 ms] Running 'gradlew assembleDebug'... [ +1 ms] executing: [D:\Projects\Test\foo\android\] D:\Projects\Test\foo\android\gradlew.bat -Pverbose=true -Ptarget=D:\Projects\Test\foo\lib/main.dart -Ptarget-platform=android-arm64 assembleDebug [+1140 ms] :app:flutterBuildX86Jar UP-TO-DATE [ ] :app:preBuild UP-TO-DATE [ +9 ms] :app:preDebugBuild UP-TO-DATE [ ] :app:compileDebugAidl UP-TO-DATE [ ] :app:compileDebugRenderscript UP-TO-DATE [ ] :app:checkDebugManifest UP-TO-DATE [ +9 ms] :app:generateDebugBuildConfig UP-TO-DATE [ ] :app:prepareLintJar UP-TO-DATE [ +10 ms] :app:cleanMergeDebugAssets [+1488 ms] :app:flutterBuildDebug [ ] [ +15 ms] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +73 ms] [ +98 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/master [ ] [ ] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref HEAD [ +31 ms] [ +35 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] master [ ] [ ] executing: [C:\Development\Flutter\] git ls-remote --get-url origin [ +31 ms] [ +34 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ ] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%H [ +42 ms] [ +38 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] [ ] ed698b81650eb66a49f37a43a915e80271e0ce04 [ ] [ ] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%ar [ +32 ms] [ +35 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] [ ] 13 hours ago [ ] [ ] executing: [C:\Development\Flutter\] git describe --match v*.*.* --first-parent --long --tags [ +42 ms] [ +42 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] [ ] v0.8.1-17-ged698b816 [ +831 ms] [ +828 ms] C:\Development\Flutter\bin\cache\dart-sdk\bin\dart C:\Development\Flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Development\Flutter\bin\cache\artifacts\e ngine\common\flutter_patched_sdk/ --strong --target=flutter --no-link-platform --incremental --packages D:\Projects\Test\foo\.packages --output-dill build\app.dill --depfile D:\Projects\Test\foo\build\app\intermediates\f lutter\debug/snapshot_blob.bin.d --filesystem-scheme org-dartlang-root D:\Projects\Test\foo\lib/main.dart [+2192 ms] [+2193 ms] Building bundle [ ] [ ] Writing asset files to D:\Projects\Test\foo\build\app\intermediates\flutter\debug/flutter_assets [ +73 ms] [ +67 ms] Wrote D:\Projects\Test\foo\build\app\intermediates\flutter\debug/flutter_assets [ +10 ms] [ +14 ms] &quot;flutter bundle&quot; took 2,938ms. [ +109 ms] :app:mergeDebugShaders UP-TO-DATE [ ] :app:compileDebugShaders UP-TO-DATE [ ] :app:generateDebugAssets UP-TO-DATE [ +9 ms] :app:mergeDebugAssets [ +195 ms] :app:copyFlutterAssetsDebug [ ] :app:mainApkListPersistenceDebug UP-TO-DATE [ ] :app:generateDebugResValues UP-TO-DATE [ ] :app:generateDebugResources UP-TO-DATE [ ] :app:mergeDebugResources UP-TO-DATE [ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE [ +7 ms] :app:processDebugManifest UP-TO-DATE [ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE [ ] :app:processDebugResources UP-TO-DATE [ ] :app:generateDebugSources UP-TO-DATE [ ] :app:javaPreCompileDebug UP-TO-DATE [ +9 ms] :app:compileDebugJavaWithJavac UP-TO-DATE [ ] :app:compileDebugNdk NO-SOURCE [ ] :app:compileDebugSources UP-TO-DATE [ +10 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE [ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE [ ] :app:mergeDebugJniLibFolders UP-TO-DATE [ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :app:processDebugJavaRes NO-SOURCE [ +9 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :app:validateSigningDebug UP-TO-DATE [ ] :app:packageDebug UP-TO-DATE [ ] :app:assembleDebug UP-TO-DATE [ ] BUILD SUCCESSFUL in 6s [ ] 30 actionable tasks: 4 executed, 26 up-to-date [ +423 ms] Running 'gradlew assembleDebug'... (completed) [ +19 ms] calculateSha: LocalDirectory: 'D:\Projects\Test\foo\build\app\outputs\apk'/app.apk [ +400 ms] Built build\app\outputs\apk\debug\app-debug.apk. [ +1 ms] executing: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ +19 ms] Exit code 0 from: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)=&quot;1.0.0&quot; (Raw: &quot;1.0.0&quot;) A: package=&quot;com.example.foo&quot; (Raw: &quot;com.example.foo&quot;) E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b E: uses-permission (line=16) A: android:name(0x01010003)=&quot;android.permission.INTERNET&quot; (Raw: &quot;android.permission.INTERNET&quot;) E: application (line=24) A: android:label(0x01010001)=&quot;foo&quot; (Raw: &quot;foo&quot;) A: android:icon(0x01010002)=@0x7f020000 A: android:name(0x01010003)=&quot;io.flutter.app.FlutterApplication&quot; (Raw: &quot;io.flutter.app.FlutterApplication&quot;) A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff E: activity (line=29) A: android:theme(0x01010000)=@0x7f030000 A: android:name(0x01010003)=&quot;com.example.foo.MainActivity&quot; (Raw: &quot;com.example.foo.MainActivity&quot;) A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=43) A: android:name(0x01010003)=&quot;io.flutter.app.android.SplashScreenUntilFirstFrame&quot; (Raw: &quot;io.flutter.app.android.SplashScreenUntilFirstFrame&quot;) A: android:value(0x01010024)=(type 0x12)0xffffffff E: intent-filter (line=47) E: action (line=48) A: android:name(0x01010003)=&quot;android.intent.action.MAIN&quot; (Raw: &quot;android.intent.action.MAIN&quot;) E: category (line=50) A: android:name(0x01010003)=&quot;android.intent.category.LAUNCHER&quot; (Raw: &quot;android.intent.category.LAUNCHER&quot;) [ ] Stopping app 'app.apk' on LG H930. [ +1 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell am force-stop com.example.foo [ +223 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell pm list packages com.example.foo [ +438 ms] package:com.example.foo [ +9 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell cat /data/local/tmp/sky.com.example.foo.sha1 [ +75 ms] 19f4127d1c1fff6fd7315520a96e835a9b3762e4 [ ] Latest build already installed. [ ] LG H930 startApp [ +1 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.example.foo/com.example.foo.MainActivity [ +113 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.foo/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... "><pre class="notranslate"><code class="notranslate">[ +60 ms] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +86 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref HEAD [ +38 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ ] executing: [C:\Development\Flutter\] git ls-remote --get-url origin [ +34 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +1 ms] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%H [ +39 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] ed698b81650eb66a49f37a43a915e80271e0ce04 [ ] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%ar [ +39 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] 13 hours ago [ ] executing: [C:\Development\Flutter\] git describe --match v*.*.* --first-parent --long --tags [ +41 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v0.8.1-17-ged698b816 [ +182 ms] executing: C:\Development\Android\Sdk\platform-tools\adb devices -l [ +26 ms] Exit code 0 from: C:\Development\Android\Sdk\platform-tools\adb devices -l [ ] List of devices attached LGH930d3d0d038 device product:joan_global_com model:LG_H930 device:joan transport_id:1 [ +412 ms] C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell getprop [ +100 ms] ro.hardware = joan [ ] ro.build.characteristics = default [ +792 ms] Launching lib/main.dart on LG H930 in debug mode... [ +55 ms] Initializing gradle... [ ] Using gradle from D:\Projects\Test\foo\android\gradlew.bat. [ +126 ms] executing: D:\Projects\Test\foo\android\gradlew.bat -v [ +750 ms] ------------------------------------------------------------ Gradle 4.4 ------------------------------------------------------------ Build time: 2017-12-06 09:05:06 UTC Revision: cf7821a6f79f8e2a598df21780e3ff7ce8db2b82 Groovy: 2.4.12 Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b02) OS: Windows 10 10.0 amd64 [ ] Initializing gradle... (completed) [ ] Resolving dependencies... [ ] executing: [D:\Projects\Test\foo\android\] D:\Projects\Test\foo\android\gradlew.bat app:properties [+1214 ms] :app:properties ------------------------------------------------------------ Project :app ------------------------------------------------------------ allprojects: [project ':app'] android: com.android.build.gradle.AppExtension_Decorated@2bc48ae1 androidDependencies: task ':app:androidDependencies' ant: org.gradle.api.internal.project.DefaultAntBuilder@f12500d antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@535aeb5b archivesBaseName: app artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@5e49904d asDynamicObject: DynamicObject for project ':app' assemble: task ':app:assemble' assembleAndroidTest: task ':app:assembleAndroidTest' assembleDebug: task ':app:assembleDebug' assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest' assembleDebugUnitTest: task ':app:assembleDebugUnitTest' assembleDynamicProfile: task ':app:assembleDynamicProfile' assembleDynamicProfileUnitTest: task ':app:assembleDynamicProfileUnitTest' assembleDynamicRelease: task ':app:assembleDynamicRelease' assembleDynamicReleaseUnitTest: task ':app:assembleDynamicReleaseUnitTest' assembleProfile: task ':app:assembleProfile' assembleProfileUnitTest: task ':app:assembleProfileUnitTest' assembleRelease: task ':app:assembleRelease' assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest' baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@51d59ae7 buildDependents: task ':app:buildDependents' buildDir: D:\Projects\Test\foo\build\app buildFile: D:\Projects\Test\foo\android\app\build.gradle buildNeeded: task ':app:buildNeeded' buildOutputs: BaseVariantOutput container buildPath: : buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@4c5a2ae8 buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@485e000b bundleAppClassesDebug: task ':app:bundleAppClassesDebug' bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest' bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest' bundleAppClassesDynamicProfile: task ':app:bundleAppClassesDynamicProfile' bundleAppClassesDynamicProfileUnitTest: task ':app:bundleAppClassesDynamicProfileUnitTest' bundleAppClassesDynamicRelease: task ':app:bundleAppClassesDynamicRelease' bundleAppClassesDynamicReleaseUnitTest: task ':app:bundleAppClassesDynamicReleaseUnitTest' bundleAppClassesProfile: task ':app:bundleAppClassesProfile' bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest' bundleAppClassesRelease: task ':app:bundleAppClassesRelease' bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest' bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources' bundleDebugResources: task ':app:bundleDebugResources' bundleDynamicProfileResources: task ':app:bundleDynamicProfileResources' bundleDynamicReleaseResources: task ':app:bundleDynamicReleaseResources' bundleProfileResources: task ':app:bundleProfileResources' bundleReleaseResources: task ':app:bundleReleaseResources' check: task ':app:check' checkDebugManifest: task ':app:checkDebugManifest' checkDynamicProfileManifest: task ':app:checkDynamicProfileManifest' checkDynamicReleaseManifest: task ':app:checkDynamicReleaseManifest' checkProfileManifest: task ':app:checkProfileManifest' checkReleaseManifest: task ':app:checkReleaseManifest' childProjects: {} class: class org.gradle.api.internal.project.DefaultProject_Decorated classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@5a072ab5 cleanBuildCache: task ':app:cleanBuildCache' compileDebugAidl: task ':app:compileDebugAidl' compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl' compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac' compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk' compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript' compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders' compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources' compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac' compileDebugNdk: task ':app:compileDebugNdk' compileDebugRenderscript: task ':app:compileDebugRenderscript' compileDebugShaders: task ':app:compileDebugShaders' compileDebugSources: task ':app:compileDebugSources' compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac' compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources' compileDynamicProfileAidl: task ':app:compileDynamicProfileAidl' compileDynamicProfileJavaWithJavac: task ':app:compileDynamicProfileJavaWithJavac' compileDynamicProfileNdk: task ':app:compileDynamicProfileNdk' compileDynamicProfileRenderscript: task ':app:compileDynamicProfileRenderscript' compileDynamicProfileShaders: task ':app:compileDynamicProfileShaders' compileDynamicProfileSources: task ':app:compileDynamicProfileSources' compileDynamicProfileUnitTestJavaWithJavac: task ':app:compileDynamicProfileUnitTestJavaWithJavac' compileDynamicProfileUnitTestSources: task ':app:compileDynamicProfileUnitTestSources' compileDynamicReleaseAidl: task ':app:compileDynamicReleaseAidl' compileDynamicReleaseJavaWithJavac: task ':app:compileDynamicReleaseJavaWithJavac' compileDynamicReleaseNdk: task ':app:compileDynamicReleaseNdk' compileDynamicReleaseRenderscript: task ':app:compileDynamicReleaseRenderscript' compileDynamicReleaseShaders: task ':app:compileDynamicReleaseShaders' compileDynamicReleaseSources: task ':app:compileDynamicReleaseSources' compileDynamicReleaseUnitTestJavaWithJavac: task ':app:compileDynamicReleaseUnitTestJavaWithJavac' compileDynamicReleaseUnitTestSources: task ':app:compileDynamicReleaseUnitTestSources' compileLint: task ':app:compileLint' compileProfileAidl: task ':app:compileProfileAidl' compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac' compileProfileNdk: task ':app:compileProfileNdk' compileProfileRenderscript: task ':app:compileProfileRenderscript' compileProfileShaders: task ':app:compileProfileShaders' compileProfileSources: task ':app:compileProfileSources' compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac' compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources' compileReleaseAidl: task ':app:compileReleaseAidl' compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac' compileReleaseNdk: task ':app:compileReleaseNdk' compileReleaseRenderscript: task ':app:compileReleaseRenderscript' compileReleaseShaders: task ':app:compileReleaseShaders' compileReleaseSources: task ':app:compileReleaseSources' compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac' compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources' components: SoftwareComponentInternal set configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@277881b0 configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@3a68e2dd configurations: configuration container connectedAndroidTest: task ':app:connectedAndroidTest' connectedCheck: task ':app:connectedCheck' connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest' consumeConfigAttr: task ':app:consumeConfigAttr' convention: org.gradle.api.internal.plugins.DefaultConvention@20ee3c3 copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug' copyFlutterAssetsDynamicProfile: task ':app:copyFlutterAssetsDynamicProfile' copyFlutterAssetsDynamicRelease: task ':app:copyFlutterAssetsDynamicRelease' copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile' copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease' createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests' createDynamicProfileCompatibleScreenManifests: task ':app:createDynamicProfileCompatibleScreenManifests' createDynamicReleaseCompatibleScreenManifests: task ':app:createDynamicReleaseCompatibleScreenManifests' createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests' createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests' defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@613f33b5 defaultTasks: [] deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@2a94b23 dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@7faa2fa1 depth: 1 description: null deviceAndroidTest: task ':app:deviceAndroidTest' deviceCheck: task ':app:deviceCheck' displayName: project ':app' distsDir: D:\Projects\Test\foo\build\app\distributions distsDirName: distributions docsDir: D:\Projects\Test\foo\build\app\docs docsDirName: docs ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@acfdb6c extensions: org.gradle.api.internal.plugins.DefaultConvention@20ee3c3 extractProguardFiles: task ':app:extractProguardFiles' fileOperations: org.gradle.api.internal.file.DefaultFileOperations@12f5f31b fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@5acd5235 flutter: FlutterExtension_Decorated@74b4b9ea flutterBuildDebug: task ':app:flutterBuildDebug' flutterBuildDynamicProfile: task ':app:flutterBuildDynamicProfile' flutterBuildDynamicRelease: task ':app:flutterBuildDynamicRelease' flutterBuildProfile: task ':app:flutterBuildProfile' flutterBuildRelease: task ':app:flutterBuildRelease' flutterBuildX86Jar: task ':app:flutterBuildX86Jar' generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets' generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig' generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues' generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources' generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources' generateDebugAssets: task ':app:generateDebugAssets' generateDebugBuildConfig: task ':app:generateDebugBuildConfig' generateDebugResValues: task ':app:generateDebugResValues' generateDebugResources: task ':app:generateDebugResources' generateDebugSources: task ':app:generateDebugSources' generateDynamicProfileAssets: task ':app:generateDynamicProfileAssets' generateDynamicProfileBuildConfig: task ':app:generateDynamicProfileBuildConfig' generateDynamicProfileResValues: task ':app:generateDynamicProfileResValues' generateDynamicProfileResources: task ':app:generateDynamicProfileResources' generateDynamicProfileSources: task ':app:generateDynamicProfileSources' generateDynamicReleaseAssets: task ':app:generateDynamicReleaseAssets' generateDynamicReleaseBuildConfig: task ':app:generateDynamicReleaseBuildConfig' generateDynamicReleaseResValues: task ':app:generateDynamicReleaseResValues' generateDynamicReleaseResources: task ':app:generateDynamicReleaseResources' generateDynamicReleaseSources: task ':app:generateDynamicReleaseSources' generateProfileAssets: task ':app:generateProfileAssets' generateProfileBuildConfig: task ':app:generateProfileBuildConfig' generateProfileResValues: task ':app:generateProfileResValues' generateProfileResources: task ':app:generateProfileResources' generateProfileSources: task ':app:generateProfileSources' generateReleaseAssets: task ':app:generateReleaseAssets' generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig' generateReleaseResValues: task ':app:generateReleaseResValues' generateReleaseResources: task ':app:generateReleaseResources' generateReleaseSources: task ':app:generateReleaseSources' gradle: build 'android' group: android identityPath: :app inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@5418ab installDebug: task ':app:installDebug' installDebugAndroidTest: task ':app:installDebugAndroidTest' installDynamicProfile: task ':app:installDynamicProfile' installDynamicRelease: task ':app:installDynamicRelease' installProfile: task ':app:installProfile' installRelease: task ':app:installRelease' javaPreCompileDebug: task ':app:javaPreCompileDebug' javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest' javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest' javaPreCompileDynamicProfile: task ':app:javaPreCompileDynamicProfile' javaPreCompileDynamicProfileUnitTest: task ':app:javaPreCompileDynamicProfileUnitTest' javaPreCompileDynamicRelease: task ':app:javaPreCompileDynamicRelease' javaPreCompileDynamicReleaseUnitTest: task ':app:javaPreCompileDynamicReleaseUnitTest' javaPreCompileProfile: task ':app:javaPreCompileProfile' javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest' javaPreCompileRelease: task ':app:javaPreCompileRelease' javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest' layout: org.gradle.api.internal.file.DefaultProjectLayout@3d844e91 libsDir: D:\Projects\Test\foo\build\app\libs libsDirName: libs lint: task ':app:lint' lintDebug: task ':app:lintDebug' lintDynamicProfile: task ':app:lintDynamicProfile' lintDynamicRelease: task ':app:lintDynamicRelease' lintProfile: task ':app:lintProfile' lintRelease: task ':app:lintRelease' lintVitalRelease: task ':app:lintVitalRelease' logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@70eec3e8 logging: org.gradle.internal.logging.services.DefaultLoggingManager@d68efee mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug' mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest' mainApkListPersistenceDynamicProfile: task ':app:mainApkListPersistenceDynamicProfile' mainApkListPersistenceDynamicRelease: task ':app:mainApkListPersistenceDynamicRelease' mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile' mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease' mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets' mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders' mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources' mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders' mergeDebugAssets: task ':app:mergeDebugAssets' mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders' mergeDebugResources: task ':app:mergeDebugResources' mergeDebugShaders: task ':app:mergeDebugShaders' mergeDynamicProfileAssets: task ':app:mergeDynamicProfileAssets' mergeDynamicProfileJniLibFolders: task ':app:mergeDynamicProfileJniLibFolders' mergeDynamicProfileResources: task ':app:mergeDynamicProfileResources' mergeDynamicProfileShaders: task ':app:mergeDynamicProfileShaders' mergeDynamicReleaseAssets: task ':app:mergeDynamicReleaseAssets' mergeDynamicReleaseJniLibFolders: task ':app:mergeDynamicReleaseJniLibFolders' mergeDynamicReleaseResources: task ':app:mergeDynamicReleaseResources' mergeDynamicReleaseShaders: task ':app:mergeDynamicReleaseShaders' mergeProfileAssets: task ':app:mergeProfileAssets' mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders' mergeProfileResources: task ':app:mergeProfileResources' mergeProfileShaders: task ':app:mergeProfileShaders' mergeReleaseAssets: task ':app:mergeReleaseAssets' mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders' mergeReleaseResources: task ':app:mergeReleaseResources' mergeReleaseShaders: task ':app:mergeReleaseShaders' mockableAndroidJar: task ':app:mockableAndroidJar' modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@5cc26c40 modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@284debee module: org.gradle.api.internal.artifacts.ProjectBackedModule@665c5d98 name: app normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@7c73b633 objects: org.gradle.api.internal.model.DefaultObjectFactory@639c8fea org.gradle.jvmargs: -Xmx1536M packageDebug: task ':app:packageDebug' packageDebugAndroidTest: task ':app:packageDebugAndroidTest' packageDynamicProfile: task ':app:packageDynamicProfile' packageDynamicRelease: task ':app:packageDynamicRelease' packageProfile: task ':app:packageProfile' packageRelease: task ':app:packageRelease' parent: root project 'android' parentIdentifier: root project 'android' path: :app platformAttrExtractor: task ':app:platformAttrExtractor' pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@29410be8 plugins: [org.gradle.api.plugins.HelpTasksPlugin@6cfae469, com.android.build.gradle.api.AndroidBasePlugin@3c685362, org.gradle.language.base.plugins.LifecycleBasePlugin@5ef77c0a, org.gradle.api.plugins .BasePlugin@3b48e1c6, org.gradle.api.plugins.ReportingBasePlugin@7805ef9c, org.gradle.platform.base.plugins.ComponentBasePlugin@f289af0, org.gradle.language.base.plugins.LanguageBasePlugin@5806fd86, org.gradle.platform.b ase.plugins.BinaryBasePlugin@3ed7befe, org.gradle.api.plugins.JavaBasePlugin@2def01a, com.android.build.gradle.AppPlugin@37db5007, FlutterPlugin@55d5aa1] preBuild: task ':app:preBuild' preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild' preDebugBuild: task ':app:preDebugBuild' preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild' preDynamicProfileBuild: task ':app:preDynamicProfileBuild' preDynamicProfileUnitTestBuild: task ':app:preDynamicProfileUnitTestBuild' preDynamicReleaseBuild: task ':app:preDynamicReleaseBuild' preDynamicReleaseUnitTestBuild: task ':app:preDynamicReleaseUnitTestBuild' preProfileBuild: task ':app:preProfileBuild' preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild' preReleaseBuild: task ':app:preReleaseBuild' preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild' prepareLintJar: task ':app:prepareLintJar' preparePUBLISHED_DEXDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_DEXDebugAndroidTestForPublishing' preparePUBLISHED_DEXDebugForPublishing: task ':app:preparePUBLISHED_DEXDebugForPublishing' preparePUBLISHED_DEXDynamicProfileForPublishing: task ':app:preparePUBLISHED_DEXDynamicProfileForPublishing' preparePUBLISHED_DEXDynamicReleaseForPublishing: task ':app:preparePUBLISHED_DEXDynamicReleaseForPublishing' preparePUBLISHED_DEXProfileForPublishing: task ':app:preparePUBLISHED_DEXProfileForPublishing' preparePUBLISHED_DEXReleaseForPublishing: task ':app:preparePUBLISHED_DEXReleaseForPublishing' preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing' preparePUBLISHED_JAVA_RESDebugForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugForPublishing' preparePUBLISHED_JAVA_RESDynamicProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESDynamicProfileForPublishing' preparePUBLISHED_JAVA_RESDynamicReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESDynamicReleaseForPublishing' preparePUBLISHED_JAVA_RESProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESProfileForPublishing' preparePUBLISHED_JAVA_RESReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESReleaseForPublishing' preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing' preparePUBLISHED_NATIVE_LIBSDebugForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugForPublishing' preparePUBLISHED_NATIVE_LIBSDynamicProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDynamicProfileForPublishing' preparePUBLISHED_NATIVE_LIBSDynamicReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDynamicReleaseForPublishing' preparePUBLISHED_NATIVE_LIBSProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSProfileForPublishing' preparePUBLISHED_NATIVE_LIBSReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSReleaseForPublishing' processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes' processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest' processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources' processDebugJavaRes: task ':app:processDebugJavaRes' processDebugManifest: task ':app:processDebugManifest' processDebugResources: task ':app:processDebugResources' processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes' processDynamicProfileJavaRes: task ':app:processDynamicProfileJavaRes' processDynamicProfileManifest: task ':app:processDynamicProfileManifest' processDynamicProfileResources: task ':app:processDynamicProfileResources' processDynamicProfileUnitTestJavaRes: task ':app:processDynamicProfileUnitTestJavaRes' processDynamicReleaseJavaRes: task ':app:processDynamicReleaseJavaRes' processDynamicReleaseManifest: task ':app:processDynamicReleaseManifest' processDynamicReleaseResources: task ':app:processDynamicReleaseResources' processDynamicReleaseUnitTestJavaRes: task ':app:processDynamicReleaseUnitTestJavaRes' processOperations: org.gradle.api.internal.file.DefaultFileOperations@12f5f31b processProfileJavaRes: task ':app:processProfileJavaRes' processProfileManifest: task ':app:processProfileManifest' processProfileResources: task ':app:processProfileResources' processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes' processReleaseJavaRes: task ':app:processReleaseJavaRes' processReleaseManifest: task ':app:processReleaseManifest' processReleaseResources: task ':app:processReleaseResources' processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes' project: project ':app' projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@66aed2ec projectDir: D:\Projects\Test\foo\android\app projectEvaluationBroadcaster: ProjectEvaluationListener broadcast projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@78d2224 projectPath: :app projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@e91ee0 properties: {...} providers: org.gradle.api.internal.provider.DefaultProviderFactory@3600db51 reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug' reportBuildArtifactsDynamicProfile: task ':app:reportBuildArtifactsDynamicProfile' reportBuildArtifactsDynamicRelease: task ':app:reportBuildArtifactsDynamicRelease' reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile' reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease' reporting: org.gradle.api.reporting.ReportingExtension_Decorated@21565b5e reportsDir: D:\Projects\Test\foo\build\app\reports repositories: repository container resolveConfigAttr: task ':app:resolveConfigAttr' resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@31ffd42a resources: org.gradle.api.internal.resources.DefaultResourceHandler@5f0d5c33 rootDir: D:\Projects\Test\foo\android rootProject: root project 'android' script: false scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@17db472c scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@4c46222 serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@4bd5a814 services: ProjectScopeServices signingReport: task ':app:signingReport' sourceCompatibility: 1.8 sourceSets: SourceSet container splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug' splitsDiscoveryTaskDynamicProfile: task ':app:splitsDiscoveryTaskDynamicProfile' splitsDiscoveryTaskDynamicRelease: task ':app:splitsDiscoveryTaskDynamicRelease' splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile' splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease' standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@d68efee state: project state 'EXECUTED' status: integration subprojects: [] targetCompatibility: 1.8 tasks: task set test: task ':app:test' testDebugUnitTest: task ':app:testDebugUnitTest' testDynamicProfileUnitTest: task ':app:testDynamicProfileUnitTest' testDynamicReleaseUnitTest: task ':app:testDynamicReleaseUnitTest' testProfileUnitTest: task ':app:testProfileUnitTest' testReleaseUnitTest: task ':app:testReleaseUnitTest' testReportDir: D:\Projects\Test\foo\build\app\reports\tests testReportDirName: tests testResultsDir: D:\Projects\Test\foo\build\app\test-results testResultsDirName: test-results transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug' transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest' transformClassesWithDexBuilderForDynamicProfile: task ':app:transformClassesWithDexBuilderForDynamicProfile' transformClassesWithDexBuilderForDynamicRelease: task ':app:transformClassesWithDexBuilderForDynamicRelease' transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile' transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease' transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug' transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest' transformDexArchiveWithDexMergerForDynamicProfile: task ':app:transformDexArchiveWithDexMergerForDynamicProfile' transformDexArchiveWithDexMergerForDynamicRelease: task ':app:transformDexArchiveWithDexMergerForDynamicRelease' transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile' transformDexArchiveWithDexMergerForRelease: task ':app:transformDexArchiveWithDexMergerForRelease' transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest' transformDexArchiveWithExternalLibsDexMergerForDynamicProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicProfile' transformDexArchiveWithExternalLibsDexMergerForDynamicRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicRelease' transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile' transformDexArchiveWithExternalLibsDexMergerForRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease' transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug' transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest' transformNativeLibsWithMergeJniLibsForDynamicProfile: task ':app:transformNativeLibsWithMergeJniLibsForDynamicProfile' transformNativeLibsWithMergeJniLibsForDynamicRelease: task ':app:transformNativeLibsWithMergeJniLibsForDynamicRelease' transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile' transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease' transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug' transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest' transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest' transformResourcesWithMergeJavaResForDynamicProfile: task ':app:transformResourcesWithMergeJavaResForDynamicProfile' transformResourcesWithMergeJavaResForDynamicProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicProfileUnitTest' transformResourcesWithMergeJavaResForDynamicRelease: task ':app:transformResourcesWithMergeJavaResForDynamicRelease' transformResourcesWithMergeJavaResForDynamicReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicReleaseUnitTest' transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile' transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest' transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease' transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest' uninstallAll: task ':app:uninstallAll' uninstallDebug: task ':app:uninstallDebug' uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest' uninstallDynamicProfile: task ':app:uninstallDynamicProfile' uninstallDynamicRelease: task ':app:uninstallDynamicRelease' uninstallProfile: task ':app:uninstallProfile' uninstallRelease: task ':app:uninstallRelease' validateSigningDebug: task ':app:validateSigningDebug' validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest' validateSigningDynamicProfile: task ':app:validateSigningDynamicProfile' validateSigningDynamicRelease: task ':app:validateSigningDynamicRelease' validateSigningProfile: task ':app:validateSigningProfile' validateSigningRelease: task ':app:validateSigningRelease' version: unspecified writeDebugApplicationId: task ':app:writeDebugApplicationId' writeDynamicProfileApplicationId: task ':app:writeDynamicProfileApplicationId' writeDynamicReleaseApplicationId: task ':app:writeDynamicReleaseApplicationId' writeProfileApplicationId: task ':app:writeProfileApplicationId' writeReleaseApplicationId: task ':app:writeReleaseApplicationId' BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed [ +10 ms] Resolving dependencies... (completed) [ +4 ms] executing: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ +22 ms] Exit code 0 from: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: package="com.example.foo" (Raw: "com.example.foo") E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b E: uses-permission (line=16) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=24) A: android:label(0x01010001)="foo" (Raw: "foo") A: android:icon(0x01010002)=@0x7f020000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff E: activity (line=29) A: android:theme(0x01010000)=@0x7f030000 A: android:name(0x01010003)="com.example.foo.MainActivity" (Raw: "com.example.foo.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=43) A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame") A: android:value(0x01010024)=(type 0x12)0xffffffff E: intent-filter (line=47) E: action (line=48) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=50) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") [ +16 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 logcat -v time -t 1 [ +159 ms] Exit code 0 from: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 logcat -v time -t 1 [ +4 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 logcat -v time [ +325 ms] DependencyChecker: D:\Projects\Test\foo\lib\main.dart is newer than 2018-09-08 20:30:20.000 [ +4 ms] executing: C:\Development\Android\Sdk\platform-tools\adb version [ +36 ms] Android Debug Bridge version 1.0.40 Version 4986621 Installed as C:\Development\Android\Sdk\platform-tools\adb.EXE [ +2 ms] executing: C:\Development\Android\Sdk\platform-tools\adb start-server [ +21 ms] Building APK [ +11 ms] Running 'gradlew assembleDebug'... [ +1 ms] executing: [D:\Projects\Test\foo\android\] D:\Projects\Test\foo\android\gradlew.bat -Pverbose=true -Ptarget=D:\Projects\Test\foo\lib/main.dart -Ptarget-platform=android-arm64 assembleDebug [+1140 ms] :app:flutterBuildX86Jar UP-TO-DATE [ ] :app:preBuild UP-TO-DATE [ +9 ms] :app:preDebugBuild UP-TO-DATE [ ] :app:compileDebugAidl UP-TO-DATE [ ] :app:compileDebugRenderscript UP-TO-DATE [ ] :app:checkDebugManifest UP-TO-DATE [ +9 ms] :app:generateDebugBuildConfig UP-TO-DATE [ ] :app:prepareLintJar UP-TO-DATE [ +10 ms] :app:cleanMergeDebugAssets [+1488 ms] :app:flutterBuildDebug [ ] [ +15 ms] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +73 ms] [ +98 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/master [ ] [ ] executing: [C:\Development\Flutter\] git rev-parse --abbrev-ref HEAD [ +31 ms] [ +35 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] master [ ] [ ] executing: [C:\Development\Flutter\] git ls-remote --get-url origin [ +31 ms] [ +34 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ ] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%H [ +42 ms] [ +38 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] [ ] ed698b81650eb66a49f37a43a915e80271e0ce04 [ ] [ ] executing: [C:\Development\Flutter\] git log -n 1 --pretty=format:%ar [ +32 ms] [ +35 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] [ ] 13 hours ago [ ] [ ] executing: [C:\Development\Flutter\] git describe --match v*.*.* --first-parent --long --tags [ +42 ms] [ +42 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] [ ] v0.8.1-17-ged698b816 [ +831 ms] [ +828 ms] C:\Development\Flutter\bin\cache\dart-sdk\bin\dart C:\Development\Flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Development\Flutter\bin\cache\artifacts\e ngine\common\flutter_patched_sdk/ --strong --target=flutter --no-link-platform --incremental --packages D:\Projects\Test\foo\.packages --output-dill build\app.dill --depfile D:\Projects\Test\foo\build\app\intermediates\f lutter\debug/snapshot_blob.bin.d --filesystem-scheme org-dartlang-root D:\Projects\Test\foo\lib/main.dart [+2192 ms] [+2193 ms] Building bundle [ ] [ ] Writing asset files to D:\Projects\Test\foo\build\app\intermediates\flutter\debug/flutter_assets [ +73 ms] [ +67 ms] Wrote D:\Projects\Test\foo\build\app\intermediates\flutter\debug/flutter_assets [ +10 ms] [ +14 ms] "flutter bundle" took 2,938ms. [ +109 ms] :app:mergeDebugShaders UP-TO-DATE [ ] :app:compileDebugShaders UP-TO-DATE [ ] :app:generateDebugAssets UP-TO-DATE [ +9 ms] :app:mergeDebugAssets [ +195 ms] :app:copyFlutterAssetsDebug [ ] :app:mainApkListPersistenceDebug UP-TO-DATE [ ] :app:generateDebugResValues UP-TO-DATE [ ] :app:generateDebugResources UP-TO-DATE [ ] :app:mergeDebugResources UP-TO-DATE [ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE [ +7 ms] :app:processDebugManifest UP-TO-DATE [ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE [ ] :app:processDebugResources UP-TO-DATE [ ] :app:generateDebugSources UP-TO-DATE [ ] :app:javaPreCompileDebug UP-TO-DATE [ +9 ms] :app:compileDebugJavaWithJavac UP-TO-DATE [ ] :app:compileDebugNdk NO-SOURCE [ ] :app:compileDebugSources UP-TO-DATE [ +10 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE [ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE [ ] :app:mergeDebugJniLibFolders UP-TO-DATE [ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :app:processDebugJavaRes NO-SOURCE [ +9 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :app:validateSigningDebug UP-TO-DATE [ ] :app:packageDebug UP-TO-DATE [ ] :app:assembleDebug UP-TO-DATE [ ] BUILD SUCCESSFUL in 6s [ ] 30 actionable tasks: 4 executed, 26 up-to-date [ +423 ms] Running 'gradlew assembleDebug'... (completed) [ +19 ms] calculateSha: LocalDirectory: 'D:\Projects\Test\foo\build\app\outputs\apk'/app.apk [ +400 ms] Built build\app\outputs\apk\debug\app-debug.apk. [ +1 ms] executing: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ +19 ms] Exit code 0 from: C:\Development\Android\Sdk\build-tools\28.0.2\aapt dump xmltree D:\Projects\Test\foo\build\app\outputs\apk\app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: package="com.example.foo" (Raw: "com.example.foo") E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b E: uses-permission (line=16) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=24) A: android:label(0x01010001)="foo" (Raw: "foo") A: android:icon(0x01010002)=@0x7f020000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff E: activity (line=29) A: android:theme(0x01010000)=@0x7f030000 A: android:name(0x01010003)="com.example.foo.MainActivity" (Raw: "com.example.foo.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=43) A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame") A: android:value(0x01010024)=(type 0x12)0xffffffff E: intent-filter (line=47) E: action (line=48) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=50) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") [ ] Stopping app 'app.apk' on LG H930. [ +1 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell am force-stop com.example.foo [ +223 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell pm list packages com.example.foo [ +438 ms] package:com.example.foo [ +9 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell cat /data/local/tmp/sky.com.example.foo.sha1 [ +75 ms] 19f4127d1c1fff6fd7315520a96e835a9b3762e4 [ ] Latest build already installed. [ ] LG H930 startApp [ +1 ms] executing: C:\Development\Android\Sdk\platform-tools\adb -s LGH930d3d0d038 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.example.foo/com.example.foo.MainActivity [ +113 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.foo/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (Channel master, v0.8.2-pre.17, on Microsoft Windows [Version 10.0.17134.1], locale en-HK) • Flutter version 0.8.2-pre.17 at C:\Development\Flutter • Framework revision ed698b8165 (13 hours ago), 2018-09-07 16:46:44 -0700 • Engine revision 58a1894a1c • Dart version 2.1.0-dev.3.1.flutter-760a9690c2 [√] Android toolchain - develop for Android devices (Android SDK 28.0.2) • Android SDK at C:\Development\Android\Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.2 • ANDROID_HOME = C:\Development\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) • All Android licenses accepted. [√] Android Studio (version 3.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 28.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) [√] IntelliJ IDEA Ultimate Edition (version 2018.2) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3 • Flutter plugin version 28.0.4 • Dart plugin version 182.4323.44 [√] VS Code (version 1.27.1) • VS Code at C:\Users\alexm\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 2.18.0 [√] Connected devices (1 available) • LG H930 • LGH[redacted] • android-arm64 • Android 8.0.0 (API 26) • No issues found!"><pre class="notranslate"><code class="notranslate">[√] Flutter (Channel master, v0.8.2-pre.17, on Microsoft Windows [Version 10.0.17134.1], locale en-HK) • Flutter version 0.8.2-pre.17 at C:\Development\Flutter • Framework revision ed698b8165 (13 hours ago), 2018-09-07 16:46:44 -0700 • Engine revision 58a1894a1c • Dart version 2.1.0-dev.3.1.flutter-760a9690c2 [√] Android toolchain - develop for Android devices (Android SDK 28.0.2) • Android SDK at C:\Development\Android\Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.2 • ANDROID_HOME = C:\Development\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) • All Android licenses accepted. [√] Android Studio (version 3.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 28.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) [√] IntelliJ IDEA Ultimate Edition (version 2018.2) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3 • Flutter plugin version 28.0.4 • Dart plugin version 182.4323.44 [√] VS Code (version 1.27.1) • VS Code at C:\Users\alexm\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 2.18.0 [√] Connected devices (1 available) • LG H930 • LGH[redacted] • android-arm64 • Android 8.0.0 (API 26) • No issues found! </code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li>when debugging or pressing f5, the screen goes blank</li> <li>Esto pasa en todos los proyectos</li> <li>it does not perform hot recharging and it does not show the result of the purification</li> </ol> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter run --verbose [ +58 ms] [C:\sdk2\flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +82 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ +1 ms] origin/beta [ +1 ms] [C:\sdk2\flutter\] git rev-parse --abbrev-ref HEAD [ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] beta [ ] [C:\sdk2\flutter\] git ls-remote --get-url origin [ +30 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ ] [C:\sdk2\flutter\] git log -n 1 --pretty=format:%H [ +41 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b [ ] [C:\sdk2\flutter\] git log -n 1 --pretty=format:%ar [ +37 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ +6 ms] 4 weeks ago [ +1 ms] [C:\sdk2\flutter\] git describe --match v*.*.* --first-parent --long --tags [ +87 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v0.5.1-0-gc7ea3ca37 [ +282 ms] C:\Android\sdk\platform-tools\adb devices -l [ +581 ms] Exit code 0 from: C:\Android\sdk\platform-tools\adb devices -l [ ] List of devices attached FM6DCMYT4DEMIV7H device product:Ilium_L910 model:Ilium_L910 device:Ilium_L910 transport_id:3 [ +261 ms] Found plugin path_provider at C:\sdk2\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-0.4.1\ [ +138 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell getprop [ +237 ms] ro.hardware = mt6735 [ +1 ms] ro.build.characteristics = default [+1246 ms] Launching lib/main.dart on Ilium L910 in debug mode... [ +22 ms] Initializing gradle... [ +1 ms] Using gradle from C:\Proyectos\prueba22\android\gradlew.bat. [ +143 ms] C:\Proyectos\prueba22\android\gradlew.bat -v [+1176 ms] ------------------------------------------------------------ Gradle 4.1 ------------------------------------------------------------ Build time: 2017-08-07 14:38:48 UTC Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2 Groovy: 2.4.11 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b02) OS: Windows 10 10.0 amd64 [ +2 ms] Resolving dependencies... [ +3 ms] [android\] C:\Proyectos\prueba22\android\gradlew.bat app:properties [+4913 ms] :app:properties ------------------------------------------------------------ Project :app ------------------------------------------------------------ allprojects: [project ':app'] android: com.android.build.gradle.AppExtension_Decorated@67a14dce androidDependencies: task ':app:androidDependencies' ant: org.gradle.api.internal.project.DefaultAntBuilder@5650df37 antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@29db6352 archivesBaseName: app artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@7357620e asDynamicObject: DynamicObject for project ':app' assemble: task ':app:assemble' assembleAndroidTest: task ':app:assembleAndroidTest' assembleDebug: task ':app:assembleDebug' assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest' assembleDebugUnitTest: task ':app:assembleDebugUnitTest' assembleProfile: task ':app:assembleProfile' assembleProfileUnitTest: task ':app:assembleProfileUnitTest' assembleRelease: task ':app:assembleRelease' assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest' baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@1e759e97 buildDependents: task ':app:buildDependents' buildDir: C:\Proyectos\prueba22\build\app buildFile: C:\Proyectos\prueba22\android\app\build.gradle buildNeeded: task ':app:buildNeeded' buildOutputs: BaseVariantOutput container buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@4e0c4309 buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@3c3f7869 bundleAppClassesDebug: task ':app:bundleAppClassesDebug' bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest' bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest' bundleAppClassesProfile: task ':app:bundleAppClassesProfile' bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest' bundleAppClassesRelease: task ':app:bundleAppClassesRelease' bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest' check: task ':app:check' checkDebugManifest: task ':app:checkDebugManifest' checkProfileManifest: task ':app:checkProfileManifest' checkReleaseManifest: task ':app:checkReleaseManifest' childProjects: {} class: class org.gradle.api.internal.project.DefaultProject_Decorated classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@74b03af2 cleanBuildCache: task ':app:cleanBuildCache' compileDebugAidl: task ':app:compileDebugAidl' compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl' compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac' compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk' compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript' compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders' compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources' compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac' compileDebugNdk: task ':app:compileDebugNdk' compileDebugRenderscript: task ':app:compileDebugRenderscript' compileDebugShaders: task ':app:compileDebugShaders' compileDebugSources: task ':app:compileDebugSources' compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac' compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources' compileLint: task ':app:compileLint' compileProfileAidl: task ':app:compileProfileAidl' compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac' compileProfileNdk: task ':app:compileProfileNdk' compileProfileRenderscript: task ':app:compileProfileRenderscript' compileProfileShaders: task ':app:compileProfileShaders' compileProfileSources: task ':app:compileProfileSources' compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac' compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources' compileReleaseAidl: task ':app:compileReleaseAidl' compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac' compileReleaseNdk: task ':app:compileReleaseNdk' compileReleaseRenderscript: task ':app:compileReleaseRenderscript' compileReleaseShaders: task ':app:compileReleaseShaders' compileReleaseSources: task ':app:compileReleaseSources' compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac' compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources' components: SoftwareComponentInternal set configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@460393d5 configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@6a3b8417 configurations: configuration container connectedAndroidTest: task ':app:connectedAndroidTest' connectedCheck: task ':app:connectedCheck' connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest' consumeConfigAttr: task ':app:consumeConfigAttr' convention: org.gradle.api.internal.plugins.DefaultConvention@2d804509 copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug' copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile' copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease' createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests' createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests' createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests' defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@58128de1 defaultTasks: [] deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@2d5300d dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@3478077c depth: 1 description: null deviceAndroidTest: task ':app:deviceAndroidTest' deviceCheck: task ':app:deviceCheck' displayName: project ':app' distsDir: C:\Proyectos\prueba22\build\app\distributions distsDirName: distributions docsDir: C:\Proyectos\prueba22\build\app\docs docsDirName: docs ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@1bffa4f7 extensions: org.gradle.api.internal.plugins.DefaultConvention@2d804509 extractProguardFiles: task ':app:extractProguardFiles' fileOperations: org.gradle.api.internal.file.DefaultFileOperations@57ce5fec fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@7cb05840 flutter: FlutterExtension_Decorated@807f34d flutterBuildDebug: task ':app:flutterBuildDebug' flutterBuildProfile: task ':app:flutterBuildProfile' flutterBuildRelease: task ':app:flutterBuildRelease' flutterBuildX86Jar: task ':app:flutterBuildX86Jar' generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets' generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig' generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues' generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources' generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources' generateDebugAssets: task ':app:generateDebugAssets' generateDebugBuildConfig: task ':app:generateDebugBuildConfig' generateDebugResValues: task ':app:generateDebugResValues' generateDebugResources: task ':app:generateDebugResources' generateDebugSources: task ':app:generateDebugSources' generateProfileAssets: task ':app:generateProfileAssets' generateProfileBuildConfig: task ':app:generateProfileBuildConfig' generateProfileResValues: task ':app:generateProfileResValues' generateProfileResources: task ':app:generateProfileResources' generateProfileSources: task ':app:generateProfileSources' generateReleaseAssets: task ':app:generateReleaseAssets' generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig' generateReleaseResValues: task ':app:generateReleaseResValues' generateReleaseResources: task ':app:generateReleaseResources' generateReleaseSources: task ':app:generateReleaseSources' gradle: build 'android' group: android identityPath: :app inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@6e3926a6 installDebug: task ':app:installDebug' installDebugAndroidTest: task ':app:installDebugAndroidTest' installProfile: task ':app:installProfile' installRelease: task ':app:installRelease' javaPreCompileDebug: task ':app:javaPreCompileDebug' javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest' javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest' javaPreCompileProfile: task ':app:javaPreCompileProfile' javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest' javaPreCompileRelease: task ':app:javaPreCompileRelease' javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest' layout: org.gradle.api.internal.file.DefaultProjectLayout@4b2d25b2 libsDir: C:\Proyectos\prueba22\build\app\libs libsDirName: libs lint: task ':app:lint' lintDebug: task ':app:lintDebug' lintProfile: task ':app:lintProfile' lintRelease: task ':app:lintRelease' lintVitalRelease: task ':app:lintVitalRelease' logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@71cd816d logging: org.gradle.internal.logging.services.DefaultLoggingManager@35a106cf mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets' mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders' mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources' mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders' mergeDebugAssets: task ':app:mergeDebugAssets' mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders' mergeDebugResources: task ':app:mergeDebugResources' mergeDebugShaders: task ':app:mergeDebugShaders' mergeProfileAssets: task ':app:mergeProfileAssets' mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders' mergeProfileResources: task ':app:mergeProfileResources' mergeProfileShaders: task ':app:mergeProfileShaders' mergeReleaseAssets: task ':app:mergeReleaseAssets' mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders' mergeReleaseResources: task ':app:mergeReleaseResources' mergeReleaseShaders: task ':app:mergeReleaseShaders' mockableAndroidJar: task ':app:mockableAndroidJar' modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@28b16ad modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@6a1e1226 module: org.gradle.api.internal.artifacts.ProjectBackedModule@13a41866 name: app normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@25200c4c objects: org.gradle.api.internal.model.DefaultObjectFactory@7b936b19 org.gradle.jvmargs: -Xmx1536M packageDebug: task ':app:packageDebug' packageDebugAndroidTest: task ':app:packageDebugAndroidTest' packageProfile: task ':app:packageProfile' packageRelease: task ':app:packageRelease' parent: root project 'android' parentIdentifier: root project 'android' path: :app platformAttrExtractor: task ':app:platformAttrExtractor' pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@702adef plugins: [org.gradle.api.plugins.HelpTasksPlugin@7eeb1943, com.android.build.gradle.api.AndroidBasePlugin@44c109d, org.gradle.language.base.plugins.LifecycleBasePlugin@53973cdc, org.gradle.api.plugins.BasePlugin@40bbeb24, org.gradle.api.plugins.ReportingBasePlugin@32ffdf9d, org.gradle.platform.base.plugins.ComponentBasePlugin@40c0e808, org.gradle.language.base.plugins.LanguageBasePlugin@c8fd4ba, org.gradle.platform.base.plugins.BinaryBasePlugin@106fa86, org.gradle.api.plugins.JavaBasePlugin@14e991cc, com.android.build.gradle.internal.coverage.JacocoPlugin@1bc57196, com.android.build.gradle.AppPlugin@68aef9cb, FlutterPlugin@afab2e6] preBuild: task ':app:preBuild' preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild' preDebugBuild: task ':app:preDebugBuild' preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild' preProfileBuild: task ':app:preProfileBuild' preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild' preReleaseBuild: task ':app:preReleaseBuild' preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild' prepareLintJar: task ':app:prepareLintJar' processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes' processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest' processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources' processDebugJavaRes: task ':app:processDebugJavaRes' processDebugManifest: task ':app:processDebugManifest' processDebugResources: task ':app:processDebugResources' processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes' processOperations: org.gradle.api.internal.file.DefaultFileOperations@57ce5fec processProfileJavaRes: task ':app:processProfileJavaRes' processProfileManifest: task ':app:processProfileManifest' processProfileResources: task ':app:processProfileResources' processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes' processReleaseJavaRes: task ':app:processReleaseJavaRes' processReleaseManifest: task ':app:processReleaseManifest' processReleaseResources: task ':app:processReleaseResources' processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes' project: project ':app' projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@3a2854be projectDir: C:\Proyectos\prueba22\android\app projectEvaluationBroadcaster: ProjectEvaluationListener broadcast projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@604c1328 projectPath: :app projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@45ab3101 properties: {...} providers: org.gradle.api.internal.provider.DefaultProviderFactory@51ad67c9 reporting: org.gradle.api.reporting.ReportingExtension_Decorated@5754918e reportsDir: C:\Proyectos\prueba22\build\app\reports repositories: repository container resolveConfigAttr: task ':app:resolveConfigAttr' resources: org.gradle.api.internal.resources.DefaultResourceHandler@2fa1b27e rootDir: C:\Proyectos\prueba22\android rootProject: root project 'android' scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@2f7431f1 scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@33cb2e27 serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@40e00131 services: ProjectScopeServices signingReport: task ':app:signingReport' sourceCompatibility: 1.8 sourceSets: SourceSet container splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug' splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest' splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile' splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease' standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@35a106cf state: project state 'EXECUTED' status: integration subprojects: [] targetCompatibility: 1.8 tasks: task set test: task ':app:test' testDebugUnitTest: task ':app:testDebugUnitTest' testProfileUnitTest: task ':app:testProfileUnitTest' testReleaseUnitTest: task ':app:testReleaseUnitTest' testReportDir: C:\Proyectos\prueba22\build\app\reports\tests testReportDirName: tests testResultsDir: C:\Proyectos\prueba22\build\app\test-results testResultsDirName: test-results transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug' transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest' transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile' transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease' transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug' transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest' transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile' transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest' transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile' transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease' transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug' transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest' transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile' transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease' transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug' transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest' transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest' transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile' transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest' transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease' transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest' uninstallAll: task ':app:uninstallAll' uninstallDebug: task ':app:uninstallDebug' uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest' uninstallProfile: task ':app:uninstallProfile' uninstallRelease: task ':app:uninstallRelease' validateSigningDebug: task ':app:validateSigningDebug' validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest' validateSigningProfile: task ':app:validateSigningProfile' validateSigningRelease: task ':app:validateSigningRelease' version: unspecified writeDebugApplicationId: task ':app:writeDebugApplicationId' writeProfileApplicationId: task ':app:writeProfileApplicationId' writeReleaseApplicationId: task ':app:writeReleaseApplicationId' BUILD SUCCESSFUL in 4s 1 actionable task: 1 executed [ +15 ms] C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ +127 ms] Exit code 0 from: C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ +1 ms] package: name='com.example.prueba22' versionCode='1' versionName='1.0' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' application-label:'prueba22' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='prueba22' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='com.example.prueba22.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +8 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H logcat -v time -t 1 [ +238 ms] Exit code 0 from: C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H logcat -v time -t 1 [ ] --------- beginning of main 06-27 17:13:03.517 D/wpa_supplicant( 1320): CTRL_IFACE monitor sent successfully to /data/misc/wifi/sockets/wpa_ctrl_877-2\x00 [ +3 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H logcat -v time [ +738 ms] DependencyChecker: C:\Proyectos\prueba22\lib\main.dart is newer than 2018-06-26 18:56:20.000 [ +6 ms] C:\Android\sdk\platform-tools\adb version [ +51 ms] Android Debug Bridge version 1.0.40 Version 4797878 Installed as C:\Android\sdk\platform-tools\adb.EXE [ +5 ms] C:\Android\sdk\platform-tools\adb start-server [ +375 ms] Building APK [ +9 ms] Running 'gradlew assembleDebug'... [ +3 ms] [android\] C:\Proyectos\prueba22\android\gradlew.bat -Ptarget=C:\Proyectos\prueba22\lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [+3004 ms] :app:preBuild UP-TO-DATE [ +2 ms] :path_provider:preBuild UP-TO-DATE [ +11 ms] :path_provider:preDebugBuild UP-TO-DATE [ +19 ms] :path_provider:checkDebugManifest UP-TO-DATE [ ] :path_provider:processDebugManifest UP-TO-DATE [ ] :app:preDebugBuild UP-TO-DATE [ +19 ms] :path_provider:compileDebugAidl UP-TO-DATE [ +4 ms] :app:compileDebugAidl UP-TO-DATE [ +106 ms] :path_provider:packageDebugRenderscript NO-SOURCE [ +25 ms] :app:compileDebugRenderscript UP-TO-DATE [ +1 ms] :app:flutterBuildX86Jar UP-TO-DATE [ +8 ms] :app:checkDebugManifest UP-TO-DATE [ +49 ms] :app:generateDebugBuildConfig UP-TO-DATE [ +10 ms] :app:prepareLintJar UP-TO-DATE [ +1 ms] :app:cleanMergeDebugAssets [+10463 ms] :app:flutterBuildDebug [ +52 ms] :app:mergeDebugShaders UP-TO-DATE [ +1 ms] :app:compileDebugShaders UP-TO-DATE [ +1 ms] :app:generateDebugAssets UP-TO-DATE [ +15 ms] :path_provider:mergeDebugShaders UP-TO-DATE [ +11 ms] :path_provider:compileDebugShaders UP-TO-DATE [ +3 ms] :path_provider:generateDebugAssets UP-TO-DATE [ +3 ms] :path_provider:mergeDebugAssets UP-TO-DATE [ +34 ms] :app:mergeDebugAssets [ +269 ms] :app:copyFlutterAssetsDebug [ +13 ms] :app:generateDebugResValues UP-TO-DATE [ +1 ms] :app:generateDebugResources UP-TO-DATE [ +11 ms] :path_provider:compileDebugRenderscript UP-TO-DATE [ +1 ms] :path_provider:generateDebugResValues UP-TO-DATE [ ] :path_provider:generateDebugResources UP-TO-DATE [ +9 ms] :path_provider:packageDebugResources UP-TO-DATE [ +40 ms] :app:mergeDebugResources UP-TO-DATE [ +4 ms] :app:createDebugCompatibleScreenManifests UP-TO-DATE [ +21 ms] :app:processDebugManifest UP-TO-DATE [ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE [ +32 ms] :path_provider:platformAttrExtractor UP-TO-DATE [ +11 ms] :path_provider:processDebugResources UP-TO-DATE [ +28 ms] :app:processDebugResources UP-TO-DATE [ +1 ms] :app:generateDebugSources UP-TO-DATE [ +2 ms] :path_provider:generateDebugBuildConfig UP-TO-DATE [ +10 ms] :path_provider:prepareLintJar UP-TO-DATE [ +2 ms] :path_provider:generateDebugSources UP-TO-DATE [ ] :path_provider:javaPreCompileDebug UP-TO-DATE [ +20 ms] :path_provider:compileDebugJavaWithJavac UP-TO-DATE [ +13 ms] :path_provider:processDebugJavaRes NO-SOURCE [ ] :path_provider:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ +72 ms] :app:javaPreCompileDebug UP-TO-DATE [ +59 ms] :app:compileDebugJavaWithJavac UP-TO-DATE [ +4 ms] :app:compileDebugNdk NO-SOURCE [ ] :app:compileDebugSources UP-TO-DATE [ +22 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ +17 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE [ +15 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE [ +3 ms] :app:mergeDebugJniLibFolders UP-TO-DATE [ +5 ms] :path_provider:compileDebugNdk NO-SOURCE [ +7 ms] :path_provider:mergeDebugJniLibFolders UP-TO-DATE [ +5 ms] :path_provider:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ +9 ms] :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ +18 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ +22 ms] :app:processDebugJavaRes NO-SOURCE [ +10 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ +2 ms] :app:validateSigningDebug [+5448 ms] :app:packageDebug [ +1 ms] :app:assembleDebug [ +21 ms] :path_provider:extractDebugAnnotations UP-TO-DATE [ +9 ms] :path_provider:mergeDebugConsumerProguardFiles UP-TO-DATE [ +3 ms] :path_provider:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ +19 ms] :path_provider:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ +42 ms] :path_provider:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ +7 ms] :path_provider:bundleDebug UP-TO-DATE [ +14 ms] :path_provider:compileDebugSources UP-TO-DATE [ ] :path_provider:assembleDebug UP-TO-DATE [ +1 ms] BUILD SUCCESSFUL in 19s [ +1 ms] 54 actionable tasks: 6 executed, 48 up-to-date [ +821 ms] calculateSha: C:\Proyectos\prueba22\build\app\outputs\apk/app.apk [ +719 ms] Built build\app\outputs\apk\debug\app-debug.apk. [ +2 ms] C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ +20 ms] Exit code 0 from: C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ ] package: name='com.example.prueba22' versionCode='1' versionName='1.0' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' application-label:'prueba22' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='prueba22' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='com.example.prueba22.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +2 ms] Stopping app 'app.apk' on Ilium L910. [ +5 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell am force-stop com.example.prueba22 [+1488 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell pm list packages com.example.prueba22 [+1138 ms] package:com.example.prueba22 [ +4 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell cat /data/local/tmp/sky.com.example.prueba22.sha1 [ +367 ms] 4a75ce69b7f9850b5f6eb4a6f944a51fb1e2c1e9 [ +1 ms] Installing APK. [ +6 ms] C:\Android\sdk\platform-tools\adb version [ +43 ms] Android Debug Bridge version 1.0.40 Version 4797878 Installed as C:\Android\sdk\platform-tools\adb.EXE [ +4 ms] C:\Android\sdk\platform-tools\adb start-server [ +200 ms] Installing build\app\outputs\apk\app.apk... [ +1 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H install -r build\app\outputs\apk\app.apk [+12403 ms] [ 0%] /data/local/tmp/app.apk [ 0%] /data/local/tmp/app.apk [ 0%] /data/local/tmp/app.apk [ 0%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [100%] /data/local/tmp/app.apk build\app\outputs\apk\app.apk: 1 file pushed. 3.8 MB/s (29773907 bytes in 7.544s) pkg: /data/local/tmp/app.apk Success [ +5 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell echo -n 51d11028b03850547c70ec20c664937c9d7b8e1b &gt; /data/local/tmp/sky.com.example.prueba22.sha1 [ +509 ms] Ilium L910 startApp [ +4 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.example.prueba22/com.example.prueba22.MainActivity [+2483 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.prueba22/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available..."><pre class="notranslate"><code class="notranslate">$ flutter run --verbose [ +58 ms] [C:\sdk2\flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +82 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ +1 ms] origin/beta [ +1 ms] [C:\sdk2\flutter\] git rev-parse --abbrev-ref HEAD [ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] beta [ ] [C:\sdk2\flutter\] git ls-remote --get-url origin [ +30 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ ] [C:\sdk2\flutter\] git log -n 1 --pretty=format:%H [ +41 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b [ ] [C:\sdk2\flutter\] git log -n 1 --pretty=format:%ar [ +37 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ +6 ms] 4 weeks ago [ +1 ms] [C:\sdk2\flutter\] git describe --match v*.*.* --first-parent --long --tags [ +87 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v0.5.1-0-gc7ea3ca37 [ +282 ms] C:\Android\sdk\platform-tools\adb devices -l [ +581 ms] Exit code 0 from: C:\Android\sdk\platform-tools\adb devices -l [ ] List of devices attached FM6DCMYT4DEMIV7H device product:Ilium_L910 model:Ilium_L910 device:Ilium_L910 transport_id:3 [ +261 ms] Found plugin path_provider at C:\sdk2\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-0.4.1\ [ +138 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell getprop [ +237 ms] ro.hardware = mt6735 [ +1 ms] ro.build.characteristics = default [+1246 ms] Launching lib/main.dart on Ilium L910 in debug mode... [ +22 ms] Initializing gradle... [ +1 ms] Using gradle from C:\Proyectos\prueba22\android\gradlew.bat. [ +143 ms] C:\Proyectos\prueba22\android\gradlew.bat -v [+1176 ms] ------------------------------------------------------------ Gradle 4.1 ------------------------------------------------------------ Build time: 2017-08-07 14:38:48 UTC Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2 Groovy: 2.4.11 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b02) OS: Windows 10 10.0 amd64 [ +2 ms] Resolving dependencies... [ +3 ms] [android\] C:\Proyectos\prueba22\android\gradlew.bat app:properties [+4913 ms] :app:properties ------------------------------------------------------------ Project :app ------------------------------------------------------------ allprojects: [project ':app'] android: com.android.build.gradle.AppExtension_Decorated@67a14dce androidDependencies: task ':app:androidDependencies' ant: org.gradle.api.internal.project.DefaultAntBuilder@5650df37 antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@29db6352 archivesBaseName: app artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@7357620e asDynamicObject: DynamicObject for project ':app' assemble: task ':app:assemble' assembleAndroidTest: task ':app:assembleAndroidTest' assembleDebug: task ':app:assembleDebug' assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest' assembleDebugUnitTest: task ':app:assembleDebugUnitTest' assembleProfile: task ':app:assembleProfile' assembleProfileUnitTest: task ':app:assembleProfileUnitTest' assembleRelease: task ':app:assembleRelease' assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest' baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@1e759e97 buildDependents: task ':app:buildDependents' buildDir: C:\Proyectos\prueba22\build\app buildFile: C:\Proyectos\prueba22\android\app\build.gradle buildNeeded: task ':app:buildNeeded' buildOutputs: BaseVariantOutput container buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@4e0c4309 buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@3c3f7869 bundleAppClassesDebug: task ':app:bundleAppClassesDebug' bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest' bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest' bundleAppClassesProfile: task ':app:bundleAppClassesProfile' bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest' bundleAppClassesRelease: task ':app:bundleAppClassesRelease' bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest' check: task ':app:check' checkDebugManifest: task ':app:checkDebugManifest' checkProfileManifest: task ':app:checkProfileManifest' checkReleaseManifest: task ':app:checkReleaseManifest' childProjects: {} class: class org.gradle.api.internal.project.DefaultProject_Decorated classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@74b03af2 cleanBuildCache: task ':app:cleanBuildCache' compileDebugAidl: task ':app:compileDebugAidl' compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl' compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac' compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk' compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript' compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders' compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources' compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac' compileDebugNdk: task ':app:compileDebugNdk' compileDebugRenderscript: task ':app:compileDebugRenderscript' compileDebugShaders: task ':app:compileDebugShaders' compileDebugSources: task ':app:compileDebugSources' compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac' compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources' compileLint: task ':app:compileLint' compileProfileAidl: task ':app:compileProfileAidl' compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac' compileProfileNdk: task ':app:compileProfileNdk' compileProfileRenderscript: task ':app:compileProfileRenderscript' compileProfileShaders: task ':app:compileProfileShaders' compileProfileSources: task ':app:compileProfileSources' compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac' compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources' compileReleaseAidl: task ':app:compileReleaseAidl' compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac' compileReleaseNdk: task ':app:compileReleaseNdk' compileReleaseRenderscript: task ':app:compileReleaseRenderscript' compileReleaseShaders: task ':app:compileReleaseShaders' compileReleaseSources: task ':app:compileReleaseSources' compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac' compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources' components: SoftwareComponentInternal set configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@460393d5 configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@6a3b8417 configurations: configuration container connectedAndroidTest: task ':app:connectedAndroidTest' connectedCheck: task ':app:connectedCheck' connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest' consumeConfigAttr: task ':app:consumeConfigAttr' convention: org.gradle.api.internal.plugins.DefaultConvention@2d804509 copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug' copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile' copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease' createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests' createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests' createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests' defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@58128de1 defaultTasks: [] deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@2d5300d dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@3478077c depth: 1 description: null deviceAndroidTest: task ':app:deviceAndroidTest' deviceCheck: task ':app:deviceCheck' displayName: project ':app' distsDir: C:\Proyectos\prueba22\build\app\distributions distsDirName: distributions docsDir: C:\Proyectos\prueba22\build\app\docs docsDirName: docs ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@1bffa4f7 extensions: org.gradle.api.internal.plugins.DefaultConvention@2d804509 extractProguardFiles: task ':app:extractProguardFiles' fileOperations: org.gradle.api.internal.file.DefaultFileOperations@57ce5fec fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@7cb05840 flutter: FlutterExtension_Decorated@807f34d flutterBuildDebug: task ':app:flutterBuildDebug' flutterBuildProfile: task ':app:flutterBuildProfile' flutterBuildRelease: task ':app:flutterBuildRelease' flutterBuildX86Jar: task ':app:flutterBuildX86Jar' generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets' generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig' generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues' generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources' generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources' generateDebugAssets: task ':app:generateDebugAssets' generateDebugBuildConfig: task ':app:generateDebugBuildConfig' generateDebugResValues: task ':app:generateDebugResValues' generateDebugResources: task ':app:generateDebugResources' generateDebugSources: task ':app:generateDebugSources' generateProfileAssets: task ':app:generateProfileAssets' generateProfileBuildConfig: task ':app:generateProfileBuildConfig' generateProfileResValues: task ':app:generateProfileResValues' generateProfileResources: task ':app:generateProfileResources' generateProfileSources: task ':app:generateProfileSources' generateReleaseAssets: task ':app:generateReleaseAssets' generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig' generateReleaseResValues: task ':app:generateReleaseResValues' generateReleaseResources: task ':app:generateReleaseResources' generateReleaseSources: task ':app:generateReleaseSources' gradle: build 'android' group: android identityPath: :app inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@6e3926a6 installDebug: task ':app:installDebug' installDebugAndroidTest: task ':app:installDebugAndroidTest' installProfile: task ':app:installProfile' installRelease: task ':app:installRelease' javaPreCompileDebug: task ':app:javaPreCompileDebug' javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest' javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest' javaPreCompileProfile: task ':app:javaPreCompileProfile' javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest' javaPreCompileRelease: task ':app:javaPreCompileRelease' javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest' layout: org.gradle.api.internal.file.DefaultProjectLayout@4b2d25b2 libsDir: C:\Proyectos\prueba22\build\app\libs libsDirName: libs lint: task ':app:lint' lintDebug: task ':app:lintDebug' lintProfile: task ':app:lintProfile' lintRelease: task ':app:lintRelease' lintVitalRelease: task ':app:lintVitalRelease' logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@71cd816d logging: org.gradle.internal.logging.services.DefaultLoggingManager@35a106cf mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets' mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders' mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources' mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders' mergeDebugAssets: task ':app:mergeDebugAssets' mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders' mergeDebugResources: task ':app:mergeDebugResources' mergeDebugShaders: task ':app:mergeDebugShaders' mergeProfileAssets: task ':app:mergeProfileAssets' mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders' mergeProfileResources: task ':app:mergeProfileResources' mergeProfileShaders: task ':app:mergeProfileShaders' mergeReleaseAssets: task ':app:mergeReleaseAssets' mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders' mergeReleaseResources: task ':app:mergeReleaseResources' mergeReleaseShaders: task ':app:mergeReleaseShaders' mockableAndroidJar: task ':app:mockableAndroidJar' modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@28b16ad modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@6a1e1226 module: org.gradle.api.internal.artifacts.ProjectBackedModule@13a41866 name: app normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@25200c4c objects: org.gradle.api.internal.model.DefaultObjectFactory@7b936b19 org.gradle.jvmargs: -Xmx1536M packageDebug: task ':app:packageDebug' packageDebugAndroidTest: task ':app:packageDebugAndroidTest' packageProfile: task ':app:packageProfile' packageRelease: task ':app:packageRelease' parent: root project 'android' parentIdentifier: root project 'android' path: :app platformAttrExtractor: task ':app:platformAttrExtractor' pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@702adef plugins: [org.gradle.api.plugins.HelpTasksPlugin@7eeb1943, com.android.build.gradle.api.AndroidBasePlugin@44c109d, org.gradle.language.base.plugins.LifecycleBasePlugin@53973cdc, org.gradle.api.plugins.BasePlugin@40bbeb24, org.gradle.api.plugins.ReportingBasePlugin@32ffdf9d, org.gradle.platform.base.plugins.ComponentBasePlugin@40c0e808, org.gradle.language.base.plugins.LanguageBasePlugin@c8fd4ba, org.gradle.platform.base.plugins.BinaryBasePlugin@106fa86, org.gradle.api.plugins.JavaBasePlugin@14e991cc, com.android.build.gradle.internal.coverage.JacocoPlugin@1bc57196, com.android.build.gradle.AppPlugin@68aef9cb, FlutterPlugin@afab2e6] preBuild: task ':app:preBuild' preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild' preDebugBuild: task ':app:preDebugBuild' preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild' preProfileBuild: task ':app:preProfileBuild' preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild' preReleaseBuild: task ':app:preReleaseBuild' preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild' prepareLintJar: task ':app:prepareLintJar' processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes' processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest' processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources' processDebugJavaRes: task ':app:processDebugJavaRes' processDebugManifest: task ':app:processDebugManifest' processDebugResources: task ':app:processDebugResources' processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes' processOperations: org.gradle.api.internal.file.DefaultFileOperations@57ce5fec processProfileJavaRes: task ':app:processProfileJavaRes' processProfileManifest: task ':app:processProfileManifest' processProfileResources: task ':app:processProfileResources' processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes' processReleaseJavaRes: task ':app:processReleaseJavaRes' processReleaseManifest: task ':app:processReleaseManifest' processReleaseResources: task ':app:processReleaseResources' processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes' project: project ':app' projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@3a2854be projectDir: C:\Proyectos\prueba22\android\app projectEvaluationBroadcaster: ProjectEvaluationListener broadcast projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@604c1328 projectPath: :app projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@45ab3101 properties: {...} providers: org.gradle.api.internal.provider.DefaultProviderFactory@51ad67c9 reporting: org.gradle.api.reporting.ReportingExtension_Decorated@5754918e reportsDir: C:\Proyectos\prueba22\build\app\reports repositories: repository container resolveConfigAttr: task ':app:resolveConfigAttr' resources: org.gradle.api.internal.resources.DefaultResourceHandler@2fa1b27e rootDir: C:\Proyectos\prueba22\android rootProject: root project 'android' scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@2f7431f1 scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@33cb2e27 serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@40e00131 services: ProjectScopeServices signingReport: task ':app:signingReport' sourceCompatibility: 1.8 sourceSets: SourceSet container splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug' splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest' splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile' splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease' standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@35a106cf state: project state 'EXECUTED' status: integration subprojects: [] targetCompatibility: 1.8 tasks: task set test: task ':app:test' testDebugUnitTest: task ':app:testDebugUnitTest' testProfileUnitTest: task ':app:testProfileUnitTest' testReleaseUnitTest: task ':app:testReleaseUnitTest' testReportDir: C:\Proyectos\prueba22\build\app\reports\tests testReportDirName: tests testResultsDir: C:\Proyectos\prueba22\build\app\test-results testResultsDirName: test-results transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug' transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest' transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile' transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease' transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug' transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest' transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile' transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest' transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile' transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease' transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug' transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest' transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile' transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease' transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug' transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest' transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest' transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile' transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest' transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease' transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest' uninstallAll: task ':app:uninstallAll' uninstallDebug: task ':app:uninstallDebug' uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest' uninstallProfile: task ':app:uninstallProfile' uninstallRelease: task ':app:uninstallRelease' validateSigningDebug: task ':app:validateSigningDebug' validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest' validateSigningProfile: task ':app:validateSigningProfile' validateSigningRelease: task ':app:validateSigningRelease' version: unspecified writeDebugApplicationId: task ':app:writeDebugApplicationId' writeProfileApplicationId: task ':app:writeProfileApplicationId' writeReleaseApplicationId: task ':app:writeReleaseApplicationId' BUILD SUCCESSFUL in 4s 1 actionable task: 1 executed [ +15 ms] C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ +127 ms] Exit code 0 from: C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ +1 ms] package: name='com.example.prueba22' versionCode='1' versionName='1.0' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' application-label:'prueba22' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='prueba22' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='com.example.prueba22.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +8 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H logcat -v time -t 1 [ +238 ms] Exit code 0 from: C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H logcat -v time -t 1 [ ] --------- beginning of main 06-27 17:13:03.517 D/wpa_supplicant( 1320): CTRL_IFACE monitor sent successfully to /data/misc/wifi/sockets/wpa_ctrl_877-2\x00 [ +3 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H logcat -v time [ +738 ms] DependencyChecker: C:\Proyectos\prueba22\lib\main.dart is newer than 2018-06-26 18:56:20.000 [ +6 ms] C:\Android\sdk\platform-tools\adb version [ +51 ms] Android Debug Bridge version 1.0.40 Version 4797878 Installed as C:\Android\sdk\platform-tools\adb.EXE [ +5 ms] C:\Android\sdk\platform-tools\adb start-server [ +375 ms] Building APK [ +9 ms] Running 'gradlew assembleDebug'... [ +3 ms] [android\] C:\Proyectos\prueba22\android\gradlew.bat -Ptarget=C:\Proyectos\prueba22\lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [+3004 ms] :app:preBuild UP-TO-DATE [ +2 ms] :path_provider:preBuild UP-TO-DATE [ +11 ms] :path_provider:preDebugBuild UP-TO-DATE [ +19 ms] :path_provider:checkDebugManifest UP-TO-DATE [ ] :path_provider:processDebugManifest UP-TO-DATE [ ] :app:preDebugBuild UP-TO-DATE [ +19 ms] :path_provider:compileDebugAidl UP-TO-DATE [ +4 ms] :app:compileDebugAidl UP-TO-DATE [ +106 ms] :path_provider:packageDebugRenderscript NO-SOURCE [ +25 ms] :app:compileDebugRenderscript UP-TO-DATE [ +1 ms] :app:flutterBuildX86Jar UP-TO-DATE [ +8 ms] :app:checkDebugManifest UP-TO-DATE [ +49 ms] :app:generateDebugBuildConfig UP-TO-DATE [ +10 ms] :app:prepareLintJar UP-TO-DATE [ +1 ms] :app:cleanMergeDebugAssets [+10463 ms] :app:flutterBuildDebug [ +52 ms] :app:mergeDebugShaders UP-TO-DATE [ +1 ms] :app:compileDebugShaders UP-TO-DATE [ +1 ms] :app:generateDebugAssets UP-TO-DATE [ +15 ms] :path_provider:mergeDebugShaders UP-TO-DATE [ +11 ms] :path_provider:compileDebugShaders UP-TO-DATE [ +3 ms] :path_provider:generateDebugAssets UP-TO-DATE [ +3 ms] :path_provider:mergeDebugAssets UP-TO-DATE [ +34 ms] :app:mergeDebugAssets [ +269 ms] :app:copyFlutterAssetsDebug [ +13 ms] :app:generateDebugResValues UP-TO-DATE [ +1 ms] :app:generateDebugResources UP-TO-DATE [ +11 ms] :path_provider:compileDebugRenderscript UP-TO-DATE [ +1 ms] :path_provider:generateDebugResValues UP-TO-DATE [ ] :path_provider:generateDebugResources UP-TO-DATE [ +9 ms] :path_provider:packageDebugResources UP-TO-DATE [ +40 ms] :app:mergeDebugResources UP-TO-DATE [ +4 ms] :app:createDebugCompatibleScreenManifests UP-TO-DATE [ +21 ms] :app:processDebugManifest UP-TO-DATE [ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE [ +32 ms] :path_provider:platformAttrExtractor UP-TO-DATE [ +11 ms] :path_provider:processDebugResources UP-TO-DATE [ +28 ms] :app:processDebugResources UP-TO-DATE [ +1 ms] :app:generateDebugSources UP-TO-DATE [ +2 ms] :path_provider:generateDebugBuildConfig UP-TO-DATE [ +10 ms] :path_provider:prepareLintJar UP-TO-DATE [ +2 ms] :path_provider:generateDebugSources UP-TO-DATE [ ] :path_provider:javaPreCompileDebug UP-TO-DATE [ +20 ms] :path_provider:compileDebugJavaWithJavac UP-TO-DATE [ +13 ms] :path_provider:processDebugJavaRes NO-SOURCE [ ] :path_provider:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ +72 ms] :app:javaPreCompileDebug UP-TO-DATE [ +59 ms] :app:compileDebugJavaWithJavac UP-TO-DATE [ +4 ms] :app:compileDebugNdk NO-SOURCE [ ] :app:compileDebugSources UP-TO-DATE [ +22 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ +17 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE [ +15 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE [ +3 ms] :app:mergeDebugJniLibFolders UP-TO-DATE [ +5 ms] :path_provider:compileDebugNdk NO-SOURCE [ +7 ms] :path_provider:mergeDebugJniLibFolders UP-TO-DATE [ +5 ms] :path_provider:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ +9 ms] :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ +18 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ +22 ms] :app:processDebugJavaRes NO-SOURCE [ +10 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ +2 ms] :app:validateSigningDebug [+5448 ms] :app:packageDebug [ +1 ms] :app:assembleDebug [ +21 ms] :path_provider:extractDebugAnnotations UP-TO-DATE [ +9 ms] :path_provider:mergeDebugConsumerProguardFiles UP-TO-DATE [ +3 ms] :path_provider:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ +19 ms] :path_provider:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ +42 ms] :path_provider:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ +7 ms] :path_provider:bundleDebug UP-TO-DATE [ +14 ms] :path_provider:compileDebugSources UP-TO-DATE [ ] :path_provider:assembleDebug UP-TO-DATE [ +1 ms] BUILD SUCCESSFUL in 19s [ +1 ms] 54 actionable tasks: 6 executed, 48 up-to-date [ +821 ms] calculateSha: C:\Proyectos\prueba22\build\app\outputs\apk/app.apk [ +719 ms] Built build\app\outputs\apk\debug\app-debug.apk. [ +2 ms] C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ +20 ms] Exit code 0 from: C:\Android\sdk\build-tools\28.0.0\aapt dump badging build\app\outputs\apk\app.apk [ ] package: name='com.example.prueba22' versionCode='1' versionName='1.0' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' application-label:'prueba22' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='prueba22' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='com.example.prueba22.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +2 ms] Stopping app 'app.apk' on Ilium L910. [ +5 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell am force-stop com.example.prueba22 [+1488 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell pm list packages com.example.prueba22 [+1138 ms] package:com.example.prueba22 [ +4 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell cat /data/local/tmp/sky.com.example.prueba22.sha1 [ +367 ms] 4a75ce69b7f9850b5f6eb4a6f944a51fb1e2c1e9 [ +1 ms] Installing APK. [ +6 ms] C:\Android\sdk\platform-tools\adb version [ +43 ms] Android Debug Bridge version 1.0.40 Version 4797878 Installed as C:\Android\sdk\platform-tools\adb.EXE [ +4 ms] C:\Android\sdk\platform-tools\adb start-server [ +200 ms] Installing build\app\outputs\apk\app.apk... [ +1 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H install -r build\app\outputs\apk\app.apk [+12403 ms] [ 0%] /data/local/tmp/app.apk [ 0%] /data/local/tmp/app.apk [ 0%] /data/local/tmp/app.apk [ 0%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [100%] /data/local/tmp/app.apk build\app\outputs\apk\app.apk: 1 file pushed. 3.8 MB/s (29773907 bytes in 7.544s) pkg: /data/local/tmp/app.apk Success [ +5 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell echo -n 51d11028b03850547c70ec20c664937c9d7b8e1b &gt; /data/local/tmp/sky.com.example.prueba22.sha1 [ +509 ms] Ilium L910 startApp [ +4 ms] C:\Android\sdk\platform-tools\adb -s FM6DCMYT4DEMIV7H shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.example.prueba22/com.example.prueba22.MainActivity [+2483 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.prueba22/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... </code></pre></div> <p dir="auto">Davidjaco@LAPTOP-VVOFBQFS MINGW64 /c/Proyectos/prueba22<br> $ flutter doctor -v<br> [√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Versión 10.0.17134.112], locale es-MX)<br> • Flutter version 0.5.1 at C:\sdk2\flutter<br> • Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/c7ea3ca377e909469c68f2ab878a5bc53d3cf66b/hovercard" href="https://github.com/flutter/flutter/commit/c7ea3ca377e909469c68f2ab878a5bc53d3cf66b"><tt>c7ea3ca</tt></a> (4 weeks ago), 2018-05-29 21:07:33 +0200<br> • Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/1ed25ca7b7e3e3e8047df050bba4174074c9b336/hovercard" href="https://github.com/flutter/flutter/commit/1ed25ca7b7e3e3e8047df050bba4174074c9b336"><tt>1ed25ca</tt></a><br> • Dart version 2.0.0-dev.58.0.flutter-f981f09760</p> <p dir="auto">[√] Android toolchain - develop for Android devices (Android SDK 28.0.0)<br> • Android SDK at C:\Android\sdk<br> • Android NDK location not configured (optional; useful for native profiling support)<br> • Platform android-28, build-tools 28.0.0<br> • ANDROID_HOME = C:\Android\sdk<br> • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java<br> • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)<br> • All Android licenses accepted.</p> <p dir="auto">[√] Android Studio (version 3.1)<br> • Android Studio at C:\Program Files\Android\Android Studio<br> • Flutter plugin version 25.0.1<br> • Dart plugin version 173.4700<br> • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)</p> <p dir="auto">[√] Connected devices (1 available)<br> • Ilium L910 • FM6DCMYT4DEMIV7H • android-arm • Android 6.0 (API 23)</p>
1
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.): No</p> <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p> <ul dir="auto"> <li>"crypto/tls: failed to parse certificate PEM data"</li> </ul> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>): v1.2.4</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;2&quot;, GitVersion:&quot;v1.2.4+coreos.cni.1&quot;, GitCommit:&quot;89e3af04ef436f049e2e2d169e57ad1712cac375&quot;, GitTreeState:&quot;clean&quot;"><pre class="notranslate"><code class="notranslate">Server Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.4+coreos.cni.1", GitCommit:"89e3af04ef436f049e2e2d169e57ad1712cac375", GitTreeState:"clean" </code></pre></div> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: AWS EC2 Instance</li> <li><strong>OS</strong> (e.g. from /etc/os-release): CoreOS 1010.4.0 (MoreOS)</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): <code class="notranslate">Linux ip-10-0-2-42.ec2.internal 4.5.0-coreos-r1 #2 SMP Tue May 24 17:45:36 UTC 2016 x86_64 Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz GenuineIntel GNU/Linux</code></li> <li><strong>Install tools</strong>: <a href="https://github.com/coreos/coreos-kubernetes/blob/master/multi-node/aws/README.md"><code class="notranslate">kube-aws</code></a></li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> The <code class="notranslate">kubelet</code> service failed (reason unknown)<br> Attempting to restart <code class="notranslate">kubelet</code> failed, with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="crypto/tls: failed to parse certificate PEM data"><pre class="notranslate"><code class="notranslate">crypto/tls: failed to parse certificate PEM data </code></pre></div> <p dir="auto">See full logs and rambling thoughts below.</p> <p dir="auto"><strong>What you expected to happen</strong>:</p> <p dir="auto">Expected kubelet not to fail, and for kubelet to restart, if it did fail.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br> ?</p> <p dir="auto"><strong>Anything else do we need to know</strong>:</p> <h3 dir="auto">Full logs and rambling thoughts:</h3> <p dir="auto">After noticing that the node was <em>NotReady</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ journalctl -u kubelet -- Logs begin at Sun 2016-10-16 07:16:48 UTC, end at Mon 2016-10-17 14:01:01 UTC. -- Oct 16 12:01:27 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: E1016 12:01:27.793814 1276 fsHandler.go:106] failed to collect filesystem stats - du command failed on /var/lib/docker/overlay/d5db24c3fbe5fbfbdbeaab9d479958c352a0a8740298 Oct 16 12:01:27 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: , stderr: du: cannot access '/var/lib/docker/overlay/d5db24c3fbe5fbfbdbeaab9d479958c352a0a874029848cc31e0a97d686a9bd3/upper/tmp/tmp-5039jZ3BGus1nfDW': No such file or directory Oct 16 12:01:27 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: - exit status 1 Oct 16 12:48:40 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: E1016 12:48:40.543457 1276 event.go:193] Server rejected event '&amp;api.Event{TypeMeta:unversioned.TypeMeta{Kind:&quot;&quot;, APIVersion:&quot;&quot;}, ObjectMeta:api.ObjectMeta{Name:&quot;kube-dns- Oct 16 18:55:04 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: W1016 18:55:04.175757 1276 request.go:627] Throttling request took 148.06449ms, request: GET:https://10.0.4.50:443/api/v1/nodes/ip-10-0-2-42.ec2.internal Oct 16 18:58:15 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Service hold-off time over, scheduling restart. Oct 16 18:58:15 ip-10-0-2-42.ec2.internal systemd[1]: Stopped kubelet.service. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: Dependency failed for kubelet.service. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Job kubelet.service/start failed with result 'dependency'."><pre class="notranslate"><code class="notranslate">$ journalctl -u kubelet -- Logs begin at Sun 2016-10-16 07:16:48 UTC, end at Mon 2016-10-17 14:01:01 UTC. -- Oct 16 12:01:27 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: E1016 12:01:27.793814 1276 fsHandler.go:106] failed to collect filesystem stats - du command failed on /var/lib/docker/overlay/d5db24c3fbe5fbfbdbeaab9d479958c352a0a8740298 Oct 16 12:01:27 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: , stderr: du: cannot access '/var/lib/docker/overlay/d5db24c3fbe5fbfbdbeaab9d479958c352a0a874029848cc31e0a97d686a9bd3/upper/tmp/tmp-5039jZ3BGus1nfDW': No such file or directory Oct 16 12:01:27 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: - exit status 1 Oct 16 12:48:40 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: E1016 12:48:40.543457 1276 event.go:193] Server rejected event '&amp;api.Event{TypeMeta:unversioned.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:api.ObjectMeta{Name:"kube-dns- Oct 16 18:55:04 ip-10-0-2-42.ec2.internal kubelet-wrapper[1276]: W1016 18:55:04.175757 1276 request.go:627] Throttling request took 148.06449ms, request: GET:https://10.0.4.50:443/api/v1/nodes/ip-10-0-2-42.ec2.internal Oct 16 18:58:15 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Service hold-off time over, scheduling restart. Oct 16 18:58:15 ip-10-0-2-42.ec2.internal systemd[1]: Stopped kubelet.service. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: Dependency failed for kubelet.service. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Job kubelet.service/start failed with result 'dependency'. </code></pre></div> <p dir="auto">I'm not sure what caused kubelet to shut down. I see the <code class="notranslate">failed to collect filesystem stats</code> error, <a href="https://github.com/kubernetes/kubernetes/issues/16651#issuecomment-154145346" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/16651/hovercard">but it looks like that may be a red herring</a>, possibly caused by a custom docker garbage collection script we are running (because the built in cleanup services are not working for us).</p> <p dir="auto">I see the <code class="notranslate">Job kubelet.service/start failed with result 'dependency'</code>. So check the docker service</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ journalctl -u docker -- Logs begin at Sun 2016-10-16 07:16:48 UTC, end at Mon 2016-10-17 14:01:41 UTC. -- Oct 16 18:58:05 ip-10-0-2-42.ec2.internal systemd[1]: Stopping Docker Application Container Engine... Oct 16 18:58:15 ip-10-0-2-42.ec2.internal systemd[1]: Stopped Docker Application Container Engine. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: Dependency failed for Docker Application Container Engine. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'. Oct 17 00:00:14 ip-10-0-2-42.ec2.internal systemd[1]: Started Docker Application Container Engine. Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.249045066Z&quot; level=info msg=&quot;Graph migration to content-addressability took 0.00 seconds&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.252948977Z&quot; level=info msg=&quot;Firewalld running: false&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.566883833Z&quot; level=info msg=&quot;Loading containers: start.&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: .......................................................time=&quot;2016-10-17T00:00:26.766104356Z&quot; level=error msg=&quot;Error unmounting container 9c20ac08b141a474b8ba76698b339729907d35a6a286 Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.767774056Z&quot; level=error msg=&quot;Error unmounting container e3274fd20b73356d2b9d4cf94cb2e5028b0cfdf46151002fd71af5bd86e4b14e: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.771743362Z&quot; level=error msg=&quot;Error unmounting container ea6d0e45e10db34b7b934a9307f1791336b258f125dee256d0aa9611363c5261: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.773098949Z&quot; level=error msg=&quot;Error unmounting container 7ad2c477853f1429ebefd7687af2b60ac73a83b2590fd52685e139dc073e1f6e: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.777013970Z&quot; level=error msg=&quot;Error unmounting container f2448c82bc67eb7b932b3ace75a878272ef917a09e37e542e7a540821815357b: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.788810168Z&quot; level=error msg=&quot;Error unmounting container 2ecdff73aedd2c17b57f784fc812ed715240627e37ff9b2ca6b6eb0fa323e757: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.799454818Z&quot; level=error msg=&quot;Error unmounting container f0e337d6fd15884d6dd8c69d7b8941232a332054a58d2c66ebc99eac0190a477: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.801740726Z&quot; level=error msg=&quot;Error unmounting container 512a8344fee1bb62bcddfa3327a03ea886ccf46fdd9c46f1a0d872ff386004b9: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.804142833Z&quot; level=error msg=&quot;Error unmounting container 5818f58156e378425cb2aa48e9646d0d35b86e89338616366b8b21f2fbe58e25: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.805297087Z&quot; level=error msg=&quot;Error unmounting container 20a4cda200c33d6263a540caba028a373ecdf5ca2733e40e32627efd71f38d79: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.807651272Z&quot; level=error msg=&quot;Error unmounting container 5e11bedd3511b33a1b16ec42af039c0f7a4959c86092f543f2f83816b564ce3f: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.808670518Z&quot; level=error msg=&quot;Error unmounting container 63d415b23d7d8d4f399f32d8e7cfa27148af80aa6ba3c1164cfbb43ce94f6a7e: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.809797868Z&quot; level=error msg=&quot;Error unmounting container f2199232be2d0f6f93f39e311970222e2d2e18bd8be62c4561304f9dcc58af3d: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.812997843Z&quot; level=error msg=&quot;Error unmounting container e260b44e03890339a4de616259d42b6f4529fa0a19e8e259b781d4abf7e68d1e: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.816434872Z&quot; level=error msg=&quot;Error unmounting container c23aa4d3db9cba77ee37d5debed98e66a09039ecb78c191c4372c187d9e69c3c: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.817642230Z&quot; level=error msg=&quot;Error unmounting container 0c0a0d62ca3af74660f6d671510823485cc1a37bb19e8718e93b28e4cf0c7e4f: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.818783758Z&quot; level=error msg=&quot;Error unmounting container 3015b62493fa80462a97336503fb7749cb5a28b37cf70073812b3d37fb806128: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.825780463Z&quot; level=error msg=&quot;Error unmounting container 8b549e1ffcd94240d9d7469bc20c400160b2b7ff9a8a3c44eccf48de8f62c141: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.868323368Z&quot; level=error msg=&quot;Error unmounting container caf802a7a506053a1f5eef98ca37a017f0203dffcc0eae68019c5288e165ac61: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.873743087Z&quot; level=error msg=&quot;Error unmounting container 66dbce340f4e2e0541c814ce224ed059fa99f13cd274a94b6e4ce6ab3a148e1d: not mounted&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.884863245Z&quot; level=info msg=&quot;Loading containers: done.&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.884879420Z&quot; level=info msg=&quot;Daemon has completed initialization&quot; Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.884896942Z&quot; level=info msg=&quot;Docker daemon&quot; commit=8acee1b execdriver=native-0.2 graphdriver=overlay version=1.10.3 Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time=&quot;2016-10-17T00:00:26.890880322Z&quot; level=info msg=&quot;API listen on /var/run/docker.sock&quot;"><pre class="notranslate"><code class="notranslate">$ journalctl -u docker -- Logs begin at Sun 2016-10-16 07:16:48 UTC, end at Mon 2016-10-17 14:01:41 UTC. -- Oct 16 18:58:05 ip-10-0-2-42.ec2.internal systemd[1]: Stopping Docker Application Container Engine... Oct 16 18:58:15 ip-10-0-2-42.ec2.internal systemd[1]: Stopped Docker Application Container Engine. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: Dependency failed for Docker Application Container Engine. Oct 16 18:58:18 ip-10-0-2-42.ec2.internal systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'. Oct 17 00:00:14 ip-10-0-2-42.ec2.internal systemd[1]: Started Docker Application Container Engine. Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.249045066Z" level=info msg="Graph migration to content-addressability took 0.00 seconds" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.252948977Z" level=info msg="Firewalld running: false" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.566883833Z" level=info msg="Loading containers: start." Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: .......................................................time="2016-10-17T00:00:26.766104356Z" level=error msg="Error unmounting container 9c20ac08b141a474b8ba76698b339729907d35a6a286 Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.767774056Z" level=error msg="Error unmounting container e3274fd20b73356d2b9d4cf94cb2e5028b0cfdf46151002fd71af5bd86e4b14e: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.771743362Z" level=error msg="Error unmounting container ea6d0e45e10db34b7b934a9307f1791336b258f125dee256d0aa9611363c5261: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.773098949Z" level=error msg="Error unmounting container 7ad2c477853f1429ebefd7687af2b60ac73a83b2590fd52685e139dc073e1f6e: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.777013970Z" level=error msg="Error unmounting container f2448c82bc67eb7b932b3ace75a878272ef917a09e37e542e7a540821815357b: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.788810168Z" level=error msg="Error unmounting container 2ecdff73aedd2c17b57f784fc812ed715240627e37ff9b2ca6b6eb0fa323e757: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.799454818Z" level=error msg="Error unmounting container f0e337d6fd15884d6dd8c69d7b8941232a332054a58d2c66ebc99eac0190a477: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.801740726Z" level=error msg="Error unmounting container 512a8344fee1bb62bcddfa3327a03ea886ccf46fdd9c46f1a0d872ff386004b9: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.804142833Z" level=error msg="Error unmounting container 5818f58156e378425cb2aa48e9646d0d35b86e89338616366b8b21f2fbe58e25: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.805297087Z" level=error msg="Error unmounting container 20a4cda200c33d6263a540caba028a373ecdf5ca2733e40e32627efd71f38d79: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.807651272Z" level=error msg="Error unmounting container 5e11bedd3511b33a1b16ec42af039c0f7a4959c86092f543f2f83816b564ce3f: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.808670518Z" level=error msg="Error unmounting container 63d415b23d7d8d4f399f32d8e7cfa27148af80aa6ba3c1164cfbb43ce94f6a7e: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.809797868Z" level=error msg="Error unmounting container f2199232be2d0f6f93f39e311970222e2d2e18bd8be62c4561304f9dcc58af3d: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.812997843Z" level=error msg="Error unmounting container e260b44e03890339a4de616259d42b6f4529fa0a19e8e259b781d4abf7e68d1e: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.816434872Z" level=error msg="Error unmounting container c23aa4d3db9cba77ee37d5debed98e66a09039ecb78c191c4372c187d9e69c3c: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.817642230Z" level=error msg="Error unmounting container 0c0a0d62ca3af74660f6d671510823485cc1a37bb19e8718e93b28e4cf0c7e4f: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.818783758Z" level=error msg="Error unmounting container 3015b62493fa80462a97336503fb7749cb5a28b37cf70073812b3d37fb806128: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.825780463Z" level=error msg="Error unmounting container 8b549e1ffcd94240d9d7469bc20c400160b2b7ff9a8a3c44eccf48de8f62c141: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.868323368Z" level=error msg="Error unmounting container caf802a7a506053a1f5eef98ca37a017f0203dffcc0eae68019c5288e165ac61: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.873743087Z" level=error msg="Error unmounting container 66dbce340f4e2e0541c814ce224ed059fa99f13cd274a94b6e4ce6ab3a148e1d: not mounted" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.884863245Z" level=info msg="Loading containers: done." Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.884879420Z" level=info msg="Daemon has completed initialization" Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.884896942Z" level=info msg="Docker daemon" commit=8acee1b execdriver=native-0.2 graphdriver=overlay version=1.10.3 Oct 17 00:00:26 ip-10-0-2-42.ec2.internal dockerd[28294]: time="2016-10-17T00:00:26.890880322Z" level=info msg="API listen on /var/run/docker.sock" </code></pre></div> <p dir="auto">I see a <code class="notranslate">docker.service: Job docker.service/start failed with result 'dependency'.</code> log in there. Maybe it's flannel?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ journalctl -u flanneld -- Logs begin at Sun 2016-10-16 07:16:48 UTC, end at Mon 2016-10-17 14:53:22 UTC. -- Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.080742 00001 device.go:187] calling NeighSet: 10.2.58.14, 96:75:16:ae:1e:ce Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.080863 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.407509 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.832713 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:49 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:49.408852 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:49 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:49.856828 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.032862 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.410953 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.816900 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.896856 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:52 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:52.752864 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.035102 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.038654 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.633088 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.4 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.902816 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.040702 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.080715 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.720732 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.896893 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.904658 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.042682 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.427159 00001 vxlan.go:345] L3 miss: 10.2.59.9 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.427208 00001 device.go:187] calling NeighSet: 10.2.59.9, be:66:1c:f3:6f:bf Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.427391 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.758828 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.906672 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.395214 00001 vxlan.go:345] L3 miss: 10.2.58.3 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.395269 00001 device.go:187] calling NeighSet: 10.2.58.3, 96:75:16:ae:1e:ce Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.395376 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.560665 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.760705 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.996054 00001 vxlan.go:345] L3 miss: 10.2.59.8 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.996108 00001 device.go:187] calling NeighSet: 10.2.59.8, be:66:1c:f3:6f:bf Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.996212 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.086698 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.726688 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.762682 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.902809 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.088875 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.727838 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.729197 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.752964 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.4 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.904853 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.090678 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.566701 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.728951 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.730772 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.906840 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.112784 00001 vxlan.go:345] L3 miss: 10.2.58.10 Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.112832 00001 device.go:187] calling NeighSet: 10.2.58.10, 96:75:16:ae:1e:ce Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.112943 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.568835 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.731082 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:17:01 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:01.570500 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:17:01 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:01.758877 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.4 Oct 16 07:17:02 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:02.027092 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0"><pre class="notranslate"><code class="notranslate">$ journalctl -u flanneld -- Logs begin at Sun 2016-10-16 07:16:48 UTC, end at Mon 2016-10-17 14:53:22 UTC. -- Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.080742 00001 device.go:187] calling NeighSet: 10.2.58.14, 96:75:16:ae:1e:ce Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.080863 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.407509 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:48 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:48.832713 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:49 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:49.408852 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:49 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:49.856828 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.032862 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.410953 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.816900 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:16:50 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:50.896856 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:52 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:52.752864 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.035102 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.038654 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.633088 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.4 Oct 16 07:16:53 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:53.902816 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.040702 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.080715 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.720732 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.896893 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:54 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:54.904658 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.042682 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.3 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.427159 00001 vxlan.go:345] L3 miss: 10.2.59.9 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.427208 00001 device.go:187] calling NeighSet: 10.2.59.9, be:66:1c:f3:6f:bf Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.427391 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.758828 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:55 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:55.906672 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.8 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.395214 00001 vxlan.go:345] L3 miss: 10.2.58.3 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.395269 00001 device.go:187] calling NeighSet: 10.2.58.3, 96:75:16:ae:1e:ce Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.395376 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.560665 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.760705 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.996054 00001 vxlan.go:345] L3 miss: 10.2.59.8 Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.996108 00001 device.go:187] calling NeighSet: 10.2.59.8, be:66:1c:f3:6f:bf Oct 16 07:16:56 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:56.996212 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.086698 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.726688 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.762682 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.2 Oct 16 07:16:57 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:57.902809 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.088875 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.727838 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.729197 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.752964 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.4 Oct 16 07:16:58 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:58.904853 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.090678 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.10 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.566701 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.728951 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.730772 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.6 Oct 16 07:16:59 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:16:59.906840 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.9 Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.112784 00001 vxlan.go:345] L3 miss: 10.2.58.10 Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.112832 00001 device.go:187] calling NeighSet: 10.2.58.10, 96:75:16:ae:1e:ce Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.112943 00001 vxlan.go:356] AddL3 succeeded Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.568835 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:17:00 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:00.731082 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 Oct 16 07:17:01 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:01.570500 00001 vxlan.go:340] Ignoring not a miss: be:66:1c:f3:6f:bf, 10.2.59.2 Oct 16 07:17:01 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:01.758877 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.4 Oct 16 07:17:02 ip-10-0-2-42.ec2.internal sdnotify-proxy[901]: I1016 07:17:02.027092 00001 vxlan.go:340] Ignoring not a miss: 96:75:16:ae:1e:ce, 10.2.58.0 </code></pre></div> <p dir="auto">Don't see any fatal errors there...</p> <p dir="auto">So I try restarting <code class="notranslate">kubelet</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ servicectl restart kubelet $ journalctl -fu kubelet Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: I1017 14:02:37.887527 7992 manager.go:123] Starting to sync pod status with apiserver Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: I1017 14:02:37.887555 7992 kubelet.go:2356] Starting kubelet main sync loop. Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: I1017 14:02:37.887568 7992 kubelet.go:2365] skipping pod synchronization - [container runtime is down] Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: F1017 14:02:37.888926 7992 server.go:118] crypto/tls: failed to parse certificate PEM data Oct 17 14:02:37 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a Oct 17 14:02:37 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Unit entered failed state. Oct 17 14:02:37 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Failed with result 'exit-code'."><pre class="notranslate"><code class="notranslate">$ servicectl restart kubelet $ journalctl -fu kubelet Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: I1017 14:02:37.887527 7992 manager.go:123] Starting to sync pod status with apiserver Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: I1017 14:02:37.887555 7992 kubelet.go:2356] Starting kubelet main sync loop. Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: I1017 14:02:37.887568 7992 kubelet.go:2365] skipping pod synchronization - [container runtime is down] Oct 17 14:02:37 ip-10-0-2-42.ec2.internal kubelet-wrapper[7992]: F1017 14:02:37.888926 7992 server.go:118] crypto/tls: failed to parse certificate PEM data Oct 17 14:02:37 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a Oct 17 14:02:37 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Unit entered failed state. Oct 17 14:02:37 ip-10-0-2-42.ec2.internal systemd[1]: kubelet.service: Failed with result 'exit-code'. </code></pre></div> <p dir="auto">That <code class="notranslate">crypto/tls: failed to parse certificate PEM data</code> message looks ominous.</p> <p dir="auto">I heard from a colleague that on a different node, the RSA keys just disappeared. He was able to fix the issue by copying them in from another server. I don't know if that's what's going on here, but just a guess... (and he's out of town, so I can't verify)</p> <p dir="auto">All of our pods were quickly relocated to a functioning node, so the impact wasn't too heavy. But it would be nice to know what's going on, and how I could fix/prevent this in the future.</p>
<p dir="auto">As discussed in <a href="https://groups.google.com/forum/#!topic/google-containers/vA8vIfZ7WUA" rel="nofollow">https://groups.google.com/forum/#!topic/google-containers/vA8vIfZ7WUA</a>, we can make some small changes to allow one yaml file contain multiple resources to reduce the file amount of a complex system.</p>
0
<h3 dir="auto">System Info</h3> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 4.22.1</li> <li>Platform: Linux-4.19.0-21-cloud-amd64-x86_64-with-glibc2.28</li> <li>Python version: 3.9.5</li> </ul> <h3 dir="auto">Who can help?</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Rocketknight1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Rocketknight1">@Rocketknight1</a></p> <h3 dir="auto">Information</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own modified scripts</li> </ul> <h3 dir="auto">Tasks</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own task or dataset (give details below)</li> </ul> <h3 dir="auto">Reproduction</h3> <p dir="auto">Using tf.keras.Model version of gpt2, and training as casual language modelling.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gpt2_model.compile(..., metrics=[PerplexityMetric()]) #using inner loss (hf_compute_loss) gpt2_model.fit(...)"><pre class="notranslate"><code class="notranslate">gpt2_model.compile(..., metrics=[PerplexityMetric()]) #using inner loss (hf_compute_loss) gpt2_model.fit(...) </code></pre></div> <p dir="auto">The problem occurs when metric is calculated. I did not come up with an idea to use inner loss of transformers in tf.keras.metric.Metric (if anyone knows how it's good to rid of duplicate calculation) . So calculating loss as written in def hf_compute_loss in TFCausalLanguageModelingLoss. PerplexityMetric as:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class PerplexityMetric(tf.keras.metrics.Metric): def __init__(self, name='perplexity', **kwargs): super(PerplexityMetric, self).__init__(name=name, **kwargs) self.cross_entropy = tf.keras.losses.SparseCategoricalCrossentropy( from_logits=True, reduction=tf.keras.losses.Reduction.NONE ) self.perplexity = self.add_weight(name='tp', initializer='zeros') def _calculate_perplexity(self, real, pred): unmasked_loss = self.cross_entropy(tf.nn.relu(real), pred) # make sure only labels that are not equal to -100 affect the loss loss_mask = tf.cast(real != -100, dtype=unmasked_loss.dtype) masked_loss = unmasked_loss * loss_mask reduced_masked_loss = tf.reduce_sum(masked_loss) / tf.reduce_sum( loss_mask ) loss_ = tf.reshape(reduced_masked_loss, (1,)) perplexity = tf.math.exp(loss_[-1]) return perplexity def update_state(self, y_true, y_pred, sample_weight=None): perplexity = self._calculate_perplexity(y_true, y_pred) self.perplexity.assign(perplexity) def result(self): return self.perplexity def reset_state(self): # reset at the start of each epoch. self.perplexity.assign(0.0)"><pre class="notranslate"><code class="notranslate">class PerplexityMetric(tf.keras.metrics.Metric): def __init__(self, name='perplexity', **kwargs): super(PerplexityMetric, self).__init__(name=name, **kwargs) self.cross_entropy = tf.keras.losses.SparseCategoricalCrossentropy( from_logits=True, reduction=tf.keras.losses.Reduction.NONE ) self.perplexity = self.add_weight(name='tp', initializer='zeros') def _calculate_perplexity(self, real, pred): unmasked_loss = self.cross_entropy(tf.nn.relu(real), pred) # make sure only labels that are not equal to -100 affect the loss loss_mask = tf.cast(real != -100, dtype=unmasked_loss.dtype) masked_loss = unmasked_loss * loss_mask reduced_masked_loss = tf.reduce_sum(masked_loss) / tf.reduce_sum( loss_mask ) loss_ = tf.reshape(reduced_masked_loss, (1,)) perplexity = tf.math.exp(loss_[-1]) return perplexity def update_state(self, y_true, y_pred, sample_weight=None): perplexity = self._calculate_perplexity(y_true, y_pred) self.perplexity.assign(perplexity) def result(self): return self.perplexity def reset_state(self): # reset at the start of each epoch. self.perplexity.assign(0.0) </code></pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Both inner loss calculation and the loss calculation in the metric are same. What I expect is that calculated losses are the same in training output. Last float within brackets is loss calculated in PerplexityMetric() (<em>loss</em>_).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1/7 [===&gt;..........................] - ETA: 2s - loss: 8.0234 - perplexity: 1708.3318[7.44036245] 2/7 [=======&gt;......................] - ETA: 2s - loss: 8.1277 - perplexity: 1703.3676[7.78889942] 3/7 [===========&gt;..................] - ETA: 1s - loss: 8.2354 - perplexity: 2413.6597[7.75492764] 4/7 [================&gt;.............] - ETA: 1s - loss: 8.3068 - perplexity: 2333.0405[7.91714859] 5/7 [====================&gt;.........] - ETA: 0s - loss: 8.3837 - perplexity: 2743.9358[7.48942709] 6/7 [========================&gt;.....] - ETA: 0s - loss: 8.3680 - perplexity: 1789.0269[7.8069911]"><pre class="notranslate"><code class="notranslate">1/7 [===&gt;..........................] - ETA: 2s - loss: 8.0234 - perplexity: 1708.3318[7.44036245] 2/7 [=======&gt;......................] - ETA: 2s - loss: 8.1277 - perplexity: 1703.3676[7.78889942] 3/7 [===========&gt;..................] - ETA: 1s - loss: 8.2354 - perplexity: 2413.6597[7.75492764] 4/7 [================&gt;.............] - ETA: 1s - loss: 8.3068 - perplexity: 2333.0405[7.91714859] 5/7 [====================&gt;.........] - ETA: 0s - loss: 8.3837 - perplexity: 2743.9358[7.48942709] 6/7 [========================&gt;.....] - ETA: 0s - loss: 8.3680 - perplexity: 1789.0269[7.8069911] </code></pre></div> <p dir="auto">I did not understand the difference between loss values. Is there any wrong calculation in PerplexityMetric or is this a buggy behaviour?</p>
<p dir="auto">GPU:v100</p> <p dir="auto">run run_glue.py with the command in the README:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python ./examples/run_glue.py \ --model_type bert \ --model_name_or_path bert-base-uncased \ --task_name $TASK_NAME \ --do_train \ --do_eval \ --do_lower_case \ --data_dir $GLUE_DIR/$TASK_NAME \ --max_seq_length 128 \ --per_gpu_eval_batch_size=8 \ --per_gpu_train_batch_size=8 \ --learning_rate 2e-5 \ --num_train_epochs 3.0 \ --output_dir /tmp/$TASK_NAME/"><pre class="notranslate"><code class="notranslate">python ./examples/run_glue.py \ --model_type bert \ --model_name_or_path bert-base-uncased \ --task_name $TASK_NAME \ --do_train \ --do_eval \ --do_lower_case \ --data_dir $GLUE_DIR/$TASK_NAME \ --max_seq_length 128 \ --per_gpu_eval_batch_size=8 \ --per_gpu_train_batch_size=8 \ --learning_rate 2e-5 \ --num_train_epochs 3.0 \ --output_dir /tmp/$TASK_NAME/ </code></pre></div> <p dir="auto">and i also run with --fp16, but spend the same time and gpu memory, why fp16 does not work</p>
0
<p dir="auto">it appears we are not running the sudo variable through the template engine per a mailing list post, and we should, so that behavior can be passed in via -e like everything else.</p>
<p dir="auto">In the vein of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="10796075" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/2032" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/2032/hovercard" href="https://github.com/ansible/ansible/issues/2032">#2032</a> sudo_user: can't be set as a variable loaded from vars_files.</p> <p dir="auto">For example in playbook.yml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" --- - hosts: bitarena vars_files: - ../vars/general.yml user: $sys_user sudo_user: $sudo_user_db"><pre class="notranslate"><code class="notranslate"> --- - hosts: bitarena vars_files: - ../vars/general.yml user: $sys_user sudo_user: $sudo_user_db </code></pre></div> <p dir="auto">Connection log</p> <blockquote> <p dir="auto"> ESTABLISH CONNECTION FOR USER: ansiblemgr on PORT 22 TO bitarena<br> EXEC /bin/sh -c 'mkdir -p /tmp/ansible-1364316856.83-103086297282724 &amp;&amp; chmod a+rx /tmp/ansible-1364316856.83-103086297282724 &amp;&amp; echo /tmp/ansible-1364316856.83-103086297282724'<br> REMOTE_MODULE setup<br> PUT /tmp/tmpA3E09G TO /tmp/ansible-1364316856.83-103086297282724/setup<br> EXEC /bin/sh -c 'chmod a+r /tmp/ansible-1364316856.83-103086297282724/setup'<br> EXEC /bin/sh -c 'sudo -k &amp;&amp; sudo -H -S -p "[sudo via ansible, key=oiokygakeauprdjzkhpyvbfztvactecp] password: " -u $sudo_user_db /bin/sh -c '"'"' /usr/bin/python /tmp/ansible-1364316856.83-103086297282724/setup; rm -rf /tmp/ansible-1364316856.83-103086297282724/ &gt;/dev/null 2&gt;&amp;1'"'"''<br> fatal: [bitarena] =&gt; ssh connection closed waiting for password prompt</p> </blockquote>
1
<h4 dir="auto">Code Sample:</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; df = pd.DataFrame({'A': 'a a b'.split(), 'B': [1,2,3], 'C': [4,6, 5]}) &gt;&gt;&gt; g = df.groupby('A') &gt;&gt;&gt; g.apply(lambda x: x / x.sum())"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</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-s">'a a b'</span>.<span class="pl-en">split</span>(), <span class="pl-s">'B'</span>: [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>], <span class="pl-s">'C'</span>: [<span class="pl-c1">4</span>,<span class="pl-c1">6</span>, <span class="pl-c1">5</span>]}) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">g</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">groupby</span>(<span class="pl-s">'A'</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">g</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span> <span class="pl-c1">/</span> <span class="pl-s1">x</span>.<span class="pl-en">sum</span>())</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">Applying a function to a grouped data frame fails. The code above is the example code from the official pandas documentation: <a href="https://pandas.pydata.org/pandas-docs/stable/generated/pandas.core.groupby.GroupBy.apply.html" rel="nofollow">https://pandas.pydata.org/pandas-docs/stable/generated/pandas.core.groupby.GroupBy.apply.html</a></p> <p dir="auto">Output to the above code:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/usr/local/lib/python2.7/dist-packages/pandas/core/computation/check.py:17: UserWarning: The installed version of numexpr 2.4.3 is not supported in pandas and will be not be used The minimum supported version is 2.4.6 ver=ver, min_ver=_MIN_NUMEXPR_VERSION), UserWarning) Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py&quot;, line 805, in apply return self._python_apply_general(f) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py&quot;, line 809, in _python_apply_general self.axis) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py&quot;, line 1969, in apply res = f(group) File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;lambda&gt; File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/ops.py&quot;, line 1262, in f return self._combine_series(other, na_op, fill_value, axis, level) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py&quot;, line 3944, in _combine_series try_cast=try_cast) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py&quot;, line 3958, in _combine_series_infer try_cast=try_cast) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py&quot;, line 3981, in _combine_match_columns try_cast=try_cast) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py&quot;, line 3435, in eval return self.apply('eval', **kwargs) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py&quot;, line 3329, in apply applied = getattr(b, f)(**kwargs) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py&quot;, line 1377, in eval result = get_result(other) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py&quot;, line 1346, in get_result result = func(values, other) File &quot;/usr/local/lib/python2.7/dist-packages/pandas/core/ops.py&quot;, line 1216, in na_op yrav.fill(yrav.item()) ValueError: can only convert an array of size 1 to a Python scalar"><pre class="notranslate"><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">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">dist</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">computation</span><span class="pl-c1">/</span><span class="pl-s1">check</span>.<span class="pl-s1">py</span>:<span class="pl-c1">17</span>: <span class="pl-v">UserWarning</span>: <span class="pl-v">The</span> <span class="pl-s1">installed</span> <span class="pl-s1">version</span> <span class="pl-s1">of</span> <span class="pl-s1">numexpr</span> <span class="pl-c1">2.4</span><span class="pl-c1">.3</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-s1">supported</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span> <span class="pl-c1">and</span> <span class="pl-s1">will</span> <span class="pl-s1">be</span> <span class="pl-c1">not</span> <span class="pl-s1">be</span> <span class="pl-s1">used</span> <span class="pl-v">The</span> <span class="pl-s1">minimum</span> <span class="pl-s1">supported</span> <span class="pl-s1">version</span> <span class="pl-c1">is</span> <span class="pl-c1">2.4</span>.<span class="pl-c1">6</span> <span class="pl-s1">ver</span><span class="pl-c1">=</span><span class="pl-s1">ver</span>, <span class="pl-s1">min_ver</span><span class="pl-c1">=</span><span class="pl-s1">_MIN_NUMEXPR_VERSION</span>), <span class="pl-v">UserWarning</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">"&lt;stdin&gt;"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1</span>, <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span> <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">805</span>, <span class="pl-s1">in</span> <span class="pl-s1">apply</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_python_apply_general</span>(<span class="pl-s1">f</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">809</span>, <span class="pl-s1">in</span> <span class="pl-s1">_python_apply_general</span> <span class="pl-s1">self</span>.<span class="pl-s1">axis</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1969</span>, <span class="pl-s1">in</span> <span class="pl-s1">apply</span> <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-en">f</span>(<span class="pl-s1">group</span>) <span class="pl-v">File</span> <span class="pl-s">"&lt;stdin&gt;"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1</span>, <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">lambda</span><span class="pl-c1">&gt;</span> <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/ops.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1262</span>, <span class="pl-s1">in</span> <span class="pl-s1">f</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_combine_series</span>(<span class="pl-s1">other</span>, <span class="pl-s1">na_op</span>, <span class="pl-s1">fill_value</span>, <span class="pl-s1">axis</span>, <span class="pl-s1">level</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3944</span>, <span class="pl-s1">in</span> <span class="pl-s1">_combine_series</span> <span class="pl-s1">try_cast</span><span class="pl-c1">=</span><span class="pl-s1">try_cast</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3958</span>, <span class="pl-s1">in</span> <span class="pl-s1">_combine_series_infer</span> <span class="pl-s1">try_cast</span><span class="pl-c1">=</span><span class="pl-s1">try_cast</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3981</span>, <span class="pl-s1">in</span> <span class="pl-s1">_combine_match_columns</span> <span class="pl-s1">try_cast</span><span class="pl-c1">=</span><span class="pl-s1">try_cast</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3435</span>, <span class="pl-s1">in</span> <span class="pl-s1">eval</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">apply</span>(<span class="pl-s">'eval'</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3329</span>, <span class="pl-s1">in</span> <span class="pl-s1">apply</span> <span class="pl-s1">applied</span> <span class="pl-c1">=</span> <span class="pl-en">getattr</span>(<span class="pl-s1">b</span>, <span class="pl-s1">f</span>)(<span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1377</span>, <span class="pl-s1">in</span> <span class="pl-s1">eval</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-en">get_result</span>(<span class="pl-s1">other</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1346</span>, <span class="pl-s1">in</span> <span class="pl-s1">get_result</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-en">func</span>(<span class="pl-s1">values</span>, <span class="pl-s1">other</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python2.7/dist-packages/pandas/core/ops.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1216</span>, <span class="pl-s1">in</span> <span class="pl-s1">na_op</span> <span class="pl-s1">yrav</span>.<span class="pl-en">fill</span>(<span class="pl-s1">yrav</span>.<span class="pl-en">item</span>()) <span class="pl-v">ValueError</span>: <span class="pl-s1">can</span> <span class="pl-s1">only</span> <span class="pl-s1">convert</span> <span class="pl-s1">an</span> <span class="pl-s1">array</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">1</span> <span class="pl-s1">to</span> <span class="pl-s1">a</span> <span class="pl-v">Python</span> <span class="pl-s1">scalar</span></pre></div> <p dir="auto">The error can be 'fixed' by applying another command to the grouped object first:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; g.sum() B C A a 3 10 b 3 5 &gt;&gt;&gt; g.apply(lambda x: x / x.sum()) B C 0 0.333333 0.4 1 0.666667 0.6 2 1.000000 1.0"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">g</span>.<span class="pl-en">sum</span>() <span class="pl-v">B</span> <span class="pl-v">C</span> <span class="pl-v">A</span> <span class="pl-s1">a</span> <span class="pl-c1">3</span> <span class="pl-c1">10</span> <span class="pl-s1">b</span> <span class="pl-c1">3</span> <span class="pl-c1">5</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">g</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span> <span class="pl-c1">/</span> <span class="pl-s1">x</span>.<span class="pl-en">sum</span>()) <span class="pl-v">B</span> <span class="pl-v">C</span> <span class="pl-c1">0</span> <span class="pl-c1">0.333333</span> <span class="pl-c1">0.4</span> <span class="pl-c1">1</span> <span class="pl-c1">0.666667</span> <span class="pl-c1">0.6</span> <span class="pl-c1">2</span> <span class="pl-c1">1.000000</span> <span class="pl-c1">1.0</span></pre></div> <h4 dir="auto">Expected Output</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; g.apply(lambda x: x / x.sum()) B C 0 0.333333 0.4 1 0.666667 0.6 2 1.000000 1.0"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">g</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span> <span class="pl-c1">/</span> <span class="pl-s1">x</span>.<span class="pl-en">sum</span>()) <span class="pl-v">B</span> <span class="pl-v">C</span> <span class="pl-c1">0</span> <span class="pl-c1">0.333333</span> <span class="pl-c1">0.4</span> <span class="pl-c1">1</span> <span class="pl-c1">0.666667</span> <span class="pl-c1">0.6</span> <span class="pl-c1">2</span> <span class="pl-c1">1.000000</span> <span class="pl-c1">1.0</span></pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> &gt;&gt;&gt; pd.show_versions() <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 2.7.12.final.0<br> python-bits: 64<br> OS: Linux<br> OS-release: 4.4.0-122-generic<br> machine: x86_64<br> processor: x86_64<br> byteorder: little<br> LC_ALL: en_US.utf8<br> LANG: en_US.UTF-8<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.22.0<br> pytest: 2.8.7<br> pip: 9.0.1<br> setuptools: 20.7.0<br> Cython: 0.23.4<br> numpy: 1.11.0<br> scipy: 0.17.0<br> pyarrow: None<br> xarray: None<br> IPython: 5.5.0<br> sphinx: None<br> patsy: 0.4.1<br> dateutil: 2.4.2<br> pytz: 2014.10<br> blosc: None<br> bottleneck: None<br> tables: 3.2.2<br> numexpr: 2.4.3<br> feather: None<br> matplotlib: 1.5.1<br> openpyxl: 2.3.0<br> xlrd: 0.9.4<br> xlwt: 0.7.5<br> xlsxwriter: None<br> lxml: 3.5.0<br> bs4: None<br> html5lib: 1.0.1<br> sqlalchemy: 1.0.11<br> pymysql: 0.7.2.None<br> psycopg2: 2.6.1 (dt dec mx pq3 ext lo64)<br> jinja2: 2.10<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: None</p> <blockquote> <blockquote> <blockquote> </blockquote> </blockquote> </blockquote> </details>
<p dir="auto">I wonder if it wouldn't be better/less surprising if Index.tolist did that conversion. FWIW, I was bitten by it via xlwings which tries to send an index values to Excel via COM by using index.tolist() and since the COM layer only handles basic Python types, it breaks. The patch seems trivial (I can submit a PR if you like), but I don't know whether you'd accept that, nor if it would have any implications.</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- return list(self.values) + return self.values.tolist()"><pre class="notranslate"><span class="pl-md"><span class="pl-md">-</span> return list(self.values)</span> <span class="pl-mi1"><span class="pl-mi1">+</span> return self.values.tolist()</span></pre></div> <p dir="auto">FWIW, it seems to be related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="103130382" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/10904" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/10904/hovercard" href="https://github.com/pandas-dev/pandas/issues/10904">#10904</a>.</p> <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 pandas as pd import numpy as np df = pd.DataFrame(np.zeros((3, 4)), index=np.arange(3)) l = df.index.tolist() print(type(l[0])) # &lt;class 'numpy.int64'&gt;"><pre class="notranslate"><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-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">3</span>, <span class="pl-c1">4</span>)), <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">3</span>)) <span class="pl-s1">l</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-s1">index</span>.<span class="pl-en">tolist</span>() <span class="pl-en">print</span>(<span class="pl-en">type</span>(<span class="pl-s1">l</span>[<span class="pl-c1">0</span>])) <span class="pl-c"># &lt;class 'numpy.int64'&gt;</span></pre></div> <h4 dir="auto">Expected Output</h4> <p dir="auto"><code class="notranslate">&lt;class 'int'&gt;</code></p> <h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4> <p dir="auto">python: 3.5.1<br> pandas: 0.18.0<br> numpy: 1.10.4</p>
0
<p dir="auto">Hi,</p> <p dir="auto">I use Symfony 2.1. I declared this code on my entity but the validator UniqueEntity doesn't work with InheritanceType</p> <p dir="auto"><code class="notranslate">use Symfony\Bridge\Doctrine\Validator\Constraints as DASSERT; @ORM\InheritanceType("SINGLE_TABLE") @DASSERT\UniqueEntity(fields="name") ...</code></p> <p dir="auto">Sql Error<br> <code class="notranslate">SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Test' for key 'UNIQ_39276025E237E06'</code></p>
<p dir="auto">Currently, the UniqueEntity constraint can fail when used on an inherited Entity, depending on where the validated field was declared in the Inheritance chain. Let me give you an example, suppose we have defined the following classes, where both <code class="notranslate">Student</code> and <code class="notranslate">Teacher</code> extend <code class="notranslate">Person</code> and we have used Doctrine's Class Table Inheritance:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php Class Person { /** * @UniqueEntity(&quot;name&quot;) */ private $name; } Class Student extends Person { } Class Teacher extends Person { } "><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-k">Class</span> <span class="pl-v">Person</span> { <span class="pl-c">/**</span> <span class="pl-c"> * @UniqueEntity("name")</span> <span class="pl-c"> */</span> <span class="pl-k">private</span> <span class="pl-c1"><span class="pl-c1">$</span>name</span>; } <span class="pl-k">Class</span> <span class="pl-v">Student</span> <span class="pl-k">extends</span> <span class="pl-v">Person</span> { } <span class="pl-k">Class</span> <span class="pl-v">Teacher</span> <span class="pl-k">extends</span> <span class="pl-v">Person</span> { }</pre></div> <p dir="auto">Now let's insert a new <code class="notranslate">Teacher</code> named "Fabien", the validator kicks in, see that no Teacher with that name exists and "Fabien" is happily inserted on the database (inside the person table).</p> <p dir="auto">Trying to insert another Teacher with the same name works as expected, stating that our unique constraint was violated.</p> <p dir="auto">Now, if we try to insert a new Student whose name is "Fabien" as well the validator fails to do its work, letting this violation pass unseen and then when Doctrine tries to persist the new Student (assuming your name is a unique field, which probably should) the database will yell back at you saying that another record with the same name already exists in the person table.</p> <p dir="auto">This happens because the validator uses the repository of the entity in which the validation was triggered, not the repository in which the field was defined. So a SQL similar to this is generated:</p> <div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="SELECT * FROM student INNER JOIN person ON student.id = person.id WHERE person.name = 'Fabien'"><pre class="notranslate"><span class="pl-k">SELECT</span> <span class="pl-k">*</span> <span class="pl-k">FROM</span> student <span class="pl-k">INNER JOIN</span> person <span class="pl-k">ON</span> <span class="pl-c1">student</span>.<span class="pl-c1">id</span> <span class="pl-k">=</span> <span class="pl-c1">person</span>.<span class="pl-c1">id</span> <span class="pl-k">WHERE</span> <span class="pl-c1">person</span>.<span class="pl-c1">name</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">'</span>Fabien<span class="pl-pds">'</span></span></pre></div> <p dir="auto">And because of the fact that no Student with the name "Fabien" exists (we have added a Teacher with the name "Fabien") the validation will not work properly.</p> <p dir="auto">I'm currently working on a fix for this issue so a PR will follow shortly.</p>
1
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">Step by Step guide on how to deploy Vue.js properly</p> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">No API, just document change</p>
<p dir="auto">As per the title, a section of the cookbook could be used to explain how to take an app from development to production and use a CDN to distribute the app</p> <p dir="auto">A good structure could be:</p> <ul dir="auto"> <li>How to configure a CDN</li> <li>describe what needs to be configured/created for the given CDN</li> <li>How to manually deploy to a CDN</li> <li>In my experience, it's much easier to manually deploy first and then configure some CI/CD pipeline</li> <li>CI/CD <ul dir="auto"> <li>configure a CI/CD pipeline for continuos deployment</li> </ul> </li> <li>Production tips <ul dir="auto"> <li>In this section all the tips and tricks that fall into the category "I wish I knew that before deploy the app" e.g. SSL certificate. source map etc</li> </ul> </li> </ul> <p dir="auto">Given there are a lot of CDN and CI/CD providers, this can get complicated but skills are transferable, so if the example covers netifly + travis CI should be enough, and can always be improved in the future</p> <p dir="auto">I'll be more than happy to contribute myself to this section of the cookbook 😄</p>
1
<ul dir="auto"> <li>Electron version: v1.2.5</li> <li>Operating system: macOS Sierra v10.12</li> </ul> <p dir="auto">When I press the Cmd key, sometimes the Electron app displays an internal error. This mostly happens when I am trying to reload the app using Cmd+R. I'm not sure why this is happening, and I doubt it has anything to do with my app. Is there any solution for this?</p> <p dir="auto">This is a capture of the dialog box I get:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8501879/19109809/a392162c-8b14-11e6-91d4-e18e022aa7d6.png"><img src="https://cloud.githubusercontent.com/assets/8501879/19109809/a392162c-8b14-11e6-91d4-e18e022aa7d6.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">Error trace:</h2> <p dir="auto">Exception Name: NSInvalidArgumentException<br> Description: -[NSToolbarFullScreenWindow redispatchKeyEvent:]: unrecognized selector sent to instance 0x7ff8314683d0<br> User Info: (null)</p> <p dir="auto">0 CoreFoundation 0x00007fff76ea552b <strong>exceptionPreprocess + 171<br> 1 libobjc.A.dylib 0x00007fff8b57dcad objc_exception_throw + 48<br> 2 CoreFoundation 0x00007fff76f26d34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132<br> 3 CoreFoundation 0x00007fff76e17bf5 __<em>forwarding</em></strong> + 1061<br> 4 CoreFoundation 0x00007fff76e17748 _CF_forwarding_prep_0 + 120<br> 5 Electron Framework 0x000000010753cf1b _ZN4atom25CommonWebContentsDelegate19HandleKeyboardEventEPN7content11WebContentsERKNS1_22NativeWebKeyboardEventE + 123<br> 6 Electron Framework 0x00000001075053bd _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 45<br> 7 Electron Framework 0x00000001075053cd _ZThn80_N4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 13<br> 8 Electron Framework 0x0000000107f8aadb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9933419<br> 9 Electron Framework 0x0000000107f8a6a7 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9932343<br> 10 Electron Framework 0x0000000107f8937a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9927434<br> 11 Electron Framework 0x0000000107f891ae _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9926974<br> 12 Electron Framework 0x0000000107f88e2f _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9926079<br> 13 Electron Framework 0x0000000107fe1a41 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10289617<br> 14 Electron Framework 0x0000000107fceff9 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10213257<br> 15 Electron Framework 0x00000001085b3a88 _CTFontManagerUnregisterFontForData + 3800392<br> 16 Electron Framework 0x0000000107672f2b _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 399035<br> 17 Electron Framework 0x0000000107693253 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 530915<br> 18 Electron Framework 0x000000010769356c _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 531708<br> 19 Electron Framework 0x000000010769375b _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 532203<br> 20 Electron Framework 0x0000000107668951 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356577<br> 21 Electron Framework 0x000000010768a4ea _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 494714<br> 22 Electron Framework 0x0000000107668354 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 355044<br> 23 CoreFoundation 0x00007fff76e3b551 <strong>CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION</strong> + 17<br> 24 CoreFoundation 0x00007fff76e1c6bd __CFRunLoopDoSources0 + 557<br> 25 CoreFoundation 0x00007fff76e1bbb6 __CFRunLoopRun + 934<br> 26 CoreFoundation 0x00007fff76e1b5b4 CFRunLoopRunSpecific + 420<br> 27 HIToolbox 0x00007fff763bcf6c RunCurrentEventLoopInMode + 240<br> 28 HIToolbox 0x00007fff763bcca9 ReceiveNextEventCommon + 184<br> 29 HIToolbox 0x00007fff763bcbd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71<br> 30 AppKit 0x00007fff74ab35f5 _DPSNextEvent + 1093<br> 31 AppKit 0x00007fff751c38eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637<br> 32 AppKit 0x00007fff74aa7fbd -[NSApplication run] + 926<br> 33 Electron Framework 0x0000000107669186 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 358678<br> 34 Electron Framework 0x00000001076687a4 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356148<br> 35 Electron Framework 0x00000001076a7d03 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 615571<br> 36 Electron Framework 0x0000000107db00bb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7989323<br> 37 Electron Framework 0x0000000107dafec3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7988819<br> 38 Electron Framework 0x0000000107db24d2 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7998562<br> 39 Electron Framework 0x0000000107dabb5d _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7971565<br> 40 Electron Framework 0x0000000107d1d581 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7388433<br> 41 Electron Framework 0x0000000107d1c6f6 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/electron/electron/commit/738471069c0658916bd590e1a51811d07eb1168f/hovercard" href="https://github.com/electron/electron/commit/738471069c0658916bd590e1a51811d07eb1168f"><tt>7384710</tt></a><br> 42 Electron Framework 0x00000001074af787 AtomMain + 71<br> 43 Electron 0x00000001074aaec6 main + 38<br> 44 libdyld.dylib 0x00007fff8be5b255 start + 1</p>
<p dir="auto">Electron 1.2.7, macOS only</p> <p dir="auto">Seen a few reports of this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Date/Time: 2016-07-27 17:33:16.936 -0700 OS Version: Mac OS X 10.11.5 (15F34) Report Version: 11 Anonymous UUID: BFDB9318-F4C7-3E88-A2B0-838D74414044 Sleep/Wake UUID: F6F84732-50DF-4A03-BC5A-005598A95D59 Time Awake Since Boot: 390000 seconds Time Since Wake: 3500 seconds System Integrity Protection: enabled Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSToolbarFullScreenWindow redispatchKeyEvent:]: unrecognized selector sent to instance 0x7f9123c3bef0' terminating with uncaught exception of type NSException abort() called Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff8fa324f2 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff88c1af7e objc_exception_throw + 48 2 CoreFoundation 0x00007fff8fa9c1ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 3 CoreFoundation 0x00007fff8f9a2571 ___forwarding___ + 1009 4 CoreFoundation 0x00007fff8f9a20f8 _CF_forwarding_prep_0 + 120 5 Electron Framework 0x000000010ee0779a _ZN4atom25CommonWebContentsDelegate19HandleKeyboardEventEPN7content11WebContentsERKNS1_22NativeWebKeyboardEventE + 202 6 Electron Framework 0x000000010edce75d _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 45 7 Electron Framework 0x000000010edce752 _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 34 8 Electron Framework 0x000000010edce76d _ZThn80_N4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 13 9 Electron Framework 0x000000010f856edb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9935307 10 Electron Framework 0x000000010f856aa7 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9934231 11 Electron Framework 0x000000010f85577a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9929322 12 Electron Framework 0x000000010f8555ae _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9928862 13 Electron Framework 0x000000010f85522f _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9927967 14 Electron Framework 0x000000010f8ade41 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10291505 15 Electron Framework 0x000000010f89b3f9 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10215145 16 Electron Framework 0x000000010fe7ffb8 _CTFontManagerUnregisterFontForData + 3800696 17 Electron Framework 0x000000010ef3ebcb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 399035 18 Electron Framework 0x000000010ef5f633 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 532771 19 Electron Framework 0x000000010ef5f94c _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 533564 20 Electron Framework 0x000000010ef5fb3b _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 534059 21 Electron Framework 0x000000010ef345f1 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356577 22 Electron Framework 0x000000010ef5618a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 494714 23 Electron Framework 0x000000010ef33ff4 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 355044 24 CoreFoundation 0x00007fff8f9c7881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 25 CoreFoundation 0x00007fff8f9a6fbc __CFRunLoopDoSources0 + 556 26 CoreFoundation 0x00007fff8f9a64df __CFRunLoopRun + 927 27 CoreFoundation 0x00007fff8f9a5ed8 CFRunLoopRunSpecific + 296 28 HIToolbox 0x00007fff90d87935 RunCurrentEventLoopInMode + 235 29 HIToolbox 0x00007fff90d8776f ReceiveNextEventCommon + 432 30 HIToolbox 0x00007fff90d875af _BlockUntilNextEventMatchingListInModeWithFilter + 71 31 AppKit 0x00007fff8d83bdf6 _DPSNextEvent + 1067 32 AppKit 0x00007fff8d83b226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 33 AppKit 0x00007fff8d82fd80 -[NSApplication run] + 682 34 Electron Framework 0x000000010ef34e26 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 358678 35 Electron Framework 0x000000010ef34444 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356148 36 Electron Framework 0x000000010ef740e3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 617427 37 Electron Framework 0x000000010f67c4bb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7991211 38 Electron Framework 0x000000010f67c2c3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7990707 39 Electron Framework 0x000000010f67e8d2 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 8000450 40 Electron Framework 0x000000010f677f5d _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7973453 41 Electron Framework 0x000000010f5e9981 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7390321 42 Electron Framework 0x000000010f5e8af6 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7386598 43 Electron Framework 0x000000010ed75307 AtomMain + 71 44 Slack 0x000000010ed6eec6 main + 38 45 libdyld.dylib 0x00007fff8eaf05ad start + 1 Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff83e38f06 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff8ae7c4ec pthread_kill + 90 2 libsystem_c.dylib 0x00007fff8ecff6e7 abort + 129 3 libc++abi.dylib 0x00007fff88be0f81 abort_message + 257 4 libc++abi.dylib 0x00007fff88c06a47 default_terminate_handler() + 267 5 libobjc.A.dylib 0x00007fff88c1d6ae _objc_terminate() + 103 6 libc++abi.dylib 0x00007fff88c0419e std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x00007fff88c03c12 __cxa_throw + 121 8 libobjc.A.dylib 0x00007fff88c1b08c objc_exception_throw + 318 9 com.apple.CoreFoundation 0x00007fff8fa9c1ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 10 com.apple.CoreFoundation 0x00007fff8f9a2571 ___forwarding___ + 1009 11 com.apple.CoreFoundation 0x00007fff8f9a20f8 _CF_forwarding_prep_0 + 120 12 com.github.electron.framework 0x000000010ee0779a atom::CommonWebContentsDelegate::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 202 13 com.github.electron.framework 0x000000010edce75d atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 45 14 com.github.electron.framework 0x000000010edce752 atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 34 15 com.github.electron.framework 0x000000010edce76d non-virtual thunk to atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 13"><pre class="notranslate"><code class="notranslate">Date/Time: 2016-07-27 17:33:16.936 -0700 OS Version: Mac OS X 10.11.5 (15F34) Report Version: 11 Anonymous UUID: BFDB9318-F4C7-3E88-A2B0-838D74414044 Sleep/Wake UUID: F6F84732-50DF-4A03-BC5A-005598A95D59 Time Awake Since Boot: 390000 seconds Time Since Wake: 3500 seconds System Integrity Protection: enabled Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSToolbarFullScreenWindow redispatchKeyEvent:]: unrecognized selector sent to instance 0x7f9123c3bef0' terminating with uncaught exception of type NSException abort() called Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff8fa324f2 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff88c1af7e objc_exception_throw + 48 2 CoreFoundation 0x00007fff8fa9c1ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 3 CoreFoundation 0x00007fff8f9a2571 ___forwarding___ + 1009 4 CoreFoundation 0x00007fff8f9a20f8 _CF_forwarding_prep_0 + 120 5 Electron Framework 0x000000010ee0779a _ZN4atom25CommonWebContentsDelegate19HandleKeyboardEventEPN7content11WebContentsERKNS1_22NativeWebKeyboardEventE + 202 6 Electron Framework 0x000000010edce75d _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 45 7 Electron Framework 0x000000010edce752 _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 34 8 Electron Framework 0x000000010edce76d _ZThn80_N4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 13 9 Electron Framework 0x000000010f856edb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9935307 10 Electron Framework 0x000000010f856aa7 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9934231 11 Electron Framework 0x000000010f85577a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9929322 12 Electron Framework 0x000000010f8555ae _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9928862 13 Electron Framework 0x000000010f85522f _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9927967 14 Electron Framework 0x000000010f8ade41 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10291505 15 Electron Framework 0x000000010f89b3f9 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10215145 16 Electron Framework 0x000000010fe7ffb8 _CTFontManagerUnregisterFontForData + 3800696 17 Electron Framework 0x000000010ef3ebcb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 399035 18 Electron Framework 0x000000010ef5f633 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 532771 19 Electron Framework 0x000000010ef5f94c _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 533564 20 Electron Framework 0x000000010ef5fb3b _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 534059 21 Electron Framework 0x000000010ef345f1 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356577 22 Electron Framework 0x000000010ef5618a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 494714 23 Electron Framework 0x000000010ef33ff4 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 355044 24 CoreFoundation 0x00007fff8f9c7881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 25 CoreFoundation 0x00007fff8f9a6fbc __CFRunLoopDoSources0 + 556 26 CoreFoundation 0x00007fff8f9a64df __CFRunLoopRun + 927 27 CoreFoundation 0x00007fff8f9a5ed8 CFRunLoopRunSpecific + 296 28 HIToolbox 0x00007fff90d87935 RunCurrentEventLoopInMode + 235 29 HIToolbox 0x00007fff90d8776f ReceiveNextEventCommon + 432 30 HIToolbox 0x00007fff90d875af _BlockUntilNextEventMatchingListInModeWithFilter + 71 31 AppKit 0x00007fff8d83bdf6 _DPSNextEvent + 1067 32 AppKit 0x00007fff8d83b226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 33 AppKit 0x00007fff8d82fd80 -[NSApplication run] + 682 34 Electron Framework 0x000000010ef34e26 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 358678 35 Electron Framework 0x000000010ef34444 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356148 36 Electron Framework 0x000000010ef740e3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 617427 37 Electron Framework 0x000000010f67c4bb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7991211 38 Electron Framework 0x000000010f67c2c3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7990707 39 Electron Framework 0x000000010f67e8d2 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 8000450 40 Electron Framework 0x000000010f677f5d _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7973453 41 Electron Framework 0x000000010f5e9981 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7390321 42 Electron Framework 0x000000010f5e8af6 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7386598 43 Electron Framework 0x000000010ed75307 AtomMain + 71 44 Slack 0x000000010ed6eec6 main + 38 45 libdyld.dylib 0x00007fff8eaf05ad start + 1 Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff83e38f06 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff8ae7c4ec pthread_kill + 90 2 libsystem_c.dylib 0x00007fff8ecff6e7 abort + 129 3 libc++abi.dylib 0x00007fff88be0f81 abort_message + 257 4 libc++abi.dylib 0x00007fff88c06a47 default_terminate_handler() + 267 5 libobjc.A.dylib 0x00007fff88c1d6ae _objc_terminate() + 103 6 libc++abi.dylib 0x00007fff88c0419e std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x00007fff88c03c12 __cxa_throw + 121 8 libobjc.A.dylib 0x00007fff88c1b08c objc_exception_throw + 318 9 com.apple.CoreFoundation 0x00007fff8fa9c1ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 10 com.apple.CoreFoundation 0x00007fff8f9a2571 ___forwarding___ + 1009 11 com.apple.CoreFoundation 0x00007fff8f9a20f8 _CF_forwarding_prep_0 + 120 12 com.github.electron.framework 0x000000010ee0779a atom::CommonWebContentsDelegate::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 202 13 com.github.electron.framework 0x000000010edce75d atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 45 14 com.github.electron.framework 0x000000010edce752 atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 34 15 com.github.electron.framework 0x000000010edce76d non-virtual thunk to atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&amp;) + 13 </code></pre></div>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/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">To work properly and frictionless with all kinds of webpack loaders.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">next dev seems to work with custom loaders, but it is very confusing, like what is the version of babel beeing used, you go to tutoriais on the internet and it uses options from older module versions<br> <code class="notranslate">next build</code> and <code class="notranslate">next export</code> doest integrate well with custom loaders, it thorwn a error.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Add the loaders to <code class="notranslate">next.config.js</code></p> <blockquote> <p dir="auto">tip: find and run an example that is easy to hack</p> </blockquote> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="config.module.rules.push({ test: /\.(jpg|png))/, use: [{ loader: 'file-loader' }, { loader: 'url-loader', options: { limit: 1 } }]})"><pre class="notranslate"><span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">module</span><span class="pl-kos">.</span><span class="pl-c1">rules</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>jpg<span class="pl-c1">|</span>png<span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">[</span><span class="pl-kos">{</span> <span class="pl-c1">loader</span>: <span class="pl-s">'file-loader'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">loader</span>: <span class="pl-s">'url-loader'</span><span class="pl-kos">,</span> <span class="pl-c1">options</span>: <span class="pl-kos">{</span> <span class="pl-c1">limit</span>: <span class="pl-c1">1</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <div class="highlight highlight-text-adblock notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm install -S file-loader url-loader"><pre class="notranslate">npm install -S file-loader url-loader</pre></div> <h2 dir="auto">Context</h2> <p dir="auto">From a fresh new create-<a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-app">next-app</a> project, add a image to <code class="notranslate">/static</code>, import the image at <code class="notranslate">/page/index.js</code>, and use it as a url string <code class="notranslate">&lt;img src={myImage} /&gt;</code>, then add the custom loader, and try to</p> <p dir="auto">1 - use development server<br> 2 - build and use static version to production (<code class="notranslate">npm i -g serve</code> can help)<br> 3 - build and use production server</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.2</td> </tr> <tr> <td>node</td> <td>9.4</td> </tr> <tr> <td>OS</td> <td>Windows 10</td> </tr> </tbody> </table> <hr>
<p dir="auto">I'm trying to support IE11 for my app to fix the error<br> <code class="notranslate">TypeError: Object doesn't support property or method 'find'</code></p> <p dir="auto">Using next <code class="notranslate">2.4.6</code> but also not working on latest beta</p> <p dir="auto">Added a custom .babelerc together with <code class="notranslate">babel-preset-env</code> with the following config:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ &quot;es2015&quot;, &quot;react&quot;, &quot;next/babel&quot;, &quot;stage-0&quot;, [ &quot;env&quot;, { &quot;targets&quot;: { &quot;safari&quot;: 10, &quot;ie&quot;: 11 }, &quot;modules&quot;: false, &quot;useBuiltIns&quot;: true, &quot;debug&quot;: true }] ], }"><pre class="notranslate">{ <span class="pl-ent">"presets"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>es2015<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>react<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>next/babel<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>stage-0<span class="pl-pds">"</span></span>, [ <span class="pl-s"><span class="pl-pds">"</span>env<span class="pl-pds">"</span></span>, { <span class="pl-ent">"targets"</span>: { <span class="pl-ent">"safari"</span>: <span class="pl-c1">10</span>, <span class="pl-ent">"ie"</span>: <span class="pl-c1">11</span> }, <span class="pl-ent">"modules"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"useBuiltIns"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"debug"</span>: <span class="pl-c1">true</span> }] ], }</pre></div> <p dir="auto">Enabled the debug flag so on startup I get the following log, which seems to mean that the polyfill are added.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="babel-preset-env: `DEBUG` option Using targets: { &quot;safari&quot;: &quot;10&quot;, &quot;ie&quot;: &quot;11&quot; } Modules transform: false Using plugins: check-es2015-constants {&quot;ie&quot;:&quot;11&quot;} transform-es2015-arrow-functions {&quot;ie&quot;:&quot;11&quot;} transform-es2015-block-scoping {&quot;ie&quot;:&quot;11&quot;} transform-es2015-classes {&quot;ie&quot;:&quot;11&quot;} transform-es2015-computed-properties {&quot;ie&quot;:&quot;11&quot;} transform-es2015-destructuring {&quot;ie&quot;:&quot;11&quot;} transform-es2015-duplicate-keys {&quot;ie&quot;:&quot;11&quot;} transform-es2015-for-of {&quot;ie&quot;:&quot;11&quot;} transform-es2015-function-name {&quot;ie&quot;:&quot;11&quot;} transform-es2015-literals {&quot;ie&quot;:&quot;11&quot;} transform-es2015-object-super {&quot;ie&quot;:&quot;11&quot;} transform-es2015-parameters {&quot;ie&quot;:&quot;11&quot;} transform-es2015-shorthand-properties {&quot;ie&quot;:&quot;11&quot;} transform-es2015-spread {&quot;ie&quot;:&quot;11&quot;} transform-es2015-sticky-regex {&quot;ie&quot;:&quot;11&quot;} transform-es2015-template-literals {&quot;ie&quot;:&quot;11&quot;} transform-es2015-typeof-symbol {&quot;ie&quot;:&quot;11&quot;} transform-es2015-unicode-regex {&quot;ie&quot;:&quot;11&quot;} transform-regenerator {&quot;ie&quot;:&quot;11&quot;} transform-exponentiation-operator {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;} transform-async-to-generator {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;} syntax-trailing-function-commas {&quot;ie&quot;:&quot;11&quot;} Using polyfills: es6.typed.array-buffer {&quot;ie&quot;:&quot;11&quot;} es6.typed.int8-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.uint8-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.uint8-clamped-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.int16-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.uint16-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.int32-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.uint32-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.float32-array {&quot;ie&quot;:&quot;11&quot;} es6.typed.float64-array {&quot;ie&quot;:&quot;11&quot;} es6.map {&quot;ie&quot;:&quot;11&quot;} es6.set {&quot;ie&quot;:&quot;11&quot;} es6.weak-map {&quot;ie&quot;:&quot;11&quot;} es6.weak-set {&quot;ie&quot;:&quot;11&quot;} es6.reflect.apply {&quot;ie&quot;:&quot;11&quot;} es6.reflect.construct {&quot;ie&quot;:&quot;11&quot;} es6.reflect.define-property {&quot;ie&quot;:&quot;11&quot;} es6.reflect.delete-property {&quot;ie&quot;:&quot;11&quot;} es6.reflect.get {&quot;ie&quot;:&quot;11&quot;} es6.reflect.get-own-property-descriptor {&quot;ie&quot;:&quot;11&quot;} es6.reflect.get-prototype-of {&quot;ie&quot;:&quot;11&quot;} es6.reflect.has {&quot;ie&quot;:&quot;11&quot;} es6.reflect.is-extensible {&quot;ie&quot;:&quot;11&quot;} es6.reflect.own-keys {&quot;ie&quot;:&quot;11&quot;} es6.reflect.prevent-extensions {&quot;ie&quot;:&quot;11&quot;} es6.reflect.set {&quot;ie&quot;:&quot;11&quot;} es6.reflect.set-prototype-of {&quot;ie&quot;:&quot;11&quot;} es6.promise {&quot;ie&quot;:&quot;11&quot;} es6.symbol {&quot;ie&quot;:&quot;11&quot;} es6.object.assign {&quot;ie&quot;:&quot;11&quot;} es6.object.is {&quot;ie&quot;:&quot;11&quot;} es6.function.name {&quot;ie&quot;:&quot;11&quot;} es6.string.raw {&quot;ie&quot;:&quot;11&quot;} es6.string.from-code-point {&quot;ie&quot;:&quot;11&quot;} es6.string.code-point-at {&quot;ie&quot;:&quot;11&quot;} es6.string.repeat {&quot;ie&quot;:&quot;11&quot;} es6.string.starts-with {&quot;ie&quot;:&quot;11&quot;} es6.string.ends-with {&quot;ie&quot;:&quot;11&quot;} es6.string.includes {&quot;ie&quot;:&quot;11&quot;} es6.regexp.flags {&quot;ie&quot;:&quot;11&quot;} es6.regexp.match {&quot;ie&quot;:&quot;11&quot;} es6.regexp.replace {&quot;ie&quot;:&quot;11&quot;} es6.regexp.split {&quot;ie&quot;:&quot;11&quot;} es6.regexp.search {&quot;ie&quot;:&quot;11&quot;} es6.array.from {&quot;ie&quot;:&quot;11&quot;} es6.array.of {&quot;ie&quot;:&quot;11&quot;} es6.array.copy-within {&quot;ie&quot;:&quot;11&quot;} es6.array.find {&quot;ie&quot;:&quot;11&quot;} es6.array.find-index {&quot;ie&quot;:&quot;11&quot;} es6.array.fill {&quot;ie&quot;:&quot;11&quot;} es6.array.iterator {&quot;ie&quot;:&quot;11&quot;} es6.number.is-finite {&quot;ie&quot;:&quot;11&quot;} es6.number.is-integer {&quot;ie&quot;:&quot;11&quot;} es6.number.is-safe-integer {&quot;ie&quot;:&quot;11&quot;} es6.number.is-nan {&quot;ie&quot;:&quot;11&quot;} es6.number.epsilon {&quot;ie&quot;:&quot;11&quot;} es6.number.min-safe-integer {&quot;ie&quot;:&quot;11&quot;} es6.number.max-safe-integer {&quot;ie&quot;:&quot;11&quot;} es6.math.acosh {&quot;ie&quot;:&quot;11&quot;} es6.math.asinh {&quot;ie&quot;:&quot;11&quot;} es6.math.atanh {&quot;ie&quot;:&quot;11&quot;} es6.math.cbrt {&quot;ie&quot;:&quot;11&quot;} es6.math.clz32 {&quot;ie&quot;:&quot;11&quot;} es6.math.cosh {&quot;ie&quot;:&quot;11&quot;} es6.math.expm1 {&quot;ie&quot;:&quot;11&quot;} es6.math.fround {&quot;ie&quot;:&quot;11&quot;} es6.math.hypot {&quot;ie&quot;:&quot;11&quot;} es6.math.imul {&quot;ie&quot;:&quot;11&quot;} es6.math.log1p {&quot;ie&quot;:&quot;11&quot;} es6.math.log10 {&quot;ie&quot;:&quot;11&quot;} es6.math.log2 {&quot;ie&quot;:&quot;11&quot;} es6.math.sign {&quot;ie&quot;:&quot;11&quot;} es6.math.sinh {&quot;ie&quot;:&quot;11&quot;} es6.math.tanh {&quot;ie&quot;:&quot;11&quot;} es6.math.trunc {&quot;ie&quot;:&quot;11&quot;} es7.array.includes {&quot;ie&quot;:&quot;11&quot;} es7.object.values {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;} es7.object.entries {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;} es7.object.get-own-property-descriptors {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;} es7.string.pad-start {&quot;ie&quot;:&quot;11&quot;} es7.string.pad-end {&quot;ie&quot;:&quot;11&quot;} web.timers {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;} web.immediate {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;} web.dom.iterable {&quot;safari&quot;:&quot;10&quot;,&quot;ie&quot;:&quot;11&quot;}"><pre class="notranslate"><code class="notranslate">babel-preset-env: `DEBUG` option Using targets: { "safari": "10", "ie": "11" } Modules transform: false Using plugins: check-es2015-constants {"ie":"11"} transform-es2015-arrow-functions {"ie":"11"} transform-es2015-block-scoping {"ie":"11"} transform-es2015-classes {"ie":"11"} transform-es2015-computed-properties {"ie":"11"} transform-es2015-destructuring {"ie":"11"} transform-es2015-duplicate-keys {"ie":"11"} transform-es2015-for-of {"ie":"11"} transform-es2015-function-name {"ie":"11"} transform-es2015-literals {"ie":"11"} transform-es2015-object-super {"ie":"11"} transform-es2015-parameters {"ie":"11"} transform-es2015-shorthand-properties {"ie":"11"} transform-es2015-spread {"ie":"11"} transform-es2015-sticky-regex {"ie":"11"} transform-es2015-template-literals {"ie":"11"} transform-es2015-typeof-symbol {"ie":"11"} transform-es2015-unicode-regex {"ie":"11"} transform-regenerator {"ie":"11"} transform-exponentiation-operator {"safari":"10","ie":"11"} transform-async-to-generator {"safari":"10","ie":"11"} syntax-trailing-function-commas {"ie":"11"} Using polyfills: es6.typed.array-buffer {"ie":"11"} es6.typed.int8-array {"ie":"11"} es6.typed.uint8-array {"ie":"11"} es6.typed.uint8-clamped-array {"ie":"11"} es6.typed.int16-array {"ie":"11"} es6.typed.uint16-array {"ie":"11"} es6.typed.int32-array {"ie":"11"} es6.typed.uint32-array {"ie":"11"} es6.typed.float32-array {"ie":"11"} es6.typed.float64-array {"ie":"11"} es6.map {"ie":"11"} es6.set {"ie":"11"} es6.weak-map {"ie":"11"} es6.weak-set {"ie":"11"} es6.reflect.apply {"ie":"11"} es6.reflect.construct {"ie":"11"} es6.reflect.define-property {"ie":"11"} es6.reflect.delete-property {"ie":"11"} es6.reflect.get {"ie":"11"} es6.reflect.get-own-property-descriptor {"ie":"11"} es6.reflect.get-prototype-of {"ie":"11"} es6.reflect.has {"ie":"11"} es6.reflect.is-extensible {"ie":"11"} es6.reflect.own-keys {"ie":"11"} es6.reflect.prevent-extensions {"ie":"11"} es6.reflect.set {"ie":"11"} es6.reflect.set-prototype-of {"ie":"11"} es6.promise {"ie":"11"} es6.symbol {"ie":"11"} es6.object.assign {"ie":"11"} es6.object.is {"ie":"11"} es6.function.name {"ie":"11"} es6.string.raw {"ie":"11"} es6.string.from-code-point {"ie":"11"} es6.string.code-point-at {"ie":"11"} es6.string.repeat {"ie":"11"} es6.string.starts-with {"ie":"11"} es6.string.ends-with {"ie":"11"} es6.string.includes {"ie":"11"} es6.regexp.flags {"ie":"11"} es6.regexp.match {"ie":"11"} es6.regexp.replace {"ie":"11"} es6.regexp.split {"ie":"11"} es6.regexp.search {"ie":"11"} es6.array.from {"ie":"11"} es6.array.of {"ie":"11"} es6.array.copy-within {"ie":"11"} es6.array.find {"ie":"11"} es6.array.find-index {"ie":"11"} es6.array.fill {"ie":"11"} es6.array.iterator {"ie":"11"} es6.number.is-finite {"ie":"11"} es6.number.is-integer {"ie":"11"} es6.number.is-safe-integer {"ie":"11"} es6.number.is-nan {"ie":"11"} es6.number.epsilon {"ie":"11"} es6.number.min-safe-integer {"ie":"11"} es6.number.max-safe-integer {"ie":"11"} es6.math.acosh {"ie":"11"} es6.math.asinh {"ie":"11"} es6.math.atanh {"ie":"11"} es6.math.cbrt {"ie":"11"} es6.math.clz32 {"ie":"11"} es6.math.cosh {"ie":"11"} es6.math.expm1 {"ie":"11"} es6.math.fround {"ie":"11"} es6.math.hypot {"ie":"11"} es6.math.imul {"ie":"11"} es6.math.log1p {"ie":"11"} es6.math.log10 {"ie":"11"} es6.math.log2 {"ie":"11"} es6.math.sign {"ie":"11"} es6.math.sinh {"ie":"11"} es6.math.tanh {"ie":"11"} es6.math.trunc {"ie":"11"} es7.array.includes {"ie":"11"} es7.object.values {"safari":"10","ie":"11"} es7.object.entries {"safari":"10","ie":"11"} es7.object.get-own-property-descriptors {"safari":"10","ie":"11"} es7.string.pad-start {"ie":"11"} es7.string.pad-end {"ie":"11"} web.timers {"safari":"10","ie":"11"} web.immediate {"safari":"10","ie":"11"} web.dom.iterable {"safari":"10","ie":"11"} </code></pre></div> <p dir="auto">However, at runtime, I still get the error on IE11 when I call the .find() method on an array.</p> <p dir="auto">Anything I can do to double check to make sure the polyfills are injected correctly?</p>
0
<p dir="auto">Deno community is against introducing anything similar to package.json but I am not sure if their approach is better. It's difficult to manage/import packages with absolute URL, there should be something like package.json which gives you details and ability to control versions of external modules which your application is using in single file. Need some sort of cli as well like npm i package@latest.<br> Not sure how to restrict or bring latest version of package .<br> Dockerizing Deno application seems confusing at this point.</p>
<p dir="auto">Import from url is very hard to use. I think is not a good idea.<br> If so,</p> <ol dir="auto"> <li>We must manage more js files not our own development.</li> <li>Heavily dependent on the network, because the third package also can import another packages.</li> </ol> <p dir="auto">Like C#\Java, the nuget and maven is good for use. Maybe use that mode can help us manage the packages.</p>
1
<h5 dir="auto">Description of the problem</h5> <p dir="auto">When using a texture as a map for any kind material, if the texture is not a power of two it looks rotared 180 degrees</p> <p dir="auto">To reproduce the problem use the Editor, add a plane or a cube and assigna map to the attached material. If the texture is not a power of two you will see the texture image upside-down.<br> Strangely, It is working on Firefox.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r102</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li>[] All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Edge</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<h5 dir="auto">Description of the problem</h5> <p dir="auto">Sprites are flipped. This happened after somewhere between 101 (which works) and 102. In the sandbox below you can exchange the three version, going back to the last major has them positioned correctly.</p> <p dir="auto"><a href="https://codesandbox.io/s/1z92z6xwz4" rel="nofollow">https://codesandbox.io/s/1z92z6xwz4</a></p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r102</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> macOS</li> </ul>
1
<p dir="auto">in the previous version, i can still format a xml file, but in the latest version, why cannot?????</p>
<p dir="auto">before the update I could use alt+shift+f to code format an xml file. After the update this no longer works (using windows version 0.10.1)</p>
1
<p dir="auto">Internet explorer 9 ignores width and height of images, ok in Chrome, FF. Bootstrap Bootstrap v2.3.1</p> <p dir="auto">Test:<br> <a target="_blank" rel="noopener noreferrer" href="test.jpg"><img src="test.jpg" width="230" height="230" border="0" style="max-width: 100%;"></a></p> <p dir="auto">Bootstrap css:<br> <code class="notranslate"><br> img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}<br> </code></p> <p dir="auto">Fix: comment height: auto<br> <code class="notranslate"><br> img{max-width:100%;width:auto\9;<em>height:auto</em>;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}<br> </code></p>
<p dir="auto">the image height bug previously fixed in 2.0.3 (issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3179220" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/1899" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/1899/hovercard" href="https://github.com/twbs/bootstrap/issues/1899">#1899</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3790884" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/2779" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/2779/hovercard" href="https://github.com/twbs/bootstrap/issues/2779">#2779</a>) is back in 2.1.0</p>
1
<p dir="auto">Currently the tree fitting procedure tries all possible splits between unique values of each feature in <code class="notranslate">find_best_split</code> and <code class="notranslate">_smallest_sample_larger_than</code> in <code class="notranslate">_tree.pyx</code>. This can be very expensive for large datasets.</p> <p dir="auto">TMVA [1] implements both this same procedure as well as a mode that histograms each feature with a fixed number of bins [2]:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The cut values are optimised by scanning over the variable range with a granularity that is set via the option nCuts. The default value of nCuts=20 proved to be a good compromise between computing time and step size. Finer stepping values did not increase noticeably the performance of the BDTs. However, a truly optimal cut, given the training sample, is determined by setting nCuts=-1. This invokes an algorithm that tests all possible cuts on the training sample and finds the best one."><pre class="notranslate"><code class="notranslate">The cut values are optimised by scanning over the variable range with a granularity that is set via the option nCuts. The default value of nCuts=20 proved to be a good compromise between computing time and step size. Finer stepping values did not increase noticeably the performance of the BDTs. However, a truly optimal cut, given the training sample, is determined by setting nCuts=-1. This invokes an algorithm that tests all possible cuts on the training sample and finds the best one. </code></pre></div> <p dir="auto">A similar feature in scikit-learn would be nice and should offer a speedup on large datasets with many features. Hopefully this issue can be converted to a PR soon (preferably after <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="9489967" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/1488" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/1488/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/1488">#1488</a> is merged). Just noting it here for future reference and to incite discussion.</p> <p dir="auto">[1] <a href="http://tmva.sourceforge.net/" rel="nofollow">http://tmva.sourceforge.net/</a><br> [2] <a href="http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf" rel="nofollow">http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf</a> (sections 8.12.2 and 8.12.3)</p>
<p dir="auto">This is a follow-up of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5546611" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/946" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/946/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/946">#946</a>. We came to the conclusion that the algorithm behind <code class="notranslate">find_split</code> should be redesigned in order to decrease one step further the training time in decision trees.</p> <p dir="auto">Below is a summary of the strategies we discussed.</p> <hr> <p dir="auto">N = total number of training samples<br> N_i = number of training samples at node i<br> d = n_features.</p> <p dir="auto">Let's assume for now that max_features = d.</p> <ol dir="auto"> <li> <p dir="auto">Building X_argsort is O(N log(N) * d)</p> </li> <li> <p dir="auto">On master, at each node, find_split is O(N * d). To build a fully developed tree, find_split has to be called O(N) times, which results in a cumulative complexity for find_split of O(N^2 * d).</p> </li> </ol> <p dir="auto">In total, the complexity of building a single tree is then O(N log(N) * d + N^2 * d)</p> <p dir="auto">If T trees are built, the complexity is O(N log(N) * d + T * N^2 * d) since X_argsort is shared for all trees.</p> <ol start="3" dir="auto"> <li>[Strategy A] Assume that we remove sample_mask and that, at each node, we rather reorder X_argsorted in a divide and conquer fashion.</li> </ol> <p dir="auto">In that case, at each node, find_split is O(N_i *d). To build a fully developped tree, find_split has to be called O(N) times, which results, if we further assume that the tree is balanced, in a cumulative complexity for find_split of O(N log(N) * d).</p> <p dir="auto">In total, the complexity of building a single tree is then O(N log(N) * d + * N log(N) * d).</p> <p dir="auto">If T trees are built, the complexity is O(N log(N) * d + T * N log(N) * d) but requires extra-memory of O(N*d * n_jobs).</p> <ol start="4" dir="auto"> <li>[Strategy B] Assume that we remove X_argsort and sample_mask and that, each node, we sort the node samples<br> along the considered features.</li> </ol> <p dir="auto">In that case, at each node, find_split is O(N_i log(N_i) * d). I don't exactly know the cumulative complexity in that case but my intuition is that it sould be should something like O(N log(N)^2 * d). Anyway, far less that O(N^2 * d).</p> <p dir="auto">In total, the complexity of building a single tree should be around O(N log(N)^2 * d).</p> <p dir="auto">If T trees are built, then complexity should be O(T * N log(N)^2 * d).</p> <hr> <p dir="auto">Overall, I think Strategy A is the best of all but the extra-memory required is a significant disadvatange.</p> <p dir="auto">Regarding Strategy B, theory says that asymptotically it is better than master, even for building ensemble of trees. However I agree that we should account for the constant factors behind this analysis. I remain convinced however that we should at least try and see! (I can work on that.)</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 checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+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%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 in this issue<br> (If there are none, check this box anyway).</li> </ul> <h1 dir="auto">Description</h1> <p dir="auto">Looking over the docs around <code class="notranslate">shared_task</code> I found the section intended for a sidebar didn't really work in the current layout of the docs.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1461191/162766403-a7650966-7ade-4b56-ba19-9888d045396f.png"><img src="https://user-images.githubusercontent.com/1461191/162766403-a7650966-7ade-4b56-ba19-9888d045396f.png" alt="Screenshot 2022-04-11 at 11 38 39" style="max-width: 100%;"></a></p> <p dir="auto">This displays as though it's a note or sidebar related to "bound tasks" when in fact it's part of the previous section. The layout of the page is essentially a single column, so these sidebar sections should really display as part of the main body</p> <h1 dir="auto">Suggestions</h1> <p dir="auto">I'd suggest a layout something like this;<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1461191/162769841-6ff09c42-c1b3-425e-a06b-5deba87d4d22.png"><img width="733" alt="Screenshot 2022-04-11 at 16 08 27" src="https://user-images.githubusercontent.com/1461191/162769841-6ff09c42-c1b3-425e-a06b-5deba87d4d22.png" style="max-width: 100%;"></a></p> <p dir="auto">This includes a tweak to the first title because it doesn't actually detail what an app is.</p> <p dir="auto">Happy to raise a PR for this, and fix some of, if not all the errors coming out of the docs build.</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 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"> 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"> 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"> 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">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 4.3.0</p> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -&gt; celery:4.3.0 (rhubarb) kombu:4.5.0 py:3.7.3 billiard:3.6.0.0 redis:3.2.1 platform -&gt; system:Linux arch:64bit kernel version:4.15.0-45-generic imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:redis results:redis://localhost/ broker_url: 'redis://localhost:6379//' result_backend: 'redis://localhost/'"><pre class="notranslate"><code class="notranslate">software -&gt; celery:4.3.0 (rhubarb) kombu:4.5.0 py:3.7.3 billiard:3.6.0.0 redis:3.2.1 platform -&gt; system:Linux arch:64bit kernel version:4.15.0-45-generic imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:redis results:redis://localhost/ broker_url: 'redis://localhost:6379//' result_backend: 'redis://localhost/' </code></pre></div> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Minimally Reproducible Test Case</h2> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from celery import Celery app = Celery('tq-test', broker='redis://localhost', backend='redis://localhost') @app.task(bind=True) def ttt(self, test_str): self.update_state(meta={'message': test_str}) def on_raw_message(body): try: msg = body['result']['message'] except: msg = body print(msg) if __name__ == '__main__': chain = app.signature('ttt', args=tuple(&quot;a&quot;)) chain |= app.signature('ttt', args=tuple(&quot;b&quot;), immutable=True) print(chain.apply_async().get(on_message=on_raw_message))"><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">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s">'tq-test'</span>, <span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost'</span>, <span class="pl-s1">backend</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost'</span>) <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">task</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</span> <span class="pl-k">def</span> <span class="pl-en">ttt</span>(<span class="pl-s1">self</span>, <span class="pl-s1">test_str</span>): <span class="pl-s1">self</span>.<span class="pl-en">update_state</span>(<span class="pl-s1">meta</span><span class="pl-c1">=</span>{<span class="pl-s">'message'</span>: <span class="pl-s1">test_str</span>}) <span class="pl-k">def</span> <span class="pl-en">on_raw_message</span>(<span class="pl-s1">body</span>): <span class="pl-k">try</span>: <span class="pl-s1">msg</span> <span class="pl-c1">=</span> <span class="pl-s1">body</span>[<span class="pl-s">'result'</span>][<span class="pl-s">'message'</span>] <span class="pl-k">except</span>: <span class="pl-s1">msg</span> <span class="pl-c1">=</span> <span class="pl-s1">body</span> <span class="pl-en">print</span>(<span class="pl-s1">msg</span>) <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>: <span class="pl-s1">chain</span> <span class="pl-c1">=</span> <span class="pl-s1">app</span>.<span class="pl-en">signature</span>(<span class="pl-s">'ttt'</span>, <span class="pl-s1">args</span><span class="pl-c1">=</span><span class="pl-en">tuple</span>(<span class="pl-s">"a"</span>)) <span class="pl-s1">chain</span> |= <span class="pl-s1">app</span>.<span class="pl-en">signature</span>(<span class="pl-s">'ttt'</span>, <span class="pl-s1">args</span><span class="pl-c1">=</span><span class="pl-en">tuple</span>(<span class="pl-s">"b"</span>), <span class="pl-s1">immutable</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-en">print</span>(<span class="pl-s1">chain</span>.<span class="pl-en">apply_async</span>().<span class="pl-en">get</span>(<span class="pl-s1">on_message</span><span class="pl-c1">=</span><span class="pl-s1">on_raw_message</span>))</pre></div> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">In Celery 4.2.2, update_state in both tasks are shown, as below.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a b"><pre class="notranslate"><code class="notranslate">a b </code></pre></div> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">In Celery 4.3.0, only update_state in the task of the end of the chain is shown, as below.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="b"><pre class="notranslate"><code class="notranslate">b </code></pre></div>
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/mui-org/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">Autohide Snackbar when autoHideDuration's value be set.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">did not autohide Snackbar.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto"><a href="https://codesandbox.io/s/kmj34qv23" rel="nofollow">DEMO</a></p> <h2 dir="auto">Context</h2> <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.23</td> </tr> <tr> <td>React</td> <td>16.0.0</td> </tr> <tr> <td>browser</td> <td>chrome 62.0.3202.94 (Official Build) (64-bit)</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<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/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">When I try to select a field using a mobile device, I tend to select on or near the field's underline bar. I expect that this would select the field/open the menu so I can continue interacting with this field as expected.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">When I select on or near a field's underline bar, the bar gives a reaction (boldens), but the field does not react as I wanted which causes me to try and select it again. This can result in frustration as I continue to select in the same area hoping to select the field but continuing to "miss".</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13558660/31356879-4c587702-ad05-11e7-919f-a21d1d878edf.gif"><img src="https://user-images.githubusercontent.com/13558660/31356879-4c587702-ad05-11e7-919f-a21d1d878edf.gif" alt="material ui selection bug" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">In this animation, I am selecting many times where the cursor hovers over. The cursor seems to need to be entirely off of the underline before the field will react to it.</p> <h2 dir="auto">Context</h2> <p dir="auto">I believe this is a usability bug that can cause frustration for users as they attempt to select a field on a mobile device.</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.11</td> </tr> <tr> <td>React</td> <td>15.0.1</td> </tr> <tr> <td>browser</td> <td>Chrome 61, FF 56</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
0
<p dir="auto">When I quit and reopen Atom I lose all opened projects listed in sidebar and I got to drag all of those folders to Atom again.</p>
<p dir="auto">Seems reasonable</p> <blockquote> <p dir="auto">cmd-o AND file -&gt; open is always opening a new window, there is a separate command for that. It's quite the nuisance. &lt;3</p> </blockquote> <hr> <blockquote> <p dir="auto">This is perhaps a BIG one that undermines the foundation of Atom...but I find it quite irritating after coming from Sublime: I would like to be able to drag random files into a project/Atom instance so I can reference code side–by–side. Currently if I drag a random file from the finder into an Atom instance it automatically opens a new instance with the folder containing that file as the project root. Since I like to code in fullscreen, this means switching between a number of fullscreen Atom instances to look at or copy snippets of code. This isn't a particularly desirable workflow.</p> </blockquote> <p dir="auto"><em>(from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28930957" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/1721" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/1721/hovercard" href="https://github.com/atom/atom/issues/1721">#1721</a>)</em></p> <p dir="auto">...</p> <blockquote> <p dir="auto">Suppose that I open atom in my home directory. The working directory shown on the left is my home directory.<br> Now if I want to open a file that is not in the working directory then Atom opens a new window with that file and its directory. Same thing happens if I want to open a third file that is outside of those two working directories.</p> </blockquote> <p dir="auto">...</p> <blockquote> <p dir="auto">I'm coming from Sublime Text 2 and the default behavior there is every file in a new window. There is a configuration file that can be tweaked to make all files open in the same window.</p> </blockquote> <p dir="auto">...</p> <blockquote> <p dir="auto">I, too, would love to have files open in a new tab. It is absolutely crucial to my workflow. In the meantime I will continue using Sublime Text for this reason alone.</p> </blockquote> <p dir="auto">...</p> <blockquote> <p dir="auto">This is probably my single biggest annoyance and the reason why I can't use Atom full time.</p> </blockquote> <p dir="auto"><em>(from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="32955984" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/2005" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/2005/hovercard" href="https://github.com/atom/atom/issues/2005">#2005</a>)</em></p> <p dir="auto">Also related issues:</p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18744196" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/770" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/770/hovercard" href="https://github.com/atom/atom/issues/770">#770</a> - Multiple folders in projects</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28619933" data-permission-text="Title is private" data-url="https://github.com/atom/tree-view/issues/63" data-hovercard-type="issue" data-hovercard-url="/atom/tree-view/issues/63/hovercard" href="https://github.com/atom/tree-view/issues/63">atom/tree-view#63</a> - Add option to configure multiple root folders in tree-view</li> </ul>
1
<p dir="auto">Please:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li> </ul> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python build/build.py"><pre class="notranslate">python build/build.py</pre></div> <p dir="auto">Building <code class="notranslate">jaxlib</code> at HEAD on my machine using bazel 4.1.0 fails (macOS 12.0, Macbook Pro 14" M1 Pro 2021). This error seems to come from a bad <code class="notranslate">xcode-locator</code> call, possibly because the bazel version that is pulled there (see the traceback below) is configured for the wrong architecture? IIRC, I also do not (yet) have Rosetta installed.</p> <p dir="auto">Manually editing the <code class="notranslate">.bazelversion</code> file and setting it to <code class="notranslate">4.2.1</code> (which enables the use of the latest bazel version provided by <code class="notranslate">brew</code>) avoids this issue and builds the wheel successfully (though I have not tested it yet).</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="➜ python build/build.py _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ b'\x1b[31mERROR: The project you\'re trying to build requires Bazel 4.1.0 (specified in /Users/nicholasjunge/Workspaces/python/jax/.bazelversion), but it wasn\'t found in /opt/homebrew/Cellar/bazel/4.2.1_1/libexec/bin.\x1b[0m\n\nBazel binaries for all official releases can be downloaded from here:\n https://github.com/bazelbuild/bazel/releases\n\nYou can download the required version directly using this command:\n (cd &quot;/opt/homebrew/Cellar/bazel/4.2.1_1/libexec/bin&quot; &amp;&amp; curl -fLO https://releases.bazel.build/4.1.0/release/bazel-4.1.0-darwin-arm64 &amp;&amp; chmod +x bazel-4.1.0-darwin-arm64)\n' Bazel binary path: ./bazel-4.1.0-darwin-arm64 Bazel version: 4.1.0 Python binary path: /Users/nicholasjunge/Workspaces/python/jax/venv/bin/python Python version: 3.9 NumPy version: 1.21.4 MKL-DNN enabled: yes Target CPU: arm64 Target CPU features: release CUDA enabled: no TPU enabled: no ROCm enabled: no Building XLA and installing it in the jaxlib source tree... ./bazel-4.1.0-darwin-arm64 run --verbose_failures=true --config=mkl_open_source_only :build_wheel -- --output_path=/Users/nicholasjunge/Workspaces/python/jax/dist --cpu=arm64 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: Inherited 'build' options: --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir. INFO: Reading rc options for 'run' from /Users/nicholasjunge/Workspaces/python/jax/.jax_configure.bazelrc: Inherited 'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/Users/nicholasjunge/Workspaces/python/jax/venv/bin/python --action_env=PYENV_ROOT --python_path=/Users/nicholasjunge/Workspaces/python/jax/venv/bin/python --distinct_host_configuration=false INFO: Found applicable config definition build:short_logs in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:mkl_open_source_only in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:macos in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --config=posix INFO: Found applicable config definition build:posix in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 Loading: Loading: 0 packages loaded WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/8909dc5ebe8ad39f1743131eb70df402d796acab.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/fbdd15997f4495011fed44d051152a2a69436e69.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found Analyzing: target //build:build_wheel (0 packages loaded, 0 targets configured) DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = &quot;1596824487 -0400&quot; DEBUG: Repository io_bazel_rules_docker instantiated at: /Users/nicholasjunge/Workspaces/python/jax/WORKSPACE:37:14: in &lt;toplevel&gt; /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/org_tensorflow/tensorflow/workspace0.bzl:108:34: in workspace /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/bazel_toolchains/repositories/repositories.bzl:35:23: in repositories Repository rule git_repository defined at: /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in &lt;toplevel&gt; WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/open-source-parsers/jsoncpp/archive/1.9.5.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found INFO: Analyzed target //build:build_wheel (0 packages loaded, 0 targets configured). INFO: Found 1 target... [0 / 5] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) ERROR: /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/zlib/BUILD.bazel:5:11: Compiling gzclose.c failed: Exec failed due to IOException: com.google.devtools.build.lib.shell.ExecFailedException: java.io.IOException: Cannot run program &quot;/var/tmp/_bazel_nicholasjunge/install/d0b631b3e5a643567f221e133629d965/xcode-locator&quot;: error=86, Bad CPU type in executable Target //build:build_wheel failed to build INFO: Elapsed time: 0.249s, Critical Path: 0.04s INFO: 20 processes: 19 internal, 1 local. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target FAILED: Build did NOT complete successfully b'' Traceback (most recent call last): File &quot;/Users/nicholasjunge/Workspaces/python/jax/build/build.py&quot;, line 524, in &lt;module&gt; main() File &quot;/Users/nicholasjunge/Workspaces/python/jax/build/build.py&quot;, line 519, in main shell(command) File &quot;/Users/nicholasjunge/Workspaces/python/jax/build/build.py&quot;, line 53, in shell output = subprocess.check_output(cmd) File &quot;/opt/homebrew/Cellar/[email protected]/3.9.8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py&quot;, line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File &quot;/opt/homebrew/Cellar/[email protected]/3.9.8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py&quot;, line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['./bazel-4.1.0-darwin-arm64', 'run', '--verbose_failures=true', '--config=mkl_open_source_only', ':build_wheel', '--', '--output_path=/Users/nicholasjunge/Workspaces/python/jax/dist', '--cpu=arm64']' returned non-zero exit status 36."><pre class="notranslate"><code class="notranslate">➜ python build/build.py _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ b'\x1b[31mERROR: The project you\'re trying to build requires Bazel 4.1.0 (specified in /Users/nicholasjunge/Workspaces/python/jax/.bazelversion), but it wasn\'t found in /opt/homebrew/Cellar/bazel/4.2.1_1/libexec/bin.\x1b[0m\n\nBazel binaries for all official releases can be downloaded from here:\n https://github.com/bazelbuild/bazel/releases\n\nYou can download the required version directly using this command:\n (cd "/opt/homebrew/Cellar/bazel/4.2.1_1/libexec/bin" &amp;&amp; curl -fLO https://releases.bazel.build/4.1.0/release/bazel-4.1.0-darwin-arm64 &amp;&amp; chmod +x bazel-4.1.0-darwin-arm64)\n' Bazel binary path: ./bazel-4.1.0-darwin-arm64 Bazel version: 4.1.0 Python binary path: /Users/nicholasjunge/Workspaces/python/jax/venv/bin/python Python version: 3.9 NumPy version: 1.21.4 MKL-DNN enabled: yes Target CPU: arm64 Target CPU features: release CUDA enabled: no TPU enabled: no ROCm enabled: no Building XLA and installing it in the jaxlib source tree... ./bazel-4.1.0-darwin-arm64 run --verbose_failures=true --config=mkl_open_source_only :build_wheel -- --output_path=/Users/nicholasjunge/Workspaces/python/jax/dist --cpu=arm64 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: Inherited 'build' options: --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir. INFO: Reading rc options for 'run' from /Users/nicholasjunge/Workspaces/python/jax/.jax_configure.bazelrc: Inherited 'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/Users/nicholasjunge/Workspaces/python/jax/venv/bin/python --action_env=PYENV_ROOT --python_path=/Users/nicholasjunge/Workspaces/python/jax/venv/bin/python --distinct_host_configuration=false INFO: Found applicable config definition build:short_logs in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:mkl_open_source_only in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:macos in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --config=posix INFO: Found applicable config definition build:posix in file /Users/nicholasjunge/Workspaces/python/jax/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 Loading: Loading: 0 packages loaded WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/8909dc5ebe8ad39f1743131eb70df402d796acab.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/fbdd15997f4495011fed44d051152a2a69436e69.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found Analyzing: target //build:build_wheel (0 packages loaded, 0 targets configured) DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1596824487 -0400" DEBUG: Repository io_bazel_rules_docker instantiated at: /Users/nicholasjunge/Workspaces/python/jax/WORKSPACE:37:14: in &lt;toplevel&gt; /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/org_tensorflow/tensorflow/workspace0.bzl:108:34: in workspace /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/bazel_toolchains/repositories/repositories.bzl:35:23: in repositories Repository rule git_repository defined at: /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in &lt;toplevel&gt; WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/open-source-parsers/jsoncpp/archive/1.9.5.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found INFO: Analyzed target //build:build_wheel (0 packages loaded, 0 targets configured). INFO: Found 1 target... [0 / 5] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) ERROR: /private/var/tmp/_bazel_nicholasjunge/270a4a78734ae0f3124fa7265b8a65ef/external/zlib/BUILD.bazel:5:11: Compiling gzclose.c failed: Exec failed due to IOException: com.google.devtools.build.lib.shell.ExecFailedException: java.io.IOException: Cannot run program "/var/tmp/_bazel_nicholasjunge/install/d0b631b3e5a643567f221e133629d965/xcode-locator": error=86, Bad CPU type in executable Target //build:build_wheel failed to build INFO: Elapsed time: 0.249s, Critical Path: 0.04s INFO: 20 processes: 19 internal, 1 local. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target FAILED: Build did NOT complete successfully b'' Traceback (most recent call last): File "/Users/nicholasjunge/Workspaces/python/jax/build/build.py", line 524, in &lt;module&gt; main() File "/Users/nicholasjunge/Workspaces/python/jax/build/build.py", line 519, in main shell(command) File "/Users/nicholasjunge/Workspaces/python/jax/build/build.py", line 53, in shell output = subprocess.check_output(cmd) File "/opt/homebrew/Cellar/[email protected]/3.9.8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/opt/homebrew/Cellar/[email protected]/3.9.8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['./bazel-4.1.0-darwin-arm64', 'run', '--verbose_failures=true', '--config=mkl_open_source_only', ':build_wheel', '--', '--output_path=/Users/nicholasjunge/Workspaces/python/jax/dist', '--cpu=arm64']' returned non-zero exit status 36. </code></pre></div>
<p dir="auto">Please:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li> </ul> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax.numpy as jnp jnp.flip(jnp.zeros((3, 3, 3)), axis=(1,2))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span> <span class="pl-s1">jnp</span>.<span class="pl-en">flip</span>(<span class="pl-s1">jnp</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">3</span>, <span class="pl-c1">3</span>, <span class="pl-c1">3</span>)), <span class="pl-s1">axis</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>,<span class="pl-c1">2</span>))</pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;/home/buehrle/dev/polyssimo/.venv/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py&quot;, line 1114, in flip return lax.rev(m, [_canonicalize_axis(axis, ndim(m))]) File &quot;/home/buehrle/dev/polyssimo/.venv/lib/python3.6/site-packages/jax/_src/util.py&quot;, line 262, in canonicalize_axis axis = operator.index(axis) TypeError: 'tuple' object cannot be interpreted as an integer"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/home/buehrle/dev/polyssimo/.venv/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 1114, in flip return lax.rev(m, [_canonicalize_axis(axis, ndim(m))]) File "/home/buehrle/dev/polyssimo/.venv/lib/python3.6/site-packages/jax/_src/util.py", line 262, in canonicalize_axis axis = operator.index(axis) TypeError: 'tuple' object cannot be interpreted as an integer </code></pre></div>
0
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">I'm using Powershell from within VSCode, and about 30% of the time <code class="notranslate">flutter run</code> will crash at the <code class="notranslate">Installing build\app/outputs/apk/app.apk...</code> step.<br> If I immediately try <code class="notranslate">adb install -r build\app\outputs\apk\app.apk</code> the install succeeds with no issue, but obviously no debugging.<br> I've tried doing <code class="notranslate">adb kill-server</code> before each run. I've tried <code class="notranslate">flutter run --no-build</code>. Nothing works 100% of the time, and the logs all look identical.</p> <p dir="auto">I'm going to start regularly using -v so I can maybe give better logs next time it happens.<br> (Don't mind the host error, I was offline this last time.)</p> <h2 dir="auto">Shell log</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on LG H910 in debug mode... Running 'gradle assembleDebug'... Built build\app/outputs/apk/app-debug.apk (21.9MB). Installing build\app/outputs/apk/app.apk... Oops; flutter has exited unexpectedly: &quot;Exit code 1 from: C:\Android\sdk\platform-tools\adb -s LGH9107a67a5fd install -r build\app /outputs/apk/app.apk&quot;. Sending crash report to Google. Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: No such host is known. , errno = 11001) Crash report written to C:\Users\Kyle\Source\Flutter\Cybertronix\flutter_11.log; please let us know at https://github.com/flutter/flutter/issues."><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on LG H910 in debug mode... Running 'gradle assembleDebug'... Built build\app/outputs/apk/app-debug.apk (21.9MB). Installing build\app/outputs/apk/app.apk... Oops; flutter has exited unexpectedly: "Exit code 1 from: C:\Android\sdk\platform-tools\adb -s LGH9107a67a5fd install -r build\app /outputs/apk/app.apk". Sending crash report to Google. Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: No such host is known. , errno = 11001) Crash report written to C:\Users\Kyle\Source\Flutter\Cybertronix\flutter_11.log; please let us know at https://github.com/flutter/flutter/issues. </code></pre></div> <h2 dir="auto">flutter_11.log</h2> <p dir="auto">Flutter crash report; please file at <a href="https://github.com/flutter/flutter/issues">https://github.com/flutter/flutter/issues</a>.</p> <h2 dir="auto">command</h2> <p dir="auto">flutter run</p> <h2 dir="auto">exception</h2> <p dir="auto">String: Exit code 1 from: C:\Android\sdk\platform-tools\adb -s LGH9107a67a5fd install -r build\app/outputs/apk/app.apk</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 runCheckedAsync (package:flutter_tools/src/base/process.dart:214) &lt;asynchronous suspension&gt; #1 AndroidDevice.installApp (package:flutter_tools/src/android/android_device.dart:241) &lt;asynchronous suspension&gt; #2 AndroidDevice._installLatestApp (package:flutter_tools/src/android/android_device.dart:281) &lt;asynchronous suspension&gt; #3 AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:335) &lt;asynchronous suspension&gt; #4 HotRunner.run (package:flutter_tools/src/run_hot.dart:203) &lt;asynchronous suspension&gt; #5 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:291) &lt;asynchronous suspension&gt; #6 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:151) &lt;asynchronous suspension&gt; #7 RunCommand.verifyThenRunCommand (package:flutter_tools/src/commands/run.dart:205) &lt;asynchronous suspension&gt; #8 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:121) #9 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #10 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:262) &lt;asynchronous suspension&gt; #11 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #12 Future.Future.sync (dart:async/future.dart:208) #13 CommandRunner.run (package:args/command_runner.dart:109) #14 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:157) #15 run.&lt;anonymous closure&gt; (package:flutter_tools/executable.dart:140) &lt;asynchronous suspension&gt; #16 AppContext._run (package:flutter_tools/src/base/context.dart:76) &lt;asynchronous suspension&gt; #17 AppContext.runInZone.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:66) #18 _rootRun (dart:async/zone.dart:1120) #19 _CustomZone.run (dart:async/zone.dart:1001) #20 runZoned (dart:async/zone.dart:1465) #21 AppContext.runInZone (package:flutter_tools/src/base/context.dart:65) #22 run (package:flutter_tools/executable.dart:113) &lt;asynchronous suspension&gt; #23 main (package:flutter_tools/executable.dart:66) &lt;asynchronous suspension&gt; #24 main (file:///C:/flutter/packages/flutter_tools/bin/flutter_tools.dart:8) #25 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/isolate_patch.dart:263) #26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)"><pre class="notranslate"><code class="notranslate">#0 runCheckedAsync (package:flutter_tools/src/base/process.dart:214) &lt;asynchronous suspension&gt; #1 AndroidDevice.installApp (package:flutter_tools/src/android/android_device.dart:241) &lt;asynchronous suspension&gt; #2 AndroidDevice._installLatestApp (package:flutter_tools/src/android/android_device.dart:281) &lt;asynchronous suspension&gt; #3 AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:335) &lt;asynchronous suspension&gt; #4 HotRunner.run (package:flutter_tools/src/run_hot.dart:203) &lt;asynchronous suspension&gt; #5 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:291) &lt;asynchronous suspension&gt; #6 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:151) &lt;asynchronous suspension&gt; #7 RunCommand.verifyThenRunCommand (package:flutter_tools/src/commands/run.dart:205) &lt;asynchronous suspension&gt; #8 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:121) #9 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #10 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:262) &lt;asynchronous suspension&gt; #11 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #12 Future.Future.sync (dart:async/future.dart:208) #13 CommandRunner.run (package:args/command_runner.dart:109) #14 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:157) #15 run.&lt;anonymous closure&gt; (package:flutter_tools/executable.dart:140) &lt;asynchronous suspension&gt; #16 AppContext._run (package:flutter_tools/src/base/context.dart:76) &lt;asynchronous suspension&gt; #17 AppContext.runInZone.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:66) #18 _rootRun (dart:async/zone.dart:1120) #19 _CustomZone.run (dart:async/zone.dart:1001) #20 runZoned (dart:async/zone.dart:1465) #21 AppContext.runInZone (package:flutter_tools/src/base/context.dart:65) #22 run (package:flutter_tools/executable.dart:113) &lt;asynchronous suspension&gt; #23 main (package:flutter_tools/executable.dart:66) &lt;asynchronous suspension&gt; #24 main (file:///C:/flutter/packages/flutter_tools/bin/flutter_tools.dart:8) #25 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/isolate_patch.dart:263) #26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151) </code></pre></div> <h2 dir="auto">flutter doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Microsoft Windows [Version 6.3.9600], channel master) • Flutter at C:\flutter • Framework revision e2cd78358f (19 hours ago), 2017-04-26 13:14:31 -0700 • Engine revision a5b64899c9 • Tools Dart version 1.23.0-dev.11.11 [✓] Host Executable Compatibility • Downloaded executables execute on host [✓] Android toolchain - develop for Android devices (Android SDK 25.0.2) • Android SDK at C:\Android\sdk • Platform android-25, build-tools 25.0.2 • ANDROID_HOME = C:\Android\sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] Android Studio (version 2.3) • Android Studio at C:\Program Files\Android\Android Studio • Gradle version 3.2 • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Community Edition (version 2016.3) • Dart plugin version 163.13137 • Flutter plugin version 0.1.11.2 [✓] Connected devices • LG H910 • LGH9107a67a5fd • android-arm • Android 7.0 (API 24) "><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Microsoft Windows [Version 6.3.9600], channel master) • Flutter at C:\flutter • Framework revision e2cd78358f (19 hours ago), 2017-04-26 13:14:31 -0700 • Engine revision a5b64899c9 • Tools Dart version 1.23.0-dev.11.11 [✓] Host Executable Compatibility • Downloaded executables execute on host [✓] Android toolchain - develop for Android devices (Android SDK 25.0.2) • Android SDK at C:\Android\sdk • Platform android-25, build-tools 25.0.2 • ANDROID_HOME = C:\Android\sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] Android Studio (version 2.3) • Android Studio at C:\Program Files\Android\Android Studio • Gradle version 3.2 • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Community Edition (version 2016.3) • Dart plugin version 163.13137 • Flutter plugin version 0.1.11.2 [✓] Connected devices • LG H910 • LGH9107a67a5fd • android-arm • Android 7.0 (API 24) </code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">Attempt to run from Android Studio on Windows 10. <em><strong>Sometimes</strong></em> the following dialog appears:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3227777/23655274/5cde7de0-0302-11e7-952f-4a6fc21b0f85.png"><img src="https://cloud.githubusercontent.com/assets/3227777/23655274/5cde7de0-0302-11e7-952f-4a6fc21b0f85.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Workaround: Cancelling the dialog and trying again eventually resolves the problem.</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/goderbauer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/goderbauer">@goderbauer</a> requested that I file this issue.</p> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ adb install-multiple -r ...\android\app\build\intermediates\split-apk\debug\slices\slice_4.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_3.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_9.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_5.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_8.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_7.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_6.apk ...\android\app\build\intermediates\split-apk\debug\dep\dependencies.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_1.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_2.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_0.apk ...\android\app\build\outputs\apk\app-debug.apk Error while Installing APKs"><pre class="notranslate"><code class="notranslate">$ adb install-multiple -r ...\android\app\build\intermediates\split-apk\debug\slices\slice_4.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_3.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_9.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_5.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_8.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_7.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_6.apk ...\android\app\build\intermediates\split-apk\debug\dep\dependencies.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_1.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_2.apk ...\android\app\build\intermediates\split-apk\debug\slices\slice_0.apk ...\android\app\build\outputs\apk\app-debug.apk Error while Installing APKs </code></pre></div> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (on Windows, channel master) • Flutter at C:\dev\flutter • Framework revision ca0201d8ae (3 days ago), • Engine revision 342a31136e • Tools Dart version 1.23.0-dev.2.0 [√] Android toolchain - develop for Android devices (Android SDK 25.0.2) • Android SDK at C:\Users\Rob\AppData\Local\Android\sdk • Platform android-25, build-tools 25.0.2 • Java(TM) SE Runtime Environment (build 1.8.0_121-b13) [√] Android Studio (version 2.3) • Android Studio at C:\Program Files\Android\Android Studio • Gradle version 3.2 [√] IntelliJ IDEA Community Edition (version 2016.3) • Dart plugin version 163.13137 • Flutter plugin version 0.1.11.1 [√] Connected devices • 2PS64 • HT69N0100346 • android-arm • Android 7.0 (API 24)"><pre class="notranslate"><code class="notranslate">[√] Flutter (on Windows, channel master) • Flutter at C:\dev\flutter • Framework revision ca0201d8ae (3 days ago), • Engine revision 342a31136e • Tools Dart version 1.23.0-dev.2.0 [√] Android toolchain - develop for Android devices (Android SDK 25.0.2) • Android SDK at C:\Users\Rob\AppData\Local\Android\sdk • Platform android-25, build-tools 25.0.2 • Java(TM) SE Runtime Environment (build 1.8.0_121-b13) [√] Android Studio (version 2.3) • Android Studio at C:\Program Files\Android\Android Studio • Gradle version 3.2 [√] IntelliJ IDEA Community Edition (version 2016.3) • Dart plugin version 163.13137 • Flutter plugin version 0.1.11.1 [√] Connected devices • 2PS64 • HT69N0100346 • android-arm • Android 7.0 (API 24) </code></pre></div>
1
<p dir="auto"><strong>Migrated issue, originally created by cwebber (<a href="https://github.com/cwebber">@cwebber</a>)</strong></p> <p dir="auto">Python built with sqlite 3.8.11.1 and before seems to be working fine. Building with newer versions of sqlite, such as 3.10.0 or 3.10.2 results in failing tests:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="=================================== FAILURES =================================== __________ QueryTest_sqlite_pysqlite.test_column_accessor_sqlite_raw ___________ Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 2, in test_column_accessor_sqlite_raw File &quot;/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/testing/exclusions.py&quot;, line 72, in decorate return fn(*args, **kw) File &quot;/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/sql/test_query.py&quot;, line 898, in test_column_accessor_sqlite_raw assert 'user_id' not in r AssertionError: assert 'user_id' not in (1, 'john') _______ QueryTest_sqlite_pysqlite.test_column_accessor_sqlite_translated _______ Traceback (most recent call last): File &quot;/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/engine/result.py&quot;, line 70, in __getitem__ processor, obj, index = self._keymap[key] KeyError: 'query_users.user_id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 2, in test_column_accessor_sqlite_translated File &quot;/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/testing/exclusions.py&quot;, line 72, in decorate return fn(*args, **kw) File &quot;/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/sql/test_query.py&quot;, line 918, in test_column_accessor_sqlite_translated eq_(r['query_users.user_id'], 1) File &quot;/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/engine/result.py&quot;, line 72, in __getitem__ processor, obj, index = self._parent._key_fallback(key) File &quot;/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/engine/result.py&quot;, line 331, in _key_fallback expression._string_or_unprintable(key)) sqlalchemy.exc.NoSuchColumnError: &quot;Could not locate column in row for column 'query_users.user_id'&quot; =========================== short test summary info ============================ FAIL test/sql/test_query.py::QueryTest_sqlite_pysqlite::()::test_column_accessor_sqlite_raw FAIL test/sql/test_query.py::QueryTest_sqlite_pysqlite::()::test_column_accessor_sqlite_translated ============= 2 failed, 5803 passed, 737 skipped in 237.59 seconds ============= phase `check' failed after 241.9 seconds"><pre class="notranslate"><code class="notranslate">=================================== FAILURES =================================== __________ QueryTest_sqlite_pysqlite.test_column_accessor_sqlite_raw ___________ Traceback (most recent call last): File "&lt;string&gt;", line 2, in test_column_accessor_sqlite_raw File "/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/testing/exclusions.py", line 72, in decorate return fn(*args, **kw) File "/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/sql/test_query.py", line 898, in test_column_accessor_sqlite_raw assert 'user_id' not in r AssertionError: assert 'user_id' not in (1, 'john') _______ QueryTest_sqlite_pysqlite.test_column_accessor_sqlite_translated _______ Traceback (most recent call last): File "/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/engine/result.py", line 70, in __getitem__ processor, obj, index = self._keymap[key] KeyError: 'query_users.user_id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "&lt;string&gt;", line 2, in test_column_accessor_sqlite_translated File "/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/testing/exclusions.py", line 72, in decorate return fn(*args, **kw) File "/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/sql/test_query.py", line 918, in test_column_accessor_sqlite_translated eq_(r['query_users.user_id'], 1) File "/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/engine/result.py", line 72, in __getitem__ processor, obj, index = self._parent._key_fallback(key) File "/tmp/guix-build-python-sqlalchemy-0.9.7.drv-0/SQLAlchemy-0.9.7/test/../lib/sqlalchemy/engine/result.py", line 331, in _key_fallback expression._string_or_unprintable(key)) sqlalchemy.exc.NoSuchColumnError: "Could not locate column in row for column 'query_users.user_id'" =========================== short test summary info ============================ FAIL test/sql/test_query.py::QueryTest_sqlite_pysqlite::()::test_column_accessor_sqlite_raw FAIL test/sql/test_query.py::QueryTest_sqlite_pysqlite::()::test_column_accessor_sqlite_translated ============= 2 failed, 5803 passed, 737 skipped in 237.59 seconds ============= phase `check' failed after 241.9 seconds </code></pre></div>
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p> <p dir="auto">this script in <a href="http://docs.sqlalchemy.org/en/latest/dialects/sqlite.html#dotted-column-names" rel="nofollow">http://docs.sqlalchemy.org/en/latest/dialects/sqlite.html#dotted-column-names</a> now passes:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sqlite3 conn = sqlite3.connect(&quot;:memory:&quot;) cursor = conn.cursor() cursor.execute(&quot;create table x (a integer, b integer)&quot;) cursor.execute(&quot;insert into x (a, b) values (1, 1)&quot;) cursor.execute(&quot;insert into x (a, b) values (2, 2)&quot;) cursor.execute(&quot;select x.a, x.b from x&quot;) assert [c[0] for c in cursor.description] == ['a', 'b'] cursor.execute(''' select x.a, x.b from x where a=1 union select x.a, x.b from x where a=2 ''') assert [c[0] for c in cursor.description] == ['a', 'b'], \ [c[0] for c in cursor.description] "><pre class="notranslate"><code class="notranslate">import sqlite3 conn = sqlite3.connect(":memory:") cursor = conn.cursor() cursor.execute("create table x (a integer, b integer)") cursor.execute("insert into x (a, b) values (1, 1)") cursor.execute("insert into x (a, b) values (2, 2)") cursor.execute("select x.a, x.b from x") assert [c[0] for c in cursor.description] == ['a', 'b'] cursor.execute(''' select x.a, x.b from x where a=1 union select x.a, x.b from x where a=2 ''') assert [c[0] for c in cursor.description] == ['a', 'b'], \ [c[0] for c in cursor.description] </code></pre></div> <p dir="auto">the sqlite checkin is <a href="http://www.sqlite.org/src/info/47f10b7e5d8c1d96" rel="nofollow">http://www.sqlite.org/src/info/47f10b7e5d8c1d96</a>. We need to turn off translate_colnames for this version and also some tests fail.</p>
1
<p dir="auto">Since the first challenge containing the tags &lt;script&gt;&lt;/script&gt; the page is going crazy<br> I believe your code is reloading every time you make an edit ? well with those script tags it is reloading constantly! and after a few seconds it says I completed this challange and to go to the next one<br> using Firefox 40.0.2</p> <p dir="auto">don't know what else I should include in this<br> maybe my windows ? 8.1 Pro</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
1
<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>:<br> I modified the tensorflow/models repo utility function to use CollectiveAllReduceStrategy instead of MirroredStrategy. See the one-line change at: <a href="https://gist.github.com/nvcastet/60b8c0c66da4cf2949e38fc790208a1c#file-distribution_utils-py-L47">https://gist.github.com/nvcastet/60b8c0c66da4cf2949e38fc790208a1c#file-distribution_utils-py-L47</a></li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br> Ubuntu 16.04.4 ppc64le</li> <li><strong>TensorFlow installed from (source or binary)</strong>:<br> source</li> <li><strong>TensorFlow version (use command below)</strong>:<br> 1.11</li> <li><strong>Python version</strong>: Python 2.7.15</li> <li><strong>CUDA/cuDNN version</strong>: Cuda 9.2 CuDNN 7.2.1</li> <li><strong>GPU model and memory</strong>: V100 16GB</li> <li><strong>Exact command to reproduce</strong>: ~/models/official/mnist$ python mnist.py --num_gpus 2</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Using the MNIST model script from the tensorflow/models repo after modifying the distribution_utils.py utility file to use CollectiveAllReduceStrategy (see modification above).<br> <code class="notranslate">python mnist.py --num_gpus 2</code> crashes with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-09-17 19:28:36.648966: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at collective_ops.cc:210 : Internal: Second consumer arrived for key 10003:0:0:0:0:1 [[{{node conv2d_1/bias/replica_1/Initializer/CollectiveBcastRecv}} = CollectiveBcastRecv[T=DT_FLOAT, _class=[&quot;loc:@conv2d_1/bias/replica_1/Assign&quot;], group_key=1, group_size=2, instance_key=10003, shape=[64], _device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;]()]] [[{{node GroupCrossDeviceControlEdges_0/group_deps_27/_2}} = _Recv[client_terminated=false, recv_device=&quot;/job:localhost/replica:0/task:0/device:GPU:0&quot;, send_device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;, send_device_incarnation=1, tensor_name=&quot;edge_238_GroupCrossDeviceControlEdges_0/group_deps_27&quot;, tensor_type=DT_FLOAT, _device=&quot;/job:localhost/replica:0/task:0/device:GPU:0&quot;]()]]"><pre class="notranslate"><code class="notranslate">2018-09-17 19:28:36.648966: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at collective_ops.cc:210 : Internal: Second consumer arrived for key 10003:0:0:0:0:1 [[{{node conv2d_1/bias/replica_1/Initializer/CollectiveBcastRecv}} = CollectiveBcastRecv[T=DT_FLOAT, _class=["loc:@conv2d_1/bias/replica_1/Assign"], group_key=1, group_size=2, instance_key=10003, shape=[64], _device="/job:localhost/replica:0/task:0/device:GPU:1"]()]] [[{{node GroupCrossDeviceControlEdges_0/group_deps_27/_2}} = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:1", send_device_incarnation=1, tensor_name="edge_238_GroupCrossDeviceControlEdges_0/group_deps_27", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]] </code></pre></div> <p dir="auto">Full log of the run with stack trace: <a href="https://github.com/tensorflow/tensorflow/files/2390053/run.log">run.log</a></p>
<h3 dir="auto">System information</h3> <ul dir="auto"> <li> <p dir="auto"><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br> I slightly updated mnist.py example so that it uses CollectiveAllReduceStrategy. Updated version is <a href="https://github.com/dmitrievanthony/models/blob/ignite/official/mnist/mnist.py#L208">here</a>.</p> </li> <li> <p dir="auto"><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br> Mac OS 10.13.3</p> </li> <li> <p dir="auto"><strong>TensorFlow installed from (source or binary)</strong>:<br> Binary</p> </li> <li> <p dir="auto"><strong>TensorFlow version (use command below)</strong>:<br> 1.11.0-dev20180913</p> </li> <li> <p dir="auto"><strong>Python version</strong>:<br> 3.6.3</p> </li> <li> <p dir="auto"><strong>Exact command to reproduce</strong>:<br> See <a href="https://github.com/dmitrievanthony/models/blob/ignite/official/mnist/mnist.py#L208">updated example</a>.</p> </li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Hi,</p> <p dir="auto">I'm trying to update <code class="notranslate">mnist</code> model from <a href="https://github.com/tensorflow/models/tree/master/official/">official repository</a> so that it uses CollectiveAllReduceStrategy as it's shown in <a href="https://github.com/tensorflow/ecosystem/blob/master/distribution_strategy/keras_model_to_estimator_client.py">keras_model_to_estimator_client.py</a>. Updated example you can find <a href="https://github.com/dmitrievanthony/models/blob/ignite/official/mnist/mnist.py#L208">here</a>. Unfortunately, it fails on <code class="notranslate">deepcopy</code> of run config.</p> <h3 dir="auto">Source code / logs</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;mnist.py&quot;, line 286, in &lt;module&gt; absl_app.run(main) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/absl/app.py&quot;, line 274, in run _run_main(main, args) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/absl/app.py&quot;, line 238, in _run_main sys.exit(main(argv)) File &quot;mnist.py&quot;, line 280, in main run_mnist(flags.FLAGS) File &quot;mnist.py&quot;, line 226, in run_mnist 'data_format': data_format, File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py&quot;, line 190, in __init__ model_dir) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py&quot;, line 1591, in maybe_overwrite_model_dir_and_session_config config = run_config.RunConfig.replace(config, session_config=session_config) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/run_config.py&quot;, line 849, in replace copy.deepcopy(self), File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 180, in deepcopy y = _reconstruct(x, memo, *rv) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 280, in _reconstruct state = deepcopy(state, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 150, in deepcopy y = copier(x, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 240, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 180, in deepcopy y = _reconstruct(x, memo, *rv) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 280, in _reconstruct state = deepcopy(state, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 150, in deepcopy y = copier(x, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 240, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 180, in deepcopy y = _reconstruct(x, memo, *rv) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 280, in _reconstruct state = deepcopy(state, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 150, in deepcopy y = copier(x, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 240, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File &quot;/Users/antondmitriev/anaconda3/lib/python3.6/copy.py&quot;, line 169, in deepcopy rv = reductor(4) TypeError: can't pickle _thread._local objects"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "mnist.py", line 286, in &lt;module&gt; absl_app.run(main) File "/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/absl/app.py", line 274, in run _run_main(main, args) File "/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/absl/app.py", line 238, in _run_main sys.exit(main(argv)) File "mnist.py", line 280, in main run_mnist(flags.FLAGS) File "mnist.py", line 226, in run_mnist 'data_format': data_format, File "/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 190, in __init__ model_dir) File "/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1591, in maybe_overwrite_model_dir_and_session_config config = run_config.RunConfig.replace(config, session_config=session_config) File "/Users/antondmitriev/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/run_config.py", line 849, in replace copy.deepcopy(self), File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 180, in deepcopy y = _reconstruct(x, memo, *rv) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 280, in _reconstruct state = deepcopy(state, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 150, in deepcopy y = copier(x, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 240, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 180, in deepcopy y = _reconstruct(x, memo, *rv) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 280, in _reconstruct state = deepcopy(state, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 150, in deepcopy y = copier(x, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 240, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 180, in deepcopy y = _reconstruct(x, memo, *rv) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 280, in _reconstruct state = deepcopy(state, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 150, in deepcopy y = copier(x, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 240, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/Users/antondmitriev/anaconda3/lib/python3.6/copy.py", line 169, in deepcopy rv = reductor(4) TypeError: can't pickle _thread._local objects </code></pre></div>
1
<p dir="auto">It is now possible for a library to hit every type of target that TypeScript supports (module, namespace, and ES6). Currently, writing a declaration file for a library like this can be very challenging. The default today is something like this:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare namespace MyLib { export ... } declare module 'mylib' { export = MyLib; }"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">namespace</span> <span class="pl-smi">MyLib</span> <span class="pl-kos">{</span> <span class="pl-s1">export</span> ... <span class="pl-kos">}</span> <span class="pl-k">declare</span> module <span class="pl-s">'mylib'</span> <span class="pl-kos">{</span> <span class="pl-k">export</span> <span class="pl-c1">=</span> <span class="pl-smi">MyLib</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">This has a couple issues:</p> <ol dir="auto"> <li>If you're using this in the module sense, using this declaration file will result in TypeScript thinking there is a globally available variable <code class="notranslate">MyLib</code> which is not actually true. This can lead to runtime errors. (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="57469172" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2018" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2018/hovercard" href="https://github.com/microsoft/TypeScript/issues/2018">#2018</a>)</li> <li>If you're using ES6 import syntax TypeScript will consider this module to be in the CommonJS style and will not allow default imports even though the library <em>actually</em> supports them.</li> </ol> <p dir="auto">In the past, regarding item 1, it's been suggested that we split the declarations into two files (one for modules and one for namespaces). This makes sense. I think it also makes sense to extend that concept for ES6 modules. So if you have a library that targets all three, then you will have three mutually exclusive declaration files. Where things then become problematic is with duplicating the declarations in each file (which ideally should not happen). It is impossible to import an ambient module into an ambient namespace. It is possible to use an ambient namespace in an ambient module, but a naive approach to that (as shown in the common case above) violates item 1.</p> <p dir="auto">Therefore, I propose this guidance to writing these declaration files.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// mylib-common.d.ts declare namespace __MyLib { export ... } // mylib-namespace.d.ts /// &lt;reference path=&quot;mylib-common.d.ts&quot; /&gt; import MyLib = __MyLib; // mylib-module.d.ts /// &lt;reference path=&quot;mylib-common.d.ts&quot; /&gt; declare module 'mylib' { export = __MyLib; } // mylib-es6.d.ts /// &lt;reference path=&quot;mylib-common.d.ts&quot; /&gt; declare module 'mylib' { export * from __MyLib; // this doesn't currently work, see #4336 export default __MyLib; // if there is a default export }"><pre class="notranslate"><span class="pl-c">// mylib-common.d.ts</span> <span class="pl-k">declare</span> <span class="pl-k">namespace</span> <span class="pl-s1">__MyLib</span> <span class="pl-kos">{</span> <span class="pl-s1">export</span> ... <span class="pl-kos">}</span> <span class="pl-c">// mylib-namespace.d.ts</span> <span class="pl-c">/// &lt;reference path="mylib-common.d.ts" /&gt;</span> <span class="pl-k">import</span> <span class="pl-smi">MyLib</span> <span class="pl-c1">=</span> <span class="pl-s1">__MyLib</span><span class="pl-kos">;</span> <span class="pl-c">// mylib-module.d.ts</span> <span class="pl-c">/// &lt;reference path="mylib-common.d.ts" /&gt;</span> <span class="pl-k">declare</span> module <span class="pl-s">'mylib'</span> <span class="pl-kos">{</span> <span class="pl-k">export</span> <span class="pl-c1">=</span> <span class="pl-s1">__MyLib</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// mylib-es6.d.ts</span> <span class="pl-c">/// &lt;reference path="mylib-common.d.ts" /&gt;</span> <span class="pl-k">declare</span> module <span class="pl-s">'mylib'</span> <span class="pl-kos">{</span> <span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-k">from</span> <span class="pl-s1">__MyLib</span><span class="pl-kos">;</span> <span class="pl-c">// this doesn't currently work, see #4336</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">__MyLib</span><span class="pl-kos">;</span> <span class="pl-c">// if there is a default export</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Unfortunately this is currently hypothetical since you cannot re-export namespace declarations from an ES6 declaration.</p> <p dir="auto">I'm proposing this as a baseline for discussion to solve this issue for good. It's possible I'm going down the wrong track or that there is already a better way to handle these cases. It would also be great if we could get some buy-in from the TypeScript language to solve this, if needed.</p> <p dir="auto">Some possible ways TypeScript could be improved in this area:</p> <ol dir="auto"> <li>Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="101317013" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/4336" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/4336/hovercard" href="https://github.com/microsoft/TypeScript/issues/4336">#4336</a></li> <li>Make it so that <code class="notranslate">__MyLib</code> only exists as a namespace and not as a value, either through convention (prefixed with __) or through additional syntax.</li> </ol> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/johnnyreilly/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/johnnyreilly">@johnnyreilly</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vvakame/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vvakame">@vvakame</a></p>
<p dir="auto">I have an issue where I added a <code class="notranslate">Bower</code> component that distributes angular.d.ts, which I already have included elsewhere in my project.</p> <p dir="auto">Even though my <code class="notranslate">bower_components</code> directory is excluded from the project, it appears TSC is still compiling this d.ts resulting in duplicate declaration errors.</p> <p dir="auto">Is this the intended behavior of implicit compilation?</p>
0
<p dir="auto">The default themes for the boostrap 3.0, drop down is not working</p> <p dir="auto"><a href="http://getbootstrap.com/examples/theme/" rel="nofollow">http://getbootstrap.com/examples/theme/</a></p> <p dir="auto">the example you have added in the site itself . Please fix this issue ASAP.</p> <p dir="auto">In this example click the dropdown from the menu</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ac5f6c57956444b64f726ef73a58bb14f9f2b6d6d84c0be13f8ccc906eb5288b/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353732393434392f313336373836312f35633937303463342d333936362d313165332d386435352d6631303136333934376564362e706e67"><img src="https://camo.githubusercontent.com/ac5f6c57956444b64f726ef73a58bb14f9f2b6d6d84c0be13f8ccc906eb5288b/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353732393434392f313336373836312f35633937303463342d333936362d313165332d386435352d6631303136333934376564362e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/5729449/1367861/5c9704c4-3966-11e3-8d55-f10163947ed6.png" style="max-width: 100%;"></a></p>
<p dir="auto">Browser Info:<br> Using IE9 on Windows 7 SP1.</p> <p dir="auto">Bootstrap version:<br> 3.0.0</p> <p dir="auto">Steps to reproduce:<br> Visit <a href="http://getbootstrap.com/examples/theme/" rel="nofollow">http://getbootstrap.com/examples/theme/</a> using IE9 and click the dropdown link in either navbar example. The drop shadow should appear, but none of the content. All of the elements below are visible.</p> <p dir="auto">Temp Fix:<br> Commenting out the <code class="notranslate">#gradient &gt; .vertical</code> line in theme.less for navbars solves the issue.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/f5d68e1fb94795b84653f682741ddd872f93595039f68aa6e5a52480b87942fe/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313237363136302f313335363139382f32383061336262322d333737332d313165332d393132322d6164616162653130393334312e706e67"><img src="https://camo.githubusercontent.com/f5d68e1fb94795b84653f682741ddd872f93595039f68aa6e5a52480b87942fe/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313237363136302f313335363139382f32383061336262322d333737332d313165332d393132322d6164616162653130393334312e706e67" alt="navbar issue" data-canonical-src="https://f.cloud.github.com/assets/1276160/1356198/280a3bb2-3773-11e3-9122-adaabe109341.png" style="max-width: 100%;"></a></p>
1
<p dir="auto">The <a href="http://pandas.pydata.org/pandas-docs/stable/advanced.html#advanced-reindexing-and-alignment" rel="nofollow">Advanced reindexing and alignment</a> section of the documentation describes a method for filling data based on a partial match of indexes.</p> <p dir="auto">In this example, one level of a multiindex is dropped and data is copied based on a match of the remaining levels. This example only works because the original multiindex only had 2 levels so that when one level was dropped, the remaining index is no longer a multiindex. Unfortunately in practice you might end up wanting to align or reindex two multiindex based on the remaining levels (as I do), but it seems this behavior is not supported..</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="midx = pd.MultiIndex(levels=[['zero', 'one'], ['x','y'], ['a', 'b']], labels=[[1]*4+[0]*4,[1,1,0,0]*2,[1,0]*4], names=['first','second','third']) df = pd.DataFrame(np.random.randn(8,2), index=midx) df2 = df.mean(level=[k for k in df.index.names if k != 'third']) df2.reindex(df.index, level=[0, 1])"><pre class="notranslate"><code class="notranslate">midx = pd.MultiIndex(levels=[['zero', 'one'], ['x','y'], ['a', 'b']], labels=[[1]*4+[0]*4,[1,1,0,0]*2,[1,0]*4], names=['first','second','third']) df = pd.DataFrame(np.random.randn(8,2), index=midx) df2 = df.mean(level=[k for k in df.index.names if k != 'third']) df2.reindex(df.index, level=[0, 1]) </code></pre></div> <p dir="auto">the result of the last command is <code class="notranslate">TypeError: Join on level between two MultiIndex objects is ambiguous</code></p> <p dir="auto">Particularly with named index levels, it not clear how this is ambiguous..</p> <p dir="auto">When you attempt an <code class="notranslate">align</code> where level is specified you end up with the same <code class="notranslate">TypeError</code> and when you attempt</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df.align(df2)"><pre class="notranslate"><code class="notranslate">df.align(df2) </code></pre></div> <p dir="auto">you get a <code class="notranslate">NotImplementedError</code></p> <p dir="auto">Based on the example in the documentation you would expect that dropping a multiindex level then reindexing in order to duplicate some data across the dropped index level would work. It is surprising that this doesn't work. Is there a way to implement this functionality?</p>
<p dir="auto">I'm trying to trim a very big <code class="notranslate">DataFrame</code> with a <code class="notranslate">MultiIndex</code> using <code class="notranslate">head</code>, and I noticed that the new <code class="notranslate">DataFrame</code> was still ridicolously big because it kept all the previous data from the entire <code class="notranslate">MultiIndex</code>. This doesn't happen if the <code class="notranslate">DataFrame</code> has a regular <code class="notranslate">Index</code>.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: from pandas import DataFrame In [2]: df = DataFrame({'a': [1, 2, 3, 4, 5, 6], 'b': ['q', 'w', 'e', 'r', 't', 'y'], 'c': ['a', 's', 'd', 'f', 'g', 'h']}).set_index(['a', 'b']) In [3]: df.head(3) Out[3]: c a b 1 q a 2 w s 3 e d In [4]: df.head(3).index Out[4]: MultiIndex(levels=[[1, 2, 3, 4, 5, 6], [u'e', u'q', u'r', u't', u'w', u'y']], labels=[[0, 1, 2], [1, 4, 0]], names=[u'a', u'b'])"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">from</span> <span class="pl-s1">pandas</span> <span class="pl-k">import</span> <span class="pl-v">DataFrame</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>({<span class="pl-s">'a'</span>: [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>, <span class="pl-c1">5</span>, <span class="pl-c1">6</span>], <span class="pl-s">'b'</span>: [<span class="pl-s">'q'</span>, <span class="pl-s">'w'</span>, <span class="pl-s">'e'</span>, <span class="pl-s">'r'</span>, <span class="pl-s">'t'</span>, <span class="pl-s">'y'</span>], <span class="pl-s">'c'</span>: [<span class="pl-s">'a'</span>, <span class="pl-s">'s'</span>, <span class="pl-s">'d'</span>, <span class="pl-s">'f'</span>, <span class="pl-s">'g'</span>, <span class="pl-s">'h'</span>]}).<span class="pl-en">set_index</span>([<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>]) <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">df</span>.<span class="pl-en">head</span>(<span class="pl-c1">3</span>) <span class="pl-v">Out</span>[<span class="pl-c1">3</span>]: <span class="pl-s1">c</span> <span class="pl-s1">a</span> <span class="pl-s1">b</span> <span class="pl-c1">1</span> <span class="pl-s1">q</span> <span class="pl-s1">a</span> <span class="pl-c1">2</span> <span class="pl-s1">w</span> <span class="pl-s1">s</span> <span class="pl-c1">3</span> <span class="pl-s1">e</span> <span class="pl-s1">d</span> <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">df</span>.<span class="pl-en">head</span>(<span class="pl-c1">3</span>).<span class="pl-s1">index</span> <span class="pl-v">Out</span>[<span class="pl-c1">4</span>]: <span class="pl-v">MultiIndex</span>(<span class="pl-s1">levels</span><span class="pl-c1">=</span>[[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>, <span class="pl-c1">5</span>, <span class="pl-c1">6</span>], [<span class="pl-s">u'e'</span>, <span class="pl-s">u'q'</span>, <span class="pl-s">u'r'</span>, <span class="pl-s">u't'</span>, <span class="pl-s">u'w'</span>, <span class="pl-s">u'y'</span>]], <span class="pl-s1">labels</span><span class="pl-c1">=</span>[[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">4</span>, <span class="pl-c1">0</span>]], <span class="pl-s1">names</span><span class="pl-c1">=</span>[<span class="pl-s">u'a'</span>, <span class="pl-s">u'b'</span>])</pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#### Expected Output MultiIndex(levels=[[1, 2, 3], [u'e', u'q', u'w']], labels=[[0, 1, 2], [1, 2, 0]], names=[u'a', u'b'])"><pre class="notranslate"><span class="pl-c">#### Expected Output</span> <span class="pl-v">MultiIndex</span>(<span class="pl-s1">levels</span><span class="pl-c1">=</span>[[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], [<span class="pl-s">u'e'</span>, <span class="pl-s">u'q'</span>, <span class="pl-s">u'w'</span>]], <span class="pl-s1">labels</span><span class="pl-c1">=</span>[[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>]], <span class="pl-s1">names</span><span class="pl-c1">=</span>[<span class="pl-s">u'a'</span>, <span class="pl-s">u'b'</span>])</pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> # Paste the output here ## INSTALLED VERSIONS <p dir="auto">commit: None<br> python: 2.7.12.final.0<br> python-bits: 64<br> OS: Linux<br> OS-release: 4.4.0-45-generic<br> machine: x86_64<br> processor: x86_64<br> byteorder: little<br> LC_ALL: None<br> LANG: en_US.UTF-8</p> <p dir="auto">pandas: 0.18.1<br> nose: None<br> pip: 8.1.2<br> setuptools: 25.1.1<br> Cython: None<br> numpy: 1.11.1<br> scipy: 0.18.0<br> statsmodels: None<br> xarray: None<br> IPython: 5.0.0<br> sphinx: None<br> patsy: None<br> dateutil: 2.5.3<br> pytz: 2016.6.1<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> matplotlib: 1.5.1<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: None<br> httplib2: None<br> apiclient: None<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.8<br> boto: None<br> pandas_datareader: None</p> </details>
0
<p dir="auto">I haven't been able to pin it down specifically yet, but I think there is a logic error somewhere in the caching logic with the new compiler. I seem to be getting into an infinite loop when trying <code class="notranslate">deno run --reload</code>.</p> <p dir="auto">For example with oak, if you clone <a href="https://github.com/oakserver/oak/">https://github.com/oakserver/oak/</a> and run:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ deno run --allow-read test.ts"><pre class="notranslate"><code class="notranslate">$ deno run --allow-read test.ts </code></pre></div> <p dir="auto">Everything should work fine and the tests pass. Then if you run:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ deno run --reload --allow-read test.ts"><pre class="notranslate"><code class="notranslate">$ deno run --reload --allow-read test.ts </code></pre></div> <p dir="auto">I have noticed that it seems to be an ever increasing amount of files being downloaded, and you will start to see several of the modules repeating themselves.</p>
<p dir="auto">I'm interested, in the future it will be possible to create a native app by deno ? - was without electron etc.</p>
0
<p dir="auto">I've got two hard drives: C: and D:.<br> It seems like PowerToys Run can only find files and folder located at C: but not at D: while most of my important and recently used files are located at my second hard drive.</p>
<p dir="auto">Comment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/EdgarVaguencia/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/EdgarVaguencia">@EdgarVaguencia</a> from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="621287020" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/3223" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/3223/hovercard" href="https://github.com/microsoft/PowerToys/issues/3223">#3223</a></p> <p dir="auto">Doesn't find Code<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8364748/83461221-0306b700-a41d-11ea-8c93-76f7047841c3.png"><img src="https://user-images.githubusercontent.com/8364748/83461221-0306b700-a41d-11ea-8c93-76f7047841c3.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Wox result:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8364748/83461228-08fc9800-a41d-11ea-83c5-051abd90dad2.png"><img src="https://user-images.githubusercontent.com/8364748/83461228-08fc9800-a41d-11ea-83c5-051abd90dad2.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">the G drive is a partition, the different thing is that i don't create shortcut on start menu, but i add the path in environment variables</p>
1
<p dir="auto">If you query a model (e.g. with <code class="notranslate">session.query</code>) and filter on it, then join to a second model with <code class="notranslate">.join</code>, then use <code class="notranslate">.with_entities</code> to select that second model (the one you just joined to), SQLAlchemy will include the <em>second</em> model in the <code class="notranslate">FROM</code> clause. This can cause issues later in the query. Version 1.3 did not include that second model in <code class="notranslate">FROM</code>.</p> <h2 dir="auto">Example</h2> <p dir="auto">If you run this code:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import sqlalchemy as sa from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker DeclarativeBase = declarative_base() Session = sessionmaker() session = Session() class First(DeclarativeBase): __tablename__ = &quot;first&quot; pk = sa.Column(sa.Integer, primary_key=True) class Mapper(DeclarativeBase): __tablename__ = &quot;mapper&quot; pk = sa.Column(sa.Integer, primary_key=True) first_pk = sa.Column(sa.Integer, sa.ForeignKey(&quot;first.pk&quot;), nullable=False) second_pk = sa.Column(sa.Integer, sa.ForeignKey(&quot;second.pk&quot;), nullable=False) class Second(DeclarativeBase): __tablename__ = &quot;second&quot; pk = sa.Column(sa.Integer, primary_key=True) query = session.query(First).filter(First.pk != 1).join( Mapper, Mapper.first_pk == First.pk, ).join( Second, Second.pk == Mapper.second_pk, ).with_entities(Second) if __name__ == &quot;__main__&quot;: print(query.statement)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">as</span> <span class="pl-s1">sa</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">ext</span>.<span class="pl-s1">declarative</span> <span class="pl-k">import</span> <span class="pl-s1">declarative_base</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">orm</span> <span class="pl-k">import</span> <span class="pl-s1">sessionmaker</span> <span class="pl-v">DeclarativeBase</span> <span class="pl-c1">=</span> <span class="pl-en">declarative_base</span>() <span class="pl-v">Session</span> <span class="pl-c1">=</span> <span class="pl-en">sessionmaker</span>() <span class="pl-s1">session</span> <span class="pl-c1">=</span> <span class="pl-v">Session</span>() <span class="pl-k">class</span> <span class="pl-v">First</span>(<span class="pl-v">DeclarativeBase</span>): <span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">"first"</span> <span class="pl-s1">pk</span> <span class="pl-c1">=</span> <span class="pl-s1">sa</span>.<span class="pl-v">Column</span>(<span class="pl-s1">sa</span>.<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-k">class</span> <span class="pl-v">Mapper</span>(<span class="pl-v">DeclarativeBase</span>): <span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">"mapper"</span> <span class="pl-s1">pk</span> <span class="pl-c1">=</span> <span class="pl-s1">sa</span>.<span class="pl-v">Column</span>(<span class="pl-s1">sa</span>.<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">first_pk</span> <span class="pl-c1">=</span> <span class="pl-s1">sa</span>.<span class="pl-v">Column</span>(<span class="pl-s1">sa</span>.<span class="pl-v">Integer</span>, <span class="pl-s1">sa</span>.<span class="pl-v">ForeignKey</span>(<span class="pl-s">"first.pk"</span>), <span class="pl-s1">nullable</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-s1">second_pk</span> <span class="pl-c1">=</span> <span class="pl-s1">sa</span>.<span class="pl-v">Column</span>(<span class="pl-s1">sa</span>.<span class="pl-v">Integer</span>, <span class="pl-s1">sa</span>.<span class="pl-v">ForeignKey</span>(<span class="pl-s">"second.pk"</span>), <span class="pl-s1">nullable</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-k">class</span> <span class="pl-v">Second</span>(<span class="pl-v">DeclarativeBase</span>): <span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">"second"</span> <span class="pl-s1">pk</span> <span class="pl-c1">=</span> <span class="pl-s1">sa</span>.<span class="pl-v">Column</span>(<span class="pl-s1">sa</span>.<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">query</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span>.<span class="pl-en">query</span>(<span class="pl-v">First</span>).<span class="pl-en">filter</span>(<span class="pl-v">First</span>.<span class="pl-s1">pk</span> <span class="pl-c1">!=</span> <span class="pl-c1">1</span>).<span class="pl-en">join</span>( <span class="pl-v">Mapper</span>, <span class="pl-v">Mapper</span>.<span class="pl-s1">first_pk</span> <span class="pl-c1">==</span> <span class="pl-v">First</span>.<span class="pl-s1">pk</span>, ).<span class="pl-en">join</span>( <span class="pl-v">Second</span>, <span class="pl-v">Second</span>.<span class="pl-s1">pk</span> <span class="pl-c1">==</span> <span class="pl-v">Mapper</span>.<span class="pl-s1">second_pk</span>, ).<span class="pl-en">with_entities</span>(<span class="pl-v">Second</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">print</span>(<span class="pl-s1">query</span>.<span class="pl-s1">statement</span>)</pre></div> <p dir="auto">You get an output of:</p> <div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="SELECT second.pk FROM first, second JOIN mapper ON mapper.first_pk = first.pk JOIN second ON second.pk = mapper.second_pk WHERE first.pk != :pk_1"><pre class="notranslate"><span class="pl-k">SELECT</span> <span class="pl-c1">second</span>.<span class="pl-c1">pk</span> <span class="pl-k">FROM</span> first, second <span class="pl-k">JOIN</span> mapper <span class="pl-k">ON</span> <span class="pl-c1">mapper</span>.<span class="pl-c1">first_pk</span> <span class="pl-k">=</span> <span class="pl-c1">first</span>.<span class="pl-c1">pk</span> <span class="pl-k">JOIN</span> second <span class="pl-k">ON</span> <span class="pl-c1">second</span>.<span class="pl-c1">pk</span> <span class="pl-k">=</span> <span class="pl-c1">mapper</span>.<span class="pl-c1">second_pk</span> <span class="pl-k">WHERE</span> <span class="pl-c1">first</span>.<span class="pl-c1">pk</span> <span class="pl-k">!=</span> :pk_1</pre></div> <p dir="auto">This is invalid, as the first <code class="notranslate">JOIN</code> references the table in the first <code class="notranslate">FROM</code>. Running this query in Postgresql gives an error message like:</p> <p dir="auto"><code class="notranslate">invalid reference to FROM-clause entry for table "first" Hint: There is an entry for table "first", but it cannot be referenced from this part of the query.</code></p> <p dir="auto">In SQLAlchemy 1.3.23 I get this perfectly valid SQL output instead:</p> <div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="SELECT second.pk FROM first JOIN mapper ON mapper.first_pk = first.pk JOIN second ON second.pk = mapper.second_pk WHERE first.pk != :pk_1"><pre class="notranslate"><span class="pl-k">SELECT</span> <span class="pl-c1">second</span>.<span class="pl-c1">pk</span> <span class="pl-k">FROM</span> first <span class="pl-k">JOIN</span> mapper <span class="pl-k">ON</span> <span class="pl-c1">mapper</span>.<span class="pl-c1">first_pk</span> <span class="pl-k">=</span> <span class="pl-c1">first</span>.<span class="pl-c1">pk</span> <span class="pl-k">JOIN</span> second <span class="pl-k">ON</span> <span class="pl-c1">second</span>.<span class="pl-c1">pk</span> <span class="pl-k">=</span> <span class="pl-c1">mapper</span>.<span class="pl-c1">second_pk</span> <span class="pl-k">WHERE</span> <span class="pl-c1">first</span>.<span class="pl-c1">pk</span> <span class="pl-k">!=</span> :pk_1</pre></div> <p dir="auto">In my case I think I can pretty easily work around the issue by rewriting the query but I figured I should report it since a straight upgrade caused a test to fail 😅. Thanks!</p> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: macOS 11.3.1</li> <li>Python: 3.8.9</li> <li>SQLAlchemy: 1.4.15</li> <li>Database: Postgres 10.12</li> <li>DBAPI: psycopg2</li> </ul>
<p dir="auto"><strong>Describe the bug</strong><br> Very similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="832235660" data-permission-text="Title is private" data-url="https://github.com/sqlalchemy/sqlalchemy/issues/6052" data-hovercard-type="issue" data-hovercard-url="/sqlalchemy/sqlalchemy/issues/6052/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/issues/6052">#6052</a> (which is supposedly fixed?), applying any loader option breaks <code class="notranslate">with_entities()</code>.</p> <p dir="auto"><strong>Expected behavior</strong><br> No error, this output from the test script:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="normal [&lt;Thing 1&gt;] with entities + noload [(1,)] with entities + joinedload [(1,)]"><pre class="notranslate"><code class="notranslate">normal [&lt;Thing 1&gt;] with entities + noload [(1,)] with entities + joinedload [(1,)] </code></pre></div> <p dir="auto"><strong>To Reproduce</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sqlalchemy import * from sqlalchemy.ext.declarative import declarative_base # to test on 1.3 from sqlalchemy.orm import * Base = declarative_base() class Thing(Base): __tablename__ = 'things' id = Column(Integer, primary_key=True) owner_id = Column(Integer, ForeignKey('users.id'), nullable=True, index=True) owner = relationship('User', backref='things') def __repr__(self): return f'&lt;Thing {self.id}&gt;' class User(Base): __tablename__ = 'users' id = Column(Integer, primary_key=True) def __repr__(self): return f'&lt;User {self.id}&gt;' e = create_engine('postgresql:///test', echo=False) Base.metadata.create_all(e) s = Session(e) if not s.query(Thing).count(): thing = Thing(owner=User()) s.add(thing) s.commit() print('normal') print(s.query(Thing).all()) print('with entities + noload') # fails print(s.query(Thing).options(noload('owner')).with_entities(Thing.id).all()) print('with entities + joinedload') # fails print(s.query(Thing).options(joinedload('owner')).with_entities(Thing.id).all())"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">ext</span>.<span class="pl-s1">declarative</span> <span class="pl-k">import</span> <span class="pl-s1">declarative_base</span> <span class="pl-c"># to test on 1.3</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">orm</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-v">Base</span> <span class="pl-c1">=</span> <span class="pl-en">declarative_base</span>() <span class="pl-k">class</span> <span class="pl-v">Thing</span>(<span class="pl-v">Base</span>): <span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">'things'</span> <span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">owner_id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">Integer</span>, <span class="pl-v">ForeignKey</span>(<span class="pl-s">'users.id'</span>), <span class="pl-s1">nullable</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">owner</span> <span class="pl-c1">=</span> <span class="pl-en">relationship</span>(<span class="pl-s">'User'</span>, <span class="pl-s1">backref</span><span class="pl-c1">=</span><span class="pl-s">'things'</span>) <span class="pl-k">def</span> <span class="pl-en">__repr__</span>(<span class="pl-s1">self</span>): <span class="pl-k">return</span> <span class="pl-s">f'&lt;Thing <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">self</span>.<span class="pl-s1">id</span><span class="pl-kos">}</span></span>&gt;'</span> <span class="pl-k">class</span> <span class="pl-v">User</span>(<span class="pl-v">Base</span>): <span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">'users'</span> <span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-k">def</span> <span class="pl-en">__repr__</span>(<span class="pl-s1">self</span>): <span class="pl-k">return</span> <span class="pl-s">f'&lt;User <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">self</span>.<span class="pl-s1">id</span><span class="pl-kos">}</span></span>&gt;'</span> <span class="pl-s1">e</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>(<span class="pl-s">'postgresql:///test'</span>, <span class="pl-s1">echo</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-v">Base</span>.<span class="pl-s1">metadata</span>.<span class="pl-en">create_all</span>(<span class="pl-s1">e</span>) <span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-v">Session</span>(<span class="pl-s1">e</span>) <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">s</span>.<span class="pl-en">query</span>(<span class="pl-v">Thing</span>).<span class="pl-en">count</span>(): <span class="pl-s1">thing</span> <span class="pl-c1">=</span> <span class="pl-v">Thing</span>(<span class="pl-s1">owner</span><span class="pl-c1">=</span><span class="pl-v">User</span>()) <span class="pl-s1">s</span>.<span class="pl-en">add</span>(<span class="pl-s1">thing</span>) <span class="pl-s1">s</span>.<span class="pl-en">commit</span>() <span class="pl-en">print</span>(<span class="pl-s">'normal'</span>) <span class="pl-en">print</span>(<span class="pl-s1">s</span>.<span class="pl-en">query</span>(<span class="pl-v">Thing</span>).<span class="pl-en">all</span>()) <span class="pl-en">print</span>(<span class="pl-s">'with entities + noload'</span>) <span class="pl-c"># fails</span> <span class="pl-en">print</span>(<span class="pl-s1">s</span>.<span class="pl-en">query</span>(<span class="pl-v">Thing</span>).<span class="pl-en">options</span>(<span class="pl-en">noload</span>(<span class="pl-s">'owner'</span>)).<span class="pl-en">with_entities</span>(<span class="pl-v">Thing</span>.<span class="pl-s1">id</span>).<span class="pl-en">all</span>()) <span class="pl-en">print</span>(<span class="pl-s">'with entities + joinedload'</span>) <span class="pl-c"># fails</span> <span class="pl-en">print</span>(<span class="pl-s1">s</span>.<span class="pl-en">query</span>(<span class="pl-v">Thing</span>).<span class="pl-en">options</span>(<span class="pl-en">joinedload</span>(<span class="pl-s">'owner'</span>)).<span class="pl-en">with_entities</span>(<span class="pl-v">Thing</span>.<span class="pl-s1">id</span>).<span class="pl-en">all</span>())</pre></div> <p dir="auto"><strong>Error</strong></p> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="normal [&lt;Thing 1&gt;] with entities + noload Traceback (most recent call last): File &quot;/home/adrian/dev/indico/py3/src/satest.py&quot;, line 40, in &lt;module&gt; print(s.query(Thing).options(noload('owner')).with_entities(Thing.id).all()) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/query.py&quot;, line 2685, in all return self._iter().all() File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/query.py&quot;, line 2820, in _iter result = self.session.execute( File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/session.py&quot;, line 1670, in execute result = conn._execute_20(statement, params or {}, execution_options) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1520, in _execute_20 return meth(self, args_10style, kwargs_10style, execution_options) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/elements.py&quot;, line 313, in _execute_on_connection return connection._execute_clauseelement( File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1381, in _execute_clauseelement compiled_sql, extracted_params, cache_hit = elem._compile_w_cache( File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/elements.py&quot;, line 535, in _compile_w_cache compiled_sql = self._compiler( File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/elements.py&quot;, line 570, in _compiler return dialect.statement_compiler(dialect, self, **kw) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 766, in __init__ Compiled.__init__(self, dialect, statement, **kwargs) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 455, in __init__ self.string = self.process(self.statement, **compile_kwargs) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 490, in process return obj._compiler_dispatch(self, **kwargs) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/visitors.py&quot;, line 81, in _compiler_dispatch return meth(self, **kw) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 2966, in visit_select compile_state = select_stmt._compile_state_factory( File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/base.py&quot;, line 492, in create_for_statement return klass.create_for_statement(statement, compiler, **kw) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/context.py&quot;, line 579, in create_for_statement opt.process_compile_state(self) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py&quot;, line 182, in process_compile_state self._process(compile_state, not bool(compile_state.current_path)) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py&quot;, line 705, in _process val._bind_loader( File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py&quot;, line 852, in _bind_loader entity = self._find_entity_basestring(entities, token, raiseerr) File &quot;/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py&quot;, line 983, in _find_entity_basestring raise sa_exc.ArgumentError( sqlalchemy.exc.ArgumentError: Query has only expression-based entities - can't find property named &quot;owner&quot;."><pre class="notranslate">normal [&lt;Thing 1&gt;] with entities + noload Traceback (most recent call last): File <span class="pl-s">"/home/adrian/dev/indico/py3/src/satest.py"</span>, line <span class="pl-c1">40</span>, in <span class="pl-en">&lt;module&gt;</span> <span class="pl-c1">print</span>(s.query(Thing).options(noload(<span class="pl-s"><span class="pl-pds">'</span>owner<span class="pl-pds">'</span></span>)).with_entities(Thing.id).all()) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/query.py"</span>, line <span class="pl-c1">2685</span>, in <span class="pl-en">all</span> <span class="pl-k">return</span> <span class="pl-c1">self</span>._iter().all() File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/query.py"</span>, line <span class="pl-c1">2820</span>, in <span class="pl-en">_iter</span> result <span class="pl-k">=</span> <span class="pl-c1">self</span>.session.execute( File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/session.py"</span>, line <span class="pl-c1">1670</span>, in <span class="pl-en">execute</span> result <span class="pl-k">=</span> conn._execute_20(statement, params <span class="pl-k">or</span> {}, execution_options) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/engine/base.py"</span>, line <span class="pl-c1">1520</span>, in <span class="pl-en">_execute_20</span> <span class="pl-k">return</span> meth(<span class="pl-c1">self</span>, args_10style, kwargs_10style, execution_options) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/elements.py"</span>, line <span class="pl-c1">313</span>, in <span class="pl-en">_execute_on_connection</span> <span class="pl-k">return</span> connection._execute_clauseelement( File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/engine/base.py"</span>, line <span class="pl-c1">1381</span>, in <span class="pl-en">_execute_clauseelement</span> compiled_sql, extracted_params, cache_hit <span class="pl-k">=</span> elem._compile_w_cache( File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/elements.py"</span>, line <span class="pl-c1">535</span>, in <span class="pl-en">_compile_w_cache</span> compiled_sql <span class="pl-k">=</span> <span class="pl-c1">self</span>._compiler( File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/elements.py"</span>, line <span class="pl-c1">570</span>, in <span class="pl-en">_compiler</span> <span class="pl-k">return</span> dialect.statement_compiler(dialect, <span class="pl-c1">self</span>, <span class="pl-k">**</span>kw) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py"</span>, line <span class="pl-c1">766</span>, in <span class="pl-en">__init__</span> Compiled.<span class="pl-c1">__init__</span>(<span class="pl-c1">self</span>, dialect, statement, <span class="pl-k">**</span>kwargs) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py"</span>, line <span class="pl-c1">455</span>, in <span class="pl-en">__init__</span> <span class="pl-c1">self</span>.string <span class="pl-k">=</span> <span class="pl-c1">self</span>.process(<span class="pl-c1">self</span>.statement, <span class="pl-k">**</span>compile_kwargs) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py"</span>, line <span class="pl-c1">490</span>, in <span class="pl-en">process</span> <span class="pl-k">return</span> obj._compiler_dispatch(<span class="pl-c1">self</span>, <span class="pl-k">**</span>kwargs) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/visitors.py"</span>, line <span class="pl-c1">81</span>, in <span class="pl-en">_compiler_dispatch</span> <span class="pl-k">return</span> meth(<span class="pl-c1">self</span>, <span class="pl-k">**</span>kw) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py"</span>, line <span class="pl-c1">2966</span>, in <span class="pl-en">visit_select</span> compile_state <span class="pl-k">=</span> select_stmt._compile_state_factory( File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/sql/base.py"</span>, line <span class="pl-c1">492</span>, in <span class="pl-en">create_for_statement</span> <span class="pl-k">return</span> klass.create_for_statement(statement, compiler, <span class="pl-k">**</span>kw) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/context.py"</span>, line <span class="pl-c1">579</span>, in <span class="pl-en">create_for_statement</span> opt.process_compile_state(<span class="pl-c1">self</span>) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py"</span>, line <span class="pl-c1">182</span>, in <span class="pl-en">process_compile_state</span> <span class="pl-c1">self</span>._process(compile_state, <span class="pl-k">not</span> <span class="pl-c1">bool</span>(compile_state.current_path)) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py"</span>, line <span class="pl-c1">705</span>, in <span class="pl-en">_process</span> val._bind_loader( File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py"</span>, line <span class="pl-c1">852</span>, in <span class="pl-en">_bind_loader</span> entity <span class="pl-k">=</span> <span class="pl-c1">self</span>._find_entity_basestring(entities, token, raiseerr) File <span class="pl-s">"/home/adrian/dev/indico/py3/env/lib/python3.9/site-packages/sqlalchemy/orm/strategy_options.py"</span>, line <span class="pl-c1">983</span>, in <span class="pl-en">_find_entity_basestring</span> <span class="pl-k">raise</span> sa_exc.ArgumentError( <span class="pl-en">sqlalchemy.exc.ArgumentError</span>: <span class="pl-s">Query has only expression-based entities - can't find property named "owner".</span></pre></div> <p dir="auto"><strong>Additional context</strong></p> <p dir="auto">The example script is minimal, hence the "strange" usage of <code class="notranslate">with_entities</code>. In my real application the query is coming from a util function which applies a joinedload option, and overriding it with a noload doesn't help because <em>any</em> load option triggers this bug.</p> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: Linux</li> <li>Python: 3.9.1</li> <li>SQLAlchemy: 1.4.7</li> <li>Database: Postgres</li> <li>DBAPI: psycopg2</li> </ul>
1
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/12023/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/12023/</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Update Demo should create and stop a replication controller [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:210 Expected error: &lt;*errors.errorString | 0xc820adb780&gt;: { s: &quot;Error running &amp;{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://130.211.159.87 --kubeconfig=/workspace/.kube/config get pods update-demo-nautilus-apg9v -o template --template={{if (exists . \&quot;status\&quot; \&quot;containerStatuses\&quot;)}}{{range .status.containerStatuses}}{{if (and (eq .name \&quot;update-demo\&quot;) (exists . \&quot;state\&quot; \&quot;running\&quot;))}}true{{end}}{{end}}{{end}} --namespace=e2e-tests-kubectl-tv2cb] [] &lt;nil&gt; failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n [] &lt;nil&gt; 0xc8207ea7e0 exit status 1 &lt;nil&gt; true [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4010 0xc8200b4028] [0xab6b70 0xab6b70] 0xc8209fc2a0}:\nCommand stdout:\n\nstderr:\nfailed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n\nerror:\nexit status 1\n&quot;, } Error running &amp;{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://130.211.159.87 --kubeconfig=/workspace/.kube/config get pods update-demo-nautilus-apg9v -o template --template={{if (exists . &quot;status&quot; &quot;containerStatuses&quot;)}}{{range .status.containerStatuses}}{{if (and (eq .name &quot;update-demo&quot;) (exists . &quot;state&quot; &quot;running&quot;))}}true{{end}}{{end}}{{end}} --namespace=e2e-tests-kubectl-tv2cb] [] &lt;nil&gt; failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information. [] &lt;nil&gt; 0xc8207ea7e0 exit status 1 &lt;nil&gt; true [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4010 0xc8200b4028] [0xab6b70 0xab6b70] 0xc8209fc2a0}: Command stdout: stderr: failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information. error: exit status 1 not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:210 Expected error: &lt;*errors.errorString | 0xc820adb780&gt;: { s: "Error running &amp;{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://130.211.159.87 --kubeconfig=/workspace/.kube/config get pods update-demo-nautilus-apg9v -o template --template={{if (exists . \"status\" \"containerStatuses\")}}{{range .status.containerStatuses}}{{if (and (eq .name \"update-demo\") (exists . \"state\" \"running\"))}}true{{end}}{{end}}{{end}} --namespace=e2e-tests-kubectl-tv2cb] [] &lt;nil&gt; failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n [] &lt;nil&gt; 0xc8207ea7e0 exit status 1 &lt;nil&gt; true [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4010 0xc8200b4028] [0xab6b70 0xab6b70] 0xc8209fc2a0}:\nCommand stdout:\n\nstderr:\nfailed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n\nerror:\nexit status 1\n", } Error running &amp;{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://130.211.159.87 --kubeconfig=/workspace/.kube/config get pods update-demo-nautilus-apg9v -o template --template={{if (exists . "status" "containerStatuses")}}{{range .status.containerStatuses}}{{if (and (eq .name "update-demo") (exists . "state" "running"))}}true{{end}}{{end}}{{end}} --namespace=e2e-tests-kubectl-tv2cb] [] &lt;nil&gt; failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information. [] &lt;nil&gt; 0xc8207ea7e0 exit status 1 &lt;nil&gt; true [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4000 0xc8200b4018 0xc8200b4030] [0xc8200b4010 0xc8200b4028] [0xab6b70 0xab6b70] 0xc8209fc2a0}: Command stdout: stderr: failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information. error: exit status 1 not to have occurred </code></pre></div> <p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164204998" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28565" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28565/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28565">#28565</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165981728" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29072" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29072/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29072">#29072</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="166890122" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29390" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29390/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29390">#29390</a></p>
<p dir="auto"><code class="notranslate">error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.</code> appears in a lot of flakes. Speculation is that the metadata server is slow to respond.</p> <p dir="auto">So far, these are the issues where this message has popped up:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164220053" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28569" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28569/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28569">#28569</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164204998" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28565" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28565/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28565">#28565</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163991819" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28523" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28523/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28523">#28523</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163933215" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28507" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28507/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28507">#28507</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163811600" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28493" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28493/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28493">#28493</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163579268" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28439" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28439/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28439">#28439</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163578278" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28437" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28437/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28437">#28437</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163545161" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28429" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28429/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28429">#28429</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163541783" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28426" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28426/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28426">#28426</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163533035" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28420" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28420/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28420">#28420</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163207971" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28293" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28293/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28293">#28293</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162029512" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27976" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27976/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27976">#27976</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161598746" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27839" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27839/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27839">#27839</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161178789" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27715" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27715/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27715">#27715</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159529335" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27156" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27156/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27156">#27156</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158173781" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26715" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26715/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26715">#26715</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="157357173" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26490" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26490/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26490">#26490</a></p> <p dir="auto">Sample failed run: <a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/10664" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/10664</a></p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cjcullen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cjcullen">@cjcullen</a> since this is dealing with auth, I'm initially assigning to you. Feel free to reassign to someone more appropriate.</p>
1
<p dir="auto">idna-3 has been released on Jan 1st. However, requests still requires idna&lt;3 preventing a lot of projects from upgrading.</p> <h2 dir="auto">Expected Result</h2> <p dir="auto">requests supporting idna-3.1</p> <h2 dir="auto">Actual Result</h2> <p dir="auto">requests force idna&lt;3</p> <h2 dir="auto">Reproduction Steps</h2> <p dir="auto">Errr, install requests? ;-)</p> <h2 dir="auto">System Information</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -m requests.help { &quot;chardet&quot;: { &quot;version&quot;: &quot;4.0.0&quot; }, &quot;cryptography&quot;: { &quot;version&quot;: &quot;3.4.7&quot; }, &quot;idna&quot;: { &quot;version&quot;: &quot;2.10&quot; }, &quot;implementation&quot;: { &quot;name&quot;: &quot;CPython&quot;, &quot;version&quot;: &quot;3.9.4&quot; }, &quot;platform&quot;: { &quot;release&quot;: &quot;5.11.16-gentoo-dist&quot;, &quot;system&quot;: &quot;Linux&quot; }, &quot;pyOpenSSL&quot;: { &quot;openssl_version&quot;: &quot;101010bf&quot;, &quot;version&quot;: &quot;20.0.1&quot; }, &quot;requests&quot;: { &quot;version&quot;: &quot;2.25.1&quot; }, &quot;system_ssl&quot;: { &quot;version&quot;: &quot;101010bf&quot; }, &quot;urllib3&quot;: { &quot;version&quot;: &quot;1.26.4&quot; }, &quot;using_pyopenssl&quot;: true }"><pre class="notranslate"><code class="notranslate">$ python -m requests.help { "chardet": { "version": "4.0.0" }, "cryptography": { "version": "3.4.7" }, "idna": { "version": "2.10" }, "implementation": { "name": "CPython", "version": "3.9.4" }, "platform": { "release": "5.11.16-gentoo-dist", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "101010bf", "version": "20.0.1" }, "requests": { "version": "2.25.1" }, "system_ssl": { "version": "101010bf" }, "urllib3": { "version": "1.26.4" }, "using_pyopenssl": true } </code></pre></div>
<p dir="auto">idna released version 3.0 but requests has a dependency on idna&lt;3, this makes it impossible to keep up to date on both packages.</p> <h2 dir="auto">Expected Result</h2> <p dir="auto">I want to be able to install the latest idna package alongside the latest requests package</p> <h2 dir="auto">Actual Result</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: Cannot install -r requirements.txt (line 12) and idna==3.0 because these package versions have conflicting dependencies. The conflict is caused by: The user requested idna==3.0 requests 2.25.1 depends on idna&lt;3 and &gt;=2.5"><pre class="notranslate"><code class="notranslate">ERROR: Cannot install -r requirements.txt (line 12) and idna==3.0 because these package versions have conflicting dependencies. The conflict is caused by: The user requested idna==3.0 requests 2.25.1 depends on idna&lt;3 and &gt;=2.5 </code></pre></div> <h2 dir="auto">Reproduction Steps</h2> <p dir="auto">try to run <code class="notranslate">pip install</code> on a requirements.txt file with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="requests==2.25.1 idna==3.0"><pre class="notranslate"><code class="notranslate">requests==2.25.1 idna==3.0 </code></pre></div> <h2 dir="auto">System Information</h2> <p dir="auto">multiple Python versions (3.6 up to 3.9) running on Docker containers inside Drone CI/CD</p>
1
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="863801721" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/19948" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/19948/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/19948">#19948</a> introduces <code class="notranslate">available_if</code> which fixes some issues and is easier to write and understand. We should use it instead of <code class="notranslate">if_delegate_has_method</code> in our own codebase, and encourage third party developers to use it as well.</p> <p dir="auto">This issue is to let people replace the usage one module at a time, and update the documentation of <code class="notranslate">if_delegate_has_method</code> to reflect that people should use <code class="notranslate">available_if</code> instead.</p> <p dir="auto">Any thoughts before we open this for contributors <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jnothman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jnothman">@jnothman</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thomasjpfan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thomasjpfan">@thomasjpfan</a> ?</p>
<h4 dir="auto">Description</h4> <ul dir="auto"> <li> <p dir="auto">There is code / logic duplication between <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/decomposition/dict_learning.py#L387"><code class="notranslate">decomposition.dict_learning.py.dict_learning</code> </a>and <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/decomposition/dict_learning.py#L561"><code class="notranslate">dict_learning_online</code></a>. Formally, the code should be equivalent except, that</p> <ul dir="auto"> <li>for the former the codes should be computed all at once (<code class="notranslate">batch_size = n_samples</code>) and this process iterated (alternating BCD, as it's already done), whilst</li> <li>for the latter the each sample point's code is computed as the sample is pooled-in. The <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/decomposition/dict_learning.py#L312">dictionary update function </a>should the same in both case (<a href="https://hal.inria.fr/inria-00408716v1/document" rel="nofollow">Alg2 of the ref paper</a>.)</li> </ul> </li> <li> <p dir="auto">As a side effect of this code duplication, there prototype of backend <code class="notranslate">_update_dict</code> function is somewhat "dangling". E.g the shape of argument <code class="notranslate">code</code> can be <code class="notranslate">(n_components, n_features)</code> or <code class="notranslate">(n_components, n_features)</code> depending on whether it's called from within <code class="notranslate">dict_learning</code> or <code class="notranslate">dict_learning_online</code> resp.</p> </li> </ul> <h4 dir="auto">Proposal</h4> <p dir="auto">Have a single function <code class="notranslate">dict_learning_online(batch_size=some_default)</code> which reproduces full-batch mode (the current <code class="notranslate">dict_learning</code> function) when <code class="notranslate">batch_size == n_samples</code>.</p>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[X] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[X] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> After upgrading working app from 4.0.0 to 4.0.1 or 4.1.0-beta.0, when navigating to a new component (lazy loaded but dont know if that matters yet) CanDeactivate guard is called with null component and providers are not being provided to new component (sometimes I get only one of these errors, sometimes I get both as shown below, and occasionally I get other errors not captured here)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR Error: Uncaught (in promise): Error: No provider for MyService! Error at injectionError (core.es5.js:1231) [angular] at noProviderError (core.es5.js:1269) [angular] at ReflectiveInjector_._throwOrNull (core.es5.js:2770) [angular] at ReflectiveInjector_._getByKeyDefault (core.es5.js:2809) [angular] at ReflectiveInjector_._getByKey (core.es5.js:2741) [angular] at ReflectiveInjector_.get (core.es5.js:2610) [angular] at AppModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at MySearchModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at resolveDep (core.es5.js:10930) [angular] at createClass (core.es5.js:10799) [angular] at createDirectiveInstance (core.es5.js:10627) [angular] at createViewNodes (core.es5.js:11977) [angular] at createRootView (core.es5.js:11882) [angular] at callWithDebugContext (core.es5.js:13013) [angular] at injectionError (core.es5.js:1231) [angular] at noProviderError (core.es5.js:1269) [angular] at ReflectiveInjector_._throwOrNull (core.es5.js:2770) [angular] at ReflectiveInjector_._getByKeyDefault (core.es5.js:2809) [angular] at ReflectiveInjector_._getByKey (core.es5.js:2741) [angular] at ReflectiveInjector_.get (core.es5.js:2610) [angular] at AppModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at MySearchModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at resolveDep (core.es5.js:10930) [angular] at createClass (core.es5.js:10799) [angular] at createDirectiveInstance (core.es5.js:10627) [angular] at createViewNodes (core.es5.js:11977) [angular] at createRootView (core.es5.js:11882) [angular] at callWithDebugContext (core.es5.js:13013) [angular] at resolvePromise (zone.js:712) [angular] at resolvePromise (zone.js:683) [angular] at :4200/polyfills.bundle.js:2764:17 [angular] at Object.onInvokeTask (core.es5.js:4116) [angular] at ZoneDelegate.webpackJsonp.626.ZoneDelegate.invokeTask (zone.js:397) [angular] at Zone.webpackJsonp.626.Zone.runTask (zone.js:165) [&lt;root&gt; =&gt; angular] at drainMicroTaskQueue (zone.js:593) [&lt;root&gt;] at HTMLAnchorElement.ZoneTask.invoke (zone.js:464) [&lt;root&gt;] defaultErrorLogger @ core.es5.js:1084 ErrorHandler.handleError @ core.es5.js:1144 next @ core.es5.js:4754 schedulerFn @ core.es5.js:3828 SafeSubscriber.__tryOrUnsub @ Subscriber.js:234 SafeSubscriber.next @ Subscriber.js:183 Subscriber._next @ Subscriber.js:125 Subscriber.next @ Subscriber.js:89 Subject.next @ Subject.js:55 EventEmitter.emit @ core.es5.js:3814 NgZone.triggerError @ core.es5.js:4185 onHandleError @ core.es5.js:4146 webpackJsonp.626.ZoneDelegate.handleError @ zone.js:369 webpackJsonp.626.Zone.runGuarded @ zone.js:141 _loop_1 @ zone.js:604 drainMicroTaskQueue @ zone.js:613 ZoneTask.invoke @ zone.js:464 core.es5.js:1084 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'canDeactivate' of null TypeError: Cannot read property 'canDeactivate' of null at CanDeactivateGuard.webpackJsonp.224.CanDeactivateGuard.canDeactivate (CanDeactivate.ts:9) at MergeMapSubscriber.project (router.es5.js:4394) at MergeMapSubscriber._tryNext (mergeMap.js:120) at MergeMapSubscriber._next (mergeMap.js:110) at MergeMapSubscriber.Subscriber.next (Subscriber.js:89) at ArrayObservable._subscribe (ArrayObservable.js:114) at ArrayObservable.Observable._trySubscribe (Observable.js:57) at ArrayObservable.Observable.subscribe (Observable.js:45) at MergeMapOperator.call (mergeMap.js:85) at Observable.subscribe (Observable.js:42) at EveryOperator.call (every.js:33) at Observable.subscribe (Observable.js:42) at Object.subscribeToResult (subscribeToResult.js:22) at MergeMapSubscriber._innerSub (mergeMap.js:130) at MergeMapSubscriber._tryNext (mergeMap.js:127) at CanDeactivateGuard.webpackJsonp.224.CanDeactivateGuard.canDeactivate (CanDeactivate.ts:9) at MergeMapSubscriber.project (router.es5.js:4394) at MergeMapSubscriber._tryNext (mergeMap.js:120) at MergeMapSubscriber._next (mergeMap.js:110) at MergeMapSubscriber.Subscriber.next (Subscriber.js:89) at ArrayObservable._subscribe (ArrayObservable.js:114) at ArrayObservable.Observable._trySubscribe (Observable.js:57) at ArrayObservable.Observable.subscribe (Observable.js:45) at MergeMapOperator.call (mergeMap.js:85) at Observable.subscribe (Observable.js:42) at EveryOperator.call (every.js:33) at Observable.subscribe (Observable.js:42) at Object.subscribeToResult (subscribeToResult.js:22) at MergeMapSubscriber._innerSub (mergeMap.js:130) at MergeMapSubscriber._tryNext (mergeMap.js:127) at resolvePromise (zone.js:712) [angular] at resolvePromise (zone.js:683) [angular] at :4200/polyfills.bundle.js:2764:17 [angular] at Object.onInvokeTask (core.es5.js:4116) [angular] at ZoneDelegate.webpackJsonp.626.ZoneDelegate.invokeTask (zone.js:397) [angular] at Zone.webpackJsonp.626.Zone.runTask (zone.js:165) [&lt;root&gt; =&gt; angular] at drainMicroTaskQueue (zone.js:593) [&lt;root&gt;] at HTMLAnchorElement.ZoneTask.invoke (zone.js:464) [&lt;root&gt;]"><pre class="notranslate"><code class="notranslate">ERROR Error: Uncaught (in promise): Error: No provider for MyService! Error at injectionError (core.es5.js:1231) [angular] at noProviderError (core.es5.js:1269) [angular] at ReflectiveInjector_._throwOrNull (core.es5.js:2770) [angular] at ReflectiveInjector_._getByKeyDefault (core.es5.js:2809) [angular] at ReflectiveInjector_._getByKey (core.es5.js:2741) [angular] at ReflectiveInjector_.get (core.es5.js:2610) [angular] at AppModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at MySearchModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at resolveDep (core.es5.js:10930) [angular] at createClass (core.es5.js:10799) [angular] at createDirectiveInstance (core.es5.js:10627) [angular] at createViewNodes (core.es5.js:11977) [angular] at createRootView (core.es5.js:11882) [angular] at callWithDebugContext (core.es5.js:13013) [angular] at injectionError (core.es5.js:1231) [angular] at noProviderError (core.es5.js:1269) [angular] at ReflectiveInjector_._throwOrNull (core.es5.js:2770) [angular] at ReflectiveInjector_._getByKeyDefault (core.es5.js:2809) [angular] at ReflectiveInjector_._getByKey (core.es5.js:2741) [angular] at ReflectiveInjector_.get (core.es5.js:2610) [angular] at AppModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at MySearchModuleInjector.NgModuleInjector.get (core.es5.js:3557) [angular] at resolveDep (core.es5.js:10930) [angular] at createClass (core.es5.js:10799) [angular] at createDirectiveInstance (core.es5.js:10627) [angular] at createViewNodes (core.es5.js:11977) [angular] at createRootView (core.es5.js:11882) [angular] at callWithDebugContext (core.es5.js:13013) [angular] at resolvePromise (zone.js:712) [angular] at resolvePromise (zone.js:683) [angular] at :4200/polyfills.bundle.js:2764:17 [angular] at Object.onInvokeTask (core.es5.js:4116) [angular] at ZoneDelegate.webpackJsonp.626.ZoneDelegate.invokeTask (zone.js:397) [angular] at Zone.webpackJsonp.626.Zone.runTask (zone.js:165) [&lt;root&gt; =&gt; angular] at drainMicroTaskQueue (zone.js:593) [&lt;root&gt;] at HTMLAnchorElement.ZoneTask.invoke (zone.js:464) [&lt;root&gt;] defaultErrorLogger @ core.es5.js:1084 ErrorHandler.handleError @ core.es5.js:1144 next @ core.es5.js:4754 schedulerFn @ core.es5.js:3828 SafeSubscriber.__tryOrUnsub @ Subscriber.js:234 SafeSubscriber.next @ Subscriber.js:183 Subscriber._next @ Subscriber.js:125 Subscriber.next @ Subscriber.js:89 Subject.next @ Subject.js:55 EventEmitter.emit @ core.es5.js:3814 NgZone.triggerError @ core.es5.js:4185 onHandleError @ core.es5.js:4146 webpackJsonp.626.ZoneDelegate.handleError @ zone.js:369 webpackJsonp.626.Zone.runGuarded @ zone.js:141 _loop_1 @ zone.js:604 drainMicroTaskQueue @ zone.js:613 ZoneTask.invoke @ zone.js:464 core.es5.js:1084 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'canDeactivate' of null TypeError: Cannot read property 'canDeactivate' of null at CanDeactivateGuard.webpackJsonp.224.CanDeactivateGuard.canDeactivate (CanDeactivate.ts:9) at MergeMapSubscriber.project (router.es5.js:4394) at MergeMapSubscriber._tryNext (mergeMap.js:120) at MergeMapSubscriber._next (mergeMap.js:110) at MergeMapSubscriber.Subscriber.next (Subscriber.js:89) at ArrayObservable._subscribe (ArrayObservable.js:114) at ArrayObservable.Observable._trySubscribe (Observable.js:57) at ArrayObservable.Observable.subscribe (Observable.js:45) at MergeMapOperator.call (mergeMap.js:85) at Observable.subscribe (Observable.js:42) at EveryOperator.call (every.js:33) at Observable.subscribe (Observable.js:42) at Object.subscribeToResult (subscribeToResult.js:22) at MergeMapSubscriber._innerSub (mergeMap.js:130) at MergeMapSubscriber._tryNext (mergeMap.js:127) at CanDeactivateGuard.webpackJsonp.224.CanDeactivateGuard.canDeactivate (CanDeactivate.ts:9) at MergeMapSubscriber.project (router.es5.js:4394) at MergeMapSubscriber._tryNext (mergeMap.js:120) at MergeMapSubscriber._next (mergeMap.js:110) at MergeMapSubscriber.Subscriber.next (Subscriber.js:89) at ArrayObservable._subscribe (ArrayObservable.js:114) at ArrayObservable.Observable._trySubscribe (Observable.js:57) at ArrayObservable.Observable.subscribe (Observable.js:45) at MergeMapOperator.call (mergeMap.js:85) at Observable.subscribe (Observable.js:42) at EveryOperator.call (every.js:33) at Observable.subscribe (Observable.js:42) at Object.subscribeToResult (subscribeToResult.js:22) at MergeMapSubscriber._innerSub (mergeMap.js:130) at MergeMapSubscriber._tryNext (mergeMap.js:127) at resolvePromise (zone.js:712) [angular] at resolvePromise (zone.js:683) [angular] at :4200/polyfills.bundle.js:2764:17 [angular] at Object.onInvokeTask (core.es5.js:4116) [angular] at ZoneDelegate.webpackJsonp.626.ZoneDelegate.invokeTask (zone.js:397) [angular] at Zone.webpackJsonp.626.Zone.runTask (zone.js:165) [&lt;root&gt; =&gt; angular] at drainMicroTaskQueue (zone.js:593) [&lt;root&gt;] at HTMLAnchorElement.ZoneTask.invoke (zone.js:464) [&lt;root&gt;] </code></pre></div> <p dir="auto"><strong>Expected behavior</strong><br> CanDeactivate guard should not be called with null component and providers should be provided</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <p dir="auto">Will try to create plnkr when have time.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto">Breaking change. Causes crash in existing code that works as expected in 4.0.0</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <p dir="auto">@angular/cli: 1.0.0<br> node: 7.7.1<br> os: win32 x64<br> @angular/common: 4.1.0-beta.0<br> @angular/compiler: 4.1.0-beta.0<br> @angular/core: 4.1.0-beta.0<br> @angular/forms: 4.1.0-beta.0<br> @angular/http: 4.1.0-beta.0<br> @angular/platform-browser: 4.1.0-beta.0<br> @angular/platform-browser-dynamic: 4.1.0-beta.0<br> @angular/router: 4.1.0-beta.0<br> @angular/cli: 1.0.0<br> @angular/compiler-cli: 4.1.0-beta.0</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.X</li> </ul> <ul dir="auto"> <li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li> </ul> <p dir="auto">Only tried in Chrome</p> <ul dir="auto"> <li> <p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]</p> </li> <li> <p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p> </li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report [ ] feature request [ ] support request"><pre class="notranslate"><code class="notranslate">[x] bug report [ ] feature request [ ] support request </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> If an app uses <code class="notranslate">HashLocationStrategy</code> and the URL hash is changed manually, the <code class="notranslate">subscribe</code> observable of the <code class="notranslate">Location</code> service will fire two events for the same change. This will also occur if the browser back/forward buttons are used or when clicking a traditional anchor with <code class="notranslate">href="#foo"</code>.</p> <p dir="auto"><strong>Expected behavior</strong><br> The <code class="notranslate">Location</code> service should emit exactly one event for each discrete change in location.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> See <a href="https://plnkr.co/edit/RBd4TJd9d39aW7VvigHY?p=preview" rel="nofollow">this plunkr</a>. Click the <em>One</em> and <em>Two</em> anchors to see the events logged. You may also want to open the plunkr in a separate window and change the hash manually.<br> As you can see, two events are logged for each change.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Although <code class="notranslate">Location</code> by itself may cause trouble, the main issue is that each location change event is scheduling a new router navigation. Appearently, the router cannot remember that it is already in the process of changing to an URL and issues a second navigation to the same URL.<br> The end result is that there will be two router navigations running in parallel. In my experience, it at least causes double invocation of guards/resolvers.</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.2 up to 2.1.0-rc.0</li> <li><strong>Browser:</strong> Chrome 53, Firefox 49</li> <li><strong>Language:</strong> all</li> </ul>
0
<h3 dir="auto">Current Behavior:</h3> <p dir="auto">It doesn't install packages that are only found on GitHub.</p> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">It should install packages that are only found on GitHub.</p> <h3 dir="auto">Steps To Reproduce:</h3> <ol dir="auto"> <li>With this config in <code class="notranslate">package.json</code>, e.g.: <code class="notranslate">"dependencies": { "@gastromatic/react-dates": "1.0.7" }</code></li> <li>With this config in <code class="notranslate">.npmrc</code>, e.g.: <code class="notranslate">@gastromatic:registry=https://npm.pkg.github.com</code></li> <li>Run 'npx [email protected] i'</li> <li>See error:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm ERR! code EINTEGRITY npm ERR! sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== integrity checksum failed when using sha512: wanted sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)"><pre class="notranslate"><code class="notranslate">npm ERR! code EINTEGRITY npm ERR! sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== integrity checksum failed when using sha512: wanted sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes) </code></pre></div> <p dir="auto">With these steps npm6 does install packages that are only found on GitHub.</p> <h3 dir="auto">Environment:</h3> <ul dir="auto"> <li>OS: MacOS 10.15.7</li> <li>Node: 14.13.0</li> <li>npm: 7.0.0-rc.0</li> </ul>
<h3 dir="auto">Current Behavior:</h3> <p dir="auto">We are trying to upgrate to NPM 7, but we run into problems with getting packages from azure artifacts. The following log is shown, when running <code class="notranslate">npm i --verbose</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again. npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again. npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again. npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again. npm timing reify:rollback:createSparse Completed in 2ms npm timing reify:rollback:retireShallow Completed in 1ms npm timing command:install Completed in 1784ms npm verb stack Error: sha1-ZTIGEke6SQtyObZXul6THKgWSz0= integrity checksum failed when using sha1: wanted sha1-ZTIGEke6SQtyObZXul6THKgWSz0= but got sha512-1HAETTUJsxZ0ZT/s/kYXiDJgmm4bXD7co77wzewb4t8BBW7Vhk0ONkOs5orSToPCtu41U30n/e50gqTgia8anA== sha1-oCrDJJcm5EvGPkto9uzdg5hsPC0=. (307 bytes)"><pre class="notranslate"><code class="notranslate">npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again. npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again. npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again. npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again. npm timing reify:rollback:createSparse Completed in 2ms npm timing reify:rollback:retireShallow Completed in 1ms npm timing command:install Completed in 1784ms npm verb stack Error: sha1-ZTIGEke6SQtyObZXul6THKgWSz0= integrity checksum failed when using sha1: wanted sha1-ZTIGEke6SQtyObZXul6THKgWSz0= but got sha512-1HAETTUJsxZ0ZT/s/kYXiDJgmm4bXD7co77wzewb4t8BBW7Vhk0ONkOs5orSToPCtu41U30n/e50gqTgia8anA== sha1-oCrDJJcm5EvGPkto9uzdg5hsPC0=. (307 bytes) </code></pre></div> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">I expect the packages to be downloaded correctly, just as they did using npm 6</p> <h3 dir="auto">Steps To Reproduce:</h3> <p dir="auto">Reference packages to azure artifacts in your package.json. Try to run <code class="notranslate">npm install</code></p> <p dir="auto">expected:<br> packages install</p> <p dir="auto">actual:<br> error as shown above</p> <h3 dir="auto">Environment:</h3> <ul dir="auto"> <li>OS: windows 10</li> <li>Node: v12.16.1</li> <li>npm: 7@beta10</li> </ul>
1
<p dir="auto">This jsfiddle illustrates that the 'toggle' option does not toggle. It opens the dropdown but does not close it when clicked a second time.</p> <p dir="auto"><a href="http://jsfiddle.net/urQvW/" rel="nofollow">http://jsfiddle.net/urQvW/</a></p>
<p dir="auto">If you use the JavaScript interface for dropdown -- .dropdown("toggle") -- multiple times, the "open" class isn't cleared, so the dropdown stays open.</p> <p dir="auto"><a href="https://gist.github.com/evanp/6456479">https://gist.github.com/evanp/6456479</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 pandas as pd dat = pd.DataFrame({'a': [1, 1, 2, 2], 'b': [0, 1, 2, 3], 'c': [None, None, 1, 1]}) gp = dat.groupby('a') case_one = gp['b'].aggregate(lambda x: (x != 0).all()) case_two = gp['c'].aggregate(lambda x: x.isnull().all()) "><pre class="notranslate"><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-s1">dat</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">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">2</span>], <span class="pl-s">'b'</span>: [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s">'c'</span>: [<span class="pl-c1">None</span>, <span class="pl-c1">None</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]}) <span class="pl-s1">gp</span> <span class="pl-c1">=</span> <span class="pl-s1">dat</span>.<span class="pl-en">groupby</span>(<span class="pl-s">'a'</span>) <span class="pl-s1">case_one</span> <span class="pl-c1">=</span> <span class="pl-s1">gp</span>[<span class="pl-s">'b'</span>].<span class="pl-en">aggregate</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: (<span class="pl-s1">x</span> <span class="pl-c1">!=</span> <span class="pl-c1">0</span>).<span class="pl-en">all</span>()) <span class="pl-s1">case_two</span> <span class="pl-c1">=</span> <span class="pl-s1">gp</span>[<span class="pl-s">'c'</span>].<span class="pl-en">aggregate</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-en">isnull</span>().<span class="pl-en">all</span>())</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">By comparing <code class="notranslate">case_one</code> and <code class="notranslate">case_two</code>, it seems that <code class="notranslate">aggregate</code> function turns boolean values sometimes to integers 1 or 0.</p> <p dir="auto">For <code class="notranslate">case_one</code> we get,</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a 1 False 2 True Name: b, dtype: bool"><pre class="notranslate"><code class="notranslate">a 1 False 2 True Name: b, dtype: bool </code></pre></div> <p dir="auto">However for <code class="notranslate">case_two</code> we get</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a 1 1.0 2 0.0 Name: c, dtype: float64"><pre class="notranslate"><code class="notranslate">a 1 1.0 2 0.0 Name: c, dtype: float64 </code></pre></div> <h4 dir="auto">Expected Output</h4> <p dir="auto">For <code class="notranslate">case_two</code> we should get</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a 1 True 2 False Name: b, dtype: bool"><pre class="notranslate"><code class="notranslate">a 1 True 2 False Name: b, dtype: bool </code></pre></div> <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: Linux OS-release: 4.4.0-53-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_AU.UTF-8 LOCALE: en_AU.UTF-8 <p dir="auto">pandas: 0.19.1<br> nose: 1.3.7<br> pip: 8.1.2<br> setuptools: 23.0.0<br> Cython: None<br> numpy: 1.11.0<br> scipy: 0.17.0<br> statsmodels: None<br> xarray: None<br> IPython: 4.2.0<br> sphinx: None<br> patsy: None<br> dateutil: 2.5.3<br> pytz: 2016.4<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> matplotlib: None<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: None<br> httplib2: None<br> apiclient: None<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.8<br> boto: None<br> pandas_datareader: None</p> </details> <p dir="auto">This same issue appears in a different environment as well.</p> <details> INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-53-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_AU.UTF-8 <p dir="auto">pandas: 0.18.1<br> nose: 1.3.7<br> pip: 9.0.1<br> setuptools: 23.0.0<br> Cython: None<br> numpy: 1.11.2<br> scipy: 0.18.1<br> statsmodels: None<br> xarray: None<br> IPython: 5.0.0<br> sphinx: None<br> patsy: None<br> dateutil: 2.5.3<br> pytz: 2016.6.1<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> matplotlib: 1.5.1<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: None<br> httplib2: None<br> apiclient: None<br> sqlalchemy: 1.1.3<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.8<br> boto: None<br> pandas_datareader: None</p> </details>
<p dir="auto">tests.indexes.datetimes.test_ops.TestDateTimeIndexToJulianDate<br> tests.indexes.datetimes.test_misc.TestDateTimeIndexToJulianDate</p> <p dir="auto">Will update if/when I find others.</p> <hr> <p dir="auto"><a href="https://github.com/pandas-dev/pandas/blob/master/pandas/tests/indexes/timedeltas/test_timedelta.py#L578">https://github.com/pandas-dev/pandas/blob/master/pandas/tests/indexes/timedeltas/test_timedelta.py#L578</a><br> TestSlicing has one method <code class="notranslate">test_timedelta</code> and it isn't clear it has anything to do with slicing.</p> <p dir="auto"><a href="https://github.com/pandas-dev/pandas/blob/master/pandas/tests/indexes/timedeltas/test_ops.py#L1214">https://github.com/pandas-dev/pandas/blob/master/pandas/tests/indexes/timedeltas/test_ops.py#L1214</a><br> test_ops.TestSlicing.test_tdi_ops_attributes doesnt appear to have anything to do with slicing</p> <p dir="auto"><a href="https://github.com/pandas-dev/pandas/blob/master/pandas/tests/indexes/timedeltas/test_ops.py#L1250">https://github.com/pandas-dev/pandas/blob/master/pandas/tests/indexes/timedeltas/test_ops.py#L1250</a><br> test_ops.TestSlicing.test_add_overflow appears arithmetic based. In fact it <em>almost</em> catches one of the errors in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="269417937" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/18020" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/18020/hovercard" href="https://github.com/pandas-dev/pandas/pull/18020">#18020</a>.</p>
0
<p dir="auto">I click the big download button and all the is in the zip files are blank?</p>
<p dir="auto">Tried to download a customised setup but css files are empty once downloaded, the same is true for IE,Safari,FireFox and Chrome. Received a error file with the downloaded zip, message as follows:</p> <p dir="auto">A less error occured trying to build your bundle. You've likely entered an invalid input into the less variable field. Check your syntax and try again!<br> thanks!<br> {"type":"Parse","message":"Syntax Error on line 1","index":0,"filename":"bootstrap.css","line":1,"column":0,"extract":[null,"","&lt;!--"]}</p> <p dir="auto">Thanks</p>
1
<p dir="auto">I do <code class="notranslate">kube-push</code> to my cluster and meet the following issue:</p> <ul dir="auto"> <li>In my push, I update control plane manifest as well as kubelet command line arguments.</li> <li>After push, old static pods still running while new pods failed to run. Take apiserver as an example: <ul dir="auto"> <li>There are 3 running containers after push: <code class="notranslate">old apiserver</code>, <code class="notranslate">old apiserver pause</code>, <code class="notranslate">new apiserver pause</code>.</li> <li>Run <code class="notranslate">docker ps -a | grep apiserver</code> and find that new apiserver container exit because of error.</li> </ul> </li> <li>To solve the problem, I do <code class="notranslate">docker rm -f</code> on <code class="notranslate">old apiserver</code> and <code class="notranslate">old apiserver pause</code> containers.</li> </ul> <p dir="auto">I think this should be fixed since there is high risk for <code class="notranslate">kube-push</code> failure.</p>
<p dir="auto">I'm getting this error on my Google Cloud cluster:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I1117 22:56:55.385576 3509 kubelet.go:977] Unable to register kubernetes-minion-frx1 with the apiserver: Post https://kubernetes-master/api/v1/nodes: x509: cert ificate signed by unknown authority"><pre class="notranslate"><code class="notranslate">I1117 22:56:55.385576 3509 kubelet.go:977] Unable to register kubernetes-minion-frx1 with the apiserver: Post https://kubernetes-master/api/v1/nodes: x509: cert ificate signed by unknown authority </code></pre></div> <p dir="auto">Using the default <code class="notranslate">./cluster/kube-up.sh</code></p> <p dir="auto">To reproduce:</p> <ul dir="auto"> <li>kube-up</li> <li>everything is working fine</li> <li>delete one of the instances from the autoscaling group</li> <li>the new instance will fail with this error continuously</li> </ul>
1
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.3.2 (latest released)</p> <h3 dir="auto">What happened</h3> <p dir="auto">Upgrade Airflow 2.2.3 or 2.2.5 -&gt; 2.3.2 fails on migration-job.</p> <p dir="auto"><strong>first time upgrade execution:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Referencing column 'task_id' and referenced column 'task_id' in foreign key constraint 'task_map_task_instance_fkey' are incompatible.&quot;) [SQL: CREATE TABLE task_map ( dag_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, task_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, run_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, map_index INTEGER NOT NULL, length INTEGER NOT NULL, `keys` JSON, PRIMARY KEY (dag_id, task_id, run_id, map_index), CONSTRAINT task_map_length_not_negative CHECK (length &gt;= 0), CONSTRAINT task_map_task_instance_fkey FOREIGN KEY(dag_id, task_id, run_id, map_index) REFERENCES task_instance (dag_id, task_id, run_id, map_index) ON DELETE CASCADE ) ]"><pre class="notranslate"><code class="notranslate">Referencing column 'task_id' and referenced column 'task_id' in foreign key constraint 'task_map_task_instance_fkey' are incompatible.") [SQL: CREATE TABLE task_map ( dag_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, task_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, run_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, map_index INTEGER NOT NULL, length INTEGER NOT NULL, `keys` JSON, PRIMARY KEY (dag_id, task_id, run_id, map_index), CONSTRAINT task_map_length_not_negative CHECK (length &gt;= 0), CONSTRAINT task_map_task_instance_fkey FOREIGN KEY(dag_id, task_id, run_id, map_index) REFERENCES task_instance (dag_id, task_id, run_id, map_index) ON DELETE CASCADE ) ] </code></pre></div> <p dir="auto"><strong>after the first failed execution (should be due to the first failed execution):</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Can't DROP 'task_reschedule_ti_fkey'; check that column/key exists&quot;) [SQL: ALTER TABLE task_reschedule DROP FOREIGN KEY task_reschedule_ti_fkey[]"><pre class="notranslate"><code class="notranslate">Can't DROP 'task_reschedule_ti_fkey'; check that column/key exists") [SQL: ALTER TABLE task_reschedule DROP FOREIGN KEY task_reschedule_ti_fkey[] </code></pre></div> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">The migration-job shouldn't fail ;)</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Everytime in my environment just need to create a snapshot from last working DB-Snapshot (Airflow Version 2.2.3)<br> and then deploy Airflow 2.3.2.<br> I can update in between to 2.2.5 but ran into the same issue by update to 2.3.2.</p> <h3 dir="auto">Operating System</h3> <p dir="auto">Debian GNU/Linux 10 (buster) - apache/airflow:2.3.2-python3.8 (hub.docker.com)</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto">apache-airflow-providers-amazon==2.4.0<br> apache-airflow-providers-celery==2.1.0<br> apache-airflow-providers-cncf-kubernetes==2.2.0<br> apache-airflow-providers-docker==2.3.0<br> apache-airflow-providers-elasticsearch==2.1.0<br> apache-airflow-providers-ftp==2.0.1<br> apache-airflow-providers-google==6.2.0<br> apache-airflow-providers-grpc==2.0.1<br> apache-airflow-providers-hashicorp==2.1.1<br> apache-airflow-providers-http==2.0.1<br> apache-airflow-providers-imap==2.0.1<br> apache-airflow-providers-microsoft-azure==3.4.0<br> apache-airflow-providers-mysql==2.1.1<br> apache-airflow-providers-odbc==2.0.1<br> apache-airflow-providers-postgres==2.4.0<br> apache-airflow-providers-redis==2.0.1<br> apache-airflow-providers-sendgrid==2.0.1<br> apache-airflow-providers-sftp==2.3.0<br> apache-airflow-providers-slack==4.1.0<br> apache-airflow-providers-sqlite==2.0.1<br> apache-airflow-providers-ssh==2.3.0<br> apache-airflow-providers-tableau==2.1.4</p> <h3 dir="auto">Deployment</h3> <p dir="auto">Official Apache Airflow Helm Chart</p> <h3 dir="auto">Deployment details</h3> <ul dir="auto"> <li>K8s Rev: v1.21.12-eks-a64ea69</li> <li>helm chart version: 1.6.0</li> <li>Database: AWS RDS MySQL 8.0.28</li> </ul> <h3 dir="auto">Anything else</h3> <p dir="auto">Full error Log <strong>first</strong> execution:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:529: DeprecationWarning: The auth_backend option in [api[] has been renamed to auth_backends - the old setting has been used, but please update your config. option = self._get_option_from_config_file(deprecated_key, deprecated_section, key, kwargs, section) /home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:356: FutureWarning: The auth_backends setting in [api[] has had airflow.api.auth.backend.session added in the running config, which is needed by the UI. Please update your config before Apache Airflow 3.0. warnings.warn( DB: mysql+mysqldb://airflow:***@test-airflow2-db-blue.fsgfsdcfds76.eu-central-1.rds.amazonaws.com:3306/airflow Performing upgrade with database mysql+mysqldb://airflow:***@test-airflow2-db-blue.fsgfsdcfds76.eu-central-1.rds.amazonaws.com:3306/airflow [2022-06-17 12:19:59,724[] {db.py:920} WARNING - Found 33 duplicates in table task_fail. Will attempt to move them. [2022-06-17 12:36:18,813[] {db.py:1448} INFO - Creating tables INFO [alembic.runtime.migration[] Context impl MySQLImpl. INFO [alembic.runtime.migration[] Will assume non-transactional DDL. INFO [alembic.runtime.migration[] Running upgrade be2bfac3da23 -&gt; c381b21cb7e4, Create a ``session`` table to store web session data INFO [alembic.runtime.migration[] Running upgrade c381b21cb7e4 -&gt; 587bdf053233, Add index for ``dag_id`` column in ``job`` table. INFO [alembic.runtime.migration[] Running upgrade 587bdf053233 -&gt; 5e3ec427fdd3, Increase length of email and username in ``ab_user`` and ``ab_register_user`` table to ``256`` characters INFO [alembic.runtime.migration[] Running upgrade 5e3ec427fdd3 -&gt; 786e3737b18f, Add ``timetable_description`` column to DagModel for UI. INFO [alembic.runtime.migration[] Running upgrade 786e3737b18f -&gt; f9da662e7089, Add ``LogTemplate`` table to track changes to config values ``log_filename_template`` INFO [alembic.runtime.migration[] Running upgrade f9da662e7089 -&gt; e655c0453f75, Add ``map_index`` column to TaskInstance to identify task-mapping, and a ``task_map`` table to track mapping values from XCom. Traceback (most recent call last): File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1705, in _execute_context self.dialect.do_execute( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py&quot;, line 716, in do_execute cursor.execute(statement, parameters) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 206, in execute res = self._query(query) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 319, in _query db.query(q) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py&quot;, line 254, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (3780, &quot;Referencing column 'task_id' and referenced column 'task_id' in foreign key constraint 'task_map_task_instance_fkey' are incompatible.&quot;) The above exception was the direct cause of the following exception: Traceback (most recent call last): File &quot;/home/airflow/.local/bin/airflow&quot;, line 8, in &lt;module&gt; sys.exit(main()) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/__main__.py&quot;, line 38, in main args.func(args) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/cli_parser.py&quot;, line 51, in command return func(*args, **kwargs) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/cli.py&quot;, line 99, in wrapper return f(*args, **kwargs) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/commands/db_command.py&quot;, line 82, in upgradedb db.upgradedb(to_revision=to_revision, from_revision=from_revision, show_sql_only=args.show_sql_only) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/session.py&quot;, line 71, in wrapper return func(*args, session=session, **kwargs) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/db.py&quot;, line 1449, in upgradedb command.upgrade(config, revision=to_revision or 'heads') File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/command.py&quot;, line 322, in upgrade script.run_env() File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/script/base.py&quot;, line 569, in run_env util.load_python_file(self.dir, &quot;env.py&quot;) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py&quot;, line 94, in load_python_file module = load_module_py(module_id, path) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py&quot;, line 110, in load_module_py spec.loader.exec_module(module) # type: ignore File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 843, in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py&quot;, line 107, in &lt;module&gt; run_migrations_online() File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py&quot;, line 101, in run_migrations_online context.run_migrations() File &quot;&lt;string&gt;&quot;, line 8, in run_migrations File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/environment.py&quot;, line 853, in run_migrations self.get_context().run_migrations(**kw) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/migration.py&quot;, line 623, in run_migrations step.migration_fn(**kw) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/versions/0100_2_3_0_add_taskmap_and_map_id_on_taskinstance.py&quot;, line 75, in upgrade op.create_table( File &quot;&lt;string&gt;&quot;, line 8, in create_table File &quot;&lt;string&gt;&quot;, line 3, in create_table File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/ops.py&quot;, line 1254, in create_table return operations.invoke(op) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/base.py&quot;, line 394, in invoke return fn(self, operation) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/toimpl.py&quot;, line 114, in create_table operations.impl.create_table(table) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py&quot;, line 354, in create_table self._exec(schema.CreateTable(table)) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py&quot;, line 195, in _exec return conn.execute(construct, multiparams) File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1200, in execute return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py&quot;, line 77, in _execute_on_connection return connection._execute_ddl( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1290, in _execute_ddl ret = self._execute_context( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1748, in _execute_context self._handle_dbapi_exception( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1929, in _handle_dbapi_exception util.raise_( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/util/compat.py&quot;, line 211, in raise_ raise exception File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1705, in _execute_context self.dialect.do_execute( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py&quot;, line 716, in do_execute cursor.execute(statement, parameters) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 206, in execute res = self._query(query) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 319, in _query db.query(q) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py&quot;, line 254, in query _mysql.connection.query(self, query) sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (3780, &quot;Referencing column 'task_id' and referenced column 'task_id' in foreign key constraint 'task_map_task_instance_fkey' are incompatible.&quot;) [SQL: CREATE TABLE task_map ( dag_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, task_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, run_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, map_index INTEGER NOT NULL, length INTEGER NOT NULL, `keys` JSON, PRIMARY KEY (dag_id, task_id, run_id, map_index), CONSTRAINT task_map_length_not_negative CHECK (length &gt;= 0), CONSTRAINT task_map_task_instance_fkey FOREIGN KEY(dag_id, task_id, run_id, map_index) REFERENCES task_instance (dag_id, task_id, run_id, map_index) ON DELETE CASCADE ) ] (Background on this error at: http://sqlalche.me/e/14/e3q8)"><pre class="notranslate"><code class="notranslate">/home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:529: DeprecationWarning: The auth_backend option in [api[] has been renamed to auth_backends - the old setting has been used, but please update your config. option = self._get_option_from_config_file(deprecated_key, deprecated_section, key, kwargs, section) /home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:356: FutureWarning: The auth_backends setting in [api[] has had airflow.api.auth.backend.session added in the running config, which is needed by the UI. Please update your config before Apache Airflow 3.0. warnings.warn( DB: mysql+mysqldb://airflow:***@test-airflow2-db-blue.fsgfsdcfds76.eu-central-1.rds.amazonaws.com:3306/airflow Performing upgrade with database mysql+mysqldb://airflow:***@test-airflow2-db-blue.fsgfsdcfds76.eu-central-1.rds.amazonaws.com:3306/airflow [2022-06-17 12:19:59,724[] {db.py:920} WARNING - Found 33 duplicates in table task_fail. Will attempt to move them. [2022-06-17 12:36:18,813[] {db.py:1448} INFO - Creating tables INFO [alembic.runtime.migration[] Context impl MySQLImpl. INFO [alembic.runtime.migration[] Will assume non-transactional DDL. INFO [alembic.runtime.migration[] Running upgrade be2bfac3da23 -&gt; c381b21cb7e4, Create a ``session`` table to store web session data INFO [alembic.runtime.migration[] Running upgrade c381b21cb7e4 -&gt; 587bdf053233, Add index for ``dag_id`` column in ``job`` table. INFO [alembic.runtime.migration[] Running upgrade 587bdf053233 -&gt; 5e3ec427fdd3, Increase length of email and username in ``ab_user`` and ``ab_register_user`` table to ``256`` characters INFO [alembic.runtime.migration[] Running upgrade 5e3ec427fdd3 -&gt; 786e3737b18f, Add ``timetable_description`` column to DagModel for UI. INFO [alembic.runtime.migration[] Running upgrade 786e3737b18f -&gt; f9da662e7089, Add ``LogTemplate`` table to track changes to config values ``log_filename_template`` INFO [alembic.runtime.migration[] Running upgrade f9da662e7089 -&gt; e655c0453f75, Add ``map_index`` column to TaskInstance to identify task-mapping, and a ``task_map`` table to track mapping values from XCom. Traceback (most recent call last): File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1705, in _execute_context self.dialect.do_execute( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 716, in do_execute cursor.execute(statement, parameters) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute res = self._query(query) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query db.query(q) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (3780, "Referencing column 'task_id' and referenced column 'task_id' in foreign key constraint 'task_map_task_instance_fkey' are incompatible.") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/airflow/.local/bin/airflow", line 8, in &lt;module&gt; sys.exit(main()) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/__main__.py", line 38, in main args.func(args) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/cli_parser.py", line 51, in command return func(*args, **kwargs) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/cli.py", line 99, in wrapper return f(*args, **kwargs) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/commands/db_command.py", line 82, in upgradedb db.upgradedb(to_revision=to_revision, from_revision=from_revision, show_sql_only=args.show_sql_only) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/session.py", line 71, in wrapper return func(*args, session=session, **kwargs) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/db.py", line 1449, in upgradedb command.upgrade(config, revision=to_revision or 'heads') File "/home/airflow/.local/lib/python3.8/site-packages/alembic/command.py", line 322, in upgrade script.run_env() File "/home/airflow/.local/lib/python3.8/site-packages/alembic/script/base.py", line 569, in run_env util.load_python_file(self.dir, "env.py") File "/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 94, in load_python_file module = load_module_py(module_id, path) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 110, in load_module_py spec.loader.exec_module(module) # type: ignore File "&lt;frozen importlib._bootstrap_external&gt;", line 843, in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed File "/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py", line 107, in &lt;module&gt; run_migrations_online() File "/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py", line 101, in run_migrations_online context.run_migrations() File "&lt;string&gt;", line 8, in run_migrations File "/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/environment.py", line 853, in run_migrations self.get_context().run_migrations(**kw) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/migration.py", line 623, in run_migrations step.migration_fn(**kw) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/versions/0100_2_3_0_add_taskmap_and_map_id_on_taskinstance.py", line 75, in upgrade op.create_table( File "&lt;string&gt;", line 8, in create_table File "&lt;string&gt;", line 3, in create_table File "/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/ops.py", line 1254, in create_table return operations.invoke(op) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/base.py", line 394, in invoke return fn(self, operation) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/toimpl.py", line 114, in create_table operations.impl.create_table(table) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py", line 354, in create_table self._exec(schema.CreateTable(table)) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py", line 195, in _exec return conn.execute(construct, multiparams) File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1200, in execute return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 77, in _execute_on_connection return connection._execute_ddl( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1290, in _execute_ddl ret = self._execute_context( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1748, in _execute_context self._handle_dbapi_exception( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1929, in _handle_dbapi_exception util.raise_( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 211, in raise_ raise exception File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1705, in _execute_context self.dialect.do_execute( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 716, in do_execute cursor.execute(statement, parameters) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute res = self._query(query) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query db.query(q) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query _mysql.connection.query(self, query) sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (3780, "Referencing column 'task_id' and referenced column 'task_id' in foreign key constraint 'task_map_task_instance_fkey' are incompatible.") [SQL: CREATE TABLE task_map ( dag_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, task_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, run_id VARCHAR(250) COLLATE utf8mb3_bin NOT NULL, map_index INTEGER NOT NULL, length INTEGER NOT NULL, `keys` JSON, PRIMARY KEY (dag_id, task_id, run_id, map_index), CONSTRAINT task_map_length_not_negative CHECK (length &gt;= 0), CONSTRAINT task_map_task_instance_fkey FOREIGN KEY(dag_id, task_id, run_id, map_index) REFERENCES task_instance (dag_id, task_id, run_id, map_index) ON DELETE CASCADE ) ] (Background on this error at: http://sqlalche.me/e/14/e3q8) </code></pre></div> <p dir="auto">Full error Log <strong>after</strong> first execution (should caused by first execution):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" /home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:529: DeprecationWarning: The auth_backend option in [api[] has been renamed to auth_backends - the old setting has been used, but please update your config. option = self._get_option_from_config_file(deprecated_key, deprecated_section, key, kwargs, section) /home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:356: FutureWarning: The auth_backends setting in [api[] has had airflow.api.auth.backend.session added in the running config, which is needed by the UI. Please update your config before Apache Airflow 3.0. warnings.warn( DB: mysql+mysqldb://airflow:***@test-airflow2-db-blue.cndbtlpttl69.eu-central-1.rds.amazonaws.com:3306/airflow Performing upgrade with database mysql+mysqldb://airflow:***@test-airflow2-db-blue.cndbtlpttl69.eu-central-1.rds.amazonaws.com:3306/airflow [2022-06-17 12:41:53,882[] {db.py:1448} INFO - Creating tables INFO [alembic.runtime.migration[] Context impl MySQLImpl. INFO [alembic.runtime.migration[] Will assume non-transactional DDL. INFO [alembic.runtime.migration[] Running upgrade f9da662e7089 -&gt; e655c0453f75, Add ``map_index`` column to TaskInstance to identify task-mapping, and a ``task_map`` table to track mapping values from XCom. Traceback (most recent call last): File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1705, in _execute_context self.dialect.do_execute( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py&quot;, line 716, in do_execute cursor.execute(statement, parameters) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 206, in execute res = self._query(query) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 319, in _query db.query(q) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py&quot;, line 254, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1091, &quot;Can't DROP 'task_reschedule_ti_fkey'; check that column/key exists&quot;) The above exception was the direct cause of the following exception: Traceback (most recent call last): File &quot;/home/airflow/.local/bin/airflow&quot;, line 8, in &lt;module&gt; sys.exit(main()) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/__main__.py&quot;, line 38, in main args.func(args) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/cli_parser.py&quot;, line 51, in command return func(*args, **kwargs) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/cli.py&quot;, line 99, in wrapper return f(*args, **kwargs) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/commands/db_command.py&quot;, line 82, in upgradedb db.upgradedb(to_revision=to_revision, from_revision=from_revision, show_sql_only=args.show_sql_only) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/session.py&quot;, line 71, in wrapper return func(*args, session=session, **kwargs) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/db.py&quot;, line 1449, in upgradedb command.upgrade(config, revision=to_revision or 'heads') File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/command.py&quot;, line 322, in upgrade script.run_env() File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/script/base.py&quot;, line 569, in run_env util.load_python_file(self.dir, &quot;env.py&quot;) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py&quot;, line 94, in load_python_file module = load_module_py(module_id, path) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py&quot;, line 110, in load_module_py spec.loader.exec_module(module) # type: ignore File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 843, in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py&quot;, line 107, in &lt;module&gt; run_migrations_online() File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py&quot;, line 101, in run_migrations_online context.run_migrations() File &quot;&lt;string&gt;&quot;, line 8, in run_migrations File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/environment.py&quot;, line 853, in run_migrations self.get_context().run_migrations(**kw) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/migration.py&quot;, line 623, in run_migrations step.migration_fn(**kw) File &quot;/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/versions/0100_2_3_0_add_taskmap_and_map_id_on_taskinstance.py&quot;, line 49, in upgrade batch_op.drop_index(&quot;idx_task_reschedule_dag_task_run&quot;) File &quot;/usr/local/lib/python3.8/contextlib.py&quot;, line 120, in __exit__ next(self.gen) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/base.py&quot;, line 376, in batch_alter_table impl.flush() File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/batch.py&quot;, line 111, in flush fn(*arg, **kw) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/mysql.py&quot;, line 155, in drop_constraint super(MySQLImpl, self).drop_constraint(const) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py&quot;, line 338, in drop_constraint self._exec(schema.DropConstraint(const)) File &quot;/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py&quot;, line 195, in _exec return conn.execute(construct, multiparams) File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1200, in execute return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py&quot;, line 77, in _execute_on_connection return connection._execute_ddl( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1290, in _execute_ddl ret = self._execute_context( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1748, in _execute_context self._handle_dbapi_exception( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1929, in _handle_dbapi_exception util.raise_( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/util/compat.py&quot;, line 211, in raise_ raise exception File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py&quot;, line 1705, in _execute_context self.dialect.do_execute( File &quot;/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py&quot;, line 716, in do_execute cursor.execute(statement, parameters) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 206, in execute res = self._query(query) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py&quot;, line 319, in _query db.query(q) File &quot;/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py&quot;, line 254, in query _mysql.connection.query(self, query) sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1091, &quot;Can't DROP 'task_reschedule_ti_fkey'; check that column/key exists&quot;) [SQL: ALTER TABLE task_reschedule DROP FOREIGN KEY task_reschedule_ti_fkey[] (Background on this error at: http://sqlalche.me/e/14/e3q8)"><pre class="notranslate"><code class="notranslate"> /home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:529: DeprecationWarning: The auth_backend option in [api[] has been renamed to auth_backends - the old setting has been used, but please update your config. option = self._get_option_from_config_file(deprecated_key, deprecated_section, key, kwargs, section) /home/airflow/.local/lib/python3.8/site-packages/airflow/configuration.py:356: FutureWarning: The auth_backends setting in [api[] has had airflow.api.auth.backend.session added in the running config, which is needed by the UI. Please update your config before Apache Airflow 3.0. warnings.warn( DB: mysql+mysqldb://airflow:***@test-airflow2-db-blue.cndbtlpttl69.eu-central-1.rds.amazonaws.com:3306/airflow Performing upgrade with database mysql+mysqldb://airflow:***@test-airflow2-db-blue.cndbtlpttl69.eu-central-1.rds.amazonaws.com:3306/airflow [2022-06-17 12:41:53,882[] {db.py:1448} INFO - Creating tables INFO [alembic.runtime.migration[] Context impl MySQLImpl. INFO [alembic.runtime.migration[] Will assume non-transactional DDL. INFO [alembic.runtime.migration[] Running upgrade f9da662e7089 -&gt; e655c0453f75, Add ``map_index`` column to TaskInstance to identify task-mapping, and a ``task_map`` table to track mapping values from XCom. Traceback (most recent call last): File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1705, in _execute_context self.dialect.do_execute( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 716, in do_execute cursor.execute(statement, parameters) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute res = self._query(query) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query db.query(q) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1091, "Can't DROP 'task_reschedule_ti_fkey'; check that column/key exists") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/airflow/.local/bin/airflow", line 8, in &lt;module&gt; sys.exit(main()) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/__main__.py", line 38, in main args.func(args) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/cli_parser.py", line 51, in command return func(*args, **kwargs) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/cli.py", line 99, in wrapper return f(*args, **kwargs) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/commands/db_command.py", line 82, in upgradedb db.upgradedb(to_revision=to_revision, from_revision=from_revision, show_sql_only=args.show_sql_only) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/session.py", line 71, in wrapper return func(*args, session=session, **kwargs) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/db.py", line 1449, in upgradedb command.upgrade(config, revision=to_revision or 'heads') File "/home/airflow/.local/lib/python3.8/site-packages/alembic/command.py", line 322, in upgrade script.run_env() File "/home/airflow/.local/lib/python3.8/site-packages/alembic/script/base.py", line 569, in run_env util.load_python_file(self.dir, "env.py") File "/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 94, in load_python_file module = load_module_py(module_id, path) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 110, in load_module_py spec.loader.exec_module(module) # type: ignore File "&lt;frozen importlib._bootstrap_external&gt;", line 843, in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed File "/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py", line 107, in &lt;module&gt; run_migrations_online() File "/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/env.py", line 101, in run_migrations_online context.run_migrations() File "&lt;string&gt;", line 8, in run_migrations File "/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/environment.py", line 853, in run_migrations self.get_context().run_migrations(**kw) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/runtime/migration.py", line 623, in run_migrations step.migration_fn(**kw) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/migrations/versions/0100_2_3_0_add_taskmap_and_map_id_on_taskinstance.py", line 49, in upgrade batch_op.drop_index("idx_task_reschedule_dag_task_run") File "/usr/local/lib/python3.8/contextlib.py", line 120, in __exit__ next(self.gen) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/base.py", line 376, in batch_alter_table impl.flush() File "/home/airflow/.local/lib/python3.8/site-packages/alembic/operations/batch.py", line 111, in flush fn(*arg, **kw) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/mysql.py", line 155, in drop_constraint super(MySQLImpl, self).drop_constraint(const) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py", line 338, in drop_constraint self._exec(schema.DropConstraint(const)) File "/home/airflow/.local/lib/python3.8/site-packages/alembic/ddl/impl.py", line 195, in _exec return conn.execute(construct, multiparams) File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1200, in execute return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 77, in _execute_on_connection return connection._execute_ddl( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1290, in _execute_ddl ret = self._execute_context( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1748, in _execute_context self._handle_dbapi_exception( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1929, in _handle_dbapi_exception util.raise_( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 211, in raise_ raise exception File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1705, in _execute_context self.dialect.do_execute( File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 716, in do_execute cursor.execute(statement, parameters) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute res = self._query(query) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query db.query(q) File "/home/airflow/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query _mysql.connection.query(self, query) sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1091, "Can't DROP 'task_reschedule_ti_fkey'; check that column/key exists") [SQL: ALTER TABLE task_reschedule DROP FOREIGN KEY task_reschedule_ti_fkey[] (Background on this error at: http://sqlalche.me/e/14/e3q8) </code></pre></div> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.5.1</p> <h3 dir="auto">What happened</h3> <p dir="auto">When declaring a DAG Param, any resulting <code class="notranslate">jsonschema.exceptions.SchemaErrors</code> are not shown in the GUI as a DAG import error, nor visible via <code class="notranslate">airflow dags list-import-errors</code> because the exception is not caught in the <code class="notranslate">models/dagbag.py</code> <code class="notranslate"> _process_modules</code>-function (only <code class="notranslate">ParamValidationError</code> is)</p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">The function should not only capture <code class="notranslate">ParamValidationError</code>s, but also <code class="notranslate">jsonschema.exceptions.SchemaError</code>. and let you know why the DAG is not being imported.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Add a <code class="notranslate">Param</code> to your dag, but use a wrong configuration. In our case the developer mistakingly used <code class="notranslate">schema</code> instead of <code class="notranslate">type</code>.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;release&quot;: Param( default=None, description=&quot;Release to run the update for&quot;, schema=&quot;string&quot; )"><pre class="notranslate"><code class="notranslate">"release": Param( default=None, description="Release to run the update for", schema="string" ) </code></pre></div> <p dir="auto">The <code class="notranslate">schema</code> line should've been <code class="notranslate">type=["string", "null"]</code>.</p> <h3 dir="auto">Operating System</h3> <p dir="auto">Debian</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Deployment</h3> <p dir="auto">Docker-Compose</p> <h3 dir="auto">Deployment details</h3> <p dir="auto">Original airflow docker container (2.5.1 - python 3.10)</p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
0
<p dir="auto">Currently, <code class="notranslate">Categorical.unique</code> and <code class="notranslate">CategoricalIndex.unique</code> drop unused categories:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; categories = ['very good', 'good', 'neutral', 'bad', 'very bad'] &gt;&gt;&gt; cat = pd.Categorical(['good','good', 'bad', 'bad'], categories=categories, ordered=True) &gt;&gt;&gt; cat [good, good, bad, bad] Categories (5, object): [very good &lt; good &lt; neutral &lt; bad &lt; very bad] &gt;&gt;&gt; cat.unique() [good, bad] Categories (2, object): [good &lt; bad] # unused categories dropped"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">categories</span> <span class="pl-c1">=</span> [<span class="pl-s">'very good'</span>, <span class="pl-s">'good'</span>, <span class="pl-s">'neutral'</span>, <span class="pl-s">'bad'</span>, <span class="pl-s">'very bad'</span>] <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">cat</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Categorical</span>([<span class="pl-s">'good'</span>,<span class="pl-s">'good'</span>, <span class="pl-s">'bad'</span>, <span class="pl-s">'bad'</span>], <span class="pl-s1">categories</span><span class="pl-c1">=</span><span class="pl-s1">categories</span>, <span class="pl-s1">ordered</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">cat</span> [<span class="pl-s1">good</span>, <span class="pl-s1">good</span>, <span class="pl-s1">bad</span>, <span class="pl-s1">bad</span>] <span class="pl-v">Categories</span> (<span class="pl-c1">5</span>, <span class="pl-s1">object</span>): [<span class="pl-s1">very</span> <span class="pl-s1">good</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">good</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">neutral</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">bad</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">very</span> <span class="pl-s1">bad</span>] <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">cat</span>.<span class="pl-en">unique</span>() [<span class="pl-s1">good</span>, <span class="pl-s1">bad</span>] <span class="pl-v">Categories</span> (<span class="pl-c1">2</span>, <span class="pl-s1">object</span>): [<span class="pl-s1">good</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">bad</span>] <span class="pl-c"># unused categories dropped</span></pre></div> <p dir="auto">So, <code class="notranslate">.unique()</code> both uniquefies and drops unused categories (does two things in one operation)</p> <p dir="auto">Often, even if you want to uniquefy values, you still want to control whether to drop unused categories or not. So <code class="notranslate">Categorical/CategoricalIndex.unique</code> should IMO keep all categories, and categories should be dropped in a seperate action. So, this would be a better API:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; cat.unique() [good, bad] Categories (5, object): [very good &lt; good &lt; neutral &lt; bad &lt; very bad] # unused not dropped"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">cat</span>.<span class="pl-en">unique</span>() [<span class="pl-s1">good</span>, <span class="pl-s1">bad</span>] <span class="pl-v">Categories</span> (<span class="pl-c1">5</span>, <span class="pl-s1">object</span>): [<span class="pl-s1">very</span> <span class="pl-s1">good</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">good</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">neutral</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">bad</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">very</span> <span class="pl-s1">bad</span>] <span class="pl-c"># unused not dropped</span></pre></div> <p dir="auto">If you want to drop unused categories, you should do it explicitly like so: <code class="notranslate">cat.unique().remove_unused_categories()</code>.</p> <p dir="auto">The proposed API is also faster, as dropping unused categories requires recoding the categories/codes, which is potentially expensive.</p>
<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="In [2]: pd.Categorical([1,3,2,4], categories=[4,2,3,1,5]).unique() Out[2]: [1, 3, 2, 4] Categories (4, int64): [1, 3, 2, 4] "><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pd</span>.<span class="pl-v">Categorical</span>([<span class="pl-c1">1</span>,<span class="pl-c1">3</span>,<span class="pl-c1">2</span>,<span class="pl-c1">4</span>], <span class="pl-s1">categories</span><span class="pl-c1">=</span>[<span class="pl-c1">4</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">1</span>,<span class="pl-c1">5</span>]).<span class="pl-en">unique</span>() <span class="pl-v">Out</span>[<span class="pl-c1">2</span>]: [<span class="pl-c1">1</span>, <span class="pl-c1">3</span>, <span class="pl-c1">2</span>, <span class="pl-c1">4</span>] <span class="pl-v">Categories</span> (<span class="pl-c1">4</span>, <span class="pl-s1">int64</span>): [<span class="pl-c1">1</span>, <span class="pl-c1">3</span>, <span class="pl-c1">2</span>, <span class="pl-c1">4</span>]</pre></div> <p dir="auto">same happens with <code class="notranslate">CategoricalIndex</code> and <code class="notranslate">Series</code> of <code class="notranslate">dtype=category</code> (as long as <code class="notranslate">ordered=False</code>).</p> <h4 dir="auto">Problem description</h4> <p dir="auto">The general pandas approach to categoricals seems to change the <code class="notranslate">.categories</code> field as seldom as possible. So I see no reason why <code class="notranslate">unique()</code>, which <em>by definition</em> does not affect the set of distinct values, should change the categories (reordering them based on appearance, and dropping unused ones).</p> <h4 dir="auto">Expected Output</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [2]: pd.Categorical([1,3,2,4], categories=[4,2,3,1,5]).unique() Out[2]: [1, 3, 2, 4] Categories (4, int64): [4, 2, 3, 1, 5] "><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pd</span>.<span class="pl-v">Categorical</span>([<span class="pl-c1">1</span>,<span class="pl-c1">3</span>,<span class="pl-c1">2</span>,<span class="pl-c1">4</span>], <span class="pl-s1">categories</span><span class="pl-c1">=</span>[<span class="pl-c1">4</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">1</span>,<span class="pl-c1">5</span>]).<span class="pl-en">unique</span>() <span class="pl-v">Out</span>[<span class="pl-c1">2</span>]: [<span class="pl-c1">1</span>, <span class="pl-c1">3</span>, <span class="pl-c1">2</span>, <span class="pl-c1">4</span>] <span class="pl-v">Categories</span> (<span class="pl-c1">4</span>, <span class="pl-s1">int64</span>): [<span class="pl-c1">4</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">1</span>, <span class="pl-c1">5</span>]</pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <p dir="auto">In [3]: pd.show_versions()</p> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/63e8527d32aaf6afe1cd4b2a7b3bfadb088c9a72/hovercard" href="https://github.com/pandas-dev/pandas/commit/63e8527d32aaf6afe1cd4b2a7b3bfadb088c9a72"><tt>63e8527</tt></a><br> python: 3.5.3.final.0<br> python-bits: 64<br> OS: Linux<br> OS-release: 4.9.0-3-amd64<br> machine: x86_64<br> processor:<br> byteorder: little<br> LC_ALL: None<br> LANG: it_IT.UTF-8<br> LOCALE: it_IT.UTF-8</p> <p dir="auto">pandas: 0.22.0.dev0+131.g63e8527d3<br> pytest: 3.2.3<br> pip: 9.0.1<br> setuptools: 36.7.0<br> Cython: 0.25.2<br> numpy: 1.12.1<br> scipy: 0.19.0<br> pyarrow: None<br> xarray: None<br> IPython: 6.2.1<br> sphinx: 1.5.6<br> patsy: 0.4.1<br> dateutil: 2.6.1<br> pytz: 2017.2<br> blosc: None<br> bottleneck: 1.2.0dev<br> tables: 3.3.0<br> numexpr: 2.6.1<br> feather: 0.3.1<br> matplotlib: 2.0.0<br> openpyxl: None<br> xlrd: 1.0.0<br> xlwt: 1.1.2<br> xlsxwriter: 0.9.6<br> lxml: None<br> bs4: 4.5.3<br> html5lib: 0.999999999<br> sqlalchemy: 1.0.15<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.10<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: 0.2.1</p> </details>
1
<h2 dir="auto">Digest (TL;DR)</h2> <p dir="auto">A small service that allows tagged controllers to handle the exception(s) they registered for, optionally bubbling via inheritance to the closest match in the inheritance chain.<br> To replace, but incorporate, the current inflexible twig controller.<br> For my reasoning, explanations, and implementation details read the long story.</p> <p dir="auto">Code can be found here: <a href="https://gist.github.com/NinoFloris/92523a34cdf17a084d4d">https://gist.github.com/NinoFloris/92523a34cdf17a084d4d</a></p> <p dir="auto">Would I do good to integrate this into the framework and issue a pull request?</p> <h2 dir="auto">Long story</h2> <p dir="auto">I have written a small class because I was fed up with the current state of afairs around event based exception handling (kernel event exception).<br> I like to fire my exceptions from all over the place and let them be handled by an exception listener.<br> This eases my boilerplate code by a huge amount, e.g. not having to check for the request format (which response would the request like to receive, html, json, xml). Talking about that, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="30226187" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/10538" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/10538/hovercard" href="https://github.com/symfony/symfony/issues/10538">#10538</a>.<br> I then don't have to repeat myself over and over again with this identical logic. The exception listener/controller will do this all for me.</p> <h4 dir="auto">The problem</h4> <p dir="auto">My problem with the way it is configured currently is that it isn't flexible. When I want to create some specific behavior for my app exceptions (all, say, inheriting from <code class="notranslate">MyAppException</code>) With the current setup I have 3 options.</p> <ol dir="auto"> <li>Override the view templates of the twig exception controller</li> <li>Override the twig exception controller method (<code class="notranslate">config.yml</code>)</li> <li>Roll my own exception listener and fire a subrequest to my own exception controller.</li> </ol> <p dir="auto">The downsides of all these options are:</p> <ol dir="auto"> <li>I cannot specify an exception design template per bundle. (e.g. error in the FrontendBundle should be able to look different than in the AdminBundle) And I cannot differentiate based on exception class but only on the given exception code.</li> <li>When I override the twig exception controller I don't have a lot of flexibility, the findtemplate function still handles the search the same so I now need to roll my own templatefinder. I also need to duplicate the functionality the original controller had because otherwise I would be degrading the UX for certain exceptions (e.g. checking for http statuscodes comes to mind).</li> <li>Currently the best option but also immediately the one that requires the most configuration and time.</li> </ol> <p dir="auto">These options are all not ideal and especially option 3 is very time consuming, but currently the only way to go.</p> <h4 dir="auto">Solution</h4> <p dir="auto">I created an exception listener that almost exactly mirrors the one currently used in the httpkernel <code class="notranslate">HttpKernel\Exception\Exceptionlistener</code>. It even uses the same signature to call the controller method.</p> <p dir="auto">On top of this I created a class (naming is open for discussion) <code class="notranslate">ExceptionControllers</code><br> This class is a tag handler class for the tag <code class="notranslate">myapp_service.exception_controller</code><br> This tag has 1 mandatory and 3 optional attributes</p> <ol dir="auto"> <li><code class="notranslate">exception</code> = the exception you want to handle with this exception controller</li> <li><code class="notranslate">method</code> = the controller methodname that gets called (defaults to "showAction")</li> <li><code class="notranslate">match</code> = exact or inherited, does the controller only match exceptions with the exact classname or does it allow children of its handled exception. (defaults to "inherited")</li> <li><code class="notranslate">bundle-scope</code> = the site/origin of the thrown exception you want to handle e.g. only handle <code class="notranslate">RuntimeException</code> if it originated from the MyAppFrontBundle (defaults to "" which is global)</li> </ol> <p dir="auto">This <code class="notranslate">ExceptionControllers</code> class is constructor injected into the exception listener which can then 'query' the class for a correct handler.<br> The priority for handling is narrow, bundle, scope first. Closest match in the inheritance chain is preferred. When a candidate controller set <code class="notranslate">match="exact"</code> the inheritance is <code class="notranslate">n=1</code> (just itself).<br> Finally it is up to the controller to issue the correct response and do (additional) logging.</p> <h4 dir="auto">About BC</h4> <p dir="auto">This solution keeps BC because we could still allow the twig controller to be overridden via the config.yml. What needs to change is the internal handling for the <code class="notranslate">HttpKernel\Exception\Exceptionlistener</code> class which would then get the <code class="notranslate">ExceptionControllers</code> class injected, replacing the "controller" string.</p> <p dir="auto">The twig exception controller would then have to be tagged like so (tag name would then be changed of course)<br> <code class="notranslate">&lt;tag name="myapp_service.exception_controller" exception="Exception" /&gt;</code><br> Where <code class="notranslate">match="inherited"</code>, <code class="notranslate">method="showAction"</code> and <code class="notranslate">bundle-scope=""</code> are implied through defaults.<br> This will bubble all the unhandled exceptions to this controller if there is no controller closer to the exception in the inheritance chain or a controller in a narrower scope. That is all :D</p> <h4 dir="auto">Examples</h4> <p dir="auto"><code class="notranslate">&lt;tag name="myapp_service.exception_controller" exception="MyApp\ServiceBundle\Exception\MyAppException" match="exact" /&gt;</code></p> <p dir="auto"><code class="notranslate">&lt;tag name="myapp_service.exception_controller" exception="MyApp\ServiceBundle\Exception\MyAppException" match="inheritance" bundle-scope="MyAppFrontBundle" /&gt;</code></p> <h4 dir="auto">Future ideas</h4> <p dir="auto">Let the <code class="notranslate">ExceptionListener</code> fall back to the next best controller to handle the exception. If the previous controller did not produce a response or threw an error. However we should limit this to trying a maximum amount of controllers to prevent the final response from possibly taking waaay too long.</p> <h4 dir="auto">BC breaking changes</h4> <ol dir="auto"> <li>For the best experience the <code class="notranslate">ExceptionListener</code> should refrain from logging and let the controllers handle that. I use an abstract class <code class="notranslate">BaseExceptionController</code> with the <code class="notranslate">logException</code> method from the current <code class="notranslate">ExceptionListener</code> in it to very easily do the logging the <code class="notranslate">ExceptionListener</code> did.<br> Possible fix is to only log if the controller is in some way related to the twig controller approach and is therefore using "the old way" (need to be smart about overridden twig controllers).</li> <li>The dependency <code class="notranslate">ExceptionControllers</code> has on <code class="notranslate">Kernel</code>.<br> It could easily be made optional through property injection, or attribute <code class="notranslate">on-invalid="null"</code> and shutting off the <code class="notranslate">bundle-scope</code> functionality if the Kernel is not defined.</li> </ol>
<p dir="auto"><strong>Symfony version(s) affected</strong>: 3.4.23</p> <p dir="auto"><strong>Description</strong><br> If you work with various translation xliff-files and one of these has a duplicate key, the error message doesn't say what file is affected:<br> <code class="notranslate">Invalid resource provided: "1.2"; Errors: [ERROR 1877] Element '{urn:oasis:names:tc:xliff:document:1.2}trans-unit': Duplicate key-sequence ['76'] in key identity-constraint '{urn:oasis:names:tc:xliff:document:1.2}K_unit_id'. (in /var/www/tickeos/web/ - line 314, column 0)</code></p> <p dir="auto"><strong>How to reproduce</strong></p> <ul dir="auto"> <li>use <code class="notranslate">Symfony\Component\Translation\TranslatorInterface</code> <code class="notranslate">trans()</code></li> <li>include a xliff-file with duplicate keys e.g.<br> <code class="notranslate">&lt;trans-unit id="76"&gt;...&lt;/trans-unit&gt;&lt;trans-unit id="76"&gt;...&lt;/trans-unit&gt;</code></li> </ul> <p dir="auto"><strong>Possible Solution</strong></p> <ul dir="auto"> <li>error says what file is affected</li> </ul>
0
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; rank(BigFloat[1 1;1 0]) ERROR: MethodError: no method matching svdvals!(::Array{BigFloat,2}) Closest candidates are: svdvals!(::SymTridiagonal) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\tridiag.jl:350 svdvals!(::StridedArray{T, 2}) where T&lt;:Union{Complex{Float32}, Complex{Float64}, Float32, Float64} at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:193 svdvals!(::StridedArray{T, 2}, ::StridedArray{T, 2}) where T&lt;:Union{Complex{Float32}, Complex{Float64}, Float32, Float64} at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:501 ... Stacktrace: [1] svdvals(::Array{BigFloat,2}) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:218 [2] #rank#15 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\generic.jl:985 [inlined] [3] rank(::Array{BigFloat,2}) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\generic.jl:984 [4] top-level scope at none:1"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">rank</span>(BigFloat[<span class="pl-c1">1</span> <span class="pl-c1">1</span>;<span class="pl-c1">1</span> <span class="pl-c1">0</span>]) ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> no method matching <span class="pl-c1">svdvals!</span>(<span class="pl-k">::</span><span class="pl-c1">Array{BigFloat,2}</span>) Closest candidates are<span class="pl-k">:</span> <span class="pl-c1">svdvals!</span>(<span class="pl-k">::</span><span class="pl-c1">SymTridiagonal</span>) at C<span class="pl-k">:</span><span class="pl-k">\</span>buildbot<span class="pl-k">\</span>worker<span class="pl-k">\</span>package_win64<span class="pl-k">\</span>build<span class="pl-k">\</span>usr<span class="pl-k">\</span>share<span class="pl-k">\</span>julia<span class="pl-k">\</span>stdlib<span class="pl-k">\</span>v1.<span class="pl-c1">5</span><span class="pl-k">\</span>LinearAlgebra<span class="pl-k">\</span>src<span class="pl-k">\</span>tridiag<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">350</span> <span class="pl-c1">svdvals!</span>(<span class="pl-k">::</span><span class="pl-c1">StridedArray{T, 2}</span>) <span class="pl-k">where</span> T<span class="pl-k">&lt;:</span><span class="pl-c1">Union{Complex{Float32}, Complex{Float64}, Float32, Float64}</span> at C<span class="pl-k">:</span><span class="pl-k">\</span>buildbot<span class="pl-k">\</span>worker<span class="pl-k">\</span>package_win64<span class="pl-k">\</span>build<span class="pl-k">\</span>usr<span class="pl-k">\</span>share<span class="pl-k">\</span>julia<span class="pl-k">\</span>stdlib<span class="pl-k">\</span>v1.<span class="pl-c1">5</span><span class="pl-k">\</span>LinearAlgebra<span class="pl-k">\</span>src<span class="pl-k">\</span>svd<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">193</span> <span class="pl-c1">svdvals!</span>(<span class="pl-k">::</span><span class="pl-c1">StridedArray{T, 2}</span>, <span class="pl-k">::</span><span class="pl-c1">StridedArray{T, 2}</span>) <span class="pl-k">where</span> T<span class="pl-k">&lt;:</span><span class="pl-c1">Union{Complex{Float32}, Complex{Float64}, Float32, Float64}</span> at C<span class="pl-k">:</span><span class="pl-k">\</span>buildbot<span class="pl-k">\</span>worker<span class="pl-k">\</span>package_win64<span class="pl-k">\</span>build<span class="pl-k">\</span>usr<span class="pl-k">\</span>share<span class="pl-k">\</span>julia<span class="pl-k">\</span>stdlib<span class="pl-k">\</span>v1.<span class="pl-c1">5</span><span class="pl-k">\</span>LinearAlgebra<span class="pl-k">\</span>src<span class="pl-k">\</span>svd<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">501</span> <span class="pl-k">...</span> Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] <span class="pl-c1">svdvals</span>(<span class="pl-k">::</span><span class="pl-c1">Array{BigFloat,2}</span>) at C<span class="pl-k">:</span><span class="pl-k">\</span>buildbot<span class="pl-k">\</span>worker<span class="pl-k">\</span>package_win64<span class="pl-k">\</span>build<span class="pl-k">\</span>usr<span class="pl-k">\</span>share<span class="pl-k">\</span>julia<span class="pl-k">\</span>stdlib<span class="pl-k">\</span>v1.<span class="pl-c1">5</span><span class="pl-k">\</span>LinearAlgebra<span class="pl-k">\</span>src<span class="pl-k">\</span>svd<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">218</span> [<span class="pl-c1">2</span>] <span class="pl-c"><span class="pl-c">#</span>rank#15 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\generic.jl:985 [inlined]</span> [<span class="pl-c1">3</span>] <span class="pl-c1">rank</span>(<span class="pl-k">::</span><span class="pl-c1">Array{BigFloat,2}</span>) at C<span class="pl-k">:</span><span class="pl-k">\</span>buildbot<span class="pl-k">\</span>worker<span class="pl-k">\</span>package_win64<span class="pl-k">\</span>build<span class="pl-k">\</span>usr<span class="pl-k">\</span>share<span class="pl-k">\</span>julia<span class="pl-k">\</span>stdlib<span class="pl-k">\</span>v1.<span class="pl-c1">5</span><span class="pl-k">\</span>LinearAlgebra<span class="pl-k">\</span>src<span class="pl-k">\</span>generic<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">984</span> [<span class="pl-c1">4</span>] top<span class="pl-k">-</span>level scope at none<span class="pl-k">:</span><span class="pl-c1">1</span></pre></div>
<p dir="auto">This issue continues on from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="13966396" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/3014" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/3014/hovercard" href="https://github.com/JuliaLang/julia/issues/3014">#3014</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="25488167" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/5381" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/5381/hovercard" href="https://github.com/JuliaLang/julia/pull/5381">#5381</a> as a placeholder to track what is left to put into place a useful skeleton of basic linear algebra for generic element types.</p> <p dir="auto">Routines for special matrices (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="16642000" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/3688" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/3688/hovercard" href="https://github.com/JuliaLang/julia/issues/3688">#3688</a>)</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">Tridiagonal</code> linear solver (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="810030510" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/39701" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/39701/hovercard" href="https://github.com/JuliaLang/julia/pull/39701">#39701</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> `Tridiagonal eigensystem solver (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andreasnoack/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andreasnoack">@andreasnoack</a> mentioned he had some code for this?)</li> </ul> <p dir="auto"><code class="notranslate">Factorization</code>s</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> LL' Cholesky</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> pivoted LU</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> QR <ul dir="auto"> <li>Should we just pick one of: modified Gram-Schmidt, Givens and Householder algorithms?</li> <li>Want both the basic and pivoted (rank-revealing) variants?</li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> SVD</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Check that with the necessary factorizations in place, that <code class="notranslate">inv</code> and <code class="notranslate">eig</code> work.</li> </ul>
1
<p dir="auto">Similar to some X11 window managers, it would be nice feature if window could be moved by holding down specific key (e.g. Alt) and dragging window - not only by holding &amp; dragging title bar, but holding window anywhere.</p> <p dir="auto">This kind of functionality has been provided in the past by Taekwindow and other tools:<br> <a href="http://taekwindow.net/" rel="nofollow">http://taekwindow.net/</a></p> <p dir="auto">This could be a great addition to Fancy Zones feature.</p>
<h3 dir="auto">Summary of the new feature/enhancement</h3> <p dir="auto">Moving windows using the mouse relies on hitting a small target, especially on high-resolution screens. Add an option to move entire windows by alt-dragging or windows-dragging them, anywhere on the window except perhaps the resize area.</p> <h3 dir="auto">Proposed technical implementation details</h3> <p dir="auto">Stefan Sundin has done great work on AltDrag: <a href="https://stefansundin.github.io/altdrag/" rel="nofollow">https://stefansundin.github.io/altdrag/</a> . With permission, I'd use this as an initial reference.</p> <p dir="auto">Alt+Drag or Windows+Drag could be implemented as part of FancyZones, activated with a toggle.</p>
1
<p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow):<br> <code class="notranslate">IMAGE_SIZE=224 toco \ --input_file=tf_files/retrained_graph.pb \ --output_file=tf_files/optimized_graph.tflite \ --input_format=TENSORFLOW_GRAPHDEF \ --output_format=TFLITE \ --input_shape=1,${IMAGE_SIZE},${IMAGE_SIZE},3 \ --input_array=input \ --output_array=final_result \ --inference_type=FLOAT \ --input_data_type=FLOAT</code></li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04):<br> Im using windows subsytems for linux</li> <li>TensorFlow version (use command below):<br> tensorflow 1.12</li> <li>Python version:<br> 2.7</li> </ul> <p dir="auto"><strong>Describe the current behavior</strong><br> i want to convert my custom model to tflite as stated in <a href="https://codelabs.developers.google.com/codelabs/tensorflow-for-poets-2-tflite/#2" rel="nofollow">this</a> but it gives a toco error saying toco: error: argument --output_file is required</p> <p dir="auto"><strong>Other info / logs</strong></p> <p dir="auto">this was the whole log:<br> <code class="notranslate">usage: toco [-h] --output_file OUTPUT_FILE (--graph_def_file GRAPH_DEF_FILE | --saved_model_dir SAVED_MODEL_DIR | --keras_model_file KERAS_MODEL_FILE) [--output_format {TFLITE,GRAPHVIZ_DOT}] [--inference_type {FLOAT,QUANTIZED_UINT8}] [--inference_input_type {FLOAT,QUANTIZED_UINT8}] [--input_arrays INPUT_ARRAYS] [--input_shapes INPUT_SHAPES] [--output_arrays OUTPUT_ARRAYS] [--saved_model_tag_set SAVED_MODEL_TAG_SET] [--saved_model_signature_key SAVED_MODEL_SIGNATURE_KEY] [--std_dev_values STD_DEV_VALUES] [--mean_values MEAN_VALUES] [--default_ranges_min DEFAULT_RANGES_MIN] [--default_ranges_max DEFAULT_RANGES_MAX] [--post_training_quantize] [--drop_control_dependency] [--reorder_across_fake_quant] [--change_concat_input_ranges {TRUE,FALSE}] [--allow_custom_ops] [--converter_mode {DEFAULT,TOCO_FLEX,TOCO_FLEX_ALL}] [--dump_graphviz_dir DUMP_GRAPHVIZ_DIR] [--dump_graphviz_video] toco: error: argument --output_file is required</code></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>: Linux Ubuntu 18.04 virtual machine that is run on legitimate Windows 10 OS</li> <li><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>: N/A</li> <li><strong>TensorFlow installed from (source or binary)</strong>: github.com/googlecodelabs/tensorflow-for-poets-2</li> <li><strong>TensorFlow version (use command below)</strong>: 1.9.0 (also tested 1.5.0, and 1.8.0)</li> <li><strong>Python version</strong>: 3.6</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.15.2</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: N/A</li> <li><strong>CUDA/cuDNN version</strong>: N/A? the tf_env_collect.sh program didnt pull any information on this</li> <li><strong>GPU model and memory</strong>:Rx480 with 4gb of ram</li> <li><strong>Exact command to reproduce</strong>:<br> /home/(user name)/.local/bin/toco <br> — input_file=tf_files/retrained_graph.pb <br> — output_file=tf_files/optimized_graph.lite <br> — input_format=TENSORFLOW_GRAPHDEF <br> — output_format=TFLITE <br> — input_shape=1,224,224,3 <br> — input_array=input <br> — output_array=final_result <br> — inference_type=FLOAT <br> — input_data_type=FLOAT</li> </ul> <p dir="auto">taken from THIS tutorial:<br> <a href="https://heartbeat.fritz.ai/working-through-a-tensorflow-lite-tutorial-on-windows-10-e27ee0e8b8cc" rel="nofollow">https://heartbeat.fritz.ai/working-through-a-tensorflow-lite-tutorial-on-windows-10-e27ee0e8b8cc</a></p> <p dir="auto">(I followed the tutorial pretty much word for word, virtual ubuntu machine and everything since TOCO never worked originally on my windows machine.)</p> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.git</p> <p dir="auto">When I executed the command above after following the directions of that tutorial, originally with tensorflow 1.5.0 installed, the command failes saying<br> "Check failed: parsed_toco_flags.input_format.specified() Missing required flag: input_format<br> Aborted (core dumped)"<br> I'm a novice in tensor flow programming but doesn't the command specify input_format?</p> <p dir="auto">I looked on other github issues with a similar problem and the experts suggested upgrading tensorflow to 1.8.0 which only results in issues like missing module attributes or import errors. Its probably much more likely that I'm doing something wrong rather than there being a bug with tensorflow, but I'm just so confused as to what mistake I made; I need some expert help.</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.</p> <p dir="auto">v. 1.5.0<br> ubuntu@ubuntu:~$ /home/ubuntu/.local/bin/toco \— input_file=tf_files/retrained_graph.pb \— output_file=tf_files/optimized_graph.lite \— input_format=TENSORFLOW_GRAPHDEF \— output_format=TFLITE \— input_shape=1,224,224,3 \— input_array=input \— output_array=final_result \— inference_type=FLOAT \— input_data_type=FLOAT<br> 2018-07-20 01:55:55.974573: F tensorflow/contrib/lite/toco/toco_cmdline_flags.cc:165] Check failed: parsed_toco_flags.input_format.specified() Missing required flag: input_format<br> Aborted (core dumped)</p> <p dir="auto">v. 1.8.0<br> ubuntu@ubuntu:~$ /home/ubuntu/.local/bin/toco \— input_file=tf_files/retrained_graph.pb \— output_file=tf_files/optimized_graph.lite \— input_format=TENSORFLOW_GRAPHDEF \— output_format=TFLITE \— input_shape=1,224,224,3 \— input_array=input \— output_array=final_result \— inference_type=FLOAT \— input_data_type=FLOAT<br> Traceback (most recent call last):<br> File "/home/ubuntu/.local/bin/toco", line 7, in <br> from tensorflow.contrib.lite.toco.python.toco_wrapper import main<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/<strong>init</strong>.py", line 24, in <br> from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/<strong>init</strong>.py", line 63, in <br> from tensorflow.python.framework.framework_lib import * # pylint: disable=redefined-builtin<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/framework/framework_lib.py", line 104, in <br> from tensorflow.python.framework.importer import import_graph_def<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 32, in <br> from tensorflow.python.framework import function<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/framework/function.py", line 36, in <br> from tensorflow.python.ops import resource_variable_ops<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/ops/resource_variable_ops.py", line 35, in <br> from tensorflow.python.ops import variables<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 40, in <br> class Variable(checkpointable.CheckpointableBase):<br> AttributeError: module 'tensorflow.python.training.checkpointable' has no attribute 'CheckpointableBase'</p> <p dir="auto">v. 1.9.0<br> ubuntu@ubuntu:~$ /home/ubuntu/.local/bin/toco \— input_file=tf_files/retrained_graph.pb \— output_file=tf_files/optimized_graph.lite \— input_format=TENSORFLOW_GRAPHDEF \— output_format=TFLITE \— input_shape=1,224,224,3 \— input_array=input \— output_array=final_result \— inference_type=FLOAT \— input_data_type=FLOAT<br> Traceback (most recent call last):<br> File "/home/ubuntu/.local/bin/toco", line 7, in <br> from tensorflow.contrib.lite.python.tflite_convert import main<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/<strong>init</strong>.py", line 22, in <br> from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/<strong>init</strong>.py", line 81, in <br> from tensorflow.python import keras<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/<strong>init</strong>.py", line 24, in <br> from tensorflow.python.keras import activations<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/activations/<strong>init</strong>.py", line 22, in <br> from tensorflow.python.keras._impl.keras.activations import elu<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/_impl/keras/<strong>init</strong>.py", line 21, in <br> from tensorflow.python.keras._impl.keras import activations<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/_impl/keras/activations.py", line 23, in <br> from tensorflow.python.keras._impl.keras import backend as K<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/_impl/keras/backend.py", line 38, in <br> from tensorflow.python.layers import base as tf_base_layers<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 25, in <br> from tensorflow.python.keras.engine import base_layer<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/engine/<strong>init</strong>.py", line 21, in <br> from tensorflow.python.keras.engine.base_layer import InputSpec<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 33, in <br> from tensorflow.python.keras import backend<br> File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/keras/backend/<strong>init</strong>.py", line 22, in <br> from tensorflow.python.keras._impl.keras.backend import abs<br> ImportError: cannot import name 'abs'</p>
1
<h3 dir="auto">Year Range in Localized Datepicker is not correct . while you set a localized calendar like the persian calendar just you must see year button for localized range of years .</h3> <p dir="auto">it seems in CalendarYear.js file and getYears method the min and max value for year range not localized .</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">1.declare <code class="notranslate">const dtf_fa = Intl.DateTimeFormat;</code><br> 2. in render method <code class="notranslate">&lt;DatePicker hintText="Portrait Dialog" DateTimeFormat={dtf_fa} locale="fa-IR-u-ca-persian" /&gt;</code><br> 3. run and see year button value . its shows different number .(in my case show 2016 that equals to localized persian calendar 1395) .</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.15.2</li> <li>React: 15.2</li> <li>Browser: Chrome 51</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10245423/16717749/2ac09382-472f-11e6-9bab-8131bc208d3c.JPG"><img src="https://cloud.githubusercontent.com/assets/10245423/16717749/2ac09382-472f-11e6-9bab-8131bc208d3c.JPG" alt="dddddd" style="max-width: 100%;"></a></p>
<h3 dir="auto">Problem description</h3> <p dir="auto">Days and Years in <code class="notranslate">DatePicker</code> are always in Gregorian no matter what <code class="notranslate">locale</code> and <code class="notranslate">DateTimeFormat</code> you choose.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/16239413/18127426/9b4c67c8-6f95-11e6-91fd-b31808aa6b1a.PNG"><img src="https://cloud.githubusercontent.com/assets/16239413/18127426/9b4c67c8-6f95-11e6-91fd-b31808aa6b1a.PNG" alt="capture" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/16239413/18127434/a13afe88-6f95-11e6-853b-f4a55a084b83.PNG"><img src="https://cloud.githubusercontent.com/assets/16239413/18127434/a13afe88-6f95-11e6-853b-f4a55a084b83.PNG" alt="capture2" style="max-width: 100%;"></a></p> <p dir="auto">You can clearly see that in jalali it's 9 mordad 1395 and actually when you submit it chooses the right date but in the calendar it STILL shows 30th of august and the year is STILL 2016 (although it's 1395 in jalali).</p> <p dir="auto">BTW the direction of the month arrows are not right either.</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">change locale and DateTimeFormat to (for example) jalali. so <code class="notranslate">locale="fa"</code> and <code class="notranslate">DateTimeFormat={global.Intl.DateTimeFormat}</code></p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.15.4</li> <li>React: 15.3.0</li> <li>Browser: Chrome 52.0.2743.116</li> </ul>
1
<p dir="auto">Modern browsers implement a security measure for third party files loaded from a different domain: <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity</a></p> <p dir="auto">Are there any plans to "port" this security feature into deno?</p> <p dir="auto">I believe that considering Deno's mission around security and browser interoperability, it should be supported somehow.</p> <p dir="auto">What do you think?</p>
<p dir="auto">This project looks very promising and exciting. I like how simple it is to use external packages. My question would be how would you go about ensuring that external dependencies haven't been changed?</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=olivergierke" rel="nofollow">Oliver Drotbohm</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7931?redirect=false" rel="nofollow">SPR-7931</a></strong> and commented</p> <p dir="auto">The <code class="notranslate">Jaxb2Marshaller</code> is only supporting classes annotated with <code class="notranslate">@XmlRootElement</code> currently and there's no way to override that behaviour as <code class="notranslate">supportsInternal(Class, boolean)</code> is private. There are cases when you want to (un)marshal classes that are <code class="notranslate">@XmlType</code> annotated only. Especially when working with XJC, you get the <code class="notranslate">@XmlRootElement</code> annotation only for classes that have their <code class="notranslate">xsd:simpleType</code> or <code class="notranslate">xsd:complexType</code> nested inside the <code class="notranslate">xsd:element</code> declaration (see <a href="http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html" rel="nofollow">this blog entry</a> for why that's the case). However, if you have a type that can be reused <strong>and</strong> used as a root element's type, XJC will not create the <code class="notranslate">@XmlRootElement</code> annotation but rather a factory method inside the <code class="notranslate">ObjectFactory</code> class. To get those classes (un)marshalled, you currently have to copy large parts of <code class="notranslate">Jaxb2Marshaller</code> as there's no way to disable the check for the annotation. So it would be cool if this was configurable through a bean property or at least changeable so that a subclass could potentially call <code class="notranslate">supportsInternal(clazz, false)</code>.</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="398152851" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14376" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14376/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14376">#14376</a> Jaxb2Marshaller should support JaxbElement (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/01d2082090fa59dfadff6bf092f99a4cd37f82f6/hovercard" href="https://github.com/spring-projects/spring-framework/commit/01d2082090fa59dfadff6bf092f99a4cd37f82f6"><tt>01d2082</tt></a></p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer" rel="nofollow">Dave Syer</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8077?redirect=false" rel="nofollow">SPR-8077</a></strong> and commented</p> <p dir="auto">There is currently no "standard" way to do this, so users have to write their own and there are literally thousands of implementations out there with very common features. CommandLineJobRunner from Spring Batch has some useful ideas in it, but it also has batch-specific options. Ideally I'd like to simply extend or configure a standard component that does the context loading and autowiring piece, maybe collects some arguments from stdin, etc. Maybe in the name of DRY, it would be useful to pick out some useful features and implement something now we have a new major point release in progress.</p> <p dir="auto">Suggested features:</p> <ul dir="auto"> <li>An API for command line options (probably duplicating commons-cli here, so maybe depend on that, or maybe just allow override for options gathering so users can plugin external library if needed?)</li> <li>Accept arguments on command line and optionally append from stdin.</li> <li>Standard (e.g. first) argument for locating a Spring configuration (XML, package or class name - I recommend sticking to a single config file and import from there if there are more, or else the argument could accept wildcards).</li> <li>Autowiring of fields in the runner instance, so extensions can add <code class="notranslate">@Autowired</code> fields and have them supplied magically.</li> <li>Clear semantics and documentation about how to shutdown the application and ensure the application context is closed (depends on whether there are any non-daemon threads), and allow shutdown when main() ends or on CTRL-C according to taste.</li> <li>Optional call to System.exit() with status determined through e.g. a protected method</li> <li>A way to initialize the Environment by plugging in a context initializer a la web.xml</li> <li>Optional bootstrap properties in a file or Resource, or some other way to initialize the Environment without writing code</li> </ul> <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="398116777" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13684" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13684/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13684">#13684</a> Support simplified main class application context / dependency management</li> </ul> <p dir="auto">5 votes, 6 watchers</p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.6.6</li> <li>Operating System version: windows</li> <li>Java version: jdk8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>provider export service ,use kryo Serialization , service's return object is a user define class.</li> <li>consumer use generic style reference:&lt;dubbo:reference generic="true"/&gt;</li> <li>consumer invoke service.</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">if not exist class define,use map instead</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <p dir="auto">线上dubbo偶尔会抛出异常,异常信息如下:<br> com.caucho.hessian.client.HessianRuntimeException: java.net.NoRouteToHostException: No route to host<br> 是不是dubbo本身存在一些问题?求大神指教</p>
0
<p dir="auto">Instead of having to create seperate custom layouts for each monitor, an option to instead create a single custom layout for all or select monitors. This would allow for making zones that can be spanned across multiple displays.</p> <p dir="auto">ex. I have my Discord app spanning across my main display and onto my left display so that when i'm in full screen applications I can still see part of it.</p>
<h1 dir="auto">Support zones which span several monitors</h1> <p dir="auto">Could you please add the capability to define zones across several monitors? For instance I would like to define one single zone spanning two monitors (this is my current setup with ultramon for instance).<br> Thanks very much</p>
1
<p dir="auto">[Power Toys Settings-Keyboard Manager&gt;Remap Key]</p> <p dir="auto">User Experience:<br> This will impact all the users as they will not able to use this feature with keyboard as application is getting closed.</p> <p dir="auto">Test Environment:<br> "OS Version: 20221.1000<br> App Name: Power Toy Preview<br> App Version: v0.23.0<br> Screen Reader: Narrator"</p> <p dir="auto">Repro-steps:<br> "1. Open Power Toys Settings App.<br> 2. Navigate to Keyboard Manager list item and activate it.<br> 3. Navigate to Remap a key button present in right pane and activate it.<br> 4. Remap Key window will open.<br> 5. Navigate to 'Type' button in window and activate it. A 'Press a key in selected keyboard' pane will open.<br> 6. Hold 'enter' key to continue and verify the issue.</p> <p dir="auto">"</p> <p dir="auto">Actual Result:<br> "In 'Press a key on selected Keyboard' dialog on holding 'Enter' to continue, the PowerToys application is getting closed.</p> <p dir="auto">Note:<br> Same issue is repro in 'Remap a Shortcut'.<br> Same issue is repro on holding Esc key."</p> <p dir="auto">Expected Result:<br> In 'Press a key on selected keyboard' dialog on holding 'Enter' to continue, the PowerToys application should not be getting closed. It should continue and save the key.</p> <p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5329095/18_Remap.k.key_Functional_on.holding.enter.button.app.is.getting.close.zip">18_Remap k key_Functional_on holding enter button app is getting close.zip</a></p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">If it's possible, I would really like to be able to set the shortcut to open PowerToys Run to Win + Space to emulate the behavior of launching Spotlight on Mac with a Windows keyboard. I already have the muscle memory from it and would love to have this option.</p>
0
<p dir="auto">When un-marshaling, go json decode does not report the context ( field name or path to the element) that has a type error. On large files this can be a problem. If you have nested objects it might be harder to find so ideally a stack of keys that form a path would be described if possible.</p> <p dir="auto">See stack overflow questions<br> <a href="http://stackoverflow.com/questions/24325210/get-field-name-that-errs-in-go-json-unmarshal" rel="nofollow">http://stackoverflow.com/questions/24325210/get-field-name-that-errs-in-go-json-unmarshal</a><br> <a href="http://stackoverflow.com/questions/21151765/json-cannot-unmarshal-string-into-go-value-of-type-int64" rel="nofollow">http://stackoverflow.com/questions/21151765/json-cannot-unmarshal-string-into-go-value-of-type-int64</a><br> <a href="http://stackoverflow.com/questions/23582744/go-get-a-broken-json-field-name" rel="nofollow">http://stackoverflow.com/questions/23582744/go-get-a-broken-json-field-name</a></p> <p dir="auto">Originally described in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="60653241" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/10134" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/10134/hovercard" href="https://github.com/golang/go/issues/10134">#10134</a> I have a possible solution there.</p>
<pre class="notranslate">&gt; What steps will reproduce the problem? // test.go package main import ( "flag" "fmt" "rand" "runtime" "sort" ) func main() { fmt.Printf("Hello, World!") } $go build test.go &gt; What is the expected output? The tool either successfully compiles the program or produces a meaningful error message. &gt; What do you see instead? panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x455f80] goroutine 1 [running]: runtime.panic(0x669e68, 0xf8401ce7b0) /usr/local/google/home/dvyukov/go_select/src/pkg/runtime/proc.c:1406 +0xac runtime.panicstring(0x82dcb3, 0xf840002570) /usr/local/google/home/dvyukov/go_select/src/pkg/runtime/runtime.c:128 +0xa3 runtime.sigpanic() /usr/local/google/home/dvyukov/go_select/src/pkg/runtime/thread_linux.c:198 +0x168 go/build.(*Tree).PkgDir(0x0, 0xf8400432c0, 0x0, 0xf8401ad1c0) /usr/local/google/home/dvyukov/go_select/src/pkg/go/build/path.go:52 +0xfb main.(*builder).action(0xf840047000, 0x0, 0xf8401ad1c0, 0x1, 0xf8401ce7a0, ...) /usr/local/google/home/dvyukov/go_select/src/cmd/go/build.go:327 +0xb8 main.(*builder).action(0xf840047000, 0x1, 0xf84001ce00, 0x6e69616d00000002, 0xf8401e8b0a, ...) /usr/local/google/home/dvyukov/go_select/src/cmd/go/build.go:335 +0x208 main.runBuild(0x82abc0, 0xf840002020, 0x100000001, 0x0) /usr/local/google/home/dvyukov/go_select/src/cmd/go/build.go:129 +0x386 main.main() /usr/local/google/home/dvyukov/go_select/src/cmd/go/main.go:126 +0x2d8 runtime.main() /usr/local/google/home/dvyukov/go_select/src/pkg/runtime/proc.c:231 +0x45 runtime.goexit() /usr/local/google/home/dvyukov/go_select/src/pkg/runtime/proc.c:258 &gt;Please use labels and text to provide additional information. 11662:b6e94b31350e tip</pre>
0
<ul dir="auto"> <li>use logger instead of print</li> <li>factorize common parts with libsvm's cross val</li> </ul>
<p dir="auto">This is a proposal to use python's logging module instead of using stdout and verbose flags in the models API.</p> <p dir="auto">Using the logging module would make it easier for the user to control the verbosity of the scikit using a single and well documented configuration interface and logging API.</p> <p dir="auto"><a href="http://docs.python.org/library/logging.html" rel="nofollow">http://docs.python.org/library/logging.html</a></p>
1
<p dir="auto">The following program ICE's on the playpen (will update to git HEAD and check there):</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() { for n in [1, 2, 3, 4].iter() {} }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">for</span> n <span class="pl-k">in</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">iter</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">If you remove the <code class="notranslate">for</code> loop it is better, it will say "please add a suffix to 1" or something like that. (Maybe this was fixed by the recent changes in the for loop implementation?)</p> <p dir="auto">Exact ICE is</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="anon&gt;:17:18: 17:27 error: internal compiler error: borrow-vec associated with bad sty: &amp;ty_err &lt;anon&gt;:17 for n in [1, 2, 3].iter() { } ^~~~~~~~~ note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /build/rust-git/src/rust/src/libsyntax/ast_util.rs:784"><pre class="notranslate"><code class="notranslate">anon&gt;:17:18: 17:27 error: internal compiler error: borrow-vec associated with bad sty: &amp;ty_err &lt;anon&gt;:17 for n in [1, 2, 3].iter() { } ^~~~~~~~~ note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /build/rust-git/src/rust/src/libsyntax/ast_util.rs:784 </code></pre></div> <p dir="auto"><b>Edit:</b> The new for loop changes allow the above program to compile. But you can still access the bug with</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() { let x = [1, 2, 3, 4].iter(); }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> x = <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">iter</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">which ICEs even with git HEAD. (Above I said "if you remove the for loop it doesn't crash" but evidently I was wrong.)</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() { let v = &amp;[]; let it = v.iter(); }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> v = <span class="pl-c1">&amp;</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> it = v<span class="pl-kos">.</span><span class="pl-en">iter</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="vec-ice.rs:3:13: 3:14 error: internal compiler error: borrow-vec associated with bad sty: &amp;ty_err vec-ice.rs:3 let it = v.iter(); ^"><pre class="notranslate"><code class="notranslate">vec-ice.rs:3:13: 3:14 error: internal compiler error: borrow-vec associated with bad sty: &amp;ty_err vec-ice.rs:3 let it = v.iter(); ^ </code></pre></div> <p dir="auto">(Doesn't happen with <code class="notranslate">.slice</code>.)</p>
1
<p dir="auto">Consider the following program that I run with Go 1.5.2 on 64-bit Fedora Linux:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="package main import &quot;fmt&quot; func main() { a := make([]byte, 185 * 1024 * 1024) for i := 0; i &lt; len(a); i += 4096 { a[i] = 'x' } fmt.Printf(&quot;%c\n&quot;, a[0]) }"><pre class="notranslate"><code class="notranslate">package main import "fmt" func main() { a := make([]byte, 185 * 1024 * 1024) for i := 0; i &lt; len(a); i += 4096 { a[i] = 'x' } fmt.Printf("%c\n", a[0]) } </code></pre></div> <p dir="auto">It allocates 185MB byte array and then forces OS to commit memory to it via touching all the pages. This programs runs OK and prints expected <code class="notranslate">x</code> even if I restrict the size of available virtual memory per process to 200MB using ulimit:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~/s&gt; ulimit -S -v 204800 ~/s&gt; go run test.go x"><pre class="notranslate"><code class="notranslate">~/s&gt; ulimit -S -v 204800 ~/s&gt; go run test.go x </code></pre></div> <p dir="auto">Now consider its modification like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="package main import &quot;fmt&quot; func main() { a := make([]byte, 85 * 1024 * 1024) a = nil a = make([]byte, 150 * 1024 * 1024) for i := 0; i &lt; len(a); i += 4096 { a[i] = 'x' } fmt.Printf(&quot;%c\n&quot;, a[0]) }"><pre class="notranslate"><code class="notranslate">package main import "fmt" func main() { a := make([]byte, 85 * 1024 * 1024) a = nil a = make([]byte, 150 * 1024 * 1024) for i := 0; i &lt; len(a); i += 4096 { a[i] = 'x' } fmt.Printf("%c\n", a[0]) } </code></pre></div> <p dir="auto">It allocates first 85MB, then clears the reference to the slice, and then allocates 150MB. This time under the same 200MB limit as set with ulimit it fails:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~/s&gt; go run test.go fatal error: runtime: out of memory"><pre class="notranslate"><code class="notranslate">~/s&gt; go run test.go fatal error: runtime: out of memory </code></pre></div> <p dir="auto">The same failure happens even with the explicit GC call after a = nil:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="package main import &quot;fmt&quot; import &quot;runtime&quot; func main() { a := make([]byte, 85 * 1024 * 1024) a = nil runtime.GC() a = make([]byte, 150 * 1024 * 1024) for i := 0; i &lt; len(a); i += 4096 { a[i] = 'x' } fmt.Printf(&quot;%c\n&quot;, a[0]) }"><pre class="notranslate"><code class="notranslate">package main import "fmt" import "runtime" func main() { a := make([]byte, 85 * 1024 * 1024) a = nil runtime.GC() a = make([]byte, 150 * 1024 * 1024) for i := 0; i &lt; len(a); i += 4096 { a[i] = 'x' } fmt.Printf("%c\n", a[0]) } </code></pre></div> <p dir="auto">Is it just a runtime bug? If not, how can I force the runtime to release a large allocation?</p>
<p dir="auto">by <strong>jan.newmarch</strong>:</p> <pre class="notranslate">www.google.com is blocked in China. So the test net.TestDialGoogle fails, aborting all the rest of the tests. Preferred if failure is reported but the tests continue --- FAIL: net.TestDialGoogle -- 74.125.19.99:80 -- -- www.google.com:80 -- Dial("tcp4", "", "www.google.com:80") = _, dial tcp4 66.249.89.104:80: connection timed out 8g version 6288 release release.2010-09-15</pre>
0
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# plt.savefig('Photo.png', dpi=600, bbox_inches='tight') #"><pre class="notranslate"><span class="pl-c"># </span> <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'Photo.png'</span>, <span class="pl-s1">dpi</span><span class="pl-c1">=</span><span class="pl-c1">600</span>, <span class="pl-s1">bbox_inches</span><span class="pl-c1">=</span><span class="pl-s">'tight'</span>) <span class="pl-c">#</span></pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/42562919/46396899-43cb9b80-c723-11e8-8945-b20be5c52014.png"><img src="https://user-images.githubusercontent.com/42562919/46396899-43cb9b80-c723-11e8-8945-b20be5c52014.png" alt="image" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# If applicable, paste the console output here # The output figure can be seen as below: #"><pre class="notranslate"><code class="notranslate"># If applicable, paste the console output here # The output figure can be seen as below: # </code></pre></div> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: windows10 x64</li> <li>Matplotlib version: 3.0.0</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>):</li> <li>Python version: 3.5、3.6</li> <li>Jupyter version (if applicable):</li> <li>Other libraries:</li> </ul> <p dir="auto">The output figure file is strange: there is a lot of blank area on the output figure.</p>
<p dir="auto">Calling <code class="notranslate">fig.tight_layout()</code> on a figure with a 3d <code class="notranslate">Axes</code> inside will collapse the axes into a vertical line.</p> <p dir="auto">Minimal example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D for tighten in False,True: fig = plt.figure() ax = fig.add_subplot(111, projection='3d') ax.plot([1,2], [1,2], [1,2]) if tighten: fig.tight_layout() plt.show()"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D for tighten in False,True: fig = plt.figure() ax = fig.add_subplot(111, projection='3d') ax.plot([1,2], [1,2], [1,2]) if tighten: fig.tight_layout() plt.show() </code></pre></div> <p dir="auto">The following figures are produced with python 3.7, matplotlib 3.0.0 (also master):<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/17914410/45932469-be0a5c00-bf7c-11e8-9988-1bf55e10ced5.png?s=50"><img src="https://user-images.githubusercontent.com/17914410/45932469-be0a5c00-bf7c-11e8-9988-1bf55e10ced5.png?s=50" alt="figure without tight_layout: all's fine" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/17914410/45932470-c19de300-bf7c-11e8-8368-52e12d0c48cc.png"><img src="https://user-images.githubusercontent.com/17914410/45932470-c19de300-bf7c-11e8-8368-52e12d0c48cc.png" alt="figure with tight_layout: axes is a single vertical line" style="max-width: 100%;"></a></p> <p dir="auto">There's also a warning that says<br> <code class="notranslate">/home/user/matplotlib-env/lib/python3.7/site-packages/matplotlib/tight_layout.py:177: UserWarning: The left and right margins cannot be made large enough to accommodate all axes decorations.</code><br> but that's hardly surprising since there's no room for any decorations whatsoever.</p> <p dir="auto">May or may not be related to the recent-ish issues fixed by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="343440693" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/11739" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/11739/hovercard" href="https://github.com/matplotlib/matplotlib/pull/11739">#11739</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="340086265" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/11627" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/11627/hovercard" href="https://github.com/matplotlib/matplotlib/pull/11627">#11627</a>.</p>
1
<p dir="auto">In my case I have a <code class="notranslate">http_proxy</code> env variable on my development computer which passes all traffic to my vpn, however this proxy would fail to work when hostname is <code class="notranslate">localhost</code>, therefore when I'm testing my application it always fails because I setup my server at localhost, I want a method to force axios receiving a <code class="notranslate">none</code> for proxy config, currently if <code class="notranslate">proxy</code> property is <code class="notranslate">null</code> or <code class="notranslate">undefined</code> it will use the <code class="notranslate">http_proxy</code> env</p>
<p dir="auto">I have some endpoints that my proxy server doesn't handle well and in my NodeJS environment the http_proxy environment is set.</p> <p dir="auto">Can you honor the no_proxy environmental variable and/or allow a config option to disable proxy usage?</p> <p dir="auto">I'm using [email protected] for now.</p>
1